/**
 * Passkey sign-in - the button on the sign-in page of the shop and the page "Passkeys" of the
 * customer account. Colours and fonts come from the theme of the shop.
 *
 * @author    Sorglos Thomas Weirich
 * @copyright 2026 Sorglos Thomas Weirich
 * @license   Commercial licence, see the file LICENSE
 */
.passkeylogin-front[hidden] {
  display: none;
}

#passkeylogin-customer {
  margin: 16px 0 0;
  text-align: center;
}

.passkeylogin-front .passkeylogin-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.passkeylogin-front .passkeylogin-icon {
  flex: none;
}

.passkeylogin-front .passkeylogin-status {
  min-height: 1.5em;
  margin: 10px 0 0;
}

.passkeylogin-front .passkeylogin-error {
  color: #c0392b;
}

.passkeylogin-page .passkeylogin-title {
  margin: 24px 0 12px;
}

.passkeylogin-page .form-control {
  max-width: 420px;
}
