/* ==========================================================================
   SCOUTERSPORT.COM — V2 HUMANIZED INTERNATIONAL-STANDARD STYLESHEET
   Warm, People-First, Luxury Sports Brand Standard
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Warm Light Palette */
  --bg-warm:       #FAF9F6;
  --bg-cream:      #F4F1EA;
  --bg-white:      #FFFFFF;
  --bg-linen:      #EDE8DE;

  /* Deep Professional Obsidian & Navy Tones (from Brand Identity) */
  --navy:          #0B132B;
  --navy-deep:     #060A17;
  --navy-light:    #162447;
  --navy-surface:  #101C38;
  --charcoal:      #1F242E;
  --slate:         #475569;

  /* Accent — Championship Metallic Gold (from Logo) */
  --gold:          #D4AF37;
  --gold-light:    #F4D775;
  --gold-dark:     #9A7B1C;
  --gold-gradient: linear-gradient(135deg, #F8E79B 0%, #D4AF37 50%, #9E781B 100%);
  --gold-text-gradient: linear-gradient(135deg, #FFF0B3 0%, #D4AF37 50%, #B8860B 100%);
  --gold-soft:     rgba(212, 175, 55, 0.12);
  --gold-soft-hover: rgba(212, 175, 55, 0.22);
  --gold-border:   rgba(212, 175, 55, 0.38);
  --gold-glow:     0 4px 20px rgba(212, 175, 55, 0.28);

  /* Accent — Metallic Platinum Silver */
  --silver:        #E2E8F0;
  --silver-light:  #F8FAFC;
  --silver-gradient: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
  --silver-border: rgba(226, 232, 240, 0.25);

  /* Accent — Growth Green */
  --green:         #2D8F6F;
  --green-light:   #3DAF8B;
  --green-soft:    rgba(45, 143, 111, 0.10);

  /* Text */
  --text-heading:  #0B132B;
  --text-body:     #2D3748;
  --text-muted:    #5B6472;
  --text-light:    #8C95A6;
  --text-on-dark:  #F8FAFC;

  /* Borders & Shadows */
  --border-light:  #E5E0D5;
  --border-medium: #D5CEBF;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg:     0 16px 36px rgba(0,0,0,0.12);
  --shadow-card:   0 3px 12px rgba(0,0,0,0.06);

  /* Radii & Transitions */
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    0.3s var(--ease-out);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-warm);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility — Focus Visible */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

/* Accessibility Skip Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.skip-to-content:focus {
  top: 1rem;
  outline: 2px solid #FFFFFF;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  color: var(--text-heading);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-intro {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--text-on-dark);
  border: 1px solid var(--gold-border);
  box-shadow: 0 2px 8px rgba(11, 19, 43, 0.15);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 19, 43, 0.25), 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #060A17;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FFF0B3 0%, #E5C158 50%, #B8860B 100%);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-medium);
}

.btn-outline:hover {
  background: var(--bg-cream);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.btn-outline-gold {
  background: rgba(6, 10, 23, 0.7);
  color: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* ---------- SVG Icons Inline ---------- */
.icon-inline {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Navigation (Dark Luxury Theme)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 10, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
  transition: all var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: rgba(4, 7, 16, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.12);
  border-bottom-color: var(--gold-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform var(--transition);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 0 1.5px var(--gold-border);
  transition: all var(--transition);
}

.brand:hover .brand-logo-img {
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45), 0 0 0 2px var(--gold);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 3px;
}

.brand-footer .brand-name {
  color: var(--text-on-dark);
}

.brand-tagline-motto {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin: 0.85rem 0 0.4rem 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: rgba(248, 250, 252, 0.8);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}

.nav-links a.active {
  color: #FFFFFF;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.2);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  transition: all var(--transition);
  align-items: center;
  justify-content: center;
}

.hamburger:hover,
.hamburger:focus {
  background: rgba(212, 175, 55, 0.2);
  color: #FFFFFF;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.hamburger svg {
  display: block;
}

/* Mobile Menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 149;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--navy-deep);
  border-left: 1px solid var(--gold-border);
  z-index: 150;
  padding: 1.75rem 1.5rem;
  transition: right var(--transition);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open { right: 0; }

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.mobile-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gold-light);
  cursor: pointer;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.mobile-links a {
  display: block;
  text-decoration: none;
  color: rgba(248, 250, 252, 0.85);
  font-weight: 500;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: 1rem;
}

.mobile-links a:hover,
.mobile-links a.active {
  background: rgba(212, 175, 55, 0.2);
  color: #FFFFFF;
}

/* ==========================================================================
   SPA View Container
   ========================================================================== */
#app {
  flex: 1;
  padding-top: 76px;
}

.view {
  animation: viewIn 0.45s var(--ease-out) forwards;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Home — Hero (Atmospheric Dark Luxury Theme)
   ========================================================================== */
.hero {
  padding: 6rem 0 5rem 0;
  background: var(--navy-deep) url('../img/hero_bg.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(212, 175, 55, 0.18) 0%, transparent 60%),
              linear-gradient(180deg, rgba(6, 10, 23, 0.82) 0%, rgba(6, 10, 23, 0.94) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 1.15rem;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.4rem);
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  font-weight: 400;
}

.hero-title em {
  font-style: italic;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-body {
  font-size: 1.08rem;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.3rem;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.trust-label {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.7);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ==========================================================================
   Home — Hero Visual Showcase
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gold-border);
  box-shadow: var(--shadow-lg), 0 0 28px rgba(212, 175, 55, 0.16);
  background: var(--navy-deep);
  height: 460px;
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.hero-showcase-card:hover .hero-showcase-img {
  transform: scale(1.03);
}

.hero-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,23,0.35) 0%, rgba(6,10,23,0.08) 40%, rgba(6,10,23,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  pointer-events: none;
}

.hero-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.hero-brand-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 10, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.hero-brand-pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

.hero-brand-pill span {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(6, 10, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-bottom-glass {
  background: rgba(6, 10, 23, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  color: #FFFFFF;
}

.hero-bottom-glass h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.hero-bottom-glass p {
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.45;
  margin: 0;
}

/* Story Section — Atmospheric Dark Theme with Luminous Architectural Borders */
.story-section-dark {
  background: radial-gradient(ellipse at 50% 0%, rgba(26, 42, 74, 0.5) 0%, var(--navy-deep) 75%);
  padding: 4.25rem 0;
  position: relative;
  overflow: hidden;
}

/* Luminous Fading Gold Hairline Top Border */
.story-section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212, 175, 55, 0.05) 15%, 
    rgba(244, 215, 117, 0.85) 50%, 
    rgba(212, 175, 55, 0.05) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6), 0 1px 4px rgba(212, 175, 55, 0.35);
  z-index: 2;
}

/* Luminous Fading Gold Hairline Bottom Border */
.story-section-dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212, 175, 55, 0.05) 15%, 
    rgba(244, 215, 117, 0.85) 50%, 
    rgba(212, 175, 55, 0.05) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6), 0 -1px 4px rgba(212, 175, 55, 0.35);
  z-index: 2;
}

/* Ambient Radial Glow Behind the Testimonial Card */
.story-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Top & Bottom Center Floating Diamond Jewel Accents */
.story-jewel-top,
.story-jewel-bottom {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--gold-light);
  border: 2px solid var(--navy-deep);
  box-shadow: 0 0 12px rgba(244, 215, 117, 0.9);
  z-index: 3;
}

.story-jewel-top {
  top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.story-jewel-bottom {
  bottom: 0;
  transform: translate(-50%, 50%) rotate(45deg);
}

.story-card-dark {
  background: rgba(16, 28, 56, 0.88);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 32px rgba(212, 175, 55, 0.15), 0 12px 36px rgba(0, 0, 0, 0.6);
  position: relative;
  backdrop-filter: blur(14px);
}

.story-card-dark::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.story-card-dark .story-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.5rem;
}

.story-card-dark .story-quote::before {
  content: '"';
  position: absolute;
  left: -0.15rem;
  top: -0.35rem;
  font-size: 3.2rem;
  color: var(--gold-light);
  font-family: 'DM Serif Display', serif;
  line-height: 1;
}

.story-card-dark .story-name {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.story-card-dark .story-role {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.75);
}

.story-attribution {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  border: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  flex-shrink: 0;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Home — Services Spotlights (with Images for Priorities #1, #2, #3)
   ========================================================================== */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 3.5rem 0 2rem 0;
}

.spotlight-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.spotlight-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 16px rgba(212, 175, 55, 0.12);
  transform: translateY(-4px);
}

.spotlight-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--navy-deep);
}

.spotlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.spotlight-card:hover .spotlight-img-wrap img {
  transform: scale(1.05);
}

.spotlight-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(6, 10, 23, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.spotlight-body {
  padding: 1.75rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.spotlight-body h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.spotlight-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex: 1;
}

/* ==========================================================================
   Home — Services Pillars Grid
   ========================================================================== */
.pillars-section {
  padding: 5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 16px rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
}

.pillar-priority {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.pillar-link:hover {
  gap: 0.65rem;
  color: var(--gold-dark);
}

/* ==========================================================================
   Home — Strategic Corridor Section with Stadium
   ========================================================================== */
.corridor-banner {
  padding: 5.5rem 0;
  background: var(--navy-deep);
  color: var(--text-on-dark);
  border-top: 2px solid var(--gold-border);
  border-bottom: 2px solid var(--gold-border);
  position: relative;
}

.corridor-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.corridor-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gold-border);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.18);
  background: #000;
}

.corridor-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.corridor-img-card:hover .corridor-img {
  transform: scale(1.03);
}

