/*
 * ═══════════════════════════════════════════════════════════════════
 *  ATANNEX — Universal Stylesheet
 *  Covers: Login · Register · Forgot Password · Reset Password
 *          Verify Email · Confirm Password
 *  Fonts : Playfair Display (serif) + DM Sans (sans-serif)
 *  Usage : <link rel="stylesheet" href="{{ asset('css/atannex.css') }}" />
 * ═══════════════════════════════════════════════════════════════════
 *
 *  TABLE OF CONTENTS
 *  ─────────────────
 *  ── Base ──────────────────────────────────────────────────────
 *  1.  CSS Custom Properties (Design Tokens)
 *  2.  Reset & Base
 *  3.  Grain / Noise Texture Overlay
 *  4.  Page Layout (.wrapper)
 *
 *  ── Left Editorial Panel ──────────────────────────────────────
 *  5.  Editorial Left Panel — Shared
 *       5a.  Login variant       (.editorial-panel--login)
 *       5b.  Register variant    (.editorial-panel--register)
 *       5c.  Reset variant       (.editorial-panel--reset)    [§ appended]
 *       5d.  Verify variant      (.editorial-panel--verify)   [§43]
 *       5e.  Confirm variant     (.editorial-panel--confirm)  [§44]
 *  6.  Glow Blobs
 *  7.  Logo
 *  8.  News Ticker
 *  9.  Hero Section (Eyebrow · Headline · Desc)
 *  10. Story Stack         [Login only]
 *  11. Perks List          [Register only]
 *  12. Testimonial         [Register only]
 *  13. Stats Bar
 *
 *  ── Right Form Panel — Shared ─────────────────────────────────
 *  14. Form Panel (Right side)
 *  15. Top Bar & Mobile Header
 *  16. Live Dot
 *  17. Mobile Ticker
 *  18. Form Body Container
 *  19. Progress Steps      [Register only]
 *  20. Form Typography (Title · Sub)
 *  21. Social Buttons
 *  22. OR Divider
 *  23. Field Groups & Labels
 *  24. Inputs & Select
 *  25. Password Toggle
 *  26. Password Strength Meter
 *  27. Interest / Topic Tags   [Register only]
 *  28. Checkbox & Labels
 *  29. Remember Row            [Login only]
 *  30. Newsletter Row          [Register only]
 *  31. Section Divider
 *  32. Submit Button
 *  33. Switch Link
 *  34. Footer
 *  35. Toast Notification
 *  36. Entrance Animations
 *  37. Scrollbar
 *  38. Responsive Breakpoints
 *
 *  ── Shared Validation / UI Utilities ─────────────────────────
 *  39. Auth Error Banner      (.auth-error-banner — canonical)
 *                              .reset-error-banner, .confirm-error-banner
 *                              are aliased to the same block
 *      Input Error State      (.input-error)
 *      Field Error Text       (.field-error)
 *  40. Account Type Selector  (.account-type-btn)
 *  41. Password Rules Checklist (.pw-rule)
 *  42. Loading Spinner        (@keyframes spin)
 *
 *  ── Page-specific sections ────────────────────────────────────
 *  [appended after §38]
 *      Reset / Forgot Password
 *           Security steps, pips, email-sent box, resend timer,
 *           match indicator, success screen, back link
 *  43. Verify Email Page
 *  44. Confirm Password Page
 * ═══════════════════════════════════════════════════════════════════
 */


/* ─────────────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --red:        #0c6baa;
  --red-dark:   #032e4b;

  /* Backgrounds */
  --dark:       #0A0A0A;
  --panel:      #111111;
  --card:       #1A1A1A;

  /* Borders */
  --border:     #2A2A2A;
  --mid:        #3A3A3A;

  /* Text */
  --text:       #CCCCCC;
  --light:      #F5F5F0;
  --muted:      #666666;
  --faint:      #444444;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --panel-pad:  52px;
  --form-pad:   52px;
}


