/* ==========================================================================
   STUDENT TALENT COMPETITION 2026 - MODERN DESIGN SYSTEM & STYLESHEET
   Vanilla CSS with CSS Variables, Glassmorphism, Micro-interactions & Print
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #0a0e1a;
  --bg-surface: #111827;
  --bg-card: #182234;
  --bg-card-hover: #1f2b42;
  --bg-input: #0e1524;
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  
  --secondary: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  
  --cat-tech: #06b6d4;
  --cat-mehndi: #ec4899;
  --cat-drawing: #f97316;
  --cat-makeup: #a855f7;
  
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.25);
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.6);
  --border-focus: #818cf8;
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 25px var(--primary-glow);
  
  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Light Theme Color System
   ========================================================================== */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #ffffff;
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-glow: rgba(79, 70, 229, 0.25);
  
  --secondary: #7c3aed;
  --accent-gold: #d97706;
  --accent-gold-glow: rgba(217, 119, 6, 0.2);
  
  --cat-tech: #0891b2;
  --cat-mehndi: #db2777;
  --cat-drawing: #ea580c;
  --cat-makeup: #9333ea;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --border-light: rgba(15, 23, 42, 0.1);
  --border-active: rgba(79, 70, 229, 0.6);
  --border-focus: #6366f1;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.15);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] body {
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.04) 0%, transparent 45%);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #0f172a;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #a5b4fc;
}

.text-gradient {
  background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent { color: var(--accent-gold); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

.bg-surface {
  background-color: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #312e81 0%, #4338ca 50%, #581c87 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #e0e7ff;
}

.announcement-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.announcement-link {
  font-weight: 700;
  color: #fef08a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announcement-link:hover { color: #ffffff; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-secondary-nav, .btn-admin-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  transition: var(--transition);
}

.btn-secondary-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-admin-portal {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.btn-admin-portal:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold);
}

/* Theme Toggle Buttons */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-theme-toggle:hover {
  transform: scale(1.08);
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
}

.theme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* In Dark Mode: Show Sun icon to switch to light */
:root:not([data-theme="light"]) .icon-sun,
[data-theme="dark"] .icon-sun {
  display: flex;
  color: #f59e0b;
}
:root:not([data-theme="light"]) .icon-moon,
[data-theme="dark"] .icon-moon {
  display: none;
}

/* In Light Mode: Show Moon icon to switch to dark */
[data-theme="light"] .icon-sun {
  display: none;
}
[data-theme="light"] .icon-moon {
  display: flex;
  color: #4f46e5;
}

.theme-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--text-main);
}

/* Light Mode Overrides for UI Elements */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .brand-title {
  color: #0f172a;
}

