/* ================================================================
   Asis Airline Ticket Online Booking System
   Main Stylesheet
   ================================================================ */

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  --primary:      #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light:#bae6fd;
  --navy:         #0c1e3c;
  --navy-light:   #1e3a5f;
  --accent:       #f59e0b;
  --accent-dark:  #d97706;
  --success:      #10b981;
  --danger:       #ef4444;
  --warning:      #f59e0b;
  --white:        #ffffff;
  --gray-50:      #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-300:     #cbd5e1;
  --gray-400:     #94a3b8;
  --gray-500:     #64748b;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --gray-800:     #1e293b;
  --gray-900:     #0f172a;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow:       0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-md:    0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-lg:    0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --shadow-xl:    0 25px 50px rgba(0,0,0,.25);
  --radius-sm:    0.375rem;
  --radius:       0.75rem;
  --radius-lg:    1rem;
  --radius-xl:    1.5rem;
  --radius-full:  9999px;
  --transition:   all .3s ease;
  --font:         'Poppins', sans-serif;
  --bg:           var(--white);
  --surface:      var(--gray-50);
  --text:         var(--gray-800);
  --text-muted:   var(--gray-500);
  --border:       var(--gray-200);
}

[data-theme="dark"] {
  --bg:         #0f172a;
  --surface:    #1e293b;
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --border:     #334155;
  --navy:       #1e3a5f;
}

/* ── Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color .3s, color .3s;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text); }

/* ── Preloader ──────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; color: white; }
.preloader-plane { font-size: 3rem; color: var(--primary); animation: fly 1.2s ease-in-out infinite alternate; display: block; margin-bottom: 1rem; }
.preloader-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }
.preloader-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); animation: bounce 1s infinite; }
.preloader-dots span:nth-child(2) { animation-delay: .15s; }
.preloader-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes fly { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-15px) rotate(5deg); } }
@keyframes bounce { 0%,80%,100% { transform: scale(0); } 40% { transform: scale(1); } }

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }

/* ── Navbar ────────────────────────────────────────────────────── */
#mainNavbar { background: transparent; transition: var(--transition); padding: .75rem 0; z-index: 1050; }
#mainNavbar.scrolled { background: rgba(12, 30, 60, .97) !important; backdrop-filter: blur(16px); box-shadow: var(--shadow-md); padding: .5rem 0; }
.navbar-brand { font-size: 1.4rem; font-weight: 800; color: white !important; display: flex; align-items: center; gap: .5rem; }
.navbar-brand .brand-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.navbar-brand .brand-sub { font-size: .7rem; font-weight: 400; opacity: .75; display: block; line-height: 1; }
.navbar .nav-link { color: rgba(255,255,255,.9) !important; font-weight: 500; padding: .4rem .8rem !important; border-radius: var(--radius-sm); transition: var(--transition); position: relative; }
.navbar .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: var(--transition); transform: translateX(-50%); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 80%; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--accent) !important; }
.btn-nav-login { background: var(--primary); color: white !important; border-radius: var(--radius-full) !important; padding: .4rem 1.2rem !important; font-weight: 600; }
.btn-nav-login:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-nav-register { background: var(--accent); color: white !important; border-radius: var(--radius-full) !important; padding: .4rem 1.2rem !important; font-weight: 600; }
.btn-nav-register:hover { background: var(--accent-dark); transform: translateY(-1px); }
.notification-bell { position: relative; color: white !important; }
.notification-bell .badge-count { position: absolute; top: -4px; right: -4px; background: var(--danger); color: white; font-size: .6rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.dark-toggle-btn { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: white !important; border-radius: var(--radius-full); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.dark-toggle-btn:hover { background: rgba(255,255,255,.2); }

/* ── Hero Section ──────────────────────────────────────────────── */
.hero-section { min-height: 100vh; background: linear-gradient(135deg, #0c1e3c 0%, #0ea5e9 50%, #0c1e3c 100%); position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900'%3E%3Cpath fill='rgba(255,255,255,0.03)' d='M0,300L60,320C120,340,240,380,360,400C480,420,600,420,720,380C840,340,960,260,1080,260C1200,260,1320,340,1380,380L1440,420L1440,900L1380,900C1320,900,1200,900,1080,900C960,900,840,900,720,900C600,900,480,900,360,900C240,900,120,900,60,900L0,900Z'/%3E%3C/svg%3E") no-repeat bottom; background-size: cover; }
.hero-content { position: relative; z-index: 2; color: white; text-align: center; padding: 6rem 0 2rem; }
.hero-tagline { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero-tagline span { color: var(--accent); }
.hero-subtitle { font-size: 1.1rem; opacity: .85; max-width: 560px; margin: 0 auto 2rem; }
.hero-stats { display: flex; gap: 2rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.hero-stat .label { font-size: .8rem; opacity: .75; }
.hero-plane-icon { position: absolute; right: 5%; top: 50%; transform: translateY(-50%) rotate(-20deg); font-size: 12rem; color: rgba(255,255,255,.04); pointer-events: none; animation: planePulse 4s ease-in-out infinite; }
@keyframes planePulse { 0%,100% { opacity:.04; transform: translateY(-50%) rotate(-20deg) scale(1); } 50% { opacity:.08; transform: translateY(-55%) rotate(-22deg) scale(1.05); } }

/* ── Flight Search Panel ────────────────────────────────────────── */
.search-panel { background: rgba(255,255,255,.12); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-xl); margin-top: 2rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.search-panel .form-label { color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.search-panel .form-control, .search-panel .form-select { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: white; border-radius: var(--radius); padding: .7rem 1rem; font-size: .95rem; transition: var(--transition); }
.search-panel .form-control::placeholder { color: rgba(255,255,255,.55); }
.search-panel .form-control:focus, .search-panel .form-select:focus { background: rgba(255,255,255,.22); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,.25); color: white; outline: none; }
.search-panel .form-select option { background: var(--navy); color: white; }
.trip-toggle { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.trip-toggle label { cursor: pointer; flex: 1; text-align: center; padding: .5rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 500; transition: var(--transition); }
.trip-toggle input[type=radio] { display: none; }
.trip-toggle input[type=radio]:checked + label { background: var(--accent); border-color: var(--accent); color: white; font-weight: 700; }
.swap-btn { background: var(--accent); color: white; border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); margin: auto; align-self: flex-end; flex-shrink: 0; }
.swap-btn:hover { background: var(--accent-dark); transform: rotate(180deg); }
.passenger-stepper { display: flex; align-items: center; gap: .5rem; }
.passenger-stepper button { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); color: white; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.passenger-stepper button:hover { background: var(--accent); border-color: var(--accent); }
.passenger-stepper input { text-align: center; width: 50px; font-weight: 700; font-size: 1rem; background: rgba(255,255,255,.2) !important; border: 1px solid rgba(255,255,255,.35) !important; color: white !important; -webkit-text-fill-color: white !important; border-radius: var(--radius); opacity: 1 !important; }
.btn-search-flight { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: white; border: none; border-radius: var(--radius); padding: .85rem 2rem; font-size: 1rem; font-weight: 700; cursor: pointer; width: 100%; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 4px 15px rgba(245,158,11,.4); }
.btn-search-flight:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,.5); }

/* ── Sections ───────────────────────────────────────────────────── */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { display: inline-block; color: var(--primary); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; padding: .3rem .8rem; background: var(--primary-light); border-radius: var(--radius-full); }
[data-theme="dark"] .section-label { background: rgba(14,165,233,.15); }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card-airline { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); overflow: hidden; }
.card-airline:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary-light); }

/* ── Flight Card ────────────────────────────────────────────────── */
.flight-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1rem; transition: var(--transition); box-shadow: var(--shadow-sm); }
.flight-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: translateY(-2px); }
.flight-card .airline-name { font-weight: 700; font-size: .95rem; color: var(--text); display: flex; align-items: center; gap: .5rem; }
.flight-card .flight-number { font-size: .8rem; color: var(--text-muted); }
.flight-card .time-block { text-align: center; }
.flight-card .time { font-size: 1.5rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
[data-theme="dark"] .flight-card .time { color: var(--primary); }
.flight-card .airport-code { font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.flight-card .duration-line { display: flex; align-items: center; gap: .5rem; color: var(--text-muted); font-size: .8rem; flex: 1; }
.flight-card .duration-line::before, .flight-card .duration-line::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.flight-card .duration-line .plane-icon { color: var(--primary); font-size: 1.1rem; }
.flight-card .price-block { text-align: right; }
.flight-card .price-label { font-size: .75rem; color: var(--text-muted); }
.flight-card .price-amount { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.flight-card .price-per { font-size: .75rem; color: var(--text-muted); }
.flight-card .seats-left { font-size: .75rem; color: var(--warning); font-weight: 600; }
.btn-select-flight { background: var(--primary); color: white; border: none; border-radius: var(--radius); padding: .6rem 1.4rem; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.btn-select-flight:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,165,233,.35); color: white; }

/* ── Filter Sidebar ─────────────────────────────────────────────── */
.filter-sidebar { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 80px; }
.filter-sidebar h6 { font-weight: 700; color: var(--navy); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
[data-theme="dark"] .filter-sidebar h6 { color: var(--primary); }

/* ── Search Summary ─────────────────────────────────────────────── */
.search-summary { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: white; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.search-summary .route { font-size: 1.3rem; font-weight: 800; }
.search-summary .details { font-size: .85rem; opacity: .8; }

/* ── Seat Map ───────────────────────────────────────────────────── */
.seat-map-container { max-width: 540px; margin: 0 auto; user-select: none; }
.seat-map-aircraft { background: var(--surface); border-radius: var(--radius-xl); padding: 1.5rem; border: 2px solid var(--border); box-shadow: var(--shadow-md); }
.seat-map-nose { text-align: center; font-size: 3rem; color: var(--gray-400); margin-bottom: 1rem; line-height: 1; }
.seat-class-section { margin-bottom: 1.5rem; text-align: center; }
.seat-class-label { text-align: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .8rem; border-radius: var(--radius-full); margin-bottom: .75rem; display: inline-block; }
.seat-class-label.first-class  { background:#fef3c7; color:#92400e; }
.seat-class-label.business     { background:#dbeafe; color:#1e40af; }
.seat-class-label.economy      { background:#dcfce7; color:#166534; }
.seat-row { display: flex; align-items: center; justify-content: center; gap: .3rem; margin-bottom: .3rem; }
.row-num { width: 22px; text-align: center; font-size: .7rem; color: var(--text-muted); font-weight: 600; flex-shrink: 0; }
.aisle-space { width: 20px; }
.seat { width: 34px; height: 34px; border-radius: 6px 6px 4px 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; border: 2px solid; transition: var(--transition); position: relative; }
.seat::before { content: ''; position: absolute; top: -5px; left: 3px; right: 3px; height: 5px; border-radius: 3px 3px 0 0; background: inherit; opacity: .7; }
.seat.available { background: #dcfce7; border-color: #16a34a; color: #166534; }
.seat.available:hover { background: #10b981; border-color: #059669; color: white; transform: scale(1.1); box-shadow: 0 4px 8px rgba(16,185,129,.4); }
.seat.reserved { background: #fee2e2; border-color: #dc2626; color: #991b1b; cursor: not-allowed; }
.seat.selected { background: var(--primary); border-color: var(--primary-dark); color: white; transform: scale(1.1); box-shadow: 0 4px 10px rgba(14,165,233,.5); }
.seat.disabled { background: var(--gray-200); border-color: var(--gray-300); color: var(--gray-400); cursor: not-allowed; }
.seat.first-class-seat.available  { background:#fef3c7; border-color:#d97706; color:#92400e; }
.seat.first-class-seat.available:hover { background:#f59e0b; border-color:#d97706; color:white; }
.seat.business-seat.available     { background:#dbeafe; border-color:#2563eb; color:#1e40af; }
.seat.business-seat.available:hover { background:#3b82f6; border-color:#1d4ed8; color:white; }
.seat-legend { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; font-size: .8rem; }
.legend-item { display: flex; align-items: center; gap: .4rem; }
.legend-box { width: 18px; height: 18px; border-radius: 4px; border: 2px solid; }
.legend-box.available  { background:#dcfce7; border-color:#16a34a; }
.legend-box.reserved   { background:#fee2e2; border-color:#dc2626; }
.legend-box.selected   { background:var(--primary); border-color:var(--primary-dark); }
.legend-box.disabled   { background:var(--gray-200); border-color:var(--gray-300); }
.selected-seats-display { background: var(--primary-light); border: 1px solid var(--primary); border-radius: var(--radius); padding: .75rem 1rem; margin-top: 1rem; font-size: .9rem; color: var(--navy); min-height: 44px; }
[data-theme="dark"] .selected-seats-display { background: rgba(14,165,233,.15); border-color: var(--primary); color: var(--primary-light); }

/* ── Booking Steps ──────────────────────────────────────────────── */
.booking-steps { display: flex; align-items: flex-start; justify-content: center; margin-bottom: 2rem; }
.booking-step { display: flex; align-items: center; flex-direction: column; flex: 1; text-align: center; }
.step-circle { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--border); background: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; color: var(--text-muted); position: relative; z-index: 1; transition: var(--transition); }
.booking-step.active .step-circle, .booking-step.done .step-circle { background: var(--primary); border-color: var(--primary); color: white; }
.step-label { font-size: .75rem; color: var(--text-muted); margin-top: .4rem; font-weight: 500; }
.booking-step.active .step-label { color: var(--primary); font-weight: 700; }
.step-connector { flex: 1; height: 3px; background: var(--border); margin-top: 1.3rem; }
.step-connector.done { background: var(--primary); }

/* ── Boarding Pass / Ticket ─────────────────────────────────────── */
.boarding-pass { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; max-width: 700px; margin: 0 auto; }
.bp-header { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: white; padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.bp-airline-logo { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; font-weight: 800; }
.bp-logo-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.bp-type-badge { background: var(--accent); color: var(--navy); font-size: .7rem; font-weight: 800; padding: .3rem .8rem; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .1em; }
.bp-body { padding: 2rem; background: white; }
.bp-route { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.bp-city { text-align: center; flex: 1; }
.bp-code { font-size: 3rem; font-weight: 900; color: var(--navy); line-height: 1; }
.bp-city-name { font-size: .8rem; color: var(--gray-500); margin-top: .25rem; }
.bp-arrow { display: flex; flex-direction: column; align-items: center; gap: .25rem; flex: 1; }
.bp-arrow-line { width: 100%; height: 1px; background: var(--border); position: relative; display: flex; align-items: center; justify-content: center; }
.bp-arrow-plane { font-size: 1.5rem; color: var(--primary); background: white; padding: 0 .5rem; }
.bp-arrow-duration { font-size: .75rem; color: var(--text-muted); }
.bp-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; background: var(--gray-50); border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem; }
.bp-detail { text-align: center; }
.bp-detail-label { font-size: .65rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .2rem; }
.bp-detail-value { font-size: .95rem; font-weight: 700; color: var(--navy); }
.bp-divider { position: relative; margin: 1.5rem -2rem; border: none; }
.bp-divider::before { content: ''; position: absolute; left: -12px; top: 50%; width: 24px; height: 24px; background: var(--gray-100); border-radius: 50%; border: 2px solid var(--border); transform: translateY(-50%); }
.bp-divider::after { content: ''; position: absolute; right: -12px; top: 50%; width: 24px; height: 24px; background: var(--gray-100); border-radius: 50%; border: 2px solid var(--border); transform: translateY(-50%); }
.bp-divider-line { border-top: 2px dashed var(--border); margin: 0 1rem; }
.bp-footer { background: var(--gray-50); padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bp-ref { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.bp-ref-code { font-size: 1.2rem; font-weight: 900; color: var(--navy); letter-spacing: .05em; font-family: monospace; }
.bp-qr { text-align: center; }
.bp-qr img { width: 100px; height: 100px; border-radius: var(--radius-sm); border: 2px solid var(--border); }

/* ── Confirmation Page ──────────────────────────────────────────── */
.confirmation-icon { width: 100px; height: 100px; background: linear-gradient(135deg, var(--success), #34d399); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: white; margin: 0 auto 1.5rem; box-shadow: 0 8px 25px rgba(16,185,129,.4); animation: scaleIn .5s ease; }
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.booking-ref-display { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: white; border-radius: var(--radius-lg); padding: 1.5rem 2rem; text-align: center; margin: 1.5rem 0; }
.booking-ref-display .ref-label { font-size: .8rem; opacity: .75; text-transform: uppercase; letter-spacing: .1em; }
.booking-ref-display .ref-code { font-size: 2rem; font-weight: 900; letter-spacing: .1em; font-family: monospace; color: var(--accent); }

/* ── My Bookings ────────────────────────────────────────────────── */
.booking-list-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; transition: var(--transition); box-shadow: var(--shadow-sm); border-left: 4px solid transparent; }
.booking-list-card:hover { box-shadow: var(--shadow-md); border-left-color: var(--primary); }
.booking-list-card.status-pending  { border-left-color: var(--warning); }
.booking-list-card.status-confirmed { border-left-color: var(--success); }
.booking-list-card.status-cancelled { border-left-color: var(--danger); }
.booking-list-card.status-completed { border-left-color: var(--gray-400); }

/* ── Route Cards ────────────────────────────────────────────────── */
.route-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.route-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.route-card .route-img { height: 160px; background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.route-card .route-img .route-cities { position: absolute; bottom: 1rem; left: 1rem; color: white; font-weight: 800; font-size: 1.1rem; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.route-card .route-info { padding: 1rem; }
.route-card .route-price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }

/* ── Airport Cards ──────────────────────────────────────────────── */
.airport-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; transition: var(--transition); box-shadow: var(--shadow-sm); }
.airport-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary); }
.airport-card .airport-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; margin: 0 auto 1rem; }
.airport-card .airport-code { font-size: 1.3rem; font-weight: 900; color: var(--navy); font-family: monospace; }
[data-theme="dark"] .airport-card .airport-code { color: var(--primary); }
.airport-card .airport-name { font-size: .85rem; color: var(--text-muted); }

/* ── Feature Cards ──────────────────────────────────────────────── */
.feature-card { text-align: center; padding: 2rem 1.5rem; }
.feature-icon { width: 70px; height: 70px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.25rem; }
.feature-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.feature-icon.green  { background: #dcfce7; color: #16a34a; }
.feature-icon.amber  { background: #fef3c7; color: #d97706; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }

/* ── Payment Methods ────────────────────────────────────────────── */
.payment-method-card { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; cursor: pointer; transition: var(--transition); }
.payment-method-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.payment-method-card.selected { border-color: var(--primary); background: rgba(14,165,233,.05); box-shadow: 0 0 0 4px rgba(14,165,233,.15); }
.payment-method-card input[type=radio] { display: none; }
.payment-method-icon { font-size: 2rem; margin-bottom: .75rem; }
.payment-method-name { font-weight: 700; font-size: .95rem; }
.payment-details-panel { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 1rem; }
.payment-account-item { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.payment-account-item:last-child { border-bottom: none; }
.payment-account-item .label { color: var(--text-muted); }
.payment-account-item .value { font-weight: 700; color: var(--navy); font-family: monospace; }

/* ── Announcements ──────────────────────────────────────────────── */
.announcement-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; border-left: 4px solid var(--primary); transition: var(--transition); }
.announcement-card.type-advisory      { border-left-color: var(--warning); }
.announcement-card.type-delay         { border-left-color: var(--warning); }
.announcement-card.type-cancellation  { border-left-color: var(--danger); }
.announcement-card.type-weather       { border-left-color: #6366f1; }
.announcement-card.type-promo         { border-left-color: var(--success); }
.announcement-card:hover { box-shadow: var(--shadow); }

/* ── Auth Pages ─────────────────────────────────────────────────── */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 50%, var(--navy) 100%); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-card { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; width: 100%; max-width: 480px; }
.auth-card-header { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: white; padding: 2rem; text-align: center; }
.auth-card-header .auth-logo { width: 64px; height: 64px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1rem; }
.auth-card-body { padding: 2rem; }

/* ── Admin Layout ───────────────────────────────────────────────── */
.admin-wrapper { display: flex; min-height: 100vh; background: var(--gray-100); }
.admin-sidebar { width: 260px; background: var(--navy); color: white; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 1040; transition: transform .3s ease; }
.admin-sidebar.collapsed { transform: translateX(-260px); }
.sidebar-brand { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: .75rem; }
.sidebar-brand .brand-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.sidebar-brand-text { font-size: .95rem; font-weight: 700; line-height: 1.2; }
.sidebar-brand-sub { font-size: .65rem; opacity: .6; font-weight: 400; }
.sidebar-admin-profile { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: .75rem; }
.admin-avatar { width: 38px; height: 38px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.admin-info-name { font-size: .85rem; font-weight: 600; }
.admin-info-role { font-size: .7rem; opacity: .6; }
.sidebar-nav { padding: 1rem 0; flex: 1; }
.nav-group-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); padding: .75rem 1.5rem .25rem; }
.sidebar-nav .nav-link { display: flex; align-items: center; gap: .75rem; padding: .65rem 1.5rem; color: rgba(255,255,255,.75); font-size: .875rem; font-weight: 500; border-radius: 0; transition: var(--transition); border-left: 3px solid transparent; }
.sidebar-nav .nav-link:hover { color: white; background: rgba(255,255,255,.08); border-left-color: var(--primary); }
.sidebar-nav .nav-link.active { color: white; background: rgba(14,165,233,.2); border-left-color: var(--primary); font-weight: 600; }
.sidebar-nav .nav-link i { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-badge { margin-left: auto; background: var(--danger); color: white; font-size: .65rem; padding: .15rem .4rem; border-radius: var(--radius-full); font-weight: 700; }
.admin-main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; transition: margin-left .3s; }
.admin-main.expanded { margin-left: 0; }
.admin-topbar { background: white; border-bottom: 1px solid var(--border); padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1030; box-shadow: var(--shadow-sm); }
.topbar-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.topbar-actions { display: flex; align-items: center; gap: 1rem; }
.topbar-badge { background: var(--danger); color: white; font-size: .65rem; padding: .15rem .45rem; border-radius: var(--radius-full); position: absolute; top: 0; right: 0; font-weight: 700; }
.admin-content { padding: 1.5rem; flex: 1; }

/* ── Stat Cards ─────────────────────────────────────────────────── */
.stat-card { background: white; border-radius: var(--radius-lg); padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-icon.primary { background:#dbeafe; color:#1d4ed8; }
.stat-icon.success { background:#dcfce7; color:#16a34a; }
.stat-icon.warning { background:#fef3c7; color:#d97706; }
.stat-icon.danger  { background:#fee2e2; color:#dc2626; }
.stat-icon.purple  { background:#ede9fe; color:#7c3aed; }
.stat-icon.info    { background:#e0f2fe; color:#0369a1; }
.stat-info .stat-value { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: .25rem; }
.stat-info .stat-label { font-size: .8rem; color: var(--text-muted); }
.stat-trend { font-size: .75rem; margin-top: .4rem; }
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ── Data Tables ────────────────────────────────────────────────── */
.data-table { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.data-table .table { margin: 0; }
.data-table .table thead th { background: var(--gray-50); border-bottom: 2px solid var(--border); color: var(--navy); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .85rem 1rem; white-space: nowrap; }
.data-table .table tbody td { padding: .85rem 1rem; vertical-align: middle; font-size: .875rem; border-bottom: 1px solid var(--border); color: var(--text); }
.data-table .table tbody tr:last-child td { border-bottom: none; }
.data-table .table tbody tr:hover { background: var(--gray-50); }
.table-card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.table-card-header h6 { font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0; }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,.2); }
.form-label { font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: .35rem; }
.form-text { font-size: .78rem; color: var(--text-muted); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary { background: var(--primary); border-color: var(--primary); font-weight: 600; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: white; font-weight: 600; }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: white; }
.btn-amber { background: var(--accent); border-color: var(--accent); color: white; font-weight: 600; }
.btn-amber:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: white; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }

/* ── Toast Notifications ────────────────────────────────────────── */
#toastContainer { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99999; display: flex; flex-direction: column; gap: .5rem; max-width: 340px; }
.toast-item { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: .75rem; border-left: 4px solid var(--primary); animation: slideInRight .4s ease; transition: var(--transition); }
.toast-item.success { border-left-color: var(--success); }
.toast-item.danger  { border-left-color: var(--danger); }
.toast-item.warning { border-left-color: var(--warning); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }
.toast-item.success .toast-icon { color: var(--success); }
.toast-item.danger  .toast-icon { color: var(--danger); }
.toast-item.warning .toast-icon { color: var(--warning); }
.toast-item.info    .toast-icon { color: var(--primary); }
.toast-content .toast-title { font-weight: 700; font-size: .875rem; margin-bottom: .15rem; color: var(--navy); }
.toast-content .toast-msg { font-size: .8rem; color: var(--text-muted); }
.toast-close { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 1rem; padding: 0; line-height: 1; flex-shrink: 0; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Back to Top ────────────────────────────────────────────────── */
#backToTop { position: fixed; bottom: 6rem; right: 1.5rem; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-md); transition: var(--transition); opacity: 0; pointer-events: none; z-index: 1000; }
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 4rem 0 0; }
.footer-brand { font-size: 1.3rem; font-weight: 800; color: white; display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.footer-brand .brand-icon { width: 38px; height: 38px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.footer-desc { font-size: .85rem; line-height: 1.7; opacity: .75; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.1); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); border: 1px solid rgba(255,255,255,.15); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer-heading { color: white; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .85rem; transition: var(--transition); display: flex; align-items: center; gap: .4rem; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: .75rem; }
.footer-contact-item i { color: var(--primary); margin-top: .1rem; flex-shrink: 0; }
.footer-bottom { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ── Chart Card ─────────────────────────────────────────────────── */
.chart-card { background: white; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.chart-card canvas { max-height: 300px; }

/* ── Proof Upload ────────────────────────────────────────────────── */
.proof-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; cursor: pointer; transition: var(--transition); background: var(--surface); }
.proof-upload-zone:hover, .proof-upload-zone.drag-over { border-color: var(--primary); background: rgba(14,165,233,.04); }
.proof-upload-zone .upload-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: .75rem; }

/* ── Page Hero ─────────────────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: white; padding: 5rem 0 3rem; text-align: center; }
.page-hero h1 { color: white; }
.page-hero p  { opacity: .8; }

/* ── Utilities ─────────────────────────────────────────────────── */
.text-primary-custom { color: var(--primary) !important; }
.text-navy { color: var(--navy) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-accent { background: var(--accent) !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.divider-text { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); font-size: .8rem; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 4rem; margin-bottom: 1rem; opacity: .4; }
.empty-state h5 { color: var(--text); }
.modal-content { border-radius: var(--radius-xl); border: none; }
.modal-header { border-bottom: 1px solid var(--border); }
.modal-footer { border-top: 1px solid var(--border); }
.badge { font-size: .75rem; padding: .35em .6em; border-radius: var(--radius-sm); }
.nav-tabs .nav-link { color: var(--text-muted); font-weight: 500; border: none; padding: .65rem 1.2rem; border-bottom: 2px solid transparent; border-radius: 0; }
.nav-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); background: transparent; font-weight: 700; }
.nav-tabs .nav-link:hover { color: var(--primary); border-bottom-color: var(--primary-light); }
.alert { border-radius: var(--radius); font-size: .9rem; }
.card { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.card-header { background: var(--gray-50); border-bottom: 1px solid var(--border); font-weight: 700; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-260px); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1039; display: none; }
  .admin-sidebar-overlay.show { display: block; }
}
@media (max-width: 767.98px) {
  .hero-tagline { font-size: 1.8rem; }
  .search-panel { padding: 1.25rem; }
  .bp-code { font-size: 2rem; }
  .bp-body, .bp-header, .bp-footer { padding: 1.25rem; }
  .stat-card { flex-direction: column; }
  .step-label { display: none; }
  .admin-content { padding: 1rem; }
  .data-table { overflow-x: auto; }
}
@media (max-width: 575.98px) {
  .hero-stats { gap: 1rem; }
  .seat { width: 28px; height: 28px; font-size: .55rem; }
  .flight-card .time { font-size: 1.1rem; }
}

/* ── Print Styles ────────────────────────────────────────────────── */
@media print {
  #mainNavbar, .site-footer, .print-controls, .admin-sidebar, .admin-topbar, #backToTop, #toastContainer, #preloader { display: none !important; }
  body { background: white !important; }
  .boarding-pass { box-shadow: none !important; }
  .admin-main { margin: 0 !important; }
  .admin-content { padding: 0 !important; }
}

/* ── Dark Mode Overrides ─────────────────────────────────────────── */
[data-theme="dark"] .auth-card { background: #1e293b; }
[data-theme="dark"] .auth-card-body .form-control,
[data-theme="dark"] .auth-card-body .form-select { background: #0f172a; border-color: #334155; color: #e2e8f0; }
[data-theme="dark"] .admin-topbar { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .stat-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .data-table { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .data-table .table thead th { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .data-table .table tbody td { border-color: #334155; }
[data-theme="dark"] .data-table .table tbody tr:hover { background: #0f172a; }
[data-theme="dark"] .flight-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .filter-sidebar { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .boarding-pass { background: #1e293b; }
[data-theme="dark"] .bp-body { background: #1e293b; }
[data-theme="dark"] .bp-footer { background: #0f172a; }
[data-theme="dark"] .bp-details-grid { background: #0f172a; }
[data-theme="dark"] .bp-code { color: var(--primary); }
[data-theme="dark"] .bp-detail-value { color: var(--primary-light); }
[data-theme="dark"] .chart-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .toast-item { background: #1e293b; }
[data-theme="dark"] .toast-content .toast-title { color: #e2e8f0; }
[data-theme="dark"] .form-control, [data-theme="dark"] .form-select { background: #1e293b; border-color: #334155; color: #e2e8f0; }
[data-theme="dark"] .modal-content { background: #1e293b; }
[data-theme="dark"] .modal-header { border-color: #334155; }
[data-theme="dark"] .modal-footer { border-color: #334155; }
[data-theme="dark"] .card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .card-header { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .seat-map-aircraft { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .payment-method-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .payment-method-card.selected { background: rgba(14,165,233,.1); }
[data-theme="dark"] .payment-details-panel { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .booking-list-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .route-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .airport-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .announcement-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3,
[data-theme="dark"] h4,[data-theme="dark"] h5,[data-theme="dark"] h6 { color: #e2e8f0; }
[data-theme="dark"] .stat-info .stat-value { color: var(--primary-light); }
[data-theme="dark"] .table-card-header h6 { color: var(--primary-light); }
[data-theme="dark"] .topbar-title { color: var(--primary-light); }
[data-theme="dark"] .proof-upload-zone { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .filter-sidebar h6 { color: var(--primary); }