.corridor-img-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(6, 10, 23, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.corridor-img-tag span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.corridor-img-tag em {
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.hub-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition);
}

.hub-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.hub-card h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.hub-card p {
  font-size: 0.84rem;
  color: rgba(248, 250, 252, 0.72);
  line-height: 1.55;
}

.corridor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.corridor-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.corridor-inner h2 em {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.corridor-inner p {
  color: rgba(248, 250, 252, 0.75);
  font-size: 1rem;
  line-height: 1.7;
}

.corridor-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.c-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  transition: all var(--transition);
}

.c-step:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  transform: translateX(6px);
}

.c-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #060A17;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.c-step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  margin-bottom: 0.15rem;
}

.c-step p {
  font-size: 0.82rem;
  color: rgba(243, 241, 236, 0.6);
  line-height: 1.5;
}

/* ==========================================================================
   Sub-Page — Page Header
   ========================================================================== */
.page-header {
  padding: 4rem 0 3rem 0;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.page-header .section-heading {
  margin-bottom: 0.75rem;
}

.page-header .section-intro {
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   Representation — Service Blocks
   ========================================================================== */
.content-section { padding: 5rem 0; }

.service-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-block {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition);
}

.service-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.sb-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sb-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.sb-title {
  font-size: 1.2rem;
  color: var(--navy);
}

.sb-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-block > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Call-To-Action Banner */
.cta-banner {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 3rem 0 1rem 0;
}

.cta-banner h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.5rem auto;
}

/* ==========================================================================
   Scouting — Player Database
   ========================================================================== */
.scout-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.scout-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  box-sizing: border-box;
}

.scout-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

.scout-search input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-body);
  width: 100%;
  outline: none;
}

.scout-search input::placeholder { color: var(--text-light); font-size: 0.9rem; }

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  box-sizing: border-box;
}

.pill {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-sizing: border-box;
}

.pill:hover { border-color: var(--navy); color: var(--navy); }

.pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.p-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  min-height: 385px;
}

.p-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md), 0 0 16px rgba(212, 175, 55, 0.15);
  transform: translateY(-3px);
}

.p-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-light);
}

.p-pos-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.p-pos {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(11, 19, 43, 0.08);
  border: 1px solid rgba(11, 19, 43, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.p-code {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}

.sk-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(45, 143, 111, 0.08);
  border: 1px solid rgba(45, 143, 111, 0.25);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
}

.sk-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(45, 143, 111, 0.8);
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* Skeleton Perpetual Shimmer Animation */
@keyframes skShimmerLoop {
  0% { background-position: -250% 0; }
  100% { background-position: 250% 0; }
}

.sk-shimmer {
  background: linear-gradient(90deg, #ECE7DC 0%, #F8F6F0 45%, #E5DFD2 70%, #ECE7DC 100%);
  background-size: 250% 100%;
  animation: skShimmerLoop 2.2s infinite ease-in-out;
  border-radius: 4px;
}

.p-card-skeleton-loop {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  width: 100%;
  flex: 1;
}

.sk-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sk-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 19, 43, 0.4);
}

.sk-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.sk-line-name {
  width: 72%;
  height: 16px;
  border-radius: 4px;
}

.sk-meta-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sk-meta-txt {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.sk-line-sub {
  width: 38px;
  height: 10px;
  border-radius: 3px;
}

.sk-metrics-box {
  width: 100%;
  padding: 0.65rem 0.5rem;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  text-align: center;
  align-items: center;
}

.sk-m-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.sk-m-val-shimmer {
  width: 32px;
  height: 14px;
  background: rgba(11, 19, 43, 0.12);
  border-radius: 3px;
}

.sk-m-lbl {
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sk-attrs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sk-attr-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sk-attr-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
}

.sk-pct-shimmer {
  width: 28px;
  height: 10px;
  background: #E5DFD2;
  border-radius: 3px;
  display: inline-block;
}

.sk-attr-track {
  width: 100%;
  height: 5px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.sk-attr-bar {
  height: 100%;
  border-radius: var(--radius-full);
}

.sk-bar-navy { width: 84%; }
.sk-bar-gold { width: 88%; }
.sk-bar-green { width: 79%; }

.sk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.sk-tag-pill {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.sk-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.sk-cta-btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   Camps — Event Cards
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.event-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.event-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md), 0 0 14px rgba(212, 175, 55, 0.12);
  transform: translateY(-3px);
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.event-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.event-card > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.event-card .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Consultancy Matrix
   ========================================================================== */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.client-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
}

.client-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 12px rgba(212, 175, 55, 0.12);
}

.cc-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: var(--navy);
}

.client-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.client-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Education — Accordion & Compliance
   ========================================================================== */
.edu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.compliance-card {
  background: var(--navy-deep);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

.compliance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.compliance-card h3 {
  font-size: 1.5rem;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.compliance-card p {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
}

.acc-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.acc-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.acc-item.active { border-color: var(--gold); }

.acc-trigger {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
}

.acc-trigger svg {
  transition: transform var(--transition);
  color: var(--gold);
  flex-shrink: 0;
}

.acc-item.active .acc-trigger svg {
  transform: rotate(180deg);
}

.acc-panel {
  display: none;
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.acc-item.active .acc-panel { display: block; }

/* ==========================================================================
   Contact / Portal — Form
   ========================================================================== */
.portal-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 860px;
  margin: 0 auto 4rem auto;
  width: 100%;
  box-sizing: border-box;
}

.role-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  width: 100%;
  box-sizing: border-box;
}

.role-btn {
  background: var(--bg-cream);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
  box-sizing: border-box;
}

.role-btn svg { width: 22px; height: 22px; color: var(--text-muted); }
.role-btn span { font-weight: 600; font-size: 0.88rem; color: var(--text-muted); }

.role-btn:hover { border-color: var(--gold); }
.role-btn:hover svg, .role-btn:hover span { color: var(--navy); }

.role-btn.active {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.role-btn.active svg, .role-btn.active span { color: var(--navy); }

.f-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  width: 100%;
  box-sizing: border-box;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  box-sizing: border-box;
}

.f-group.span-2 { grid-column: span 2; }

.f-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
}

.f-group input,
.f-group select,
.f-group textarea {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-body);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.f-group textarea { resize: vertical; min-height: 110px; }

.f-actions {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.f-note {
  font-size: 0.78rem;
  color: var(--text-light);
  max-width: 380px;
}

/* ==========================================================================
   Contact — Global Offices & Physical Headquarters
   ========================================================================== */
.contact-offices {
  max-width: 860px;
  margin: 0 auto 4rem auto;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

.contact-offices-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.85rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.contact-offices-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.55;
}

.contact-offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.contact-office-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.65rem;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.contact-office-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-office-flag {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.contact-office-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-office-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  flex-grow: 1;
}

.contact-office-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-office-line svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--gold-dark);
}

.contact-office-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
  margin-top: auto;
  padding-top: 0.75rem;
}

.contact-office-link:hover {
  color: var(--gold-dark);
}

/* Contact Page — Dedicated Large QR Showcase */
.contact-qr-showcase {
  background: linear-gradient(135deg, rgba(6, 10, 23, 0.97) 0%, rgba(16, 28, 56, 0.95) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 24px rgba(212, 175, 55, 0.12);
  color: var(--text-on-dark);
  box-sizing: border-box;
}

.contact-qr-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.contact-qr-large-img {
  width: 220px;
  height: 220px;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(212, 175, 55, 0.35);
  display: block;
  background: #000;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-qr-frame:hover .contact-qr-large-img {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 26px rgba(212, 175, 55, 0.5);
}

.contact-qr-zoom-hint {
  font-size: 0.76rem;
  color: var(--gold-light);
  font-weight: 500;
}

.contact-qr-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.contact-qr-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-qr-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.contact-qr-text {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.6;
  margin: 0;
}

.contact-qr-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.contact-qr-subtext {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.6);
  margin-top: 0.25rem;
}

.contact-offices-email {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  text-align: center;
}

.contact-offices-email a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.25rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.contact-offices-email a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--gold-glow);
}

@media (max-width: 860px) {
  .contact-offices-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-qr-showcase {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.5rem;
  }
  .contact-qr-actions {
    justify-content: center;
  }
  .contact-qr-large-img {
    width: 200px;
  }
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 23, 0.7);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-bg.open { opacity: 1; pointer-events: auto; }

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0,0,0,0.25);
  border: 1px solid var(--gold-border);
  position: relative;
  transform: translateY(16px);
  transition: transform var(--transition);
}

.modal-bg.open .modal-box { transform: translateY(0); }

.modal-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
}

.modal-x:hover { color: var(--navy); }

/* ==========================================================================
   CTA & Footer Blended Section with Centered Logo Overlay
   ========================================================================== */
.cta-blend-section {
  padding: 5rem 0 3.5rem 0;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--navy-surface) 50%, var(--navy-deep) 100%);
  position: relative;
}

