/* =====================================================
   BTV MEDIA — LUXURY NEWS DESIGN SYSTEM
   Premium Dark Navy Theme with Glassmorphism,
   Atmospheric Glow Orbs, Subtle Micro-Animations,
   and Responsive Modern Layouts.
   ===================================================== */

:root {
  /* Dark Navy Luxury Background Palette */
  --page-bg: #070D24;
  --bg-gradient-top: #0F1D4A;
  --bg-gradient-mid: #070D24;
  --bg-gradient-bot: #040817;

  /* Glass Header */
  --header-bg: rgba(7, 13, 36, 0.78);
  --header-border: rgba(255, 255, 255, 0.09);
  --header-text: #FFFFFF;

  /* Glass Card System */
  --card-bg: rgba(13, 22, 53, 0.68);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-border-hover: rgba(255, 255, 255, 0.22);
  --card-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.65), 0 0 35px rgba(11, 31, 216, 0.15), 0 0 50px rgba(227, 27, 35, 0.06);

  /* BTV Brand Colors */
  --brand-blue: #2563EB;
  --brand-blue-glow: rgba(37, 99, 235, 0.35);
  --brand-blue-light: #60A5FA;
  --brand-red: #E31B23;
  --brand-red-hover: #C5131B;
  --brand-red-glow: rgba(227, 27, 35, 0.38);

  /* High Contrast Typography */
  --text-main: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --tagline: #CBD5E1;

  /* Input Fields (Dark Glass) */
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-bg-focus: rgba(255, 255, 255, 0.08);
  --input-border: rgba(255, 255, 255, 0.14);
  --input-focus-border: #3B82F6;
  --input-focus-glow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 0 16px rgba(59, 130, 246, 0.18);

  /* Semantic Feedback */
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.14);
  --success-border: rgba(16, 185, 129, 0.3);
  --error: #F87171;
  --error-bg: rgba(239, 68, 68, 0.14);
  --error-border: rgba(248, 113, 113, 0.7);
}

* {
  box-sizing: border-box;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
  word-spacing: normal;
  letter-spacing: 0;
}

html {
  font-size: 16px;
  background-color: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 50% 0%, var(--bg-gradient-top) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-bot) 100%);
  background-attachment: fixed;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
}

/* =====================================================
   LOGIN FULL-PAGE BACKGROUND WITH SLOW FLOAT ANIMATION
   Uses assets/bg image.png with dark navy/black overlay,
   background-size: cover, and smooth subtle ambient movement.
   ===================================================== */
.login-bg-layer {
  position: fixed;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background:
    linear-gradient(135deg, rgba(7, 13, 36, 0.70) 0%, rgba(11, 18, 48, 0.62) 50%, rgba(4, 8, 23, 0.76) 100%),
    url('../assets/bg%20image.png') center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
  animation: bgSlowFloat 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bgSlowFloat {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.04) translate(-14px, -8px);
  }
  100% {
    transform: scale(1.02) translate(10px, 8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-bg-layer {
    animation: none;
  }
}

/* =====================================================
   ATMOSPHERIC FLOATING BACKGROUND ORBS (CSS ONLY)
   3-5 large blurred gradient circles creating ambient depth.
   ===================================================== */
.ambient-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  will-change: transform;
  pointer-events: none;
}

/* Orb 1: BTV Crimson Red glow (top-left) */
.orb-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.32) 0%, rgba(227, 27, 35, 0.08) 60%, transparent 80%);
  opacity: 0.85;
  animation: floatOrb1 16s ease-in-out infinite alternate;
}

/* Orb 2: Deep Brand Navy/Blue glow (top-right / center) */
.orb-2 {
  width: 650px;
  height: 650px;
  top: 8%;
  right: -160px;
  background: radial-gradient(circle, rgba(11, 31, 216, 0.28) 0%, rgba(11, 31, 216, 0.07) 60%, transparent 80%);
  opacity: 0.85;
  animation: floatOrb2 20s ease-in-out infinite alternate;
}

/* Orb 3: Atmospheric Royal Blue glow (bottom-left) */
.orb-3 {
  width: 500px;
  height: 500px;
  bottom: -120px;
  left: 8%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0.05) 60%, transparent 80%);
  opacity: 0.75;
  animation: floatOrb3 18s ease-in-out infinite alternate;
}