/* ─────────────────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--light);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #ff4444;
}

button {
  cursor: pointer;
}


/* ─────────────────────────────────────────────────────────────────
   3. GRAIN / NOISE TEXTURE OVERLAY
   ───────────────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
}


/* ─────────────────────────────────────────────────────────────────
   4. PAGE LAYOUT
   ───────────────────────────────────────────────────────────────── */
.wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}


/* ─────────────────────────────────────────────────────────────────
   5. EDITORIAL LEFT PANEL — SHARED
   ───────────────────────────────────────────────────────────────── */
.editorial-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 48px var(--panel-pad);
}

/* Red top accent bar */
.editorial-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  z-index: 2;
}

/* ── 5a. LOGIN variant ── */
.editorial-panel--login {
  background: #0d0000;
}

/* Vertical column rules */
.editorial-panel--login::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 79px,
    rgba(204, 0, 0, 0.04) 79px,
    rgba(204, 0, 0, 0.04) 80px
  );
  pointer-events: none;
}

/* ── 5b. REGISTER variant ── */
.editorial-panel--register {
  background: linear-gradient(160deg, #0d0d00 0%, #090900 50%, #0a0000 100%);
}

/* Grid pattern overlay */
.editorial-panel--register::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 59px, rgba(204,0,0,0.03) 59px, rgba(204,0,0,0.03) 60px),
    repeating-linear-gradient(0deg,  transparent 0px, transparent 59px, rgba(204,0,0,0.02) 59px, rgba(204,0,0,0.02) 60px);
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────────
   6. GLOW BLOBS
   ───────────────────────────────────────────────────────────────── */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.12) 0%, transparent 65%);
  top: -80px;
  right: -100px;
  pointer-events: none;
}

.glow-blob-register {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 180, 0, 0.06) 0%, rgba(204, 0, 0, 0.06) 40%, transparent 70%);
  bottom: -120px;
  left: -80px;
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────────
   7. LOGO
   ───────────────────────────────────────────────────────────────── */
.ep-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.ep-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0 100%);
  flex-shrink: 0;
}

.ep-logo-mark span {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.3rem;
  color: white;
}

.ep-name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--light);
}

.ep-name-underline {
  height: 2px;
  background: var(--red);
  margin-top: 4px;
  width: 100%;
}

/* Mobile logo (right panel header) */
.mobile-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-logo-mark span {
  font-family: var(--font-serif);
  font-weight: 900;
  color: white;
  font-size: 1.1rem;
}

.mobile-logo-name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--light);
}


/* ─────────────────────────────────────────────────────────────────
   8. NEWS TICKER
   ───────────────────────────────────────────────────────────────── */
/* Left-panel ticker */
.ticker-wrap {
  overflow: hidden;
  background: var(--red);
  margin: 32px calc(-1 * var(--panel-pad));
  padding: 8px 0;
  position: relative;
  z-index: 1;
}

/* Mobile ticker (above form panel on small screens) */
.mobile-ticker {
  overflow: hidden;
  background: var(--red);
  padding: 7px 0;
  display: none; /* shown via media query */
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerMove 30s linear infinite;
}

.ticker-item {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  padding: 0 40px;
}

.ticker-dot {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─────────────────────────────────────────────────────────────────
   9. HERO SECTION
   ───────────────────────────────────────────────────────────────── */
.ep-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ep-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ep-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.ep-headline {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 3.2vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--light);
  margin-bottom: 24px;
}

.ep-headline em {
  font-style: italic;
  color: var(--red);
}

.ep-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 36px;
}


/* ─────────────────────────────────────────────────────────────────
   10. STORY STACK  [Login Page]
   ───────────────────────────────────────────────────────────────── */
.story-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--mid);
}

.story-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
}

.story-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--mid);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  transition: color 0.2s;
}

.story-card:hover .story-num {
  color: var(--red);
}

.story-cat {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1.35;
}


/* ─────────────────────────────────────────────────────────────────
   11. PERKS LIST  [Register Page]
   ───────────────────────────────────────────────────────────────── */
.perks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(204, 0, 0, 0.10);
  border: 1px solid rgba(204, 0, 0, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.perk-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 2px;
}

.perk-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}