.cta-banner-dark {
  background: linear-gradient(135deg, rgba(6, 10, 23, 0.96) 0%, rgba(16, 28, 56, 0.96) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3.75rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 32px rgba(212, 175, 55, 0.16);
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-banner-dark .cta-title {
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-banner-dark .cta-subtitle {
  color: rgba(248, 250, 252, 0.82);
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Centered Overlapping Brand Crest Bridge */
.footer-crest-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-top: 3.5rem;
  text-align: center;
}

.footer-crest-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #000000;
  border: 3px solid var(--gold);
  box-shadow: 0 0 42px rgba(212, 175, 55, 0.55), 0 12px 32px rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.footer-crest-wrapper:hover .footer-crest-circle {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 54px rgba(212, 175, 55, 0.75), 0 14px 36px rgba(0, 0, 0, 0.98);
}

.footer-crest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-crest-motto {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}

.footer-crest-motto .motto-brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FFFFFF;
}

.footer-crest-motto .motto-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(248, 250, 252, 0.8);
  padding: 3.5rem 0 1.5rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

/* Subtle Monochrome Footer Brand Logo to prevent visual clutter */
.brand-footer .brand-logo-img {
  width: 44px;
  height: 44px;
  filter: grayscale(100%) brightness(1.7) contrast(1.1);
  opacity: 0.85;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transition: filter var(--transition), opacity var(--transition);
}

.brand-footer:hover .brand-logo-img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1rem 0;
  max-width: 300px;
  color: rgba(248, 250, 252, 0.7);
}

.footer-offices-block {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 320px;
}

.footer-office-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.75);
}

.footer-office-flag {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-office-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-office-label {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-office-text {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.78rem;
}

.footer-office-phone {
  color: rgba(248, 250, 252, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  transition: color var(--transition);
}

.footer-office-phone:hover {
  color: var(--gold-light);
}

.footer-col h4,
.footer-nl h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF !important;
  margin-bottom: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold-light); }

.footer-signin-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition);
  margin-top: 0.35rem;
  font-family: inherit;
}

.footer-signin-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.footer-auth-logged {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.footer-auth-name {
  color: var(--gold);
  font-weight: 700;
}

.footer-admin-link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.82rem;
}

.footer-admin-link:hover {
  color: #FFFFFF;
}

.footer-signout-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-self: flex-start;
  transition: all var(--transition);
  font-family: inherit;
}

.footer-signout-btn:hover {
  border-color: #dc2626;
  color: #f87171;
}

.footer-nl p {
  font-size: 0.86rem;
  color: rgba(248, 250, 252, 0.7);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.nl-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  width: 100% !important;
  max-width: 360px !important;
}

.nl-input-row {
  display: flex !important;
  gap: 0.4rem !important;
  width: 100% !important;
}

.nl-input-row input {
  flex: 1 !important;
  min-height: 42px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.65rem 0.85rem !important;
  font-size: 0.85rem !important;
  color: #FFFFFF !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color var(--transition);
}

.nl-input-row input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px var(--gold-soft) !important;
}

.nl-input-row input::placeholder {
  color: rgba(248, 250, 252, 0.45) !important;
}

.nl-input-row .btn {
  white-space: nowrap !important;
  min-height: 42px !important;
  padding: 0.65rem 1.15rem !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}

.nl-security-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px dashed rgba(212, 175, 55, 0.35) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.35rem 0.65rem !important;
  font-size: 0.76rem !important;
  color: rgba(248, 250, 252, 0.8) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.nl-security-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  flex: 1 !important;
  color: var(--gold-light) !important;
  font-weight: 600 !important;
}

.nl-security-badge strong {
  color: #FFFFFF !important;
  font-family: 'Space Grotesk', monospace !important;
  letter-spacing: 1px !important;
  background: rgba(11, 19, 43, 0.7) !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 3px !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

.nl-security-input {
  width: 55px !important;
  height: 28px !important;
  padding: 0.2rem 0.4rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  outline: none !important;
}

.nl-security-input:focus {
  border-color: var(--gold) !important;
  background: rgba(255, 255, 255, 0.22) !important;
}

.nl-security-refresh {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 3px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  cursor: pointer !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  padding: 0 !important;
  transition: all var(--transition);
}

.nl-security-refresh:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.nl-feedback-msg {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 0.25rem 0 !important;
}

/* Footer Column 4 — Mobile Portal & QR Code */
.footer-qr-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-qr-col h4 {
  margin-bottom: 1.15rem;
}

.footer-qr-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 12px rgba(212, 175, 55, 0.2);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  margin-bottom: 0.75rem;
}

.footer-qr-frame:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(212, 175, 55, 0.35);
}

.footer-qr-img {
  width: 130px;
  height: 130px;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 3px;
  background: #000;
}

.footer-qr-desc {
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.72);
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  text-align: left;
  max-width: 210px;
}

.footer-qr-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem 2rem;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-brand,
  .footer-col,
  .footer-qr-col {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-qr-col .footer-qr-frame {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .footer-qr-desc {
    text-align: left !important;
    max-width: 100% !important;
  }

  .footer-qr-dl-btn {
    align-self: flex-start !important;
  }
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.55);
}

.fifa-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ==========================================================================
   Legal Documentation Pages (Privacy Policy & Terms of Service)
   ========================================================================== */
.legal-doc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  overflow-wrap: break-word;
  word-break: break-word;
}

.legal-date-meta {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-date-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--text-body);
  line-height: 1.75;
}

.legal-section h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  word-break: break-word;
}

.legal-section p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
  overflow-wrap: break-word;
}

.legal-section .check-list {
  margin-top: 0.75rem;
}

.legal-section .check-list li {
  word-break: break-word;
  overflow-wrap: break-word;
}

