/* ============================================================
   THEMES — override CSS variables per data-theme attribute
   Base theme (light) uses the defaults in style.css, so no
   rules needed here for "light".
   ============================================================ */

/* ---------- OCEAN ---------- */
[data-theme="ocean"]{
  --brand:#0ea5e9;
  --brand-2:#06b6d4;
  --brand-3:#14b8a6;
  --grad-brand:linear-gradient(135deg,#0ea5e9 0%,#06b6d4 50%,#14b8a6 100%);
  --grad-soft:linear-gradient(135deg,#ecfeff 0%,#f0f9ff 100%);
}

/* ---------- FOREST ---------- */
[data-theme="forest"]{
  --brand:#10b981;
  --brand-2:#059669;
  --brand-3:#047857;
  --grad-brand:linear-gradient(135deg,#10b981 0%,#059669 50%,#047857 100%);
  --grad-soft:linear-gradient(135deg,#ecfdf5 0%,#f0fdfa 100%);
}

/* ---------- SUNSET ---------- */
[data-theme="sunset"]{
  --brand:#f97316;
  --brand-2:#ef4444;
  --brand-3:#ec4899;
  --grad-brand:linear-gradient(135deg,#f97316 0%,#ef4444 50%,#ec4899 100%);
  --grad-soft:linear-gradient(135deg,#fff7ed 0%,#fef2f2 100%);
}

/* ---------- ROYAL ---------- */
[data-theme="royal"]{
  --brand:#7c3aed;
  --brand-2:#8b5cf6;
  --brand-3:#a855f7;
  --grad-brand:linear-gradient(135deg,#7c3aed 0%,#8b5cf6 50%,#a855f7 100%);
  --grad-soft:linear-gradient(135deg,#f5f3ff 0%,#faf5ff 100%);
}

/* ---------- MIDNIGHT (dark) ---------- */
[data-theme="midnight"]{
  --brand:#818cf8;
  --brand-2:#a78bfa;
  --brand-3:#c4b5fd;
  --bg:#0b1020;
  --surface:#131a2b;
  --surface-2:#1a2338;
  --text:#e2e8f0;
  --muted:#94a3b8;
  --border:#27324a;
  --grad-brand:linear-gradient(135deg,#4f46e5 0%,#7c3aed 50%,#a855f7 100%);
  --grad-soft:linear-gradient(135deg,#1a2338 0%,#27324a 100%);
  --shadow:0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-lg:0 25px 60px -20px rgba(0,0,0,.8);
}
[data-theme="midnight"] body{
  background:var(--bg);color:var(--text);
}
[data-theme="midnight"] .card,
[data-theme="midnight"] .table,
[data-theme="midnight"] .booking-group,
[data-theme="midnight"] .ticket,
[data-theme="midnight"] .summary-card,
[data-theme="midnight"] .bus-card,
[data-theme="midnight"] .admin-user-card,
[data-theme="midnight"] .filter-bar,
[data-theme="midnight"] .date-btn{
  background:var(--surface);
  border-color:var(--border);
  color:var(--text);
}
[data-theme="midnight"] .table th{
  background:var(--surface-2);color:#cbd5e1;border-color:var(--border);
}
[data-theme="midnight"] .table td{
  border-color:var(--border);
}
[data-theme="midnight"] input,
[data-theme="midnight"] select,
[data-theme="midnight"] textarea{
  background:var(--surface-2);color:var(--text);border-color:var(--border);
}
[data-theme="midnight"] .bg-body,
[data-theme="midnight"] .track-meta > div,
[data-theme="midnight"] .occ-inner,
[data-theme="midnight"] .prow{
  background:var(--surface-2);border-color:var(--border);
}
[data-theme="midnight"] .nav,
[data-theme="midnight"] .admin-hnav,
[data-theme="midnight"] .admin-nav-shell{
  background:rgba(19,26,43,.92);border-color:var(--border);
}
[data-theme="midnight"] .sf-bottom{border-color:var(--border);color:#64748b}
[data-theme="midnight"] .date-btn.active{background:var(--grad-brand);color:#fff}
[data-theme="midnight"] .hero h1,
[data-theme="midnight"] .hero p{color:#fff}