/* ─────────────────────────────────────────────────────────────────
   12. TESTIMONIAL  [Register Page]
   ───────────────────────────────────────────────────────────────── */
.testimonial {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.testimonial-stars {
  color: var(--red);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 10px;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #555;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ─────────────────────────────────────────────────────────────────
   13. STATS BAR
   ───────────────────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mid);
  padding-top: 28px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--light);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 2px;
}


/* ─────────────────────────────────────────────────────────────────
   14. FORM PANEL (RIGHT SIDE)
   ───────────────────────────────────────────────────────────────── */
.form-panel {
  background: var(--panel);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}


/* ─────────────────────────────────────────────────────────────────
   15. TOP BAR & MOBILE HEADER
   ───────────────────────────────────────────────────────────────── */
.form-topbar {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  /* Sticky for register page scroll */
  position: sticky;
  top: 0;
  z-index: 10;
}

.form-topbar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-topbar__meta span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-topbar__domain {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--faint);
}

.mobile-logo {
  display: none; /* visible via media query */
  align-items: center;
  gap: 10px;
}


/* ─────────────────────────────────────────────────────────────────
   16. LIVE DOT
   ───────────────────────────────────────────────────────────────── */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s ease infinite;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}


/* ─────────────────────────────────────────────────────────────────
   17. MOBILE TICKER (shown below top bar on small screens)
   ───────────────────────────────────────────────────────────────── */
/* .mobile-ticker display toggled in §38 Responsive Breakpoints */


/* ─────────────────────────────────────────────────────────────────
   18. FORM BODY CONTAINER
   ───────────────────────────────────────────────────────────────── */
.form-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px var(--form-pad);
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

/* Form-level eyebrow label above the title */
.form-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}


/* ─────────────────────────────────────────────────────────────────
   19. PROGRESS STEPS  [Register Page]
   ───────────────────────────────────────────────────────────────── */
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s;
}

.step-label {
  transition: color 0.3s;
}

/* States */
.step.active  .step-num   { background: var(--red);    color: white; }
.step.done    .step-num   { background: #1a3a1a;       color: #00cc55; border: 1.5px solid #00cc55; }
.step.inactive .step-num  { background: var(--card);   color: var(--faint); border: 1.5px solid var(--border); }

.step.active  .step-label { color: var(--light); }
.step.done    .step-label { color: #00cc55; }
.step.inactive .step-label{ color: var(--faint); }

.step-connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 8px;
}


/* ─────────────────────────────────────────────────────────────────
   20. FORM TYPOGRAPHY
   ───────────────────────────────────────────────────────────────── */
.form-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.form-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 28px;
}


/* ─────────────────────────────────────────────────────────────────
   21. SOCIAL BUTTONS
   ───────────────────────────────────────────────────────────────── */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 12px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-social:hover {
  border-color: var(--red);
  color: var(--light);
  background: rgba(204, 0, 0, 0.05);
}


/* ─────────────────────────────────────────────────────────────────
   22. OR DIVIDER
   ───────────────────────────────────────────────────────────────── */
.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.or-divider span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}


/* ─────────────────────────────────────────────────────────────────
   23. FIELD GROUPS & LABELS
   ───────────────────────────────────────────────────────────────── */
.field-group {
  margin-bottom: 16px;
}

/* Side-by-side two-column row (first name / last name) */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.field-label span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.field-label a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--red);
}

.field-label a:hover {
  color: #ff4444;
}


/* ─────────────────────────────────────────────────────────────────
   24. INPUTS & SELECT
   ───────────────────────────────────────────────────────────────── */
.auth-input {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 13px 16px;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.auth-input::placeholder {
  color: var(--faint);
}

.auth-input:focus {
  border-color: var(--red);
  background: #1d1d1d;
}

/* Right padding variant for password fields */
.auth-input.pr {
  padding-right: 48px;
}

/* Select arrow */
select.auth-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

select.auth-input option {
  background: var(--card);
}


/* ─────────────────────────────────────────────────────────────────
   25. PASSWORD TOGGLE
   ───────────────────────────────────────────────────────────────── */
.pw-wrap {
  position: relative;
}

.pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  transition: color 0.2s;
}

.pw-toggle:hover {
  color: var(--red);
}

.pw-toggle .hidden {
  display: none;
}


/* ─────────────────────────────────────────────────────────────────
   26. PASSWORD STRENGTH METER  [Register Page]
   ───────────────────────────────────────────────────────────────── */
.strength-bar {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.strength-seg {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s;
}

/* Segment colour states (applied via JS) */
.s-weak   { background: #CC4400 !important; }
.s-fair   { background: #CC8800 !important; }
.s-good   { background: #00AA44 !important; }
.s-strong { background: #00CC55 !important; }

.strength-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  min-height: 1em;
}


/* ─────────────────────────────────────────────────────────────────
   27. INTEREST / TOPIC TAGS  [Register Page]
   ───────────────────────────────────────────────────────────────── */
.interests-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 2px;
  border: 1.5px solid var(--border);
  color: #777;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.interest-tag:hover {
  border-color: var(--red);
  color: var(--light);
}

.interest-tag.selected {
  border-color: var(--red);
  background: rgba(204, 0, 0, 0.10);
  color: var(--light);
}


/* ─────────────────────────────────────────────────────────────────
   28. CHECKBOX & LABELS
   ───────────────────────────────────────────────────────────────── */
.check-box {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--mid);
  border-radius: 2px;
  background: var(--card);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.check-box:checked {
  background: var(--red);
  border-color: var(--red);
}

.check-box:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.check-label {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: #888;
  cursor: pointer;
  line-height: 1.5;
}

.check-label a {
  color: var(--red);
}

.check-label a:hover {
  color: #ff4444;
}


/* ─────────────────────────────────────────────────────────────────
   29. REMEMBER ROW  [Login Page]
   ───────────────────────────────────────────────────────────────── */
.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}


/* ─────────────────────────────────────────────────────────────────
   30. NEWSLETTER ROW  [Register Page]
   ───────────────────────────────────────────────────────────────── */
.newsletter-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}


/* ─────────────────────────────────────────────────────────────────
   31. SECTION DIVIDER
   ───────────────────────────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}


/* ─────────────────────────────────────────────────────────────────
   32. SUBMIT BUTTON
   ───────────────────────────────────────────────────────────────── */
.btn-submit {
  width: 100%;
  background: var(--red);
  color: white;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 24px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, transform 0.15s;
  margin-bottom: 20px;
}

/* Shimmer on hover */
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-submit:hover {
  background: var(--red-dark);
}

.btn-submit:hover::after {
  transform: translateX(100%);
}

.btn-submit:active {
  transform: scale(0.995);
}

/* Back button (register page) */
.btn-back {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-back:hover {
  border-color: var(--red);
  color: var(--light);
}

/* Back + Submit side-by-side grid */
.btn-row-back-submit {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}

.btn-row-back-submit .btn-submit {
  margin-bottom: 0;
}


/* ─────────────────────────────────────────────────────────────────
   33. SWITCH LINK (sign in ↔ register)
   ───────────────────────────────────────────────────────────────── */
.switch-link {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
}

.switch-link a {
  color: var(--red);
  font-weight: 600;
}

.switch-link a:hover {
  color: #ff4444;
}


/* ─────────────────────────────────────────────────────────────────
   34. FOOTER
   ───────────────────────────────────────────────────────────────── */
.form-footer {
  padding: 20px var(--form-pad);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.form-footer a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--faint);
}

.form-footer a:hover {
  color: var(--text);
}

.form-footer__copy {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #333;
  width: 100%;
  text-align: center;
}


/* ─────────────────────────────────────────────────────────────────
   35. TOAST NOTIFICATION
   ───────────────────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1A1A1A;
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 14px 24px;
  border-radius: 4px;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

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


/* ─────────────────────────────────────────────────────────────────
   36. ENTRANCE ANIMATIONS
   ───────────────────────────────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.55s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.12s; }
.delay-3 { animation-delay: 0.20s; }
.delay-4 { animation-delay: 0.28s; }
.delay-5 { animation-delay: 0.36s; }
.delay-6 { animation-delay: 0.44s; }


/* ─────────────────────────────────────────────────────────────────
   37. SCROLLBAR
   ───────────────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--panel); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }


/* ─────────────────────────────────────────────────────────────────
   38. RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────────── */

/* ── Tablet and below (≤ 1023px) ── */
@media (max-width: 1023px) {
  /* Collapse to single column — hide editorial panel */
  .wrapper {
    grid-template-columns: 1fr;
  }

  .editorial-panel {
    display: none !important;
  }

  /* Show mobile elements */
  .mobile-logo {
    display: flex;
  }

  .mobile-ticker {
    display: block;
  }

  /* Narrower padding */
  .form-topbar {
    padding: 16px 24px;
  }

  .form-body {
    padding: 32px 24px;
    max-width: 100%;
  }

  .form-footer {
    padding: 20px 24px;
  }
}

/* ── Small tablet (640px – 1023px) ── */
@media (min-width: 640px) and (max-width: 1023px) {
  .form-body {
    padding: 36px 48px;
    max-width: 540px;
  }
}

/* ── Mobile only (≤ 400px) ── */
@media (max-width: 400px) {
  /* Stack two-column name row */
  .field-row {
    grid-template-columns: 1fr;
  }

  /* Stack social buttons */
  .social-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PASSWORD RESET — Additional Styles (appended to universal sheet)
   ═══════════════════════════════════════════════════════════════════ */


/* ── 5c. RESET Left Panel variant ── */
.editorial-panel--reset {
  background: linear-gradient(150deg, #000d0d 0%, #050505 45%, #0a0000 100%);
}

/* Diagonal crosshatch overlay */
.editorial-panel--reset::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient( 45deg, transparent 0px, transparent 38px, rgba(0,180,180,0.025) 38px, rgba(0,180,180,0.025) 39px),
    repeating-linear-gradient(-45deg, transparent 0px, transparent 38px, rgba(204,0,0,0.02)   38px, rgba(204,0,0,0.02)   39px);
  pointer-events: none;
}

/* Teal glow for reset panel */
.glow-blob-reset {
  position: absolute;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0,180,160,0.07) 0%, rgba(204,0,0,0.05) 45%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


/* ── Security Steps [Reset Panel] ── */
.security-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.security-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.security-step:first-child {
  border-top: 1px solid var(--mid);
}

.sec-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s;
}

.security-step.active .sec-step-num {
  border-color: var(--red);
  background: rgba(204,0,0,0.1);
  color: var(--red);
}

.security-step.done .sec-step-num {
  border-color: #00b8a0;
  background: rgba(0,184,160,0.1);
  color: #00b8a0;
}

.sec-step-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 3px;
  line-height: 1.3;
}