.legal-section a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.legal-footer-action {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.legal-footer-action .btn {
  max-width: 100%;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(6, 10, 23, 0.96);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  padding: 1.25rem 1.75rem;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
  pointer-events: none;
  box-sizing: border-box;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.cookie-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cookie-text p {
  font-size: 0.86rem;
  color: rgba(248, 250, 252, 0.88);
  line-height: 1.55;
  margin: 0;
  overflow-wrap: break-word;
}

.cookie-text strong {
  color: var(--gold-light);
}

.cookie-link {
  font-size: 0.85rem;
  color: var(--gold-light);
  text-decoration: underline;
  margin-left: 0.35rem;
  display: inline;
  white-space: nowrap;
  transition: color var(--transition);
}

.cookie-link:hover {
  color: #FFFFFF;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout, .corridor-inner, .corridor-feature-grid, .edu-layout, .service-blocks { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-grid { grid-template-columns: 1fr; }
  .hubs-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  /* Zero-Overflow Global Foundation */
  html, body, .view {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .container {
    padding: 0 1.15rem !important;
  }
  
  /* Global Section & Padding Spacing (Fast, Dense, Mobile-App Feel) */
  section.content-section, 
  section.partners-section,
  .partners-section {
    padding: 2.5rem 0 2.25rem 0 !important;
  }
  
  /* Navigation Bar Compact Height */
  .nav-links, .nav-cta .btn-sm { display: none !important; }
  .nav-cta #auth-nav-container,
  .nav-cta .btn-nav-admin,
  .nav-cta .auth-user-badge,
  .nav-cta .btn-signout { display: none !important; }
  .nav-inner { height: 62px !important; }
  .brand-logo-img { height: 42px !important; width: 42px !important; }
  .brand-name { font-size: 1.05rem !important; }
  .brand-sub { font-size: 0.58rem !important; letter-spacing: 0.14em !important; }
  #app { padding-top: 62px !important; }
  .hamburger { display: flex; }

  /* Mobile Drawer */
  .mobile-drawer {
    width: 320px !important;
    max-width: 85vw !important;
  }
  .mobile-links a {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 1rem !important;
  }

  /* Global Headings & Typography Scaling */
  h1, .page-header .section-heading {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.55rem !important;
  }
  h2, .section-heading {
    font-size: 1.5rem !important;
    line-height: 1.22 !important;
  }
  .section-header {
    margin: 0 auto 1.75rem auto !important;
  }
  .page-header {
    padding: 2.25rem 0 1.6rem 0 !important;
  }
  .page-header .section-intro, .section-intro {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  .page-header .section-label, .section-label {
    font-size: 0.72rem !important;
    margin-bottom: 0.35rem !important;
  }

  /* Hero Section (Home) */
  .hero {
    padding: 2.25rem 0 2rem 0 !important;
  }
  .hero-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.65rem !important;
  }
  .hero-visual {
    order: -1 !important;
    width: 100% !important;
  }
  .hero-content {
    order: 1 !important;
    width: 100% !important;
  }
  .hero-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0.85rem !important;
  }
  .hero-body {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.5rem !important;
    max-width: 100% !important;
  }
  .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.65rem !important;
    margin-bottom: 1.75rem !important;
  }
  .hero-btns .btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    font-size: 0.92rem !important;
  }
  
  /* Trust Strip: Responsive 2x2 Grid */
  .trust-strip {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.9rem 1.1rem !important;
    padding-top: 1.35rem !important;
    border-top: 1px solid rgba(212, 175, 55, 0.22) !important;
  }
  .trust-num {
    font-size: 1.85rem !important;
    line-height: 1 !important;
  }
  .trust-label {
    font-size: 0.72rem !important;
    margin-top: 0.2rem !important;
  }

  /* Hero Showcase Media Card */
  .hero-top-badges { justify-content: flex-end; }
  .hero-brand-pill { display: none; }
  .hero-live-pill { padding: 0.25rem 0.6rem; font-size: 0.68rem; background: rgba(6, 10, 23, 0.92); }
  .hero-showcase-card {
    height: 350px !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
  }
  .hero-showcase-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    display: block !important;
  }
  .hero-showcase-overlay {
    position: absolute !important;
    inset: 0 !important;
    padding: 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg, rgba(6,10,23,0.35) 0%, rgba(6,10,23,0.05) 45%, rgba(6,10,23,0.92) 100%) !important;
  }
  .hero-bottom-glass {
    padding: 0.75rem 0.9rem !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(6, 10, 23, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--gold-border) !important;
  }
  .hero-bottom-glass h4 { font-size: 0.92rem !important; margin-bottom: 0.15rem !important; color: var(--gold-light) !important; }
  .hero-bottom-glass p { font-size: 0.74rem !important; line-height: 1.35 !important; }

  /* Sub-Page Feature Showcase Banners (Representation, Camps, Advisory) */
  .page-banner-card {
    margin-bottom: 2rem !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
  }
  .page-banner-img {
    height: 210px !important;
    object-fit: cover !important;
    object-position: center 25% !important;
  }
  .page-banner-overlay {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    padding: 0.75rem 0.95rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }
  .page-banner-overlay span {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  /* Pillars & Representation Grids */
  .pillars-grid, .client-grid, .spotlight-grid, .hubs-grid, .service-blocks {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .pillar-card, .client-card, .service-block {
    padding: 1.35rem 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }
  .sb-header {
    gap: 0.75rem !important;
    margin-bottom: 0.85rem !important;
  }
  .sb-title {
    font-size: 1.15rem !important;
  }
  .check-list li {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }

  /* Africa-Gulf Corridor */
  .corridor-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .corridor-img {
    height: 210px !important;
    border-radius: var(--radius-md) !important;
    object-fit: cover !important;
  }
  .corridor-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  /* Strategic Partners */
  .partners-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    margin-top: 1.5rem !important;
  }
  .partner-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }
  .partner-logo-wrap {
    height: 85px !important;
    margin-bottom: 1rem !important;
    padding: 0.75rem 1rem !important;
  }
  .partner-logo {
    max-height: 60px !important;
  }
  .partner-info h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.35rem !important;
  }
  .partner-info p {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.85rem !important;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 2.25rem 1.2rem !important;
    border-radius: var(--radius-md) !important;
  }
  .cta-banner h2 {
    font-size: 1.6rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.65rem !important;
  }
  .cta-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }
  .cta-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    font-size: 0.92rem !important;
  }

  /* Scouting & Radar Directory */
  .scout-panel {
    padding: 1.15rem 0.85rem !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 1.75rem !important;
  }
  .scout-banner-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.95rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }
  .scout-banner-card .btn {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
  }
  .scout-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.95rem !important;
  }
  .scout-search {
    max-width: 100% !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 0.6rem 0.85rem !important;
  }
  .scout-search input {
    font-size: 16px !important;
  }
  .filter-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0.35rem !important;
    gap: 0.4rem !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }
  .filter-pills::-webkit-scrollbar {
    display: none !important;
  }
  .pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.76rem !important;
    min-height: 38px !important;
    padding: 0.35rem 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .players-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  .p-card {
    padding: 1.15rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }
  .p-card .btn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
  }
  .p-metrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.25rem !important;
    padding: 0.55rem 0 !important;
  }
  .p-m-val {
    font-size: 0.92rem !important;
  }
  .p-m-lbl {
    font-size: 0.64rem !important;
  }
  .attr-head {
    font-size: 0.75rem !important;
  }
  .p-tags {
    gap: 0.35rem !important;
    margin-bottom: 0.95rem !important;
  }
  .p-tag {
    font-size: 0.68rem !important;
    padding: 0.18rem 0.45rem !important;
  }

  /* Talent ID Camps Grid */
  .events-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .event-card {
    padding: 1.35rem 1.1rem !important;
    border-radius: var(--radius-md) !important;
  }
  .event-card .btn {
    width: 100% !important;
    min-height: 46px !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Contact Page & Partner CRM */
  .portal-wrapper {
    padding: 1.35rem 1.1rem !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 2rem !important;
  }
  .role-selector {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .role-btn {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    min-height: 46px !important;
    text-align: left !important;
    width: 100% !important;
  }
  .role-btn svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
  }
  .role-btn span {
    font-size: 0.88rem !important;
  }
  .f-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .f-group.span-2 {
    grid-column: span 1 !important;
  }
  .f-group input,
  .f-group select,
  .f-group textarea {
    font-size: 16px !important;
    min-height: 46px !important;
    padding: 0.65rem 0.85rem !important;
  }
  .f-actions {
    grid-column: span 1 !important;
    flex-direction: column-reverse !important;
    gap: 0.85rem !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .f-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.95rem !important;
  }
  .f-note {
    text-align: center !important;
    max-width: 100% !important;
    font-size: 0.76rem !important;
  }

  /* Education & Compliance */
  .compliance-card {
    padding: 1.35rem 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }

  /* Legal Card */
  .legal-doc-card {
    padding: 1.4rem 1.1rem !important;
    border-radius: var(--radius-md) !important;
  }
  .legal-section h3 {
    font-size: 1.1rem !important;
  }
  .legal-section p, .legal-section li {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }
  .legal-footer-action {
    margin-top: 1.75rem !important;
    padding-top: 1.25rem !important;
  }
  .legal-footer-action .btn {
    width: 100% !important;
    min-height: 46px !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Global Auth Modal: Compact Sleek Centered Card on Mobile */
  .auth-modal-overlay {
    padding: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .auth-modal-card {
    width: calc(100% - 1.5rem) !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    border-radius: var(--radius-lg) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    transform: translateY(15px) scale(0.98) !important;
  }
  .auth-modal-overlay.active .auth-modal-card {
    transform: translateY(0) scale(1) !important;
  }
  .auth-modal-header {
    padding: 1.5rem 1.25rem 0.5rem !important;
  }
  .auth-modal-crest {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 0.5rem !important;
  }
  .auth-modal-title {
    font-size: 1.4rem !important;
  }
  .auth-modal-body {
    padding: 0.85rem 1.25rem 1.5rem !important;
  }
  .auth-form-input {
    font-size: 16px !important;
    min-height: 46px !important;
    padding: 0.65rem 0.85rem !important;
  }
  .auth-modal-body .btn {
    min-height: 46px !important;
    font-size: 0.95rem !important;
    width: 100% !important;
  }

  /* Footer Section */
  .footer {
    padding: 3rem 0 2rem 0 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }
  .nl-form {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }
  .nl-input-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .nl-input-row input {
    font-size: 16px !important;
    min-height: 44px !important;
    width: 100% !important;
  }
  .nl-input-row button {
    width: 100% !important;
    min-height: 44px !important;
  }
  .nl-security-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.4rem !important;
    padding: 0.4rem 0.65rem !important;
  }
  .nl-security-badge {
    font-size: 0.72rem !important;
  }
  .nl-security-input {
    width: 55px !important;
    height: 30px !important;
    min-height: 30px !important;
    font-size: 0.85rem !important;
    flex: 0 0 55px !important;
  }
  .nl-security-refresh {
    width: 32px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    flex: 0 0 32px !important;
  }

  /* Story Cards (Dark Testimonials) */
  .story-card-dark {
    padding: 1.35rem 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }
  .story-card-dark .story-quote {
    font-size: 1rem !important;
    padding-left: 0.75rem !important;
  }

  /* Cookie Banner */
  .cookie-banner {
    bottom: 0.75rem !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    padding: 1rem !important;
    border-radius: var(--radius-md) !important;
    max-width: calc(100% - 1.5rem) !important;
  }
  .cookie-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
  }
  .cookie-text {
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }
  .cookie-icon {
    font-size: 1.3rem !important;
  }
  .cookie-text p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }
  .cookie-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .cookie-actions button {
    width: 100% !important;
    padding: 0.6rem 0.4rem !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   Strategic Partners & Network
   ========================================================================== */
.partners-section {
  padding: 5rem 0 4.5rem;
  background: var(--bg-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.partner-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.partner-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.14);
}

.partner-logo-wrap {
  height: 125px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.partner-card:hover .partner-logo-wrap {
  border-color: var(--gold-border);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.16);
}

.partner-logo {
  max-height: 88px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05));
  transition: transform var(--transition);
}

.partner-card:hover .partner-logo {
  transform: scale(1.06);
}

.partner-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
  width: fit-content;
  letter-spacing: 0.03em;
}

.partner-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.partner-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.partner-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.partner-link-text {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color var(--transition);
}

.partner-card:hover .partner-link-text {
  color: var(--gold-dark);
}

/* ==========================================================================
   SCOUTERS PORTAL AUTH MODAL & USER NAVIGATION
   ========================================================================== */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-card {
  background: var(--navy-deep);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.18);
  width: 100%;
  max-width: 460px;
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
}

.auth-modal-overlay.active .auth-modal-card {
  transform: translateY(0) scale(1);
}

.auth-modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  position: relative;
}

.auth-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.auth-modal-close:hover {
  color: var(--gold-light);
}

.auth-modal-crest {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  display: block;
}

.auth-modal-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.auth-modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.auth-modal-body {
  padding: 1rem 2rem 2rem;
}

.auth-form-group {
  margin-bottom: 1.25rem;
}

.auth-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.auth-form-input {
  width: 100%;
  background: rgba(11, 19, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #FFFFFF;
  transition: all var(--transition);
  font-family: inherit;
}

.auth-form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  outline: none;
}

.auth-error-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  margin-bottom: 1rem;
  display: none;
}

.auth-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
}

.btn-signout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-signout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   EXECUTIVE ADMIN PORTAL & PMS DASHBOARD STYLES
   ========================================================================== */
.admin-view-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0c142b 100%);
  border-bottom: 1.5px solid var(--gold-border);
  padding: 2.5rem 0 1.5rem;
  color: #FFFFFF;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title-wrap h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #FFFFFF;
  margin: 0 0 0.35rem;
}

.admin-title-wrap p {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.92rem;
  margin: 0;
}

.admin-tabs-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
  scrollbar-width: thin;
}

.admin-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-tab:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border-color: var(--gold-border);
}

