/* ==========================================================================
   CRYPTO BET MART (CBM) — VIP AUTH & VERIFICATION STYLESHEET
   Pages: Login, Registration, Forgot Password, Reset Password, Verification
   Aesthetic: Obsidian Glass, Royal Metallic Gold Accent, Haute Fintech
   ========================================================================== */

/* Full Viewport Auth Canvas */
.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-deep, #06070a);
  color: var(--text-ivory, #f8f9fa);
  overflow-x: hidden;
  z-index: 1;
}

/* Atmospheric Ambient Lights */
.auth-ambient-glow {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.15) 0%, rgba(245, 184, 0, 0.04) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.auth-ambient-bottom {
  position: fixed;
  bottom: -150px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.08) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Minimal Top Brand Bar */
.auth-top-navbar {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted, #9ba1b0);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: all 0.25s var(--ease-spring);
}

.auth-back-link:hover {
  color: #ffffff;
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateX(-3px);
}

.auth-nav-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}

/* Main Auth Stage */
.auth-main-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 60px 20px;
  position: relative;
  z-index: 2;
}

.auth-card-container {
  width: 100%;
  max-width: 520px;
  position: relative;
}

.auth-card-container.wide {
  max-width: 780px;
}

/* Luxury Glassmorphic Card */
.auth-card {
  background: linear-gradient(160deg, rgba(16, 21, 32, 0.96) 0%, rgba(9, 12, 19, 0.99) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 26px;
  padding: 44px 40px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D4AF37 30%, #FFE066 50%, #D4AF37 70%, transparent 100%);
}

/* Card Header */
.auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.auth-badge-icon {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 12px rgba(245, 184, 0, 0.35));
}

.auth-title {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.6rem, 3.8vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.auth-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted, #9ba1b0);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 420px;
}

/* Form Controls & Inputs */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.auth-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