.security-step.inactive .sec-step-title {
  color: var(--muted);
}

.sec-step-desc {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #555;
  line-height: 1.45;
}

.security-step.active .sec-step-desc {
  color: var(--text);
}


/* ── Security badge ── */
.security-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,184,160,0.05);
  border: 1px solid rgba(0,184,160,0.15);
  border-left: 3px solid #00b8a0;
  padding: 14px 16px;
  margin-bottom: 28px;
}

.security-badge-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-badge-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
}

.security-badge-text strong {
  display: block;
  color: #00b8a0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}


/* ── Reset Step Indicator (top of form) ── */
.reset-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.reset-pip {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.4s ease;
}

.reset-pip.active  { background: var(--red); }
.reset-pip.done    { background: #00b8a0; }

.reset-step-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}


/* ── Email sent illustration box ── */
.email-sent-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  margin-bottom: 24px;
}

.email-sent-icon {
  width: 64px;
  height: 64px;
  background: rgba(204,0,0,0.08);
  border: 1.5px solid rgba(204,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: iconPulse 2.5s ease infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.15); }
  50%       { box-shadow: 0 0 0 12px rgba(204,0,0,0); }
}

.email-sent-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--light);
  margin-bottom: 8px;
}

.email-sent-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 300px;
}

.email-sent-address {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--light);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  margin: 12px 0;
  border-radius: 2px;
  word-break: break-all;
}


