/* ==========================================================================
   Pediservisya Demo — Hoja de estilos principal
   Paleta: azul #3b82f6 (primario) · violeta #8b5cf6 (secundario)
   Acentos: esmeralda #10b981 · ámbar #f59e0b · rojo #ef4444
   Fuente: Inter (Google Fonts)
   ========================================================================== */

:root {
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --secondary: #8b5cf6;
  --secondary-600: #7c3aed;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-soft: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);

  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);

  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--gray-900); font-weight: 700; line-height: 1.25; }

a { color: var(--primary-600); text-decoration: none; }
a:hover { color: var(--primary-700); }

img { max-width: 100%; }

/* ---------- Utilidades de color ---------- */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--gray-500) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-soft { background: var(--gray-50) !important; }
.bg-gradient-soft { background: var(--gradient-soft) !important; }

/* ---------- Botones (compatibles Bootstrap pero más ricos) ---------- */
.btn {
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:disabled, .btn.disabled { opacity: .6; cursor: not-allowed; }

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover { background-color: var(--primary-600); border-color: var(--primary-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-gradient {
  background: var(--gradient-primary);
  border: none;
  color: #fff;
}
.btn-gradient:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline-primary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary-600);
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--gray-600);
  padding: 0.4rem 0.8rem;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }

.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #0f9268; color: #fff; }
.btn-warning { background: var(--warning); border-color: var(--warning); color: #fff; }
.btn-warning:hover { background: #d99109; color: #fff; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }

.btn-sm { padding: .35rem .75rem; font-size: .8rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
}
.badge.bg-primary { background: var(--primary) !important; color: #fff; }
.badge.bg-secondary { background: var(--secondary) !important; color: #fff; }
.badge.bg-success { background: var(--success) !important; color: #fff; }
.badge.bg-warning { background: var(--warning) !important; color: #fff; }
.badge.bg-danger { background: var(--danger) !important; color: #fff; }
.badge.bg-info { background: var(--info) !important; color: #fff; }
.badge.bg-light { background: var(--gray-100) !important; color: var(--gray-600); }
.badge-outline {
  background: transparent;
  border: 1px solid currentColor;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-hover { transition: transform .2s, box-shadow .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.25rem 1.5rem; }
.card-header {
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
}
.card-footer {
  padding: .75rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

/* ---------- StatCard ---------- */
.stat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.stat-card .stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-card .stat-value { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.stat-card .stat-label { color: var(--gray-500); font-size: .85rem; margin-top: .2rem; }
.stat-card .stat-trend { font-size: .78rem; font-weight: 600; margin-top: .25rem; }
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ---------- Rating stars ---------- */
.rating-stars { color: var(--warning); font-size: 1rem; letter-spacing: 1px; }
.rating-stars .star-empty { color: var(--gray-300); }
.rating-stars.interactive .star { cursor: pointer; }

/* ---------- Chips / Filtros ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: .4rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.chip:hover { background: var(--gray-200); }
.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- Avatar ---------- */
.avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--gray-200);
  flex-shrink: 0;
}
.avatar-sm { width: 2rem; height: 2rem; }
.avatar-md { width: 3rem; height: 3rem; }
.avatar-lg { width: 5rem; height: 5rem; }
.avatar-xl { width: 7rem; height: 7rem; }

/* ---------- Tablas ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
.table th { background: var(--gray-50); color: var(--gray-600); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.table tbody tr:hover { background: var(--gray-50); }

/* ---------- Form controls ---------- */
.form-control, .form-select {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--gray-800);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--gray-700); margin-bottom: .35rem; }
.form-text { font-size: .8rem; color: var(--gray-500); }
.form-error { font-size: .8rem; color: var(--danger); margin-top: .25rem; }
.is-invalid { border-color: var(--danger) !important; }

/* ---------- Toggle switch ---------- */
.toggle {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1.5rem;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider {
  position: absolute;
  inset: 0;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  transition: .2s;
  cursor: pointer;
}
.toggle .slider::before {
  content: '';
  position: absolute;
  height: 1.15rem;
  width: 1.15rem;
  left: .18rem;
  bottom: .18rem;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: var(--shadow-sm);
}
.toggle input:checked + .slider { background: var(--primary); }
.toggle input:checked + .slider::before { transform: translateX(1.25rem); }

/* ---------- Progress ---------- */
.progress {
  height: .5rem;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar {
  background: var(--gradient-primary);
  height: 100%;
  border-radius: var(--radius-full);
  transition: width .3s ease;
}
.progress-bar.bg-success { background: var(--success) !important; }
.progress-bar.bg-warning { background: var(--warning) !important; }
.progress-bar.bg-danger { background: var(--danger) !important; }

/* ---------- Navbar pública ---------- */
.navbar-demo {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-demo .nav-link {
  color: var(--gray-600);
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.navbar-demo .nav-link:hover { color: var(--primary-600); background: var(--gray-50); }

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}
.logo-mark img { height: 2rem; width: auto; }
.logo-mark .logo-icon { width: 2.2rem; height: 2.2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--gradient-primary);
  color: #fff;
  padding: 4.5rem 0 7rem;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.hero p { color: rgba(255,255,255,.9); }

.search-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  color: var(--gray-700);
}

/* ---------- ProfessionalCard ---------- */
.professional-card { transition: transform .2s, box-shadow .2s; }
.professional-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.professional-card .pc-body { padding: 1.1rem 1.25rem; }
.professional-card .pc-name { font-weight: 700; color: var(--gray-900); font-size: 1.05rem; }
.professional-card .pc-title { color: var(--gray-500); font-size: .85rem; }
.professional-card .pc-stats { color: var(--gray-500); font-size: .8rem; display: flex; gap: 1rem; }

/* ---------- Dashboard layout ---------- */
.dashboard-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.dashboard-sidebar {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--gray-800);
  margin-bottom: .75rem;
}
.sidebar-brand img { height: 1.8rem; }
.sidebar-nav .nav-item-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.25rem;
  color: var(--gray-400);
  font-size: .92rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.sidebar-nav .nav-item-link:hover { background: var(--gray-800); color: #fff; }
.sidebar-nav .nav-item-link.active {
  background: rgba(59,130,246,.12);
  color: #fff;
  border-left-color: var(--primary);
}
.sidebar-nav .nav-item-link .badge { margin-left: auto; }
.sidebar-section { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); padding: 1rem 1.25rem .25rem; font-weight: 700; }
.sidebar-footer {
  margin-top: auto;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-800);
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gray-300);
  font-size: .85rem;
}
.dashboard-main { background: var(--gray-50); display: flex; flex-direction: column; min-width: 0; }
.dashboard-topbar {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
.dashboard-topbar .topbar-title { font-weight: 700; color: var(--gray-900); }
.dashboard-topbar .topbar-search {
  margin-left: auto;
  width: 280px;
  max-width: 40vw;
}
.dashboard-content { padding: 1.75rem; flex: 1; }

/* ---------- Iconos redondos con color de fondo ---------- */
.icon-pill {
  width: 2.2rem; height: 2.2rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  font-size: 1rem;
}
.icon-pill.bg-primary-soft { background: rgba(59,130,246,.12); color: var(--primary); }
.icon-pill.bg-secondary-soft { background: rgba(139,92,246,.12); color: var(--secondary); }
.icon-pill.bg-success-soft { background: rgba(16,185,129,.12); color: var(--success); }
.icon-pill.bg-warning-soft { background: rgba(245,158,11,.12); color: var(--warning); }
.icon-pill.bg-danger-soft { background: rgba(239,68,68,.12); color: var(--danger); }
.icon-pill.bg-info-soft { background: rgba(6,182,212,.12); color: var(--info); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--gray-500); }
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.25rem;
  height: 3.25rem;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: transform .2s;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Toast (demo) ---------- */
.toast-demo {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: #fff;
  padding: .8rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .2s;
}
.toast-demo.show { opacity: 1; }

/* ---------- Footer público ---------- */
.footer-demo { background: var(--gray-900); color: var(--gray-400); padding: 3rem 0 1.5rem; }
.footer-demo h6 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.footer-demo a { color: var(--gray-400); }
.footer-demo a:hover { color: #fff; }
.footer-demo .footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 1.25rem; margin-top: 2rem; font-size: .82rem; }

/* ---------- Tabs demo (sin Bootstrap JS) ---------- */
.demo-tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--gray-200); margin-bottom: 1.5rem; flex-wrap: wrap; }
.demo-tabs .demo-tab {
  padding: .65rem 1.1rem;
  font-weight: 600;
  color: var(--gray-500);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: .92rem;
}
.demo-tabs .demo-tab:hover { color: var(--primary-600); }
.demo-tabs .demo-tab.active { color: var(--primary-600); border-bottom-color: var(--primary); }

/* ---------- Responsive sidebar ---------- */
.sidebar-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 40;
}
.sidebar-toggle {
  display: none;
  background: none; border: none; font-size: 1.4rem; color: var(--gray-600); cursor: pointer;
}
@media (max-width: 991.98px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 260px;
    transform: translateX(-100%);
    transition: transform .2s;
    z-index: 50;
  }
  .dashboard-sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: inline-block; }
}

/* ---------- Grid helpers ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
.container-fluid { padding: 0 1rem; }
@media (min-width: 576px) { .container { padding: 0 1.5rem; } }

/* ---------- Demo index (indice navegable) ---------- */
.demo-index-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .15s, box-shadow .15s;
  color: var(--gray-700);
}
.demo-index-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--primary-600); }
.demo-index-card .di-icon {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  color: var(--primary);
  margin-bottom: .75rem;
}
.demo-index-card h6 { margin: 0 0 .25rem; color: var(--gray-900); font-size: .95rem; }
.demo-index-card small { color: var(--gray-500); }

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Dark mode (prefers-color-scheme) ---------- */
@media (prefers-color-scheme: dark) {
  html:not([data-bs-theme="light"]) {
    --gray-50: #1a1a2e;
    --gray-100: #16213e;
    --gray-200: #0f3460;
    --gray-300: #533483;
    --gray-400: #a0a0b0;
    --gray-500: #8892a0;
    --gray-600: #c0c0d0;
    --gray-700: #e0e0e8;
    --gray-800: #f0f0f5;
    --gray-900: #ffffff;
    --white: #0d1117;
  }
  html:not([data-bs-theme="light"]) body { background: #0d1117; color: #e6edf3; }
  html:not([data-bs-theme="light"]) .card { background: #161b22; border-color: #30363d; }
  html:not([data-bs-theme="light"]) .card-header { background: #1c2128; border-color: #30363d; }
  html:not([data-bs-theme="light"]) .navbar-demo { background: rgba(13,17,23,.95); border-color: #30363d; }
  html:not([data-bs-theme="light"]) .dashboard-sidebar { background: #0d1117; }
  html:not([data-bs-theme="light"]) .dashboard-main { background: #161b22; }
  html:not([data-bs-theme="light"]) .dashboard-topbar { background: #161b22; border-color: #30363d; }
  html:not([data-bs-theme="light"]) .form-control, html:not([data-bs-theme="light"]) .form-select { background: #0d1117; border-color: #30363d; color: #e6edf3; }
  html:not([data-bs-theme="light"]) .table th { background: #1c2128; }
  html:not([data-bs-theme="light"]) .footer-demo { background: #0d1117; }
  html:not([data-bs-theme="light"]) .search-card { background: #161b22; }
  html:not([data-bs-theme="light"]) .hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
}

/* ---------- Dark mode (manual toggle via data-bs-theme) ---------- */
html[data-bs-theme="dark"] {
  --gray-50: #1a1a2e;
  --gray-100: #16213e;
  --gray-200: #0f3460;
  --gray-300: #533483;
  --gray-400: #a0a0b0;
  --gray-500: #8892a0;
  --gray-600: #c0c0d0;
  --gray-700: #e0e0e8;
  --gray-800: #f0f0f5;
  --gray-900: #ffffff;
  --white: #0d1117;
  background: #0d1117;
  color: #e6edf3;
}
html[data-bs-theme="dark"] body { background: #0d1117; color: #e6edf3; }
html[data-bs-theme="dark"] .card { background: #161b22; border-color: #30363d; }
html[data-bs-theme="dark"] .card-header { background: #1c2128; border-color: #30363d; }
html[data-bs-theme="dark"] .navbar-demo { background: rgba(13,17,23,.95); border-color: #30363d; }
html[data-bs-theme="dark"] .dashboard-sidebar { background: #0d1117; }
html[data-bs-theme="dark"] .dashboard-main { background: #161b22; }
html[data-bs-theme="dark"] .dashboard-topbar { background: #161b22; border-color: #30363d; }
html[data-bs-theme="dark"] .form-control, html[data-bs-theme="dark"] .form-select { background: #0d1117; border-color: #30363d; color: #e6edf3; }
html[data-bs-theme="dark"] .table th { background: #1c2128; }
html[data-bs-theme="dark"] .footer-demo { background: #0d1117; }
html[data-bs-theme="dark"] .search-card { background: #161b22; }
html[data-bs-theme="dark"] .hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }