/**
 * ALGORIZMS™ SOVEREIGN LOGIN & SSO ACCESS CARD (v1.0)
 * Adheres to Algorizms Dark Theme & Alabaster Marble Parity.
 * Features 1-Click Google & LinkedIn SSO, Email Sign-in,
 * and direct routing to dedicated user profiles, vaults, and wallets.
 */

.login-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 9, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-modal-backdrop.is-visible {
  display: flex;
  opacity: 1;
}

@media (max-height: 840px) {
  .login-modal-backdrop.is-visible {
    align-items: flex-start;
  }
}

.login-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
  background: linear-gradient(155deg, rgba(16, 23, 40, 0.98), rgba(9, 13, 24, 0.99));
  border: 1px solid rgba(252, 211, 77, 0.28);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85),
              0 0 45px rgba(2, 132, 199, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
  transform: translateY(18px) scale(0.97);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#login-normal-view {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.login-ankh-sticky-stage {
  flex-shrink: 0;
  position: relative;
  z-index: 4;
  padding: 14px 22px 10px;
  text-align: center;
  background: linear-gradient(180deg, rgba(16, 23, 40, 0.99), rgba(10, 15, 28, 0.96));
  border-bottom: 1px solid rgba(252, 211, 77, 0.15);
}

.login-modal-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 14px 22px 20px;
}

.login-modal-scroll-body::-webkit-scrollbar {
  width: 5px;
}

.login-modal-scroll-body::-webkit-scrollbar-track {
  background: rgba(10, 14, 24, 0.4);
  border-radius: 999px;
}

.login-modal-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(252, 211, 77, 0.35);
  border-radius: 999px;
}

.login-modal-scroll-body::-webkit-scrollbar-thumb:hover {
  background: rgba(252, 211, 77, 0.7);
}

.login-modal-backdrop.is-visible .login-modal-card {
  transform: translateY(0) scale(1);
}

.login-intent-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(252, 211, 77, 0.22);
}

.login-intent-tab {
  padding: 9px 10px;
  border-radius: 9px;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #94A3B8;
  transition: all 0.2s ease;
}

.login-intent-tab.is-active {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.22), rgba(2, 132, 199, 0.35));
  color: #FAF8F4;
  border: 1px solid rgba(252, 211, 77, 0.45);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
}

/* Light Theme (Alabaster Marble & Bling) Parity */
html[data-theme="marble-bling"] .login-modal-backdrop {
  background: rgba(240, 243, 248, 0.85);
}

html[data-theme="marble-bling"] .login-modal-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(244, 247, 252, 0.99));
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14),
              0 0 35px rgba(2, 132, 199, 0.08);
  color: #0F172A;
}

html[data-theme="marble-bling"] .login-ankh-sticky-stage {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 247, 252, 0.96));
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="marble-bling"] .login-intent-tabs {
  background: rgba(226, 232, 240, 0.65);
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="marble-bling"] .login-intent-tab {
  color: #475569;
}

html[data-theme="marble-bling"] .login-intent-tab.is-active {
  background: #FFFFFF;
  color: #0F172A;
  border-color: rgba(2, 132, 199, 0.35);
}

/* Ambient Card Edge Beam */
.login-card-edge-glow {
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38BDF8, #FCD34D, transparent);
  pointer-events: none;
  z-index: 6;
}

/* Close Button */
.login-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  z-index: 8;
  transition: all 0.2s ease;
}

html[dir="rtl"] .login-modal-close-btn {
  right: auto;
  left: 18px;
}

.login-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  transform: scale(1.08);
}

html[data-theme="marble-bling"] .login-modal-close-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
  color: #64748B;
}

/* Header & Badges */
.login-vanguard-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.login-vanguard-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

.login-card-title {
  display: none;
}

.login-card-desc {
  display: none;
}

html[data-theme="marble-bling"] .login-card-desc {
  color: #64748B;
}

/* SSO Buttons Grid */
.login-sso-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.login-sso-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #F8FAFC;
  text-decoration: none;
}

.login-sso-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Google SSO Variant */
.login-sso-google:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
}

/* LinkedIn SSO Variant */
.login-sso-linkedin {
  background: rgba(10, 102, 194, 0.12);
  border-color: rgba(10, 102, 194, 0.35);
  color: #60A5FA;
}

.login-sso-linkedin:hover {
  background: rgba(10, 102, 194, 0.24);
  border-color: #0A66C2;
  color: #93C5FD;
}

