/* ============================================================
   SISKEU - Main Stylesheet
   Futuristic, Modern, Professional
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Color Palette */
  --primary:        #6366f1;
  --primary-light:  #818cf8;
  --primary-dark:   #4f46e5;
  --secondary:      #06b6d4;
  --accent:         #f59e0b;
  --success:        #10b981;
  --danger:         #ef4444;
  --warning:        #f59e0b;
  --info:           #3b82f6;

  /* Dark Background Palette */
  --bg-base:        #0a0d14;
  --bg-surface:     #111827;
  --bg-elevated:    #1a2234;
  --bg-card:        #1e2a3d;
  --bg-hover:       #243048;

  /* Text */
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;
  --text-inverse:   #0a0d14;

  /* Borders */
  --border:         rgba(99,102,241,.18);
  --border-light:   rgba(255,255,255,.06);

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #6366f1, #8b5cf6);
  --grad-secondary: linear-gradient(135deg, #06b6d4, #3b82f6);
  --grad-success:   linear-gradient(135deg, #10b981, #059669);
  --grad-danger:    linear-gradient(135deg, #ef4444, #dc2626);
  --grad-warning:   linear-gradient(135deg, #f59e0b, #d97706);
  --grad-card:      linear-gradient(145deg, rgba(30,42,61,.9), rgba(17,24,39,.95));

  /* Glow */
  --glow-primary:   0 0 20px rgba(99,102,241,.35);
  --glow-success:   0 0 20px rgba(16,185,129,.35);
  --glow-danger:    0 0 20px rgba(239,68,68,.35);

  /* Sidebar */
  --sidebar-width:  260px;
  --topbar-height:  64px;

  /* Misc */
  --radius:         12px;
  --radius-lg:      18px;
  --radius-sm:      8px;
  --transition:     .25s cubic-bezier(.4,0,.2,1);
  --shadow:         0 4px 24px rgba(0,0,0,.35);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.5);
}

/* ---- Light Theme Override ---- */
[data-theme="light"] {
  --bg-base:        #f1f5f9;
  --bg-surface:     #ffffff;
  --bg-elevated:    #f0f4f8;
  --bg-card:        #ffffff;
  --bg-hover:       #e2e8f0;
  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-inverse:   #ffffff;
  --border:         rgba(15,23,42,.12);
  --border-light:   rgba(15,23,42,.07);
  --grad-card:      linear-gradient(145deg, rgba(255,255,255,.98), rgba(240,244,248,.96));
  --shadow:         0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.12);
}

[data-theme="light"] body {
  background-color: var(--bg-base);
  color: var(--text-primary);
}

[data-theme="light"] .sidebar {
  background: var(--bg-surface);
  border-color: var(--border-light);
}

[data-theme="light"] .sidebar-brand {
  background: linear-gradient(180deg, rgba(99,102,241,.06), transparent);
}

[data-theme="light"] .nav-item { color: #334155; }
[data-theme="light"] .nav-item:hover { background: var(--bg-hover); color: #0f172a; }
[data-theme="light"] .nav-item.active { background: rgba(99,102,241,.1); color: var(--primary-dark); }
[data-theme="light"] .brand-name, [data-theme="light"] .user-name { color: #0f172a; }
[data-theme="light"] .brand-sub, [data-theme="light"] .user-role, [data-theme="light"] .nav-label { color: #94a3b8; }

[data-theme="light"] .topbar {
  background: rgba(255,255,255,.95);
  border-color: var(--border-light);
}

[data-theme="light"] .topbar-btn-icon {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: #334155;
}

[data-theme="light"] .profile-btn {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: #0f172a;
}

[data-theme="light"] .profile-dropdown,
[data-theme="light"] .notif-dropdown {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="light"] .profile-dropdown a { color: #334155; }
[data-theme="light"] .profile-dropdown a:hover { background: var(--bg-hover); color: #0f172a; }

[data-theme="light"] .card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

[data-theme="light"] .card-header { border-color: var(--border-light); }
[data-theme="light"] .card-title { color: #0f172a; }

[data-theme="light"] .data-table th {
  background: var(--bg-elevated);
  color: #64748b;
  border-color: var(--border);
}
[data-theme="light"] .data-table td {
  color: #334155;
  border-color: var(--border-light);
}
[data-theme="light"] .data-table tbody tr:hover td { background: rgba(99,102,241,.03); }

[data-theme="light"] .stat-card {
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="light"] .stat-value { color: #0f172a; }
[data-theme="light"] .stat-label { color: #64748b; }
[data-theme="light"] .stat-sub { color: #475569; }

[data-theme="light"] .form-control,
[data-theme="light"] .form-select,
[data-theme="light"] .form-input {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: #0f172a;
}

[data-theme="light"] .filter-bar {
  background: var(--bg-surface);
  border-color: var(--border-light);
}

[data-theme="light"] .modal-box {
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="light"] .modal-header { background: linear-gradient(135deg,rgba(99,102,241,.04),transparent); }
[data-theme="light"] .modal-title { color: #0f172a; }

[data-theme="light"] .input-group-text {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: #64748b;
}

[data-theme="light"] .btn-secondary {
  background: var(--bg-elevated);
  color: #0f172a;
  border-color: var(--border);
}
[data-theme="light"] .btn-outline {
  color: #334155;
  border-color: var(--border);
}
[data-theme="light"] .btn-outline:hover { color: var(--primary-dark); }

[data-theme="light"] .page-footer { border-color: var(--border-light); color: #64748b; }
[data-theme="light"] .page-header-title { color: #0f172a; }
[data-theme="light"] .page-header-sub { color: #475569; }
[data-theme="light"] .breadcrumb-title { color: #0f172a; }

[data-theme="light"] .mhs-topbar { background: rgba(255,255,255,.97); border-color: var(--border-light); }
[data-theme="light"] .mhs-brand-name { color: #0f172a; }
[data-theme="light"] .mhs-nav a { color: #475569; }
[data-theme="light"] .mhs-nav a.active { background: rgba(99,102,241,.1); color: var(--primary-dark); }
[data-theme="light"] .mhs-user-name { color: #0f172a; }

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 38px; block-size: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-size: .9rem;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary-light); }

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-inline-size: 100%; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { inline-size: 6px; block-size: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   ANIMATED BACKGROUND (particles grid)
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 20% 20%, rgba(99,102,241,.07), transparent),
    radial-gradient(ellipse 600px 400px at 80% 80%, rgba(6,182,212,.05), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-body {
  min-block-size: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.login-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.login-bg-orb:nth-child(1) {
  inline-size: 600px; block-size: 600px;
  background: var(--primary);
  inset-block-start: -200px; inset-inline-start: -200px;
  animation-delay: 0s;
}

.login-bg-orb:nth-child(2) {
  inline-size: 500px; block-size: 500px;
  background: var(--secondary);
  inset-block-end: -200px; inset-inline-end: -100px;
  animation-delay: -3s;
}

.login-bg-orb:nth-child(3) {
  inline-size: 300px; block-size: 300px;
  background: var(--accent);
  inset-block-start: 40%; inset-inline-start: 50%;
  animation-delay: -6s;
  opacity: .12;
}

@keyframes orbFloat {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.15) translateY(-30px); }
}

.login-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.login-card {
  position: relative;
  z-index: 1;
  inline-size: 100%;
  max-inline-size: 440px;
  background: rgba(17,24,39,.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
  animation: slideUp .5s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-block-end: 1.75rem;
}

.login-logo-icon {
  inline-size: 52px; block-size: 52px;
  background: var(--grad-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: var(--glow-primary);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,100% { box-shadow: var(--glow-primary); }
  50%      { box-shadow: 0 0 35px rgba(99,102,241,.6); }
}

.login-logo-text .app-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  letter-spacing: .5px;
}

.login-logo-text .app-inst {
  font-size: .75rem;
  color: var(--text-secondary);
  display: block;
}

.login-title {
  text-align: center;
  margin-block-end: 1.75rem;
}

.login-title h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-block-end: .25rem;
}

.login-title p {
  font-size: .85rem;
  color: var(--text-secondary);
}

/* Tab Switch */
.login-tabs {
  display: flex;
  gap: .5rem;
  background: var(--bg-base);
  border-radius: var(--radius-sm);
  padding: .3rem;
  margin-block-end: 1.75rem;
}

.login-tab {
  flex: 1;
  padding: .55rem;
  text-align: center;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
}

.login-tab.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--glow-primary);
}

/* Form Elements */
.form-group {
  margin-block-end: 1rem;
}

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-block-end: .4rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: .9rem;
  transition: color var(--transition);
  pointer-events: none;
}

.form-control {
  inline-size: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: .9rem;
  padding: .65rem .75rem .65rem 2.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.2);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--primary-light);
}

.form-control.no-icon { padding-inline-start: .75rem; }

.show-password {
  position: absolute;
  inset-inline-end: 12px; inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  background: none; border: none;
}
.show-password:hover { color: var(--primary-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition);
  padding: .65rem 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99,102,241,.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(99,102,241,.5);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--primary);
  color: var(--primary-light);
}

.btn-success {
  background: var(--grad-success);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16,185,129,.3);
}
.btn-success:hover { box-shadow: 0 6px 25px rgba(16,185,129,.5); transform: translateY(-1px); color:#fff; }

.btn-danger {
  background: var(--grad-danger);
  color: #fff;
  box-shadow: 0 4px 15px rgba(239,68,68,.3);
}
.btn-danger:hover { box-shadow: 0 6px 25px rgba(239,68,68,.5); transform: translateY(-1px); color:#fff; }

.btn-warning {
  background: var(--grad-warning);
  color: #fff;
}
.btn-warning:hover { transform:translateY(-1px); color:#fff; }

.btn-sm { padding: .4rem .85rem; font-size: .8rem; }
.btn-lg { padding: .8rem 1.75rem; font-size: 1rem; }

.btn-block { inline-size: 100%; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); }

/* Alert Toast */
.alert-toast {
  position: fixed;
  inset-block-start: 80px; inset-inline-end: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  border-radius: var(--radius);
  min-inline-size: 300px; max-inline-size: 450px;
  animation: slideInRight .4s ease, fadeOut .4s ease 4.6s forwards;
  z-index: 9999;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}

.alert-toast.success {
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
}
.alert-toast.error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  color: #f87171;
}
.alert-toast.warning {
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.3);
  color: #fbbf24;
}
.alert-toast button {
  margin-inline-start: auto; background: none; border: none;
  color: inherit; cursor: pointer; opacity: .7;
}
.alert-toast button:hover { opacity: 1; }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; pointer-events: none; }
}

/* Error Text */
.error-text {
  color: #f87171;
  font-size: .8rem;
  margin-block-start: .3rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-body {
  background: var(--bg-base);
}

/* Sidebar */
.sidebar {
  position: fixed;
  inset-inline-start: 0; inset-block-start: 0; inset-block-end: 0;
  inline-size: var(--sidebar-width);
  background: var(--bg-surface);
  border-inline-end: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1rem;
  border-block-end: 1px solid var(--border-light);
  min-block-size: var(--topbar-height);
  background: linear-gradient(180deg, rgba(99,102,241,.08), transparent);
}

.brand-icon {
  inline-size: 38px; block-size: 38px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--glow-primary);
}

.brand-name { font-size: .95rem; font-weight: 700; color: var(--text-primary); display: block; }
.brand-sub  { font-size: .68rem; color: var(--text-muted); display: block; }

.sidebar-close {
  margin-inline-start: auto;
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  padding: .25rem;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  border-block-end: 1px solid var(--border-light);
  background: rgba(255,255,255,.02);
}

.user-avatar {
  inline-size: 36px; block-size: 36px;
  background: var(--grad-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .875rem;
  color: #fff;
  flex-shrink: 0;
}

.user-name { font-size: .85rem; font-weight: 600; color: var(--text-primary); }
.user-role { font-size: .72rem; color: var(--text-muted); }

.sidebar-nav { padding: .75rem 0 1rem; flex: 1; }

.nav-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  padding: .75rem 1rem .35rem;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  color: var(--text-secondary);
  font-size: .87rem;
  font-weight: 500;
  transition: all var(--transition);
  border-radius: 0;
  position: relative;
  margin: 1px .5rem;
  border-radius: var(--radius-sm);
}

.nav-item i {
  inline-size: 18px;
  text-align: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(99,102,241,.15);
  color: var(--primary-light);
  box-shadow: inset 3px 0 0 var(--primary);
}

.nav-item.active i { color: var(--primary); }

.nav-logout {
  color: #f87171;
  margin-block-start: .5rem;
}
.nav-logout:hover { background: rgba(239,68,68,.1); color: #f87171; }

.badge-count {
  margin-inline-start: auto;
  background: var(--danger);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 99px;
  min-inline-size: 18px;
  text-align: center;
}

/* Topbar */
.topbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: var(--sidebar-width);
  inset-inline-end: 0;
  block-size: var(--topbar-height);
  background: rgba(17,24,39,.92);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--border-light);
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
}

.topbar-left { display: flex; align-items: center; gap: .75rem; flex: 1; }

.topbar-toggle {
  background: none; border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: .4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.topbar-toggle:hover { background: var(--bg-elevated); color: var(--text-primary); }

.breadcrumb-title { font-size: 1rem; font-weight: 600; color: var(--text-primary); }

.topbar-right { display: flex; align-items: center; gap: .5rem; }

.topbar-btn-icon {
  position: relative;
  inline-size: 38px; block-size: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.topbar-btn-icon:hover { border-color: var(--primary); color: var(--primary-light); }

.notif-badge {
  position: absolute;
  inset-block-start: -4px; inset-inline-end: -4px;
  background: var(--danger);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-inline-size: 16px; block-size: 16px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.notif-wrapper, .topbar-profile { position: relative; }

.notif-dropdown, .profile-dropdown {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-inline-size: 320px;
  z-index: 1000;
  display: none;
  overflow: hidden;
  animation: dropDown .2s ease;
}
.notif-dropdown.open, .profile-dropdown.open { display: block; }

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-block-end: 1px solid var(--border-light);
  font-weight: 600;
  font-size: .875rem;
}
.notif-all { font-size: .8rem; color: var(--primary-light); }

.notif-body { max-block-size: 360px; overflow-y: auto; }
.notif-loading { text-align: center; padding: 1.5rem; color: var(--text-muted); }

.notif-item {
  display: flex;
  gap: .75rem;
  padding: .75rem 1rem;
  border-block-end: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition);
}
.notif-item:hover { background: var(--bg-hover); }
.notif-item.unread { background: rgba(99,102,241,.05); }
.notif-icon { inline-size: 32px; block-size: 32px; border-radius: 50%; display: flex; align-items:center; justify-content:center; flex-shrink:0; font-size:.8rem; }
.notif-text .notif-title { font-size:.83rem; font-weight:600; color:var(--text-primary); }
.notif-text .notif-time { font-size:.72rem; color:var(--text-muted); }

.profile-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  font-size: .85rem;
  transition: all var(--transition);
}
.profile-btn:hover { border-color: var(--primary); }

.profile-avatar {
  inline-size: 28px; block-size: 28px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items:center; justify-content:center;
  font-weight: 700; font-size: .75rem; color: #fff;
}

.profile-dropdown { min-inline-size: 200px; }
.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  font-size: .85rem;
  color: var(--text-secondary);
  transition: background var(--transition);
}
.profile-dropdown a:hover { background: var(--bg-hover); color: var(--text-primary); }
.dropdown-divider { border-block-start: 1px solid var(--border-light); margin: .25rem 0; }

/* Main Wrapper */
.main-wrapper {
  margin-inline-start: var(--sidebar-width);
  padding-block-start: var(--topbar-height);
  min-block-size: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition);
}

.page-content {
  flex: 1;
  padding: 1.75rem;
}

.page-footer {
  padding: 1rem 1.75rem;
  border-block-start: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--text-muted);
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-block-end: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-header-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-block-end: .2rem;
}
.page-header-sub { font-size: .85rem; color: var(--text-secondary); }
.page-header-right { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-block-end: 1.75rem;
}

.stat-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset-block-start: -1px; inset-inline-start: 0; inset-inline-end: 0;
  block-size: 2px;
  background: var(--card-accent, var(--grad-primary));
  border-radius: var(--radius) var(--radius) 0 0;
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.stat-icon {
  inline-size: 52px; block-size: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stat-info { flex: 1; min-inline-size: 0; }
.stat-label { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; margin-block-end: .3rem; }
.stat-value { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
.stat-sub { font-size: .75rem; color: var(--text-secondary); margin-block-start: .2rem; }

.stat-trend {
  font-size: .72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  margin-block-start: .3rem;
}
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ============================================================
   CARDS / PANELS
   ============================================================ */
.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block-end: 1.5rem;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.35rem;
  border-block-end: 1px solid var(--border-light);
  gap: .75rem;
  flex-wrap: wrap;
}

.card-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.card-title i { color: var(--primary); }
.card-body { padding: 1.35rem; }
.card-footer { padding: .85rem 1.35rem; border-block-start: 1px solid var(--border-light); }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
}

.data-table {
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .85rem;
}

.data-table th {
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: .75rem 1rem;
  border-block-end: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: .75rem 1rem;
  border-block-end: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
  transition: background var(--transition);
}

.data-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.data-table tbody tr:last-child td { border-block-end: none; }

/* Checkmark Cells */
.check-cell {
  text-align: center;
  cursor: pointer;
}
.check-icon {
  inline-size: 28px; block-size: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all .2s;
}
.check-icon.paid {
  background: rgba(16,185,129,.15);
  color: var(--success);
  border: 1px solid rgba(16,185,129,.3);
}
.check-icon.unpaid {
  background: rgba(71,85,105,.1);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.check-icon.partial-paid {
  background: rgba(245,158,11,.15);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,.35);
}
.check-icon:hover { transform: scale(1.15); }

/* ============================================================
   BADGES / STATUS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .65rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3px;
}

.badge-success { background: rgba(16,185,129,.12); color: #34d399; border: 1px solid rgba(16,185,129,.25); }
.badge-danger  { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.badge-warning { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.25); }
.badge-info    { background: rgba(59,130,246,.12); color: #60a5fa; border: 1px solid rgba(59,130,246,.25); }
.badge-primary { background: rgba(99,102,241,.12); color: var(--primary-light); border: 1px solid rgba(99,102,241,.25); }
.badge-secondary{ background: rgba(148,163,184,.1); color: var(--text-secondary); border: 1px solid var(--border); }

/* Dot indicator */
.status-dot { inline-size: 7px; block-size: 7px; border-radius: 50%; display: inline-block; }
.dot-success { background: var(--success); box-shadow: 0 0 6px var(--success); }
.dot-danger  { background: var(--danger); }
.dot-warning { background: var(--warning); box-shadow: 0 0 6px var(--warning); }

/* ============================================================
   FILTERS / SEARCH BAR
   ============================================================ */
.filter-bar {
  display: flex;
  gap: .75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-block-end: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem;
}

.filter-group { display: flex; flex-direction: column; gap: .3rem; }
.filter-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

.form-select, .form-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: .85rem;
  padding: .55rem .85rem;
  outline: none;
  transition: border-color var(--transition);
  min-inline-size: 120px;
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

.form-select option { background: var(--bg-surface); }

.search-input-wrapper {
  position: relative;
  flex: 1; min-inline-size: 200px;
}
.search-input-wrapper i {
  position: absolute; inset-inline-start: 10px; inset-block-start: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: .85rem;
}
.search-input-wrapper .form-input { padding-inline-start: 2.25rem; inline-size: 100%; }

/* ============================================================
   MODALS (Custom)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  inline-size: 100%;
  max-inline-size: 580px;
  max-block-size: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97);
  transition: transform .25s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-box.modal-lg { max-inline-size: 820px; }
.modal-box.modal-xl { max-inline-size: 1100px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  border-block-end: 1px solid var(--border-light);
  background: linear-gradient(135deg, rgba(99,102,241,.06), transparent);
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.modal-title i { color: var(--primary); }

.modal-close {
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer; font-size: 1.1rem;
  padding: .3rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.modal-close:hover { background: var(--bg-hover); color: var(--danger); }

.modal-body { padding: 1.35rem; }
.modal-footer {
  padding: 1rem 1.35rem;
  border-block-start: 1px solid var(--border-light);
  display: flex;
  gap: .6rem;
  justify-content: flex-end;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-block-end: 1rem; }
.form-group:last-child { margin-block-end: 0; }

label.lbl {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-block-end: .4rem;
  letter-spacing: .4px;
}

label.lbl .req { color: var(--danger); margin-inline-start: .2rem; }

.form-note { font-size: .75rem; color: var(--text-muted); margin-block-start: .3rem; }

textarea.form-control { resize: vertical; min-block-size: 90px; padding-inline-start: .75rem !important; }

.input-group {
  display: flex;
}

.input-group-text {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-inline-end: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-muted);
  padding: .55rem .85rem;
  font-size: .85rem;
  white-space: nowrap;
}

.input-group .form-control {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding-inline-start: .75rem;
}

/* ============================================================
   CHARTS
   ============================================================ */
.chart-container { position: relative; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-block-start: 1px solid var(--border-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.page-info { font-size: .8rem; color: var(--text-muted); }

.pagination {
  display: flex;
  gap: .3rem;
  list-style: none;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 32px; block-size: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: .82rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.page-link:hover { border-color: var(--primary); color: var(--primary-light); }
.page-link.active { background: var(--grad-primary); border-color: transparent; color: #fff; }
.page-link.disabled { opacity: .4; pointer-events: none; }

/* ============================================================
   FILE UPLOAD ZONE
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}

.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--primary);
  background: rgba(99,102,241,.05);
}

.upload-icon { font-size: 2.5rem; color: var(--text-muted); margin-block-end: .75rem; }
.upload-title { font-weight: 600; color: var(--text-secondary); margin-block-end: .35rem; }
.upload-sub { font-size: .8rem; color: var(--text-muted); }
.upload-browse { color: var(--primary-light); cursor: pointer; }

/* ============================================================
   REKAP TABLE (Checklist)
   ============================================================ */
.rekap-table { font-size: .8rem; }
.rekap-table th, .rekap-table td { padding: .5rem .65rem; }
.rekap-table th:first-child, .rekap-table td:first-child { position: sticky; inset-inline-start: 0; background: var(--bg-surface); z-index: 1; }
.rekap-table th:nth-child(2), .rekap-table td:nth-child(2) { position: sticky; inset-inline-start: 60px; background: var(--bg-surface); z-index: 1; }

.nim-link { color: var(--primary-light); font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: .8rem; }
.nim-link:hover { color: var(--primary); }

/* ============================================================
   PROFILE / DETAIL PAGE
   ============================================================ */
.profile-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-block-end: 1.5rem;
}

.profile-avatar-lg {
  inline-size: 72px; block-size: 72px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--glow-primary);
}

.profile-info { flex: 1; }
.profile-nim { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--text-muted); }
.profile-name { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.profile-meta { font-size: .82rem; color: var(--text-secondary); margin-block-start: .25rem; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar-wrap {
  background: var(--bg-elevated);
  border-radius: 99px;
  block-size: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  block-size: 100%;
  border-radius: 99px;
  background: var(--grad-primary);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   SKELETON LOADER
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   MAHASISWA PANEL
   ============================================================ */
.mhs-body { background: var(--bg-base); }

.mhs-topbar {
  background: rgba(17,24,39,.95);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--border-light);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; inset-block-start: 0; z-index: 100;
}

.mhs-logo { display: flex; align-items: center; gap: .75rem; }
.mhs-logo-icon { inline-size: 36px; block-size: 36px; background: var(--grad-primary); border-radius: 10px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:.9rem; }
.mhs-logo-text { font-size: .9rem; font-weight: 700; color: var(--text-primary); }

.mhs-nav { display: flex; gap: .25rem; }
.mhs-nav a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: .82rem;
  font-weight: 500;
  transition: all var(--transition);
}
.mhs-nav a:hover { background: var(--bg-elevated); color: var(--text-primary); }
.mhs-nav a.active { background: rgba(99,102,241,.15); color: var(--primary-light); }

.mhs-layout { min-block-size: 100vh; background: var(--bg-base); }
.mhs-content { padding: 1.5rem; max-inline-size: 1100px; margin: 0 auto; }
.mhs-topbar-brand { display:flex; align-items:center; gap:.75rem; }
.mhs-brand-icon { inline-size:36px; block-size:36px; background:var(--grad-primary); border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:.9rem; }
.mhs-brand-name { font-size:.9rem; font-weight:700; color:var(--text-primary); }
.mhs-brand-sub { font-size:.7rem; color:var(--text-muted); }
.mhs-topbar-right { display:flex; align-items:center; gap:1rem; }
.mhs-user { display:flex; align-items:center; gap:.75rem; }
.mhs-user-avatar { inline-size:34px; block-size:34px; border-radius:50%; background:var(--grad-primary); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:.85rem; }
.mhs-user-name { font-size:.82rem; font-weight:600; color:var(--text-primary); }
.mhs-user-nim { font-size:.72rem; color:var(--secondary); font-family:'JetBrains Mono',monospace; }
.mhs-logout { color:var(--text-muted); padding:.35rem .5rem; border-radius:6px; transition:.2s; }
.mhs-logout:hover { color:#ef4444; background:rgba(239,68,68,.1); }

/* ============================================================
   TIMELINE (riwayat pembayaran)
   ============================================================ */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 18px; inset-block-start: 0; inset-block-end: 0;
  inline-size: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  display: flex;
  gap: 1rem;
  margin-block-end: 1.25rem;
  position: relative;
}

.timeline-icon {
  inline-size: 38px; block-size: 38px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  font-size: .85rem;
}

.timeline-content {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: .35rem;
}

.timeline-title { font-weight: 600; font-size: .88rem; color: var(--text-primary); }
.timeline-date  { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-primary-c  { color: var(--primary-light) !important; }
.text-success-c  { color: var(--success) !important; }
.text-danger-c   { color: var(--danger) !important; }
.text-warning-c  { color: var(--warning) !important; }
.text-muted-c    { color: var(--text-muted) !important; }
.text-secondary-c{ color: var(--text-secondary) !important; }

.fw-mono { font-family: 'JetBrains Mono', monospace; }

.section-divider {
  border: none;
  border-block-start: 1px solid var(--border-light);
  margin: 1.25rem 0;
}

.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(10,13,20,.85);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.spinner {
  inline-size: 48px; block-size: 48px;
  border: 3px solid var(--border);
  border-block-start-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text { font-size: .9rem; color: var(--text-secondary); }

/* Tooltip */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  inset-block-end: calc(100% + 6px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: .75rem;
  padding: .35rem .65rem;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  z-index: 100;
}
[data-tooltip]:hover::after { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(calc(-1 * var(--sidebar-width)));
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay.open { display: block; }
  .main-wrapper { margin-inline-start: 0; }
  .topbar { inset-inline-start: 0; }
  .page-content { padding: 1.25rem; }
}

@media (max-width: 576px) {
  .page-content { padding: 1rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar .btn { inline-size: 100%; }
  .login-card { padding: 1.75rem 1.25rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
}

/* DataTable override */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm) !important;
  padding: .4rem .75rem !important;
}
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label { color: var(--text-muted) !important; }

/* Bootstrap override for dark theme */
.form-check-input { background-color: var(--bg-elevated); border-color: var(--border); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

/* Custom switch */
.form-switch .form-check-input { inline-size: 2.5em; }