/* ── Resend timer ── */
.resend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  border-radius: 3px;
}

.resend-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
}

.resend-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}

.resend-btn:hover { color: #ff4444; }
.resend-btn:disabled { color: var(--muted); cursor: not-allowed; }

.resend-timer {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}


/* ── Password match indicator ── */
.match-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  margin-top: 6px;
  min-height: 1em;
  transition: all 0.3s;
}

.match-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}

.match-indicator.match    .match-dot { background: #00cc55; }
.match-indicator.mismatch .match-dot { background: #CC4400; }
.match-indicator.match    span       { color: #00cc55; }
.match-indicator.mismatch span       { color: #CC4400; }
.match-indicator span                { color: var(--muted); }


/* ── Success screen ── */
.success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 8px;
}

.success-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #00b8a0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  animation: successRing 0.6s ease forwards;
}

@keyframes successRing {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

.success-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0,184,160,0.2);
}

.success-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--light);
  line-height: 1.1;
  margin-bottom: 10px;
}

.success-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 32px;
}

/* ── Back link row ── */
.back-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.back-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--light); }



/* ─────────────────────────────────────────────────────────────────
   39. SHARED VALIDATION UTILITIES
   Used across: forgot-password, reset-password, confirm-password
   ─────────────────────────────────────────────────────────────────

   .auth-error-banner replaces both .reset-error-banner and
   .confirm-error-banner — same styles, unified selector.
   The legacy names are listed as aliases so existing markup
   doesn't need updating immediately.
   ───────────────────────────────────────────────────────────────── */

/* Error alert banner */
.auth-error-banner,
.reset-error-banner,
.confirm-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(204, 68, 0, 0.07);
    border: 1px solid rgba(204, 68, 0, 0.25);
    border-left: 3px solid #cc4400;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #ffaa80;
    border-radius: 2px;
}

/* Input error state (server-side validation highlight) */
.input-error {
    border-color: #cc4400 !important;
}

/* Field-level error text (below individual inputs) */
.field-error {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: #cc4400;
    margin-top: 5px;
}

/* ─────────────────────────────────────────────────────────────────
   40. ACCOUNT TYPE SELECTOR
   Used on: forgot-password page (Email / Google / Apple)
   ───────────────────────────────────────────────────────────────── */
.account-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
    user-select: none;
}

.account-type-btn:hover {
    border-color: var(--mid);
    color: var(--text);
}

.account-type-btn.selected {
    border-color: var(--red);
    background: rgba(204, 0, 0, 0.07);
    color: var(--light);
}

/* ─────────────────────────────────────────────────────────────────
   41. PASSWORD RULES CHECKLIST
   Used on: reset-password page
   ───────────────────────────────────────────────────────────────── */
.pw-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--muted);
    transition: color 0.25s;
}

.pw-rule .rule-dot {
    font-size: 0.8rem;
    color: var(--border);
    transition: color 0.25s;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.pw-rule.passed {
    color: #00cc55;
}

.pw-rule.passed .rule-dot {
    color: #00cc55;
}

/* ─────────────────────────────────────────────────────────────────
   42. LOADING SPINNER
   Shared @keyframes for button loading states.
   Applied inline via: style="animation: spin 0.8s linear infinite"
   ───────────────────────────────────────────────────────────────── */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────────────
   43. VERIFY EMAIL PAGE
   ───────────────────────────────────────────────────────────────── */

/* ── Left panel variant ── */
.editorial-panel--verify {
    background: linear-gradient(155deg, #000a0d 0%, #050505 50%, #0a0500 100%);
}

.editorial-panel--verify::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
             60deg, transparent 0px, transparent 49px,
             rgba(0, 180, 160, 0.02) 49px, rgba(0, 180, 160, 0.02) 50px
        ),
        repeating-linear-gradient(
            -60deg, transparent 0px, transparent 49px,
             rgba(204, 0, 0, 0.02) 49px, rgba(204, 0, 0, 0.02) 50px
        );
    pointer-events: none;
}