html[data-theme="marble-bling"] .login-sso-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html[data-theme="marble-bling"] .login-sso-linkedin {
  background: rgba(10, 102, 194, 0.08);
  border-color: rgba(10, 102, 194, 0.24);
  color: #0A66C2;
}

.login-sso-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Or Divider */
.login-divider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.login-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

html[data-theme="marble-bling"] .login-divider-line {
  background: rgba(15, 23, 42, 0.1);
}

.login-divider-text {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
}

/* Direct Email Form */
.login-email-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-field-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.login-field-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
}

html[data-theme="marble-bling"] .login-field-label {
  color: #475569;
}

.login-input {
  width: 100%;
  padding: 7px 11px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  color: #F8FAFC;
  font-size: 0.86rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.login-input:focus {
  outline: none;
  border-color: #38BDF8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
  background: rgba(0, 0, 0, 0.5);
}

html[data-theme="marble-bling"] .login-input {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0F172A;
}

html[data-theme="marble-bling"] .login-input:focus {
  background: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.18);
}

/* Handle Suggestion Pill */
.login-handle-preview {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  color: #38BDF8;
  padding: 4px 8px;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* Sovereign Submit Button (Sleek Dark-Luxury Neoteric CTA — Strictly Single Line) */
.login-submit-btn {
  margin-top: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(252, 211, 77, 0.55);
  background: linear-gradient(145deg, rgba(16, 24, 40, 0.98), rgba(9, 14, 26, 0.98));
  color: #FAF8F4;
  font-family: var(--font-neoteric), 'Space Grotesk', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 
              0 0 18px rgba(252, 211, 77, 0.16), 
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  user-select: none;
}

html[dir="rtl"] .login-submit-btn {
  font-family: 'Alexandria', var(--font-neoteric), sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.login-submit-btn:hover {
  border-color: rgba(252, 211, 77, 0.95);
  background: linear-gradient(145deg, rgba(26, 36, 60, 0.98), rgba(14, 21, 38, 0.98));
  color: #FCD34D;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 
              0 0 35px rgba(252, 211, 77, 0.35), 
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.login-submit-btn:active {
  transform: translateY(0);
}

html[data-theme="marble-bling"] .login-submit-btn {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 252, 0.98));
  border-color: rgba(217, 119, 6, 0.55);
  color: #0A0807;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.15);
}

html[data-theme="marble-bling"] .login-submit-btn:hover {
  background: linear-gradient(145deg, #FFFDF8, #F9F5EC);
  color: #B45309;
  border-color: rgba(217, 119, 6, 0.9);
}

/* Sovereign Success & Routing Screen */
.login-success-screen {
  display: none;
  text-align: center;
  padding: 24px 22px 22px;
  overflow-y: auto;
}

.login-success-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  border: 2px solid #38BDF8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
  object-fit: cover;
}

.login-success-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FAF8F4;
  margin: 0 0 6px 0;
}

.login-success-pill {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  color: #FCD34D;
  background: rgba(252, 211, 77, 0.12);
  border: 1px solid rgba(252, 211, 77, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.login-destination-list {
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  line-height: 1.6;
}

html[dir="rtl"] .login-destination-list {
  text-align: right;
}

.login-redirect-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  background: #10B981;
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-redirect-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

/* ── Official Golden Ankh Key Header Badge (/supercharge) ── */
.login-ankh-header-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  width: 120px;
  height: 110px;
}

.login-ankh-glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 211, 77, 0.55) 0%, rgba(124, 58, 237, 0.32) 48%, rgba(2, 132, 199, 0.16) 70%, transparent 80%);
  filter: blur(18px);
  animation: ankhPulse 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes ankhPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.65; }
  50% { transform: scale(1.16); opacity: 1; }
}

.login-ankh-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: brightness(1.18) saturate(1.25) drop-shadow(0 0 24px rgba(252, 211, 77, 0.95)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.70)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.85));
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, opacity 0.3s ease;
}

.login-ankh-glyph.is-morphing {
  transform: translate(-50%, -50%) rotateY(90deg) scale(0.85);
  opacity: 0.25;
}

/* ── Dynamic Ankh Tier Indicator Pill ── */
.login-ankh-tier-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 8px;
  padding: 3px 12px;
  border-radius: 999px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid currentColor;
  box-shadow: 0 0 12px rgba(252, 211, 77, 0.35);
  animation: ankhIndicatorFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.login-ankh-tier-indicator.is-granted {
  animation: ankhIndicatorPulse 0.4s ease-in-out infinite alternate;
}

@keyframes ankhIndicatorFade {
  from { opacity: 0; transform: translateY(-4px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ankhIndicatorPulse {
  from { transform: scale(1); box-shadow: 0 0 10px currentColor; }
  to { transform: scale(1.06); box-shadow: 0 0 22px currentColor; }
}

.login-logo-overlay {
  display: none !important;
  position: absolute;
  top: calc(50% - 10px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 14px rgba(124, 58, 237, 0.65)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.login-ankh-header-badge:hover .login-ankh-glyph {
  transform: translate(-50%, -50%) scale(1.06);
  filter: brightness(1.24) saturate(1.30) drop-shadow(0 0 32px rgba(252, 211, 77, 1)) drop-shadow(0 0 16px rgba(245, 158, 11, 0.85));
}

.login-ankh-header-badge:hover .login-logo-overlay {
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 0 32px rgba(56, 189, 248, 1)) drop-shadow(0 0 18px rgba(124, 58, 237, 0.85)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.95));
}

/* ── Ankh Warning Lock State ── */
.login-ankh-header-badge.is-warning-locked .login-ankh-glow {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.85) 0%, rgba(220, 38, 38, 0.45) 50%, transparent 75%);
  filter: blur(20px);
  animation: ankhWarningPulse 1.2s infinite ease-in-out;
}

@keyframes ankhWarningPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 1; }
}

.login-ankh-header-badge.is-warning-locked .login-ankh-glyph {
  filter: brightness(1.1) drop-shadow(0 0 28px rgba(239, 68, 68, 0.95)) drop-shadow(0 0 12px rgba(220, 38, 38, 0.8)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.85));
}

.login-modal-card.ankh-warning-shake {
  animation: ankhHapticShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes ankhHapticShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-5px, 0, 0); }
  40%, 60% { transform: translate3d(5px, 0, 0); }
}

.login-warning-alert-pill {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px auto 4px;
  padding: 7px 14px;
  max-width: 96%;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.48);
  color: #FCA5A5;
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.22);
}

.login-warning-alert-pill.is-visible {
  display: inline-flex;
}

.login-warning-alert-pill.is-info {
  background: rgba(2, 132, 199, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
  color: #BAE6FD;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
}

html[data-theme="marble-bling"] .login-warning-alert-pill.is-info {
  background: rgba(2, 132, 199, 0.1);
  color: #0369A1;
}

.login-ankh-sticky-stage .login-ankh-header-badge {
  width: 92px;
  height: 82px;
  margin: 0 auto 6px;
}

.login-ankh-sticky-stage .login-ankh-glyph {
  max-width: 82px;
  max-height: 82px;
}

.login-ankh-sticky-stage .login-vanguard-tag {
  margin-bottom: 2px;
}

.login-field-group.is-hidden-field {
  display: none !important;
}

/* ── 1-Tap Ankh Biometric Passkey Button ─────────────────────────────────── */
.login-passkey-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.14), rgba(217, 119, 6, 0.08));
  border: 1px solid rgba(252, 211, 77, 0.45);
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

html[dir="rtl"] .login-passkey-btn {
  text-align: right;
}

.login-passkey-btn:hover {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.22), rgba(217, 119, 6, 0.14));
  border-color: rgba(252, 211, 77, 0.75);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.passkey-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(252, 211, 77, 0.16);
  border: 1px solid rgba(252, 211, 77, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.passkey-ankh-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.6));
}

.passkey-labels {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.passkey-text-main {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FAF8F4;
  letter-spacing: 0.02em;
}

.passkey-text-sub {
  font-size: 0.67rem;
  color: rgba(250, 248, 244, 0.65);
  font-family: 'JetBrains Mono', monospace;
}

.passkey-badge {
  font-size: 0.66rem;
  font-weight: 800;
  color: #0A0807;
  background: linear-gradient(135deg, #FCD34D, #F59E0B);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Light Theme (Alabaster Marble) Parity */
html[data-theme="marble-bling"] .login-passkey-btn {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.18), rgba(255, 253, 249, 0.95));
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.12);
}

html[data-theme="marble-bling"] .passkey-text-main {
  color: #0A0807;
}

html[data-theme="marble-bling"] .passkey-text-sub {
  color: #78350F;
}