.admin-tab.active {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.admin-content-pane {
  display: none;
  animation: fadeInPane 0.25s ease-out;
}

.admin-content-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-kpi-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.admin-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.admin-kpi-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-kpi-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.admin-kpi-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-table-card {
  /* One gutter value shared by the card heading, toolbar, filter bar, bulk bar
     and the table's outer columns, so every row of content lines up. */
  --admin-card-gutter: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}

.admin-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(11, 19, 43, 0.02);
}

.admin-table-header h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background: rgba(11, 19, 43, 0.04);
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

/* The outer columns carry the card's own gutter so table content lines up with
   the card heading, toolbar, and filter bar instead of sitting flush against
   the card edge. */
.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: var(--admin-card-gutter, 1.5rem);
}
.admin-table th:last-child,
.admin-table td:last-child {
  padding-right: var(--admin-card-gutter, 1.5rem);
}

.admin-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(212, 175, 55, 0.03);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.accredited, .status-badge.active, .status-badge.resolved {
  background: rgba(45, 143, 111, 0.12);
  color: var(--green);
  border: 1px solid rgba(45, 143, 111, 0.3);
}

.status-badge.pending, .status-badge.review, .status-badge.negotiation {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
}

.status-badge.rejected, .status-badge.closed {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-admin-action {
  padding: 0.28rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-action-green {
  background: rgba(45, 143, 111, 0.15);
  color: var(--green);
  border-color: rgba(45, 143, 111, 0.4);
}
.btn-action-green:hover {
  background: var(--green);
  color: #FFFFFF;
}

.btn-action-red {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
  border-color: rgba(239, 68, 68, 0.3);
}
.btn-action-red:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.btn-action-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
  border-color: var(--gold-border);
}
.btn-action-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-action-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563EB;
  border-color: rgba(37, 99, 235, 0.3);
}
.btn-action-blue:hover {
  background: #2563EB;
  color: #FFFFFF;
}

/* ────────── NAVBAR CRUD PORTAL LINK ────────── */
.nav-admin-link {
  color: var(--gold) !important;
  font-weight: 700 !important;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-full);
  padding: 0.32rem 0.85rem !important;
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.nav-admin-link:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold);
  transform: translateY(-1px);
  color: #FFFFFF !important;
}

/* ────────── TOAST NOTIFICATIONS ────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--navy-deep);
  color: #FFFFFF;
  border: 1.5px solid var(--gold);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s, transform 0.3s;
  max-width: 440px;
}
.toast.toast-error {
  border-color: #EF4444;
}
.toast.toast-info {
  border-color: #3B82F6;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ────────── INTERACTIVE CRUD MODALS ────────── */
.crud-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 10, 23, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}
.crud-modal-overlay.active {
  display: flex;
}
.crud-modal-card {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 780px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.crud-modal-header {
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}
.crud-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.crud-modal-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}
.crud-modal-close:hover {
  color: var(--gold);
}
.crud-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}
.crud-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}
.crud-form-grid.grid-full {
  grid-template-columns: 1fr;
}
.crud-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.crud-form-group.span-2 {
  grid-column: span 2;
}
.crud-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.crud-input, .crud-select, .crud-textarea {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--navy);
  background: var(--bg-cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.crud-input:focus, .crud-select:focus, .crud-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.crud-modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-light);
  background: rgba(11, 19, 43, 0.02);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ────────── ADMIN PUBLIC TOOLBAR ────────── */
.admin-public-toolbar {
  background: linear-gradient(135deg, rgba(6, 10, 23, 0.96), rgba(15, 23, 42, 0.92));
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.admin-public-toolbar-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-public-toolbar-desc {
  color: var(--text-light);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* ==========================================================================
   100% MOBILE-OPTIMIZED RESPONSIVE DESIGN FOR ADMIN & CRUD
   ========================================================================== */

/* Desktop defaults for mobile components */
.admin-mobile-cards-view {
  display: none;
}
.admin-view-toggle {
  display: none;
}
.admin-table-actions-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.admin-role-tag {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.admin-eyebrow-sep {
  color: var(--gold);
  font-weight: 700;
}
.admin-eyebrow-label {
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.admin-header-desc {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.86rem;
  margin-top: 0.25rem;
}
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.admin-header-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.admin-signout-btn {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}
.admin-signout-btn:hover {
  background: rgba(220, 38, 38, 0.25);
  color: #ffffff;
}

@media (max-width: 900px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Admin View Header: High-Density Executive Layout */
  .admin-view-header {
    padding: 0.85rem 0 0.4rem 0 !important;
    background: linear-gradient(180deg, rgba(6, 10, 23, 0.98) 0%, rgba(11, 19, 43, 0.95) 100%) !important;
  }
  .admin-header-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.45rem !important;
  }
  .admin-eyebrow {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin-bottom: 0.15rem !important;
  }
  .admin-role-tag {
    font-size: 0.65rem !important;
    padding: 0.12rem 0.48rem !important;
  }
  .admin-eyebrow-label {
    font-size: 0.68rem !important;
  }
  .admin-title-wrap h1 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    margin: 0.15rem 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
  }
  .admin-header-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    color: rgba(248, 250, 252, 0.7) !important;
    margin: 0 0 0.35rem 0 !important;
  }
  .admin-header-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.4rem !important;
    margin-top: 0.2rem !important;
  }
  .admin-user-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: var(--radius-full) !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.74rem !important;
    color: #FFFFFF !important;
    max-width: 55% !important;
    min-height: 36px !important;
  }
  .admin-user-pill-name {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .admin-header-btns {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
  .admin-header-btn {
    padding: 0.32rem 0.65rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    min-height: 36px !important;
    border-radius: var(--radius-full) !important;
  }

  /* Admin Sticky Segmented Tabs Bar */
  .admin-tabs-bar {
    position: sticky !important;
    top: 62px !important;
    z-index: 90 !important;
    background: rgba(6, 10, 23, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
    padding: 0.45rem 0.5rem !important;
    margin: 0.4rem 0 0 0 !important;
    display: flex !important;
    gap: 0.35rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .admin-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }
  .admin-tab {
    flex-shrink: 0 !important;
    min-height: 36px !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
    white-space: nowrap !important;
  }
  .admin-tab.active {
    background: var(--gold-gradient) !important;
    color: #060A17 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35) !important;
  }

  /* Section Padding & Grid Layouts */
  section.content-section {
    padding-top: 1rem !important;
  }
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    margin-bottom: 1rem !important;
  }
  .admin-kpi-card {
    padding: 0.8rem 0.85rem !important;
    border-radius: var(--radius-sm) !important;
  }
  .admin-kpi-val {
    font-size: 1.45rem !important;
  }
  .admin-kpi-label {
    font-size: 0.68rem !important;
  }
  .admin-kpi-sub {
    font-size: 0.68rem !important;
  }
  .admin-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .admin-quick-jumps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .admin-quick-jumps-grid button {
    font-size: 0.76rem !important;
    padding: 0.6rem 0.4rem !important;
    min-height: 42px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  .admin-settings-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Table Header & View Switcher */
  .admin-table-card {
    margin-bottom: 1.25rem !important;
    border-radius: var(--radius-sm) !important;
  }
  .admin-table-header {
    padding: 0.85rem 1rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .admin-table-header h3 {
    font-size: 1.05rem !important;
  }
  .admin-table-actions-cluster {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    width: 100% !important;
    flex-wrap: wrap !important;
  }
  .admin-table-actions-cluster > button {
    flex: 1 !important;
    min-height: 42px !important;
    justify-content: center !important;
    font-size: 0.86rem !important;
  }
  .admin-view-toggle {
    display: inline-flex !important;
    background: rgba(11, 19, 43, 0.08) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-full) !important;
    padding: 2px !important;
    gap: 2px !important;
  }
  .btn-toggle-view {
    border: none !important;
    background: transparent !important;
    border-radius: var(--radius-full) !important;
    padding: 0.32rem 0.65rem !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: all var(--transition) !important;
  }
  .btn-toggle-view.active {
    background: var(--navy) !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
  }

  /* Search & Filter Bar */
  .admin-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding: 0.75rem 0.85rem !important;
  }
  .admin-filter-search-wrap {
    width: 100% !important;
    min-width: 100% !important;
    min-height: 44px !important;
    padding: 0.5rem 0.75rem !important;
  }
  .admin-filter-search-wrap input {
    font-size: 16px !important;
  }
  .pms-filter-pills {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.35rem !important;
    width: 100% !important;
    scrollbar-width: none !important;
    padding-bottom: 2px !important;
  }
  .pms-filter-pills::-webkit-scrollbar {
    display: none !important;
  }
  .pms-filter-pills .pill {
    flex-shrink: 0 !important;
    min-height: 36px !important;
    padding: 0.32rem 0.7rem !important;
    font-size: 0.78rem !important;
  }

  /* Desktop Table Hidden on Mobile by Default */
  .desktop-table-view {
    display: none !important;
  }
  .admin-table-wrap::after {
    display: none !important;
  }

  /* Mobile Cards Layout */
  .admin-mobile-cards-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
  }

  /* Forced Table Mode (When user taps 📑 Table) */
  .admin-table-wrap.force-table-mode .desktop-table-view {
    display: table !important;
    min-width: 680px !important;
    font-size: 0.82rem !important;
  }
  .admin-table-wrap.force-table-mode .admin-mobile-cards-view {
    display: none !important;
  }
  .admin-table-wrap.force-table-mode::after {
    display: block !important;
    content: '⇄ Swipe horizontally to view all columns & controls';
    text-align: right;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0.45rem 1rem;
    background: rgba(11, 19, 43, 0.02);
    border-top: 1px dashed var(--border-light);
  }

  /* Native Mobile Cards (.am-card) */
  .am-card {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.95rem !important;
    box-shadow: var(--shadow-sm) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
  }
  .am-card:active {
    transform: scale(0.99) !important;
  }
  .am-card-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 0.6rem !important;
  }
  .am-card-main {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .am-avatar-circle {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: var(--navy) !important;
    color: var(--gold-light) !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--gold-border) !important;
    flex-shrink: 0 !important;
  }
  .am-card-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
    min-width: 0 !important;
  }
  .am-card-name {
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }
  .am-card-meta {
    font-size: 0.76rem !important;
    color: var(--text-muted) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-wrap: wrap !important;
    margin-top: 0.15rem !important;
  }
  .am-card-meta code {
    background: rgba(11, 19, 43, 0.06) !important;
    padding: 0.1rem 0.35rem !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    font-size: 0.75rem !important;
  }
  .am-card-club {
    font-size: 0.8rem !important;
    color: var(--text-body) !important;
    font-weight: 500 !important;
    margin-top: 0.15rem !important;
  }

  /* 3-Column Metrics Strip */
  .am-metrics-strip {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.4rem !important;
    background: var(--bg-cream) !important;
    padding: 0.55rem 0.65rem !important;
    border-radius: var(--radius-sm) !important;
    text-align: center !important;
  }
  .am-metric-unit {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.1rem !important;
  }
  .am-metric-label {
    font-size: 0.64rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--text-muted) !important;
  }
  .am-metric-val {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
  }
  .am-metric-val.gold {
    color: var(--gold-dark) !important;
  }

  /* Action Buttons Bar on Mobile Card */
  .am-actions-bar {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding-top: 0.45rem !important;
    border-top: 1px solid var(--border-light) !important;
  }
  .am-btn {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    min-height: 40px !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-light) !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }
  .am-btn-gold {
    background: var(--gold-soft) !important;
    color: var(--gold-dark) !important;
    border-color: var(--gold-border) !important;
  }
  .am-btn-blue {
    background: rgba(30, 58, 138, 0.08) !important;
    color: #1e3a8a !important;
    border-color: rgba(30, 58, 138, 0.25) !important;
  }
  .am-btn-red {
    background: rgba(220, 38, 38, 0.08) !important;
    color: #dc2626 !important;
    border-color: rgba(220, 38, 38, 0.25) !important;
    flex: 0 0 44px !important;
  }
  .am-btn-green {
    background: rgba(45, 143, 111, 0.12) !important;
    color: var(--green) !important;
    border-color: rgba(45, 143, 111, 0.3) !important;
  }

  /* CRUD Modals & Form Sheets */
  .crud-modal-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .crud-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94vh !important;
    border-radius: 18px 18px 0 0 !important;
    overflow-y: auto !important;
  }
  .crud-modal-header {
    padding: 0.9rem 1.15rem !important;
    position: sticky !important;
    top: 0 !important;
    background: var(--bg-white) !important;
    z-index: 10 !important;
    border-bottom: 1px solid var(--border-light) !important;
  }
  .crud-modal-title {
    font-size: 1.05rem !important;
  }
  .crud-modal-close {
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
  }
  .crud-modal-body {
    padding: 1.15rem 1rem !important;
  }
  .crud-form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .crud-form-group.span-2 {
    grid-column: span 1 !important;
  }
  .crud-label {
    font-size: 0.75rem !important;
  }
  .crud-input, .crud-select, .crud-textarea {
    font-size: 16px !important;
    min-height: 46px !important;
    padding: 0.6rem 0.8rem !important;
  }
  .crud-modal-footer {
    position: sticky !important;
    bottom: 0 !important;
    background: var(--bg-white) !important;
    z-index: 10 !important;
    border-top: 1px solid var(--border-light) !important;
    flex-direction: column-reverse !important;
    gap: 0.5rem !important;
    padding: 0.85rem 1rem !important;
  }
  .crud-modal-footer button {
    width: 100% !important;
    justify-content: center !important;
    min-height: 46px !important;
    font-size: 0.92rem !important;
  }

  /* Staff Operations Public Toolbar */
  .admin-public-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.95rem !important;
  }
  .admin-public-toolbar button,
  .admin-public-toolbar a {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
  }
}