.auth-link-subtle {
  font-size: 0.8rem;
  color: var(--gold-bright, #ffd700);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.auth-link-subtle:hover {
  color: #ffffff;
  text-decoration: underline;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(8, 11, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: all 0.25s var(--ease-spring);
}

.auth-input-wrap:focus-within {
  border-color: var(--gold-primary, #d4af37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18), 0 0 20px rgba(245, 184, 0, 0.15);
  background: rgba(12, 16, 26, 0.95);
}

.auth-input-wrap.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.auth-input-wrap.success {
  border-color: #10b981;
}

.auth-input-icon {
  position: absolute;
  left: 16px;
  color: var(--gold-primary, #d4af37);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 15px 16px 15px 48px;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  color: #ffffff;
  outline: none;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.auth-toggle-pwd {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted, #9ba1b0);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.auth-toggle-pwd:hover {
  color: var(--gold-bright, #ffd700);
}

/* Password Strength Indicator */
.pwd-strength-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.pwd-strength-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pwd-strength-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: background 0.3s ease;
}

.pwd-strength-bar.weak { background: #ef4444; }
.pwd-strength-bar.medium { background: #f59e0b; }
.pwd-strength-bar.strong { background: #3b82f6; }
.pwd-strength-bar.secure { background: #10b981; }

.pwd-strength-text {
  font-size: 0.74rem;
  color: var(--text-muted, #9ba1b0);
  display: flex;
  justify-content: space-between;
}

/* Row Options (Remember Me / Terms) */
.auth-row-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
}

.auth-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary, #d4af37);
  cursor: pointer;
}

/* Primary CTA Button */
.btn-auth-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #07090e;
  background: linear-gradient(135deg, #FFE894 0%, #F5B800 45%, #E5A800 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(245, 184, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.btn-auth-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(245, 184, 0, 0.5), inset 0 1px 1px #ffffff;
  filter: brightness(1.05);
}

.btn-auth-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-auth-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Secondary Auth Providers Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
  font-size: 0.78rem;
  color: var(--text-dim, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Web3 & Social Auth Cluster */
.auth-social-cluster {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-auth-provider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-auth-provider:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

.btn-auth-provider.web3 {
  border-color: rgba(245, 184, 0, 0.25);
  background: rgba(245, 184, 0, 0.05);
  color: var(--gold-bright, #ffd700);
}

.btn-auth-provider.web3:hover {
  background: rgba(245, 184, 0, 0.12);
  border-color: var(--gold-primary, #d4af37);
}

/* Footer Link Block */
.auth-card-footer {
  text-align: center;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--text-muted, #9ba1b0);
}

.auth-card-footer strong {
  color: #ffffff;
}

.auth-card-footer a {
  color: var(--gold-bright, #ffd700);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.auth-card-footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Live Status Toast Banner */
.auth-status-toast {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 20px;
  animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-status-toast.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.auth-status-toast.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.auth-status-toast.info {
  display: block;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: #67e8f9;
}

/* ==========================================================================
   OTP / CODE INPUT BOXES (FOR VERIFICATION & RESET)
   ========================================================================== */
.otp-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0 20px 0;
}

.otp-boxes-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.otp-box {
  width: 48px;
  height: 58px;
  background: rgba(8, 11, 18, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 1.6rem;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  text-align: center;
  color: var(--gold-bright, #ffd700);
  outline: none;
  transition: all 0.2s ease;
}

.otp-box:focus {
  border-color: var(--gold-primary, #d4af37);
  box-shadow: 0 0 15px rgba(245, 184, 0, 0.3);
  background: rgba(16, 22, 34, 0.95);
  transform: scale(1.05);
}

.otp-timer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim, #64748b);
}

.btn-resend-otp {
  background: none;
  border: none;
  color: var(--gold-bright, #ffd700);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-size: 0.8rem;
}

.btn-resend-otp:disabled {
  color: var(--text-dim, #64748b);
  cursor: not-allowed;
}

/* ==========================================================================
   VERIFICATION CENTER TABS & KYC ARCHITECTURE
   ========================================================================== */
.verify-tabs-bar {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(8, 11, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 28px;
  overflow-x: auto;
}

.verify-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted, #9ba1b0);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.verify-tab-btn:hover {
  color: #ffffff;
}

.verify-tab-btn.active {
  background: rgba(245, 184, 0, 0.15);
  border: 1px solid rgba(245, 184, 0, 0.35);
  color: var(--gold-bright, #ffd700);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.verify-tab-content {
  display: none;
  animation: authFadeIn 0.35s ease;
}

.verify-tab-content.active {
  display: block;
}

/* 2FA QR Code & Secret Key Box */
.qr-verification-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(8, 12, 20, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
}

.qr-code-box {
  width: 140px;
  height: 140px;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(245, 184, 0, 0.2);
}

.qr-code-svg {
  width: 100%;
  height: 100%;
}

.qr-meta-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qr-key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-mono, monospace);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright, #ffd700);
}

.btn-copy-code {
  background: rgba(245, 184, 0, 0.15);
  border: 1px solid rgba(245, 184, 0, 0.3);
  color: var(--gold-bright, #ffd700);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-code:hover {
  background: var(--gold-bright, #ffd700);
  color: #07090e;
}

/* KYC Tiers Grid */
.kyc-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kyc-tier-card {
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.kyc-tier-card:hover,
.kyc-tier-card.selected {
  border-color: var(--gold-primary, #d4af37);
  background: rgba(20, 26, 40, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 184, 0, 0.15);
  transform: translateY(-2px);
}

.kyc-tier-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.kyc-tier-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.kyc-tier-badge.gold {
  background: rgba(245, 184, 0, 0.15);
  color: var(--gold-bright, #ffd700);
  border: 1px solid rgba(245, 184, 0, 0.3);
}

.kyc-tier-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.kyc-tier-limit {
  font-size: 0.8rem;
  color: var(--text-dim, #94a3b8);
}

/* Upload Dropzone */
.kyc-dropzone {
  border: 2px dashed rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 20px;
}

.kyc-dropzone:hover {
  border-color: var(--gold-primary, #d4af37);
  background: rgba(245, 184, 0, 0.04);
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px auto;
  color: var(--gold-primary, #d4af37);
}

.dropzone-text-main {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.dropzone-text-sub {
  font-size: 0.78rem;
  color: var(--text-dim, #94a3b8);
}

/* Responsive Rules for Mobile / Tablet */
@media (max-width: 768px) {
  .auth-top-navbar {
    padding: 16px 20px;
  }
  .auth-card {
    padding: 30px 22px;
    border-radius: 20px;
  }
  .auth-title {
    font-size: 1.55rem;
  }
  .otp-box {
    width: 40px;
    height: 50px;
    font-size: 1.35rem;
  }
  .qr-verification-card {
    flex-direction: column;
    text-align: center;
  }
  .qr-key-row {
    flex-direction: column;
    word-break: break-all;
  }
  .kyc-tiers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .verify-tabs-bar {
    gap: 6px;
    padding: 4px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .verify-tabs-bar::-webkit-scrollbar {
    display: none;
  }
  .verify-tab-btn {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 24px 16px;
    border-radius: 18px;
  }
  .auth-input {
    padding: 13px 14px 13px 44px;
    font-size: 0.88rem;
  }
  .auth-input-icon {
    left: 14px;
  }
  .btn-auth-primary {
    padding: 14px 18px;
    font-size: 0.95rem;
  }
  .otp-boxes-row {
    gap: 6px;
  }
  .otp-box {
    width: 36px;
    height: 46px;
    font-size: 1.2rem;
    border-radius: 8px;
  }
}

@media (max-width: 360px) {
  .otp-boxes-row {
    gap: 4px;
  }
  .otp-box {
    width: 32px;
    height: 42px;
    font-size: 1.1rem;
    border-radius: 6px;
  }
  .auth-title {
    font-size: 1.35rem;
  }
  .auth-subtitle {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   AUTHENTICATION SPLIT-CARD SPECIFICATION (2-COLUMN MODERN ROUNDED LAYOUT)
   Visual Identity: Sovereign Obsidian & 24K Royal Gold, 3D Spheres, Luxury Glass
   ========================================================================== */
.auth-split-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 1200px 700px at 50% 0%, rgba(212, 175, 55, 0.15) 0%, #080b11 50%, #040507 100%);
  font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  color: var(--text-ivory, #f8f9fa);
  position: relative;
  overflow-x: hidden;
}

/* Atmospheric subtle gold ambient lights on canvas */
.auth-split-body::before {
  content: "";
  position: fixed;
  top: -120px;
  right: -100px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-split-body::after {
  content: "";
  position: fixed;
  bottom: -150px;
  left: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   TOP AUTHENTICATION SITE HEADER (ROYAL 24K GOLD & OBSIDIAN BRANDING)
   Guarantees visible authentic shield crest logo on both desktop and mobile
   ========================================================================== */
.auth-site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 90;
  background: rgba(6, 7, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.08);
  padding: 12px 0;
}

.auth-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.auth-header-container .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.auth-nav-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  color: #fce08a;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.auth-nav-home-btn:hover {
  background: linear-gradient(135deg, #FFE066 0%, #D4AF37 50%, #AA820A 100%);
  color: #06070a;
  border-color: #ffe066;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 540px) {
  .auth-site-header {
    padding: 10px 0;
  }
  .auth-header-container {
    padding: 0 14px;
  }
  .auth-header-container .brand-crest-box {
    width: 36px;
    height: 38px;
  }
  .auth-header-container .brand-name {
    font-size: 1.05rem;
  }
  .auth-header-container .brand-subtext {
    font-size: 0.66rem;
  }
  .auth-nav-home-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 5px;
  }
}

/* Main Content Wrapper */
.auth-main-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 16px 40px;
  box-sizing: border-box;
  z-index: 2;
}

@media (max-width: 540px) {
  .auth-main-wrapper {
    padding: 16px 12px 32px;
  }
}

/* Central 2-Column Rounded Card (Obsidian & Royal Gold) */
.auth-split-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  background: #0a0d14;
  border: 1.5px solid rgba(212, 175, 55, 0.32);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.1), inset 0 1px 1px rgba(255, 240, 160, 0.18);
  display: grid;
  grid-template-columns: 44% 56%;
  overflow: hidden;
  margin: auto;
}

.auth-split-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D4AF37 30%, #FFE066 50%, #D4AF37 70%, transparent 100%);
  z-index: 10;
}

.auth-split-card.wide {
  max-width: 920px;
  grid-template-columns: 42% 58%;
}

@media (max-width: 860px) {
  .auth-split-card, .auth-split-card.wide {
    grid-template-columns: 1fr;
    max-width: 480px;
    border-radius: 18px;
  }
}

/* ==========================================================================
   LEFT COLUMN: SOVEREIGN ROYAL DARK AMBIENT PANEL (ROYAL GOLD & OBSIDIAN)
   Zero tacky patterns. Real high-resolution crypto/AI/security background slider.
   ========================================================================== */
.auth-card-left-visual {
  position: relative;
  background: #06080e;
  border-right: 1px solid rgba(212, 175, 55, 0.22);
  padding: 34px 28px 70px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  box-sizing: border-box;
}

/* Responsive Top Slider Banner on Mobile (<= 860px):
   1. Keep vivid slider images running
   2. Hide all overlay text (VIP badge, Welcome, headline, perks, topic pill)
   3. Reduce height to a compact 110px banner (prevents form scrolling)
   4. Center the slider bullet indicators at the bottom
*/
@media (max-width: 860px) {
  .auth-card-left-visual {
    display: block !important;
    position: relative !important;
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    padding: 0 !important;
    border-right: none !important;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.28) !important;
    overflow: hidden !important;
  }
  
  /* Hide all text overlay content on mobile */
  .auth-left-content {
    display: none !important;
  }

  .auth-slider-topic-pill {
    display: none !important;
  }

  /* Center the slider bullet dots */
  .auth-slider-indicators {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 15 !important;
    margin: 0 !important;
  }

  .auth-slide-dot {
    width: 20px !important;
    height: 4px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    cursor: pointer !important;
  }

  .auth-slide-dot.active {
    width: 38px !important;
    background: linear-gradient(90deg, #FFE066, #D4AF37) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.9) !important;
  }

  /* Bright and crisp image banner on mobile */
  .auth-left-slide {
    filter: brightness(0.85) saturate(1.2) contrast(1.05) !important;
  }

  .auth-left-slider-bg::after {
    background: linear-gradient(180deg, rgba(6, 8, 14, 0.15) 0%, rgba(6, 8, 14, 0.35) 60%, rgba(6, 8, 14, 0.65) 100%) !important;
  }
}

.auth-left-content {
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.auth-portal-vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #06070a;
  background: linear-gradient(135deg, #FFE066 0%, #D4AF37 50%, #C68A00 100%);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.45);
  margin-bottom: 12px;
}

.auth-left-welcome {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FFE066 0%, #D4AF37 50%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 4px 0;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(212, 175, 55, 0.35);
}

.auth-left-headline {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fce08a;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.auth-left-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e2e8f0;
  font-weight: 500;
  margin: 0 0 16px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
}

/* Background Slider for Auth Left Panel (Crypto, Account, AI, Security) */
.auth-left-slider-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.auth-left-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 5s ease-out;
  filter: brightness(0.70) saturate(1.25) contrast(1.08);
  will-change: opacity, transform;
}

.auth-left-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

/* CSS Fallbacks for Background Images with Vite Resolution */
.auth-left-slide:nth-child(1),
.auth-left-slide.slide-crypto {
  background-image: url('../images/crypto_trading_overview_1791398358480.jpg');
}
.auth-left-slide:nth-child(2),
.auth-left-slide.slide-workspace {
  background-image: url('../images/cbm_workspace_dashboard_1791422257355.jpg');
}
.auth-left-slide:nth-child(3),
.auth-left-slide.slide-ai {
  background-image: url('../images/cbm_dashboard_insights_1791422274230.jpg');
}
.auth-left-slide:nth-child(4),
.auth-left-slide.slide-security {
  background-image: url('../images/cbm_ecosystem_network_1791399477572.jpg');
}

.auth-left-slider-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.42) 0%, rgba(6, 8, 14, 0.64) 55%, rgba(6, 8, 14, 0.88) 100%),
              radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

.auth-slider-indicators {
  position: absolute;
  bottom: 14px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 12;
}

.auth-slide-dot {
  width: 22px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.35s ease;
}

.auth-slide-dot:hover {
  background: rgba(255, 224, 102, 0.7);
}

.auth-slide-dot.active {
  background: linear-gradient(90deg, #FFE066, #D4AF37);
  width: 42px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.85);
}

.auth-slider-topic-pill {
  position: absolute;
  bottom: 34px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fce08a;
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 12;
}

.auth-slider-topic-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright, #ffd700);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.9);
}

.auth-left-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.auth-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fce08a;
  background: rgba(6, 8, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.auth-perk-item svg {
  color: #FFE066;
  flex-shrink: 0;
}

/* ==========================================================================
   RIGHT COLUMN: CRISP LUXURY OBSIDIAN & ROYAL GOLD FORM
   ========================================================================== */
.auth-card-right-form {
  background: linear-gradient(160deg, #0e121a 0%, #080b11 100%);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-ivory, #f8f9fa);
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .auth-card-right-form {
    padding: 22px 18px;
  }
}

.split-form-title {
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
}

.split-form-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 14px 0;
  line-height: 1.4;
}

/* Compact 2-Column Row for Forms (Zero Scroll Layout) */
.split-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

@media (max-width: 520px) {
  .split-form-row-2col {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }
}

/* Form Inputs */
.split-form-group {
  margin-bottom: 10px;
}

.split-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  height: 42px;
  padding: 0 12px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.split-input-box:focus-within {
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 14px rgba(212, 175, 55, 0.1);
}

#inputEmail{

}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #11151c inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}
.split-input-icon {
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.split-input-field {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  color: #ffffff;
  font-family: inherit;
  width: 100%;
}

.split-input-field::placeholder {
  color: #646b7a;
  font-size: 0.84rem;
}

.split-btn-show {
  background: none;
  border: none;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fce08a;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.split-btn-show:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #ffffff;
}

/* Remember Me & Options Row */
.split-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.split-remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
}

.split-remember-me input {
  accent-color: #d4af37;
  cursor: pointer;
  width: 15px;
  height: 15px;
}

.split-forgot-link {
  color: #fce08a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.split-forgot-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Primary Button (Solid Royal 24K Gold Gradient) */
.btn-split-solid {
  background: linear-gradient(135deg, #FFE066 0%, #D4AF37 50%, #AA820A 100%);
  color: #06070a;
  height: 44px;
  border-radius: 10px;
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring, ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  box-sizing: border-box;
}

.btn-split-solid:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.btn-split-solid:active {
  transform: translateY(0);
}

/* Or Divider */
.split-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #646b7a;
  font-size: 0.8rem;
  margin: 16px 0;
  gap: 12px;
}

.split-or-divider::before,
.split-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, 0.18);
}

/* Secondary Button (Outline Royal Gold) */
.btn-split-outline {
  background: rgba(212, 175, 55, 0.05);
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  color: #fce08a;
  height: 46px;
  border-radius: 12px;
  font-family: var(--font-heading, "Outfit", sans-serif);
  font-weight: 700;
  font-size: 0.92rem;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.btn-split-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Switch Footer Link */
.split-switch-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 0.84rem;
  color: #9ba1b0;
}

.split-switch-footer a {
  color: #fce08a;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.split-switch-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   ACCOUNT DETAILS PAGE SPECIAL STYLES (id, pwd, name, email, website link + copy)
   ROYAL OBSIDIAN & 24K METALLIC GOLD VIP PASS THEME
   ========================================================================== */
.account-cred-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.account-cred-item {
  background: rgba(18, 23, 34, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.25s ease;
}

.account-cred-item:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(24, 31, 46, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}

.cred-left-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.cred-icon-chip {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-text-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.cred-label-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.cred-value-display {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  line-height: 1.3;
}

.cred-actions-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-copy-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #FFE066 0%, #D4AF37 50%, #AA820A 100%);
  color: #06070a;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.btn-copy-action:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-copy-action.copied {
  background: #10b981 !important;
  color: #ffffff !important;
}

.btn-cred-toggle {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fce08a;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cred-toggle:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #ffffff;
}

.btn-cred-open-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fce08a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-cred-open-link:hover {
  background: #d4af37;
  color: #06070a;
  transform: translateY(-1px);
}

/* Floating Clean Notification Toast */
.split-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f131c;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.split-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.split-toast.success {
  border-left: 4px solid #10b981;
}

/* Mobile Form Header Badge: Disabled to avoid duplicate logo and maintain zero-scroll */
.mobile-form-header-badge {
  display: none !important;
}

@media (max-width: 860px) {
  .mobile-form-header-badge {
    display: none !important;
  }
  
  .split-form-title {
    font-size: 1.45rem;
  }
  
  .split-form-sub {
    font-size: 0.8rem;
    margin-bottom: 14px;
  }

  .split-input-box {
    height: 42px;
  }

  .split-input-field {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  }
}

/* Responsive Account Details VIP Card layout on Mobile */
@media (max-width: 540px) {
  .account-cred-item {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }

  .cred-left-info {
    width: 100%;
  }

  .cred-actions-cluster {
    width: 100%;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px dashed rgba(212, 175, 55, 0.18);
    gap: 8px;
  }

  .btn-copy-action {
    flex: 1;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .cred-value-display {
    font-size: 0.88rem;
  }
}

/* Responsive OTP verification inputs */
.v-otp-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

@media (max-width: 420px) {
  .v-otp-row {
    gap: 5px;
  }
  .v-otp-digit {
    width: 38px !important;
    height: 48px !important;
    font-size: 1.15rem !important;
    border-radius: 8px !important;
  }
}
