/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import url("chrome://global/skin/in-content/common.css");

html {
  height: 100%;
}

body {
  display: flex;
  align-items: stretch;
  height: 100%;
}

label {
  display: block;
}

#info-text-div {
  padding: 20px;
}

#ctap-listen-div {
  padding-top: 15px;
}
#ctap-listen-result {
  font-weight: var(--font-weight-semibold);
  font-size: 1.5em;
  padding-inline-start: 15px;
  height: 1.5em;

  &.success {
    background-color: var(--background-color-success);
  }

  &.error {
    background-color: var(--red-50);
  }
}

.category {
  cursor: pointer;
  /* Center category names */
  display: flex;
  align-items: center;
}

.optional-category {
  display: none;
}

.disabled-category {
  pointer-events: none;
}

@media (max-width: 830px) {
  #categories > .category {
    padding-inline-start: 5px;
    margin-inline-start: 0;
  }
}

#main-content {
  flex: 1;
}

.token-info-flex-box {
  display: flex;
}

.token-info-flex-child {
  flex: 1;
}

.token-info-flex-child#authenticator-options {
  margin-inline-end: 2px;
}

.bio-enrollment-sample {
  display: flex;
  gap: 0.5em;
}

.button-row {
  display: inline-block;
  margin-inline-end: 5px;
}

.delete-icon {
  margin-inline-end: 5px;
  -moz-context-properties: fill;
  fill: currentColor;
}

.delete-button {
  display: inline-flex;
}