@media (max-width: 520px) {
  /* Ultra-compact phones (e.g. 360px - 480px) */
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .admin-kpi-card {
    padding: 0.7rem !important;
  }
  .admin-kpi-val {
    font-size: 1.35rem !important;
  }
  .admin-kpi-label {
    font-size: 0.64rem !important;
  }
  .admin-kpi-sub {
    font-size: 0.64rem !important;
  }
  .admin-quick-jumps-grid {
    grid-template-columns: 1fr !important;
  }

  /* Toasts */
  .toast-container {
    bottom: 0.75rem !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    align-items: stretch !important;
  }
  .toast {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0.75rem 0.9rem !important;
    font-size: 0.84rem !important;
  }
}

/* ==========================================================================
   Anti-Bot CAPTCHA Verification Component
   ========================================================================== */
.captcha-box {
  background: rgba(11, 19, 43, 0.04);
  border: 1.5px dashed var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.captcha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.captcha-badge {
  background: var(--navy);
  color: var(--gold-light);
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  user-select: none;
  border: 1px solid var(--gold-border);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.captcha-input {
  flex: 1;
  min-width: 100px;
  max-width: 140px;
  padding: 0.45rem 0.65rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center;
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius-sm) !important;
  background: #ffffff !important;
  box-sizing: border-box;
}

.captcha-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px var(--gold-soft) !important;
}

.captcha-refresh-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.captcha-refresh-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold-soft);
}

.captcha-error {
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 600;
  display: none;
}

/* ── Dark Mode & Auth Modal CAPTCHA Contrast Fixes ── */
.captcha-box-dark,
.auth-modal-card .captcha-box {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px dashed rgba(212, 175, 55, 0.5) !important;
}

.captcha-box-dark .captcha-header,
.auth-modal-card .captcha-header {
  color: var(--gold-light) !important;
}

.captcha-box-dark .captcha-header span,
.auth-modal-card .captcha-header span {
  color: var(--gold-light) !important;
}

.captcha-box-dark .captcha-header span:last-child,
.auth-modal-card .captcha-header span:last-child {
  color: rgba(248, 250, 252, 0.7) !important;
}

.captcha-box-dark .captcha-badge,
.auth-modal-card .captcha-badge {
  background: #0B132B !important;
  color: var(--gold) !important;
  border-color: var(--gold-border) !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.35) !important;
}

.captcha-box-dark .captcha-input,
.auth-modal-card .captcha-input {
  background: rgba(11, 19, 43, 0.85) !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  color: #FFFFFF !important;
}

.captcha-box-dark .captcha-input::placeholder,
.auth-modal-card .captcha-input::placeholder {
  color: rgba(248, 250, 252, 0.5) !important;
}

.captcha-box-dark .captcha-refresh-btn,
.auth-modal-card .captcha-refresh-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  color: var(--gold-light) !important;
}

.captcha-box-dark .captcha-refresh-btn:hover,
.auth-modal-card .captcha-refresh-btn:hover {
  background: rgba(212, 175, 55, 0.2) !important;
  border-color: var(--gold) !important;
  color: #FFFFFF !important;
}

.captcha-box-dark .captcha-error,
.auth-modal-card .captcha-error {
  color: #f87171 !important;
}

/* Honeypot hidden field — prevents bot spam without friction for humans */
.security-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Player Talent Call-To-Action (CTA) Banner & Rich Visual Showcase
   ========================================================================== */
.player-talent-cta {
  background: radial-gradient(120% 120% at 85% 15%, rgba(212, 175, 55, 0.16) 0%, transparent 55%),
              radial-gradient(80% 80% at 10% 90%, rgba(30, 58, 138, 0.35) 0%, transparent 60%),
              linear-gradient(135deg, #050814 0%, #0B132B 55%, #0f1c3f 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.6), 0 0 32px rgba(212, 175, 55, 0.16);
}

.player-talent-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.12) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.7;
}

.player-talent-ambient-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.player-talent-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.75rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.player-talent-content {
  display: flex;
  flex-direction: column;
}

.player-talent-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  width: fit-content;
}

.player-talent-title {
  color: #FFFFFF;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.player-talent-title em {
  color: var(--gold);
  font-style: normal;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
}

.player-talent-desc {
  color: rgba(248, 250, 252, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

.player-talent-perks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.player-talent-perk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #FFFFFF;
  font-weight: 600;
}

.player-talent-perk span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 6px var(--gold);
}

.player-talent-action {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.player-talent-privacy-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Right Column Visual Showcase */
.player-talent-visual {
  position: relative;
  width: 100%;
}

.player-talent-visual-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(212, 175, 55, 0.2);
  background: #060A17;
  transform: perspective(1000px) rotateY(-2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.player-talent-visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.01);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 36px rgba(212, 175, 55, 0.3);
}

.player-talent-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: contrast(1.05);
}

.player-talent-overlay-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.player-visual-pill-gold {
  background: rgba(6, 10, 23, 0.88);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.05em;
}