[data-theme="light"] .hero-stats-row {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .stat-number {
  color: #0f172a;
}

[data-theme="light"] .event-showcase-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .countdown-container {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

[data-theme="light"] .time-num {
  color: #0f172a;
  background: #ffffff;
  border-color: #cbd5e1;
}

[data-theme="light"] .mini-cat-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .mini-cat-name {
  color: #0f172a;
}

[data-theme="light"] .cat-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cat-card.featured-cat {
  background: #ffffff;
  border-color: rgba(249, 115, 22, 0.4);
}

[data-theme="light"] .cat-title {
  color: #0f172a;
}

[data-theme="light"] .cat-eligibility-box,
[data-theme="light"] .group-subcard {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .subcard-count,
[data-theme="light"] .meter-count {
  color: #0f172a;
}

[data-theme="light"] .rules-card-box {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .rule-item-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .rule-item-content h4 {
  color: #0f172a;
}

[data-theme="light"] .seat-matrix-wrapper {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .seat-table th {
  background: #f1f5f9;
  color: #475569;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .seat-table td {
  border-bottom-color: #f1f5f9;
  color: #1e293b;
}

[data-theme="light"] .seat-table tr:hover td {
  background: #f8fafc;
}

[data-theme="light"] .form-container-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .form-step-section {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .form-label {
  color: #0f172a;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
}

[data-theme="light"] .std-radio-pill .pill-label,
[data-theme="light"] .gender-box,
[data-theme="light"] .card-interior {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}

[data-theme="light"] .std-radio-pill:hover .pill-label,
[data-theme="light"] .gender-radio-card:hover .gender-box,
[data-theme="light"] .cat-select-card:hover:not(.disabled) .card-interior {
  border-color: var(--primary);
  color: #0f172a;
}

[data-theme="light"] .cat-choice-name {
  color: #0f172a;
}

[data-theme="light"] .assigned-group-title {
  color: #0f172a;
}

[data-theme="light"] .consent-checkbox-card {
  background: #ffffff;
  border-color: #cbd5e1;
}

[data-theme="light"] .payment-step-card {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-color: rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .payment-qr-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .upi-id-pill-box {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

[data-theme="light"] .upi-id-text {
  color: #0f172a;
}

[data-theme="light"] .btn-glass {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

[data-theme="light"] .btn-glass:hover {
  background: #f1f5f9;
  border-color: var(--primary);
}

[data-theme="light"] .modal-box:not(.modal-admit-card) {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .reg-id-display-box {
  background: #f8fafc;
  border-color: var(--primary);
}

[data-theme="light"] .reg-id-value {
  color: #0f172a;
}

[data-theme="light"] .success-summary-grid {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .sum-val {
  color: #0f172a;
}

[data-theme="light"] .auth-box {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .admin-data-table th {
  background: #f1f5f9;
  color: #475569;
}

[data-theme="light"] .admin-table-container {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .admin-data-table td {
  border-bottom-color: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .admin-stat-chip {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .chip-num {
  color: #0f172a;
}

[data-theme="light"] .limit-edit-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .footer-section {
  background: #f1f5f9;
  border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-brand h4 {
  color: #0f172a;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  gap: 12px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-item {
  color: var(--text-main);
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}

.mobile-nav-btn.admin-btn {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fcd34d;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 20px;
}

.pill-sparkle { font-size: 1rem; }
.pill-divider { opacity: 0.4; }
.pill-tag {
  background: var(--primary);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-description strong {
  color: #ffffff;
}

/* Hero Stats Bar */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--success);
}

/* Hero Visual Card */
.event-showcase-card {
  background: linear-gradient(145deg, rgba(24, 34, 52, 0.9) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
}

.card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #6ee7b7;
  margin-bottom: 16px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.showcase-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.showcase-venue {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Countdown Box */
.countdown-container {
  background: rgba(14, 21, 36, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.countdown-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.time-box {
  display: flex;
  flex-direction: column;
  min-width: 50px;
}

.time-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.time-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.time-separator {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

/* Mini Category Visual in Hero */
.mini-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.mini-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.mini-cat-icon {
  font-size: 1.35rem;
}

.mini-cat-name {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

.mini-cat-badge {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.showcase-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.verified-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  color: #ffffff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

.pulse-glow {
  animation: subtle-pulse 3s infinite;
}

@keyframes subtle-pulse {
  0% { box-shadow: 0 4px 14px var(--primary-glow); }
  50% { box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6); }
  100% { box-shadow: 0 4px 14px var(--primary-glow); }
}

/* ==========================================================================
   Category Showcase Cards
   ========================================================================== */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow: hidden;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.cat-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.tech-glow { background: var(--cat-tech); }
.mehndi-glow { background: var(--cat-mehndi); }
.drawing-glow { background: var(--cat-drawing); }
.makeup-glow { background: var(--cat-makeup); }

.cat-card.featured-cat {
  border-color: rgba(249, 115, 22, 0.4);
  background: linear-gradient(180deg, rgba(31, 41, 62, 0.95) 0%, rgba(24, 34, 52, 0.95) 100%);
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  background: var(--cat-drawing);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 32px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cat-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
}

.tech-icon { color: var(--cat-tech); background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.25); }
.mehndi-icon { color: var(--cat-mehndi); background: rgba(236, 72, 153, 0.1); border-color: rgba(236, 72, 153, 0.25); }
.drawing-icon { color: var(--cat-drawing); background: rgba(249, 115, 22, 0.1); border-color: rgba(249, 115, 22, 0.25); }
.makeup-icon { color: var(--cat-makeup); background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.25); }

.cat-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.cat-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 60px;
}

.cat-eligibility-box {
  background: rgba(14, 21, 36, 0.75);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rule-line svg {
  color: var(--success);
  flex-shrink: 0;
}

.text-warning-rule {
  color: #fbbf24;
}
.text-warning-rule svg {
  color: #fbbf24;
}

/* Drawing split subcards */
.drawing-groups-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.group-subcard {
  background: rgba(14, 21, 36, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.group-subcard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.group-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.pill-a { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.pill-b { background: rgba(249, 115, 22, 0.2); color: #fdba74; }

.group-stds {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.subcard-count {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

/* Seat Progress Meters */
.cat-seat-meter {
  margin-top: auto;
  margin-bottom: 18px;
}

.meter-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.meter-label { color: var(--text-muted); }
.meter-count { font-weight: 700; color: #ffffff; }

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.fill-tech { background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.fill-mehndi { background: linear-gradient(90deg, #ec4899, #f43f5e); }
.fill-drawing { background: linear-gradient(90deg, #f97316, #fbbf24); }
.fill-makeup { background: linear-gradient(90deg, #a855f7, #ec4899); }

/* ==========================================================================
   Rules & Eligibility Section
   ========================================================================== */
.rules-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.rules-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.rules-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.rules-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.rules-intro {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rule-item-card {
  background: rgba(14, 21, 36, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.rule-item-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
}

.rule-item-card.highlight-rule {
  border-color: rgba(249, 115, 22, 0.4);
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.08) 0%, rgba(14, 21, 36, 0.9) 100%);
}

.rule-item-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0.8;
}

.rule-item-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.rule-item-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Live Seat Matrix Table
   ========================================================================== */
.seat-matrix-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

.seat-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.seat-table th {
  background: rgba(14, 21, 36, 0.9);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.seat-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.seat-table tr:last-child td {
  border-bottom: none;
}

.seat-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.matrix-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.matrix-icon {
  font-size: 1.4rem;
}

.matrix-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.badge-std {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
}

.badge-std.highlight-group {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.3);
  color: #fdba74;
}

.badge-gender {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

.gender-all {
  background: rgba(6, 182, 212, 0.12);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.gender-female {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

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

.pill-low {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pill-full {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   Interactive Registration Form
   ========================================================================== */
.form-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header-area {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}

.form-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.form-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-main-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Validation Alert Banner */
.validation-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  font-size: 0.95rem;
  animation: fadeIn 0.3s ease;
}

.banner-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.banner-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.banner-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Form Steps */
.form-step-section {
  background: rgba(14, 21, 36, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  transition: var(--transition);
}

.form-step-section:focus-within {
  border-color: rgba(99, 102, 241, 0.3);
}

.step-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payment-badge {
  background: var(--accent-gold);
  color: #1e1b4b;
}

.step-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form Controls & Inputs */
.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-3col {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.req {
  color: #f87171;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
  transition: var(--transition);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: var(--transition);
}

.input-with-icon .form-input {
  padding-left: 44px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #111a2d;
}

.input-with-icon:focus-within .input-icon {
  color: var(--primary);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input-sm, .form-select-sm {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.helper-text {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.field-error {
  display: none;
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 6px;
  font-weight: 500;
}

.field-error.active {
  display: block;
}

/* Phone Number Row */
.phone-input-wrapper {
  display: flex;
  gap: 10px;
}

.country-code-select-wrap {
  width: 170px;
  flex-shrink: 0;
}

.phone-number-input {
  flex-grow: 1;
}

/* Standard Selector Buttons */
.standard-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.std-radio-pill {
  cursor: pointer;
  position: relative;
}

.std-radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.std-radio-pill .pill-label {
  display: block;
  text-align: center;
  padding: 11px 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.std-radio-pill:hover .pill-label {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.std-radio-pill input[type="radio"]:checked + .pill-label {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Gender Selector Buttons */
.gender-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gender-radio-card {
  cursor: pointer;
  position: relative;
}

.gender-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gender-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.gender-icon { font-size: 1.2rem; }
.gender-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.gender-radio-card:hover .gender-box {
  border-color: rgba(255, 255, 255, 0.2);
}

.gender-radio-card input[type="radio"]:checked + .gender-box {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.gender-radio-card input[type="radio"]:checked + .gender-box .gender-title {
  color: #ffffff;
}

/* Category Selection Radio Cards */
.category-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.cat-select-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.cat-select-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.card-interior {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: var(--transition);
}

.cat-select-card:hover:not(.disabled) .card-interior {
  border-color: rgba(255, 255, 255, 0.25);
  background: #111a2d;
}

.cat-select-card input[type="radio"]:checked + .card-interior {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.18) 0%, rgba(14, 21, 36, 0.95) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.cat-choice-icon {
  font-size: 1.8rem;
}

.cat-choice-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.cat-choice-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag-badge {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.tag-badge.text-female {
  color: #f472b6;
  background: rgba(236, 72, 153, 0.15);
}

.cat-seats-left-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Category Card Disabled State (when ineligible or full) */
.cat-select-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

.cat-select-card.disabled .cat-seats-left-pill {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

/* Dynamic Drawing Group Notice Banner */
.drawing-group-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(14, 21, 36, 0.9) 100%);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
  animation: fadeIn 0.3s ease;
}

.group-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.banner-badge-icon {
  font-size: 1.8rem;
  margin-right: 12px;
}

.banner-badge-text {
  flex-grow: 1;
}

.badge-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cat-drawing);
}

.assigned-group-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.group-seat-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.group-banner-desc {
  font-size: 0.88rem;
  color: #fed7aa;
}

/* Guardian Consent Checkbox */
.consent-checkbox-card {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  user-select: none;
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-light);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.custom-checkbox-container:hover .checkmark {
  border-color: var(--primary);
}

.custom-checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox-container input:checked ~ .checkmark::after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.consent-text strong {
  color: #ffffff;
}

/* ==========================================================================
   Payment Step & UPI QR Code Section
   ========================================================================== */
.payment-step-card {
  background: linear-gradient(180deg, rgba(20, 29, 46, 0.95) 0%, rgba(14, 21, 36, 0.9) 100%);
  border-color: rgba(245, 158, 11, 0.25);
}

.payment-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.payment-qr-card {
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fee-tag-header {
  margin-bottom: 16px;
}

.fee-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.fee-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.qr-canvas-wrap {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 16px;
  display: inline-block;
}

.upi-id-pill-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.upi-id-text {
  font-family: monospace;
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 600;
}

.btn-copy-upi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 3px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy-upi:hover {
  background: var(--primary-hover);
}

.supported-apps {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Payment Inputs & Warning */
.critical-payment-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fcd34d;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.critical-payment-warning p {
  font-size: 0.84rem;
  color: #fde68a;
  line-height: 1.5;
}

.submission-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Form Action Submit Area */
.form-submit-actions {
  text-align: center;
  margin-top: 40px;
}

.submit-btn-glow {
  min-width: 380px;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.submit-btn-glow:hover {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.7);
}

.submit-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================================================
   Modals Common
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* Success Modal */
.modal-success-card {
  text-align: center;
}

.success-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.reg-id-display-box {
  background: rgba(14, 21, 36, 0.95);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 24px;
}

.reg-id-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.reg-id-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 4px 0;
}

.reg-id-note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.success-summary-grid {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sum-row:last-child {
  border-bottom: none;
}

.sum-key { color: var(--text-muted); }
.sum-val { font-weight: 600; color: #ffffff; }

.status-badge-pending {
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pending-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fbbf24;
  animation: pulse 1.5s infinite;
}

.modal-wa-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
  margin-bottom: 24px;
}

.wa-notice-icon { font-size: 1.4rem; }
.wa-notice-text { font-size: 0.84rem; color: #d1fae5; line-height: 1.45; }

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Track Status Modal */
.modal-track-card {
  max-width: 520px;
}

.track-header {
  text-align: center;
  margin-bottom: 24px;
}

.track-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.track-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.track-result-box {
  background: rgba(14, 21, 36, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   Organizer Admin Portal Modal
   ========================================================================== */
.admin-overlay .modal-admin-card {
  max-width: 1100px;
  width: 95vw;
  padding: 30px;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-shield-icon {
  font-size: 2.2rem;
}

.admin-title {
  font-size: 1.45rem;
  font-weight: 800;
}

.admin-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-close-admin {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-close-admin:hover { color: #ffffff; }

/* Admin Auth Screen */
.admin-auth-screen {
  padding: 40px 0;
  text-align: center;
}

.auth-box {
  max-width: 380px;
  margin: 0 auto;
  background: rgba(14, 21, 36, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
}

.auth-icon { font-size: 2.6rem; margin-bottom: 12px; }
.auth-box h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.auth-box p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.auth-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.auth-err {
  font-size: 0.82rem;
  color: #f87171;
  margin-top: 8px;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
  overflow-x: auto;
}

.admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 18px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.admin-tab:hover {
  color: #ffffff;
}

.admin-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* Admin Stats Bar */
.admin-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.admin-stat-chip {
  background: rgba(14, 21, 36, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.chip-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.chip-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.chip-warning .chip-num { color: var(--accent-gold); }
.chip-success .chip-num { color: var(--success); }
.chip-info .chip-num { color: #38bdf8; }

/* Admin Controls Bar */
.admin-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-search-wrap {
  flex-grow: 1;
  max-width: 380px;
}

.admin-filter-selects {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Admin Table */
.admin-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: rgba(14, 21, 36, 0.8);
  max-height: 480px;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.admin-data-table th {
  background: #0d1320;
  padding: 12px 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--border-light);
}

.admin-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.admin-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.action-btn-group {
  display: flex;
  gap: 6px;
}

.btn-verify-action {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-verify-action:hover {
  background: var(--success);
  color: #ffffff;
}

.btn-reject-action {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-reject-action:hover {
  background: var(--danger);
  color: #ffffff;
}

.btn-slip-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
}

.btn-slip-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Admin Limits Editor */
.limits-editor-wrap {
  padding: 10px 0;
}

.pane-header {
  margin-bottom: 24px;
}

.pane-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pane-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.limits-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.limit-edit-card {
  background: rgba(14, 21, 36, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.limit-edit-card.highlight-border-a { border-color: rgba(59, 130, 246, 0.4); }
.limit-edit-card.highlight-border-b { border-color: rgba(249, 115, 22, 0.4); }

.limit-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.limit-icon { font-size: 1.6rem; }
.limit-edit-card h5 { font-size: 0.98rem; font-weight: 700; }
.limit-sub { font-size: 0.76rem; color: var(--text-muted); }

.limit-input-group {
  margin-bottom: 12px;
}

.limit-input-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.limit-stats-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}

.limits-save-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.save-msg {
  font-size: 0.88rem;
  font-weight: 600;
}

/* WhatsApp Business Tab */
.wa-security-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #a7f3d0;
}

.alert-icon { font-size: 1.6rem; flex-shrink: 0; }

.wa-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.wa-preview-card {
  background: #0b141a;
  border: 1px solid #2a3942;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.wa-phone-header {
  background: #202c33;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00a884;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.wa-chat-info {
  display: flex;
  flex-direction: column;
}

.wa-chat-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e9edef;
}

.wa-chat-status {
  font-size: 0.72rem;
  color: #8696a0;
}

.wa-phone-body {
  padding: 20px 16px;
  background: #0b141a;
  min-height: 250px;
}

.wa-bubble {
  background: #005c4b;
  color: #e9edef;
  border-radius: 8px;
  border-top-left-radius: 0;
  padding: 12px 14px;
  max-width: 90%;
  font-size: 0.86rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.wa-bubble-header {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.wa-var {
  color: #6ee7b7;
  font-weight: 600;
}

.wa-link {
  color: #53bdeb;
  text-decoration: underline;
  word-break: break-all;
}

.wa-timestamp {
  font-size: 0.68rem;
  color: #8696a0;
  text-align: right;
  margin-top: 6px;
}

.wa-simulator-box {
  background: #111b21;
  padding: 16px;
  border-top: 1px solid #2a3942;
}

.wa-test-row {
  display: flex;
  gap: 8px;
}

.test-status {
  font-size: 0.78rem;
  margin-top: 8px;
}

/* Supabase Tab */
.supabase-connect-card {
  background: rgba(14, 21, 36, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.supabase-connect-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.supabase-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.connection-status-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.status-demo {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

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

.sql-schema-viewer {
  background: #080c14;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sql-viewer-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.sql-code-block {
  padding: 16px 20px;
  max-height: 380px;
  overflow-y: auto;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #a5b4fc;
}

/* ==========================================================================
   Printable Admit Slip
   ========================================================================== */
.modal-admit-card {
  max-width: 650px;
  background: #ffffff;
  color: #0f172a;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.modal-admit-card .modal-close-btn {
  color: #64748b;
}

.admit-slip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.admit-org-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: #4f46e5;
  border: 2px solid #4f46e5;
  padding: 4px 10px;
  border-radius: 6px;
}

.admit-org-info h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.admit-org-info p {
  font-size: 0.82rem;
  color: #64748b;
}

.admit-watermark-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.admit-watermark-pill.verified {
  background: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}

.admit-slip-body {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 20px;
  margin-bottom: 20px;
}

.admit-details-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admit-field {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  border-bottom: 1px dotted #cbd5e1;
  padding-bottom: 4px;
}

.field-k { color: #64748b; font-weight: 500; }
.field-v { color: #0f172a; }

.admit-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed #cbd5e1;
  padding-left: 16px;
}

.admit-qr-box {
  background: #f8fafc;
  padding: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.admit-qr-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 6px;
  text-transform: uppercase;
}

.admit-slip-footer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 20px;
}

.admit-slip-actions {
  text-align: center;
}

/* Print CSS */
@media print {
  body * {
    visibility: hidden;
  }
  #admit-slip-print-content, #admit-slip-print-content * {
    visibility: visible;
  }
  #admit-slip-print-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    border: none;
    box-shadow: none;
  }
  .admit-slip-actions, .modal-close-btn {
    display: none !important;
  }
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  color: #ffffff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
}

.toast-success { border-left: 4px solid var(--success); }
.toast-warning { border-left: 4px solid var(--warning); }
.toast-error { border-left: 4px solid var(--danger); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
  background: #070a12;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand h4 {
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  width: 100%;
}

/* ==========================================================================
   Keyframes & Animations
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .limits-card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wa-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-cards-grid {
    grid-template-columns: 1fr;
  }
  .category-choice-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2col, .form-grid-3col {
    grid-template-columns: 1fr;
  }
  .payment-layout {
    grid-template-columns: 1fr;
  }
  .form-container-card {
    padding: 24px 16px;
  }
  .form-step-section {
    padding: 20px 16px;
  }
  .submit-btn-glow {
    min-width: 100%;
    width: 100%;
  }
  .rules-card-box {
    padding: 28px 18px;
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .limits-card-grid {
    grid-template-columns: 1fr;
  }
  .admit-slip-body {
    grid-template-columns: 1fr;
  }
  .admit-qr-col {
    border-left: none;
    border-top: 1px dashed #cbd5e1;
    padding-left: 0;
    padding-top: 16px;
  }
}
