.passkey-login-panel,
.passkey-panel {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.passkey-login-panel--relative,
.passkey-panel--relative {
  position: relative;
}

.passkey-browser-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.75rem;
  z-index: 2;
}

.passkey-browser-hint__text {
  font-size: 0.875rem;
  color: #727272;
  text-align: center;
  max-width: 240px;
}

.passkey-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.passkey-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 138, 112, 0.082);
  color: #1f8a70;
}

.passkey-card__icon--success {
  background: #dcfce7;
  color: #16a34a;
}

.passkey-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.passkey-card__text {
  font-size: 0.875rem;
  color: #727272;
  margin-bottom: 1.25rem;
}

.passkey-btn {
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: 0.2s ease;
}

.passkey-btn--primary {
  background: #1f8a70;
  color: #fff;
}

.passkey-btn--primary:hover {
  background: #19715c;
  color: #fff;
}

.passkey-btn--primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.passkey-btn--outline {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #464646;
}

.passkey-btn--outline:hover {
  background: #f6f6f6;
}

.passkey-btn--ghost {
  background: transparent;
  color: #727272;
  font-size: 0.75rem;
  font-weight: 600;
}

.passkey-btn--ghost:hover {
  color: #464646;
}

.passkey-btn--sm {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.passkey-input {
  border-color: #e5e7eb;
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
}

.passkey-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
  color: #b1b1b1;
  font-size: 0.75rem;
}

.passkey-divider::before,
.passkey-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.passkey-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: #727272;
  margin-bottom: 0;
}

.passkey-error {
  font-size: 0.8125rem;
}

.passkeys-account {
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  overflow: hidden;
}

.passkeys-account__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(246, 246, 246, 0.35);
}

.passkeys-account__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #464646;
}

.passkeys-account__title svg {
  color: #1f8a70;
}

.passkeys-account__subtitle {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: #727272;
}

.passkeys-account__item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.passkeys-account__item--alt {
  background: rgba(246, 246, 246, 0.35);
}

.passkeys-account__device {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #464646;
}

.passkeys-account__device svg {
  color: #727272;
}

.passkeys-account__method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #464646;
}

.passkeys-account__badge {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
}

.passkeys-account__dates {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: #727272;
}

.passkeys-account__remove {
  border: none;
  background: transparent;
  color: #727272;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.passkeys-account__remove:hover {
  color: #ef4444;
  background: #fef2f2;
}

.passkeys-account__empty {
  padding: 1.25rem;
  font-size: 0.875rem;
  color: #727272;
}

.passkeys-account__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  color: #727272;
  background: rgba(246, 246, 246, 0.2);
}

.passkeys-account__note svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

@media (max-width: 768px) {
  .passkeys-account__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Next login / passkey-first (mockup step 5) */

.passkey-next-login {
  display: flex;
  justify-content: center;
  width: 100%;
}

.passkey-next-login__inner {
  width: 100%;
  max-width: 360px;
}

.passkey-next-login__input {
  border-color: #e5e7eb;
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
}

.passkey-next-login__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.375rem;
  padding: 0.625rem 1rem;
  background: #1f8a70;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.passkey-next-login__primary:hover {
  background: #19715c;
  color: #fff;
}

.passkey-next-login__primary:disabled {
  opacity: 0.75;
  cursor: wait;
}

.passkey-next-login__primary svg {
  flex-shrink: 0;
}

.passkey-next-login__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  color: #b1b1b1;
  font-size: 0.75rem;
}

.passkey-next-login__divider::before,
.passkey-next-login__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.passkey-next-login__methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.passkey-next-login__auth0 {
  margin: 0;
  display: block;
}

.passkey-next-login__secondary {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background: #fff;
  color: #464646;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 0.75rem;
  transition: 0.2s ease;
}

.passkey-next-login__secondary:hover {
  background: #f6f6f6;
}

.passkey-next-login__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 1rem 0 0;
  font-size: 0.6875rem;
  color: #727272;
}

.passkey-next-login__hint svg {
  flex-shrink: 0;
}

/* ==========================================================================
   Login footer methods
   ========================================================================== */

.auth-login-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.4;
}

.auth-login-methods__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #66758f;
  font: inherit;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.auth-login-methods__link:hover,
.auth-login-methods__link:focus {
  color: #344054;
  text-decoration: none;
}