.player-visual-pill-live {
  background: rgba(6, 10, 23, 0.88);
  border: 1px solid rgba(45, 143, 111, 0.5);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.player-talent-overlay-bottom {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(6, 10, 23, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #FFFFFF;
}

.player-visual-card-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.player-visual-card-sub {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 500;
}

@media (max-width: 992px) {
  .player-talent-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .player-talent-visual-card {
    transform: none !important;
  }
  .player-talent-img {
    height: 320px !important;
  }
}

@media (max-width: 768px) {
  .player-talent-cta {
    padding: 2rem 1.25rem !important;
  }
  .player-talent-img {
    height: 250px !important;
  }
  .player-talent-action {
    width: 100% !important;
  }
  .player-talent-action .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   Restructured Contact Form / Intake Banners
   ========================================================================== */
.form-section-banner {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  grid-column: span 2;
}

.form-section-banner-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.form-section-banner-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-success-card {
  background: #FFFFFF;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 1.5rem auto;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}




/* ==========================================================================
   ADMIN CONSOLE — SORTABLE GRIDS, EXPORT, USER MANAGEMENT & SETTINGS
   ========================================================================== */

/* ─── Sortable column headers ─────────────────────────────────────────── */
.admin-table th.sortable-th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-table th.sortable-th:hover,
.admin-table th.sortable-th:focus-visible {
  background: rgba(212, 175, 55, 0.16);
  color: var(--navy);
  outline: none;
}
.admin-table th.sortable-th:focus-visible {
  box-shadow: inset 0 0 0 2px var(--gold);
}
.admin-table th.sort-active {
  background: rgba(212, 175, 55, 0.22);
  color: var(--navy);
}
.sort-indicator {
  font-size: 0.72em;
  opacity: 0.45;
  margin-left: 0.25rem;
}
.admin-table th.sort-active .sort-indicator {
  opacity: 1;
  color: var(--gold-dark, #A8862A);
}

/* ─── Table toolbar (row count + export) ──────────────────────────────── */
.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem var(--admin-card-gutter, 1.5rem);
  background: rgba(11, 19, 43, 0.03);
  border-bottom: 1px solid var(--border-light);
}
.admin-toolbar-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.admin-toolbar-count strong {
  color: var(--navy);
  font-size: 0.95rem;
}
.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.btn-export {
  background: var(--bg-white, #fff);
  border: 1px solid var(--border-light);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  min-height: 34px;
  transition: all 0.15s ease;
}
.btn-export:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn-export:disabled {
  opacity: 0.55;
  cursor: progress;
}

.admin-pii-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  cursor: pointer;
}
.admin-pii-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

/* ─── Filter bars ─────────────────────────────────────────────────────── */
.admin-filter-select {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: #fff;
  font-size: 0.8rem;
  color: var(--navy);
  min-height: 38px;
}
.admin-audit-filters,
.admin-filter-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0.75rem var(--admin-card-gutter, 1.5rem);
  background: rgba(11, 19, 43, 0.02);
  border-bottom: 1px solid var(--border-light);
}
.admin-audit-filters .admin-filter-search-wrap,
.admin-filter-bar .admin-filter-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 220px;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
}
.admin-audit-filters input[type="text"],
.admin-filter-bar input[type="text"] {
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  background: transparent;
}

/* ─── Bulk action bar ─────────────────────────────────────────────────── */
.admin-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem var(--admin-card-gutter, 1.5rem);
  background: rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}
.admin-bulk-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* ─── User table ──────────────────────────────────────────────────────── */
.admin-table th.col-check,
.admin-table td.col-check {
  width: 34px;
  text-align: center;
}
.admin-table td.col-check input,
.admin-table th.col-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.admin-table tr.row-inactive {
  opacity: 0.62;
}
.admin-table tr.row-inactive td strong {
  text-decoration: line-through;
}

.user-row-actions {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  flex-wrap: wrap;
}
.user-role-select {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 0.74rem;
  background: #fff;
  color: var(--navy);
  max-width: 130px;
}
.user-role-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.role-badge {
  display: inline-block;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(11, 19, 43, 0.07);
  color: var(--navy);
}
.role-badge.role-super_admin { background: rgba(212, 175, 55, 0.25); }
.role-badge.role-agent       { background: rgba(46, 125, 50, 0.15); }
.role-badge.role-club_scout  { background: rgba(21, 101, 192, 0.14); }

.tag-self,
.tag-warn {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tag-self { background: rgba(21, 101, 192, 0.15); color: #15489c; }
.tag-warn { background: rgba(200, 120, 0, 0.16); color: #9a5c00; }

.admin-user-kpis { margin-bottom: 1.25rem; }

/* ─── Role permission matrix ──────────────────────────────────────────── */
.admin-roles-card {
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.roles-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.role-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.role-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.role-rank {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.role-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
  line-height: 1.45;
}
.role-perms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.role-perms code {
  background: rgba(11, 19, 43, 0.06);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  font-size: 0.68rem;
  color: var(--navy);
}

/* ─── Settings pane ───────────────────────────────────────────────────── */
.admin-settings-card { padding: 0; }
.admin-maintenance-strip {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.7rem var(--admin-card-gutter, 1.5rem);
  background: rgba(200, 60, 40, 0.1);
  border-bottom: 1px solid rgba(200, 60, 40, 0.35);
  font-size: 0.82rem;
  color: #8c2f1d;
}
.settings-category-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.85rem var(--admin-card-gutter, 1.5rem) 0;
  border-bottom: 1px solid var(--border-light);
}
.settings-cat-tab {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  min-height: 40px;
}
.settings-cat-tab:hover {
  color: var(--navy);
  background: rgba(11, 19, 43, 0.04);
}
.settings-cat-tab.active {
  color: var(--navy);
  background: #fff;
  border-color: var(--border-light);
  box-shadow: inset 0 3px 0 var(--gold);
}
.cat-private {
  margin-left: 0.35rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(11, 19, 43, 0.1);
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  color: var(--text-muted);
}

.settings-form-host {
  padding: 0.5rem var(--admin-card-gutter, 1.5rem) 1.5rem;
}
.settings-panel {
  display: flex;
  flex-direction: column;
  /* Long settings forms are read in a column: capping the measure keeps label
     and field close enough to scan as one row on a wide monitor. */
  max-width: 880px;
}
.setting-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(220px, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.setting-row:last-of-type { border-bottom: none; }
.setting-row:hover { background: rgba(212, 175, 55, 0.03); }
.setting-row-bool {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.setting-row-block {
  grid-template-columns: 1fr;
  gap: 0.6rem;
  align-items: start;
}
.setting-label-wrap label {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.35;
}
.setting-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.45;
}
.setting-flag {
  font-size: 0.62rem;
  text-transform: uppercase;
  background: rgba(200, 120, 0, 0.15);
  color: #9a5c00;
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  margin-left: 0.3rem;
}
.setting-row input[type="text"],
.setting-row input[type="email"],
.setting-row input[type="number"],
.setting-row textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 16px;
  color: var(--navy);
  background: #fff;
  font-family: inherit;
}
.setting-row input:focus,
.setting-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.setting-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
  cursor: pointer;
}
.setting-json {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px !important;
}
.settings-panel-footer { padding-top: 1.1rem; }

/* ─── Temporary password reveal ───────────────────────────────────────── */
.temp-pw-box {
  background: var(--bg-cream);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 0.85rem 0;
  text-align: center;
}
#temp-pw-value {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  word-break: break-all;
}

@media (max-width: 768px) {
  .setting-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: start;
  }
  .setting-row-bool {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .admin-table-toolbar { gap: 0.6rem; }
  .admin-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .roles-matrix { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ATHLETE PHOTOGRAPHY & INQUIRY DETAIL
   ========================================================================== */

/* ─── Photo upload block in the athlete modal ─────────────────────────── */
.player-photo-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 0 0 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.player-photo-preview {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-cream);
  border: 2px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-dark, #A8862A);
  letter-spacing: 0.04em;
}
.player-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player-photo-controls {
  flex: 1;
  min-width: 0;
}
.player-photo-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0.25rem 0 0.7rem;
}
.player-photo-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.player-photo-buttons label {
  cursor: pointer;
  margin: 0;
}
.player-photo-buttons label.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.player-photo-status {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  min-height: 1em;
}

/* ─── Athlete thumbnails in the PMS grid ──────────────────────────────── */
.pms-name-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pms-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
}
.pms-avatar-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark, #A8862A);
  background: var(--gold-soft, rgba(212, 175, 55, 0.16));
}
.am-avatar-photo {
  object-fit: cover;
  padding: 0;
}

/* ─── Inquiry detail modal ────────────────────────────────────────────── */
.inquiry-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem 1.25rem;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.1rem;
}
.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.inquiry-field span:last-child {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
  word-break: break-word;
}
.inquiry-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.inquiry-subject-block { margin-bottom: 1rem; }
.inquiry-subject-block h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0.2rem 0 0;
  line-height: 1.35;
}
.inquiry-message-block { margin-bottom: 0.5rem; }
.inquiry-message {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  /* Preserve the sender's line breaks without letting their text become markup. */
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 320px;
  overflow-y: auto;
}

/* ─── Inquiry list preview cell ───────────────────────────────────────── */
.inquiry-preview-cell {
  max-width: 320px;
}
.inquiry-preview-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .player-photo-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .player-photo-buttons { justify-content: center; }
  .inquiry-detail-grid { grid-template-columns: 1fr 1fr; }
}

/* The `hidden` attribute must win over any component `display` rule.
   Without this, `el.hidden = true` is silently ignored on flex containers
   (the maintenance banner, the bulk-action bar, the photo Remove button). */
[hidden] {
  display: none !important;
}

/* ==========================================================================
   SELECTION CONTROLS & PRINT OUTPUT
   ========================================================================== */