.glow-blob-verify {
    position: absolute;
    width: 580px;
    height: 580px;
    background: radial-gradient(
        circle,
        rgba(0, 180, 160, 0.06) 0%,
        rgba(204, 0, 0, 0.07) 45%,
        transparent 70%
    );
    top: 30%;
    right: -120px;
    pointer-events: none;
}

/* ── Unlock list (left panel) ── */
.verify-unlock-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    border-top: 1px solid var(--mid);
    padding-top: 24px;
}

.unlock-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.unlock-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(204, 0, 0, 0.08);
    border: 1px solid rgba(204, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.unlock-title {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 2px;
}

.unlock-sub {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ── Envelope animation ── */
.verify-envelope-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.verify-envelope {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.envelope-icon {
    animation: floatEnvelope 3.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(204, 0, 0, 0.18));
}

@keyframes floatEnvelope {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* Floating dot particles */
.verify-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--red);
    opacity: 0;
    animation: dotFloat 3s ease-in-out infinite;
}

.verify-dot-1 { width: 6px; height: 6px; top: -8px;  right: 4px;  animation-delay: 0s; }
.verify-dot-2 { width: 4px; height: 4px; bottom: 2px; left: -6px;  animation-delay: 0.9s; }
.verify-dot-3 { width: 5px; height: 5px; top: 6px;   left: -12px; animation-delay: 1.8s; }

@keyframes dotFloat {
    0%   { opacity: 0;   transform: translateY(0) scale(0.6); }
    30%  { opacity: 0.7; }
    100% { opacity: 0;   transform: translateY(-20px) scale(0.4); }
}

/* ── Sent-to card ── */
.verify-sent-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 20px 22px;
    margin-bottom: 20px;
    text-align: center;
}

.verify-sent-label {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.verify-sent-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 8px 16px;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light);
    word-break: break-all;
    border-radius: 2px;
}

.verify-sent-note {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.55;
}

/* ── Session-flash success banner ── */
.verify-success-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 184, 160, 0.06);
    border: 1px solid rgba(0, 184, 160, 0.2);
    border-left: 3px solid #00b8a0;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text);
    border-radius: 2px;
}

/* ── Resend row ── */
.verify-resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 3px;
    margin-bottom: 22px;
    margin-top: -10px;
}

/* ── Tips box ── */
.verify-tips {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 16px 18px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.verify-tips-heading {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.verify-tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.verify-tips-list li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #888;
    line-height: 1.45;
}

.verify-tip-text  { flex: 1; }
.verify-email     { color: var(--light); }
.verify-tip-arrow { color: var(--red); flex-shrink: 0; margin-top: 1px; }

/* ── Wrong-email logout row ── */
.verify-logout-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--border);
}

.verify-logout-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--muted);
}

.verify-logout-btn {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--red);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.verify-logout-btn:hover { color: #ff4444; }

/* ─────────────────────────────────────────────────────────────────
   44. CONFIRM PASSWORD PAGE
   ───────────────────────────────────────────────────────────────── */

/* ── Left panel variant ── */
.editorial-panel--confirm {
    background: linear-gradient(150deg, #00050d 0%, #050505 50%, #0d0000 100%);
}

.editorial-panel--confirm::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent 0px, transparent 44px,
        rgba(204, 0, 0, 0.025) 44px, rgba(204, 0, 0, 0.025) 45px
    );
    pointer-events: none;
}

.glow-blob-confirm {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(204, 0, 0, 0.1) 0%,
        rgba(0, 80, 160, 0.04) 50%,
        transparent 70%
    );
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* ── Why we ask box ── */
.confirm-why-box {
    background: rgba(204, 0, 0, 0.05);
    border: 1px solid rgba(204, 0, 0, 0.15);
    border-left: 3px solid var(--red);
    padding: 16px 18px;
    margin-bottom: 28px;
}

.confirm-why-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.confirm-why-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.6;
}

/* ── Protected actions list ── */
.confirm-protected-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--mid);
}

.confirm-protected-heading {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 16px 0 8px;
}

.confirm-protected-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text);
}