.auth-login-methods__separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d8dee8;
  font-size: 17px;
  line-height: 1;
}

.auth-login-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
}

.auth-login-terms {
  max-width: 470px;
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.auth-login-social {
  margin-top: 20px;
}

/* ==========================================================================
   Shared email auth layout
   ========================================================================== */

.email-login-view {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.email-login-view__header {
  margin-bottom: 28px;
  text-align: center;
}

.email-login-view__header--code {
  margin-bottom: 24px;
}

.email-login-view__header h4,
.email-login-card h4 {
  margin: 0 0 6px;
  color: #344054;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.email-login-view__header p,
.email-login-card p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.email-login-view__header strong,
.email-login-card strong {
  color: #344054;
  font-weight: 500;
}

/* ==========================================================================
   Email icon
   ========================================================================== */

.email-login-view__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(31, 138, 112, 0.1);
  color: #1f8a70;
}

.email-login-view__icon svg {
  display: block;
}

/* ==========================================================================
   Email request field
   ========================================================================== */

.email-login-field .input-label {
  display: block;
  margin-bottom: 6px;
}

.email-login-field .form-control {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.email-login-field .form-control:focus {
  border-color: #1f8a70;
  box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.08);
  outline: 0;
}

/* ==========================================================================
   Email auth buttons
   ========================================================================== */

.email-login-primary,
.email-login-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.email-login-primary {
  border: 1px solid #1f8a70;
  background: #1f8a70;
  color: #fff;
}

.email-login-primary:hover,
.email-login-primary:focus {
  border-color: #19755f;
  background: #19755f;
  color: #fff;
  outline: 0;
}

.email-login-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.email-login-secondary {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
}

.email-login-secondary:hover,
.email-login-secondary:focus {
  border-color: #b8c0cc;
  background: #f9fafb;
  color: #344054;
  outline: 0;
}

/* ==========================================================================
   Small link buttons
   ========================================================================== */

.email-login-text-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 12px auto 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #667085;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.15s ease;
}

.email-login-text-button:hover,
.email-login-text-button:focus {
  color: #344054;
  outline: 0;
}

.email-login-text-button svg {
  flex: 0 0 auto;
}

/* ==========================================================================
   Request helper text
   ========================================================================== */

.email-login-view__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
  color: #98a2b3;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

/* ==========================================================================
   "Check your email" card
   ========================================================================== */

.email-login-card {
  width: 100%;
  padding: 26px 24px 22px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.email-login-card__description {
  margin-bottom: 20px !important;
}

.email-login-card .email-login-secondary {
  margin-top: 20px;
}

.email-login-change-email {
  margin-top: 8px;
}

/* ==========================================================================
   Verification code
   ========================================================================== */

.email-login-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-bottom: 22px;
}

.email-login-code__input {
  flex: 0 0 43px;
  width: 43px;
  height: 48px;
  padding: 0;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  line-height: 48px;
  outline: 0;
  box-shadow: none;
  caret-color: #1f8a70;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.email-login-code__input:hover {
  border-color: #b8c0cc;
}

.email-login-code__input:focus {
  border-color: #1f8a70;
  box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.08);
}

.email-login-code__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}

.email-login-code__footer .email-login-text-button {
  margin: 0;
}

/* ==========================================================================
   Errors
   ========================================================================== */

.auth-login-error {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  line-height: 1.45;
}

/* ==========================================================================
   Existing password form refinements
   ========================================================================== */

#login-password-view .btn-control {
  width: 100%;
}

#login-password-view .sign-up-link-section {
  text-align: center;
}

#login-password-view .auth-login-methods + * {
  margin-top: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767.98px) {
  .auth-login-methods {
    gap: 12px;
    font-size: 13px;
  }

  .email-login-view {
    max-width: 100%;
  }

  .email-login-card {
    padding: 22px 18px;
  }

  .email-login-code {
    gap: 5px;
  }

  .email-login-code__input {
    flex-basis: 38px;
    width: 38px;
    height: 46px;
    font-size: 18px;
    line-height: 46px;
  }
}

@media (max-width: 420px) {
  .auth-login-methods {
    flex-wrap: wrap;
    row-gap: 7px;
  }

  .email-login-code {
    gap: 4px;
  }

  .email-login-code__input {
    flex-basis: 35px;
    width: 35px;
    height: 44px;
    line-height: 44px;
  }
}



/*# sourceMappingURL=passkeys.css.map*/