.admin-selection-badge {
  margin-left: 0.35rem;
  color: var(--gold-dark, #A8862A);
}
.admin-selection-clear {
  background: none;
  border: none;
  padding: 0 0 0 0.35rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
}
.admin-selection-clear:hover { color: var(--navy); }

.btn-print {
  background: var(--bg-white, #fff);
  border: 1px solid var(--border-light);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  min-height: 34px;
  transition: all 0.15s ease;
}
.btn-print:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ─── Filter reset & user-type chips ──────────────────────────────────── */
.admin-filter-bar { justify-content: flex-start; }
.admin-filter-reset {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  min-height: 34px;
}
.admin-filter-reset:hover { color: var(--navy); }

.admin-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem var(--admin-card-gutter, 1.5rem) 0;
}
.admin-role-chip-count {
  display: inline-block;
  min-width: 1.4em;
  margin-left: 0.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(11, 19, 43, 0.08);
  font-size: 0.72rem;
  text-align: center;
}
.admin-role-chip.active .admin-role-chip-count { background: rgba(255, 255, 255, 0.3); }

.btn-bulk-delete-rows {
  background: #fff;
  border: 1px solid #E3B4B4;
  color: #B42318;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  min-height: 34px;
}
.btn-bulk-delete-rows[hidden] { display: none; }
.btn-bulk-delete-rows:hover:not(:disabled) { background: #B42318; border-color: #B42318; color: #fff; }
.btn-bulk-delete-rows:disabled { opacity: 0.55; cursor: progress; }

/* ─── Pagination ──────────────────────────────────────────────────────── */
.admin-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.7rem var(--admin-card-gutter, 1.5rem);
  border-top: 1px solid var(--border-light);
  background: rgba(11, 19, 43, 0.02);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.admin-pager-info,
.admin-pager-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.admin-pager-size {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.admin-pager-size select {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font-size: 0.8rem;
  min-height: 32px;
}
.admin-pager-status strong { color: var(--navy); }
.admin-pager-btn {
  background: var(--bg-white, #fff);
  border: 1px solid var(--border-light);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  min-height: 34px;
}
.admin-pager-btn:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.admin-pager-btn:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 600px) {
  .admin-pager { justify-content: center; }
  .admin-pager-btn[data-page="first"],
  .admin-pager-btn[data-page="last"] { display: none; }
}

/* A selected row is tinted so the selection is obvious while scrolling. */
.admin-table tbody tr:has(.select-row:checked) {
  background: rgba(212, 175, 55, 0.09);
}

/* The print surface is inert on screen. */
#print-root { display: none; }

@media print {
  /* Print only the generated sheet: the console chrome, navigation, modals and
     controls have no meaning on paper. */
  body.is-printing > *:not(#print-root) { display: none !important; }

  body.is-printing {
    background: #fff !important;
    margin: 0;
    padding: 0;
  }

  #print-root {
    display: block !important;
    padding: 0;
    color: #000;
    font-family: Georgia, "Times New Roman", serif;
  }

  .print-header {
    border-bottom: 2px solid #000;
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
  }
  .print-brand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 10pt;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .print-brand strong { font-size: 11pt; }
  .print-header h1 {
    font-size: 16pt;
    margin: 0.5rem 0 0.35rem;
  }
  .print-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    font-size: 8.5pt;
    color: #333;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8.5pt;
    font-family: Arial, Helvetica, sans-serif;
  }
  .print-table th,
  .print-table td {
    border: 1px solid #999;
    padding: 4pt 6pt;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
  }
  .print-table thead th {
    background: #eee !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  /* Repeat the header on every page of a long table. */
  .print-table thead { display: table-header-group; }
  .print-table tr { page-break-inside: avoid; }

  /* Single-record layout (one inquiry per sheet). */
  .print-record th {
    width: 28%;
    background: #f4f4f4 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-message { white-space: pre-wrap; }

  .print-footer {
    margin-top: 0.9rem;
    padding-top: 0.5rem;
    border-top: 1px solid #999;
    font-size: 8pt;
    color: #444;
  }

  @page {
    margin: 14mm 12mm;
    size: A4 landscape;
  }
}

/* ==========================================================================
   OPERATIONS PORTAL SIGN-IN
   A dark split screen: brand and assurances on the left, the credential form
   on the right. Dark is deliberate — the shared .auth-form-* controls are
   built for a dark surface, and a restricted system should not look like the
   marketing site.
   ========================================================================== */

.portal-login-view {
  background: var(--navy-deep);
}

.portal-login {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: calc(100vh - 72px);
  background: var(--navy-deep);
  color: #fff;
}

/* ─── Brand panel ─────────────────────────────────────────────────────── */
.portal-login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem clamp(1.5rem, 4vw, 4rem) 2.25rem;
  background:
    radial-gradient(1200px 420px at 12% 0%, rgba(212, 175, 55, 0.16), transparent 60%),
    linear-gradient(160deg, #0D1730 0%, var(--navy-deep) 70%);
  border-right: 1px solid rgba(212, 175, 55, 0.22);
  overflow: hidden;
}

/* A faint gold hairline so the panel reads as a considered surface. */
.portal-login-brand::after {
  content: '';
  position: absolute;
  inset: auto -40% -60% -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(212, 175, 55, 0.09), transparent);
  pointer-events: none;
}

.portal-login-back {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.15s ease;
}
.portal-login-back:hover { color: var(--gold); }

.portal-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 30rem;
}

.portal-crest {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
}

.portal-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.portal-brand-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 0.85rem;
}

.portal-brand-lede {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2rem;
}

.portal-assurances {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}
.portal-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.portal-assurance-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.95rem;
}
.portal-assurances strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.1rem;
}
.portal-assurances small {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

.portal-brand-footnote {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ─── Form panel ──────────────────────────────────────────────────────── */
.portal-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 4.5rem;
}

.portal-login-card {
  width: 100%;
  max-width: 25rem;
}

.portal-login-head { margin-bottom: 1.5rem; }
.portal-login-head h2 {
  font-size: 1.65rem;
  color: #fff;
  margin: 0 0 0.35rem;
}
.portal-login-head p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* The shared error box is built for dark surfaces; only spacing differs here. */
.portal-login-error { margin-bottom: 1.15rem; }

.portal-login-card .auth-form-input {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}
.portal-login-card .auth-form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.portal-login-card .auth-form-group label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

/* Password field with an inline reveal control. */
.portal-password-wrap { position: relative; }
.portal-password-wrap .auth-form-input { padding-right: 4.25rem; }
.portal-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  min-height: 32px;
}
.portal-password-toggle:hover { background: rgba(212, 175, 55, 0.12); }

.portal-capslock {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
  color: var(--gold-light);
}

.portal-login-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.15rem;
  padding: 0.8rem 1.25rem;
  min-height: 48px;
  font-size: 0.95rem;
}

.portal-login-help {
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.79rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.portal-login-help p { margin: 0 0 0.3rem; }
.portal-login-help a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.portal-login-help a:hover { text-decoration: underline; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .portal-login {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .portal-login-brand {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    padding-bottom: 2rem;
    gap: 1.5rem;
  }
  /* The assurances are reassurance, not instruction: on a phone they push the
     form below the fold, so they step aside. */
  .portal-assurances { display: none; }
  .portal-brand-lede { margin-bottom: 0; }
  .portal-brand-footnote { display: none; }
  .portal-login-panel { padding: 2rem 1.25rem 5rem; }
  .portal-login-card { max-width: 27rem; }
}

@media (max-width: 560px) {
  /* On a phone the brand block is preamble — keep it to a compact banner so
     the credential fields are reachable without scrolling past it. */
  .portal-login-brand {
    padding: 1.1rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }
  .portal-crest { width: 36px; height: 36px; margin-bottom: 0.6rem; }
  .portal-eyebrow { font-size: 0.62rem; letter-spacing: 0.1em; margin-bottom: 0.35rem; }
  .portal-brand-title { font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.45rem; }
  .portal-brand-lede {
    font-size: 0.82rem;
    line-height: 1.5;
    /* Two lines of context is enough on a small screen. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .portal-login-back { font-size: 0.74rem; }
  .portal-login-panel { padding: 1.5rem 1.25rem 6rem; }
  .portal-login-head { margin-bottom: 1.15rem; }
  .portal-login-head h2 { font-size: 1.35rem; }
  .portal-login-head p { font-size: 0.82rem; }
}

/* ==========================================================================
   RECORD DETAIL VIEWS
   Shared read-only surface for deals, camps, clubs, users and audit entries.
   ========================================================================== */

.record-section {
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-light);
}
.record-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.record-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark, #A8862A);
  margin: 0 0 0.7rem;
}

.record-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem 1.25rem;
}

.record-field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.record-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.record-field-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}

.record-prose {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-body);
  /* Keep the author's line breaks without letting their text become markup. */
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  overflow-y: auto;
}

.record-json {
  background: var(--navy-deep);
  color: #E8ECF5;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
  max-height: 300px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ─── Nested tables (camp applications, user activity) ────────────────── */
.record-subtable {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-height: 320px;
  overflow: auto;
}
.record-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.record-mini-table th,
.record-mini-table td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.record-mini-table thead th {
  position: sticky;
  top: 0;
  background: rgba(11, 19, 43, 0.05);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  z-index: 1;
}
.record-mini-table code { font-size: 0.72rem; color: var(--text-muted); }
.record-empty {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.6rem 0 0;
}

/* The audit grid's detail column stacks its summary above the View control. */
.audit-detail-cell .btn-admin-action { margin-top: 0.4rem; }

@media (max-width: 768px) {
  .record-detail-grid { grid-template-columns: 1fr 1fr; }
  .record-mini-table { font-size: 0.76rem; }
}