/* Orb 4: Subtle Dark Red accent (bottom-right) */
.orb-4 {
  width: 440px;
  height: 440px;
  bottom: -80px;
  right: 12%;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.22) 0%, rgba(185, 28, 28, 0.04) 60%, transparent 80%);
  opacity: 0.7;
  animation: floatOrb4 22s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 40px) scale(1.08); }
  100% { transform: translate(25px, 80px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 45px) scale(1.09); }
  100% { transform: translate(-30px, -25px) scale(0.93); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -45px) scale(1.06); }
  100% { transform: translate(75px, -15px) scale(0.96); }
}

@keyframes floatOrb4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, -35px) scale(1.05); }
  100% { transform: translate(-55px, 20px) scale(1); }
}

/* =====================================================
   GLASS HEADER & BRANDING
   ===================================================== */
.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.back-nav-btn:active {
  transform: scale(0.97);
}

.back-nav-btn .back-arrow {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.15s ease;
}

.back-nav-btn:hover .back-arrow {
  transform: translateX(-3px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  text-decoration: none;
}

.site-brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand-text {
  color: var(--header-text);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-brand-subtext {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #EF4444;
  text-transform: uppercase;
  line-height: 1;
}

/* =====================================================
   PAGE SHELL & AUTH LAYOUT
   ===================================================== */
.page-shell {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 16px 44px;
  position: relative;
  z-index: 1;
}

.auth-layout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   GLASSMORPHISM AUTH CARDS
   ===================================================== */
.auth-card {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: 36px 32px 30px;
  animation: cardEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 28px 70px -10px rgba(0, 0, 0, 0.7), 0 0 45px rgba(11, 31, 216, 0.2), 0 0 60px rgba(227, 27, 35, 0.08);
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.register-card {
  width: min(100%, 760px);
  padding: 38px 36px 32px;
}

.forgot-card {
  width: min(100%, 500px);
}

/* =====================================================
   BRAND PANEL INSIDE CARDS
   ===================================================== */
.brand-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
}

.brand-main {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.22em;
  background: linear-gradient(135deg, #FFFFFF 30%, #93C5FD 70%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(59, 130, 246, 0.35));
}

.brand-subtitle {
  margin: 8px 0 0;
  color: var(--tagline);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =====================================================
   FORM LAYOUT & INPUT FIELDS
   ===================================================== */
form {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

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

.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--input-border);
  border-radius: 14px;
  background: var(--input-bg);
  padding: 0 16px;
  color: var(--text-main);
  font-size: 0.96rem;
  transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

input::placeholder {
  color: var(--text-muted);
}

input:focus {
  outline: none;
  background: var(--input-bg-focus);
  border-color: var(--input-focus-border);
  box-shadow: var(--input-focus-glow);
}

.field-group input.invalid {
  border-color: var(--error-border);
  background: var(--error-bg);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 48px;
}

.toggle-password,
.captcha-refresh {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.toggle-password {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toggle-password:hover,
.captcha-refresh:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.toggle-password:active {
  transform: translateY(-50%) scale(0.92);
}

.icon-eye {
  font-size: 1.15rem;
}

/* =====================================================
   PRIMARY BUTTON WITH GLOW & HOVER ELEVATION
   ===================================================== */
.primary-btn {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  margin-top: 12px;
  background: linear-gradient(135deg, #E31B23 0%, #C5131B 100%);
  color: #FFFFFF;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--brand-red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn:hover {
  background: linear-gradient(135deg, #F1222B 0%, #D4151E 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227, 27, 35, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.primary-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px var(--brand-red-glow);
}

/* =====================================================
   STATUS & ERROR MESSAGES
   ===================================================== */
.status-message,
.error-message {
  min-height: 18px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.status-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  display: none;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.status-message.visible {
  display: block;
}

.status-message.success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
}

.status-message.error {
  background: var(--error-bg);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--error);
}

.error-message {
  color: var(--error);
  font-weight: 600;
}

/* =====================================================
   PROFILE PHOTO UPLOAD (REGISTRATION)
   ===================================================== */
.field-hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.password-hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.3;
}

.photo-upload-container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.photo-upload-container input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
  background: var(--input-bg);
  border: 1px dashed var(--input-border);
  border-radius: 14px;
  color: var(--text-secondary);
}

.photo-preview-container {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
}

.photo-preview-container.hidden {
  display: none;
}

.photo-preview-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-blue);
  box-shadow: 0 4px 16px var(--brand-blue-glow);
}

.remove-photo-btn {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #FFFFFF;
  border: 2px solid #070D24;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 0;
  line-height: 1;
  transition: transform 0.15s ease, background 0.2s ease;
}

.remove-photo-btn:hover {
  background: var(--brand-red-hover);
  transform: scale(1.1);
}

/* =====================================================
   CAPTCHA BOX (REGISTRATION)
   ===================================================== */
.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--input-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.captcha-display {
  flex: 1;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  letter-spacing: 0.45rem;
  font-weight: 900;
  color: #60A5FA;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  user-select: none;
  text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.captcha-refresh {
  position: static;
  transform: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.captcha-refresh:hover {
  background: rgba(37, 99, 235, 0.25);
  color: #93C5FD;
}

/* =====================================================
   AUTH SWITCH & LINKS
   ===================================================== */
.auth-switch {
  margin: 24px 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.auth-switch a,
.success-state a {
  color: #60A5FA;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.auth-switch a:hover,
.success-state a:hover {
  color: #93C5FD;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.forgot-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  margin-bottom: 8px;
}

.forgot-password-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #60A5FA;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.forgot-password-link:hover {
  color: #93C5FD;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

/* =====================================================
   FORGOT PASSWORD & RECOVERY FLOW STYLES
   ===================================================== */
.notice-banner {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93C5FD;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

/* Stepper Bar */
.stepper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-dot {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.step-dot.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.45);
}

.step-dot.completed {
  color: var(--success);
}

.step-divider {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.step-instruction {
  margin-bottom: 20px;
}

.step-instruction h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.step-instruction p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Recovery Method Options */
.recovery-options-box {
  margin-top: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.recovery-box-header {
  margin-bottom: 16px;
}

.user-found-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
  margin-bottom: 8px;
}

.recovery-prompt {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.recovery-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.recovery-radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.recovery-radio-card:hover {
  border-color: #60A5FA;
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.recovery-radio-card input[type="radio"] {
  width: 18px;
  min-height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #2563EB;
}

.recovery-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.recovery-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.recovery-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recovery-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.recovery-masked-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

/* OTP Code Meta */
.otp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 6px;
}

.otp-timer {
  color: #60A5FA;
}

.otp-attempts {
  color: var(--text-muted);
}

.otp-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.secondary-link-btn {
  background: transparent;
  border: none;
  padding: 6px 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #60A5FA;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.secondary-link-btn:hover {
  color: #93C5FD;
}

.back-to-login-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.back-to-login-btn:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Success States */
.success-state {
  margin-top: 20px;
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--success-bg);
  text-align: center;
  border: 1px solid var(--success-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.success-state p {
  margin: 0 0 12px;
  color: #34D399;
  font-size: 1.05rem;
  font-weight: 700;
}

.reset-success-card {
  padding: 32px 24px 26px;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

.reset-success-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
}

.reset-success-card p {
  margin: 0 0 22px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

/* =====================================================
   ACCESSIBILITY: REDUCED MOTION PREFERENCE
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .glow-orb,
  .auth-card,
  .back-nav-btn,
  .primary-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================
   RESPONSIVE DESIGN (MOBILE & TABLETS)
   ===================================================== */
@media (max-width: 680px) {
  .site-header {
    padding: 12px 18px;
  }

  .site-brand {
    gap: 10px;
  }

  .site-brand-logo {
    height: 40px;
  }

  .site-brand-text {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
  }

  .site-brand-subtext {
    font-size: 0.58rem;
  }

  .page-shell {
    padding: 24px 14px 32px;
  }

  .auth-card {
    width: min(94vw, 440px);
    padding: 28px 20px 24px;
    border-radius: 20px;
  }

  .register-card {
    width: min(94vw, 540px);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brand-main {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .brand-subtitle {
    letter-spacing: 0.12em;
  }
}

@media (max-width: 400px) {
  .auth-card {
    padding: 24px 16px 20px;
  }

  .site-header {
    padding: 10px 14px;
  }
}