.confirm-protected-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(204, 0, 0, 0.08);
    border: 1px solid rgba(204, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

/* ── Shield icon (right panel) ── */
.confirm-shield-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.confirm-shield {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(204, 0, 0, 0.2);
    animation: shieldPulse 3s ease-in-out infinite;
}

.confirm-shield-ring--outer {
    inset: -8px;
    animation-delay: 0s;
}

.confirm-shield-ring--inner {
    inset: 0;
    border-color: rgba(204, 0, 0, 0.35);
    animation-delay: 0.4s;
    background: rgba(204, 0, 0, 0.06);
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1);    opacity: 1;   }
    50%       { transform: scale(1.06); opacity: 0.7; }
}

/* ── Identity card ── */
.confirm-identity-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.confirm-identity-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.1rem;
    color: white;
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0 100%);
}

.confirm-identity-info {
    flex: 1;
    min-width: 0;
}

.confirm-identity-name {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.confirm-identity-email {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.confirm-identity-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00b8a0;
    flex-shrink: 0;
}

/* ── Caps Lock warning ── */
.confirm-capslock-warn {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #cc8800;
    margin-top: -8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    background: rgba(204, 136, 0, 0.07);
    border: 1px solid rgba(204, 136, 0, 0.2);
    border-radius: 2px;
}

/* ── Security notice ── */
.confirm-security-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: rgba(0, 184, 160, 0.04);
    border: 1px solid rgba(0, 184, 160, 0.12);
    border-radius: 2px;
}

/* ── Not-you row ── */
.confirm-not-you {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--muted);
    padding-top: 4px;
}

.confirm-switch-btn {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--red);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.confirm-switch-btn:hover { color: #ff4444; }

/* ── "Resetting for" info strip (reset-password page) ── */
.reset-for-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 10px 14px;
    margin-bottom: 18px;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────────
   §38 ADDENDUM — Responsive visibility for desktop/mobile elements
   Added here (not inline in Blade) so a single CSS file controls all
   show/hide logic. No Tailwind classes needed.
   ───────────────────────────────────────────────────────────────── */

/* Hide desktop-only top bar on mobile */
@media (max-width: 1023px) {
    .desktop-topbar {
        display: none !important;
    }
}

/* Hide mobile-only elements on desktop */
@media (min-width: 1024px) {
    .mobile-topbar,
    .mobile-only {
        display: none !important;
    }
}


/* ─────────────────────────────────────────────────────────────────
   45. FORGOT PASSWORD — Page-specific utilities
   ───────────────────────────────────────────────────────────────── */

/* Email hint (live format feedback below email input) */
.fp-email-hint {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    margin-top: 6px;
    min-height: 1em;
    transition: color 0.2s;
}

/* Social account advisory notice */
.fp-social-notice {
    display: none;
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(204, 180, 0, 0.05);
    border: 1px solid rgba(204, 180, 0, 0.2);
    border-left: 3px solid #ccaa00;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: #aaa;
    line-height: 1.5;
    border-radius: 2px;
}

.fp-social-notice strong { color: #ccaa00; }

.fp-social-notice a {
    color: #ccaa00;
    text-decoration: underline;
}

/* Resend row flex wrapper */
.resend-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tips box (can't find email) */
.fp-tips-box {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 16px 18px;
    margin-bottom: 24px;
    border-radius: 2px;
}

.fp-tips-heading {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.fp-tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fp-tips-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
}

.fp-tip-arrow {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 1px;
}

.fp-tip-email {
    color: var(--light);
    font-weight: 600;
}

/* Rate-limit / generic info banner (amber tone) */
.fp-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(204, 180, 0, 0.06);
    border: 1px solid rgba(204, 180, 0, 0.2);
    border-left: 3px solid #ccaa00;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #ddc;
    border-radius: 2px;
}

/* Step 2: email provider quick-link buttons */
.fp-provider-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.fp-provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 8px;
    background: var(--card);
    border: 1.5px solid var(--border);
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    cursor: pointer;
}

.fp-provider-btn:hover {
    border-color: var(--mid);
    color: var(--text);
}

.fp-provider-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
