/* ===================================================
   MIZA CBT – Stylesheet Utama v2.0
   =================================================== */

/* ── Google Fonts ──────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variabel CSS ──────────────────────────────── */
:root {
  --miza-primary:      #2563eb;
  --miza-primary-dark: #1d4ed8;
  --miza-primary-light:#dbeafe;
  --miza-success:      #16a34a;
  --miza-danger:       #dc2626;
  --miza-warning:      #d97706;
  --miza-info:         #0891b2;
  --miza-sidebar-w:    260px;
  --miza-sidebar-bg:   #14532d;   /* hijau tua */
  --miza-sidebar-text: #bbf7d0;   /* hijau sangat muda untuk teks */
  --miza-sidebar-hover:#166534;   /* hijau tua sedikit lebih terang */
  /* Aksen sidebar (tema hijau = default). Ditimpa oleh body[data-tema-sidebar] */
  --sb-acc-1:      #16a34a;  /* gradasi kategori/aktif — awal   */
  --sb-acc-2:      #15803d;  /* gradasi kategori/aktif — akhir  */
  --sb-acc-h1:     #22c55e;  /* gradasi hover/terbuka — awal    */
  --sb-acc-h2:     #16a34a;  /* gradasi hover/terbuka — akhir   */
  --sb-acc-light:  #4ade80;  /* garis kiri, ikon logout hover   */
  --sb-acc-lighter:#86efac;  /* teks nama sekolah / role        */
  --sb-acc-rgb:    74,222,128;  /* untuk rgba() transparan      */
  --sb-acc-glow:   22,163,74;   /* untuk bayangan (rgba)        */
  --sb-scroll:     #166534;
  --miza-topbar-h:     60px;
  --miza-radius:       10px;
  --miza-shadow:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --miza-shadow-lg:    0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --miza-font:         'Inter', system-ui, sans-serif;
  --miza-transition:   .2s ease;
}

/* ── Tema Sidebar: BIRU (dipilih admin di Pengaturan) ──
   Tema hijau = nilai default di :root. Tidak mengubah warna halaman lain. */
body[data-tema-sidebar="biru"] {
  --miza-sidebar-bg:   #1e3a8a;
  --miza-sidebar-text: #bfdbfe;
  --miza-sidebar-hover:#1e40af;
  --sb-acc-1:      #2563eb;
  --sb-acc-2:      #1d4ed8;
  --sb-acc-h1:     #3b82f6;
  --sb-acc-h2:     #2563eb;
  --sb-acc-light:  #60a5fa;
  --sb-acc-lighter:#93c5fd;
  --sb-acc-rgb:    96,165,250;
  --sb-acc-glow:   37,99,235;
  --sb-scroll:     #1e40af;
}

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--miza-font);
  font-size: .875rem;
  line-height: 1.6;
  color: #1e293b;
  background: #f1f5f9;
  margin: 0;
}

a { color: var(--miza-primary); text-decoration: none; }
a:hover { color: var(--miza-primary-dark); }

/* ── Layout Utama ──────────────────────────────── */
.miza-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────── */
.miza-sidebar {
  width: var(--miza-sidebar-w);
  background: var(--miza-sidebar-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 1030;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform .28s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--sb-scroll) transparent;
}

.miza-sidebar::-webkit-scrollbar { width: 4px; }
.miza-sidebar::-webkit-scrollbar-track { background: transparent; }
.miza-sidebar::-webkit-scrollbar-thumb { background: var(--sb-scroll); border-radius: 4px; }

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
}

.sidebar-brand-icon {
  width: 38px; height: 38px;
  background: var(--miza-primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(var(--sb-acc-rgb),.3);
}

.sidebar-brand-text { line-height: 1.2; }
.sidebar-brand-name {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  display: block;
  letter-spacing: .02em;
}
.sidebar-brand-slogan {
  font-size: .68rem;
  color: var(--miza-sidebar-text);
  display: block;
}

/* Nama sekolah */
.sidebar-sekolah { color: var(--sb-acc-lighter) !important; }

/* Nav */
.sidebar-nav { flex: 1; padding: .75rem 0; }

.sidebar-section {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--sb-acc-lighter);
  padding: .7rem 1rem .7rem 1.1rem;
  margin: .3rem .5rem .1rem;
  background: linear-gradient(90deg, rgba(var(--sb-acc-rgb),.16) 0%, rgba(var(--sb-acc-rgb),.07) 100%);
  border-radius: 10px;
  border-left: 3px solid var(--sb-acc-light);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .52rem .9rem .52rem 1.25rem;
  color: var(--miza-sidebar-text);
  font-size: .825rem;
  font-weight: 500;
  transition: background .17s, color .17s, transform .12s, box-shadow .17s;
  text-decoration: none;
  margin: 1px .5rem;
  border-radius: 8px;
  position: relative;
}

.sidebar-item:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
  transform: translateX(2px);
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
}

.sidebar-item.aktif {
  color: #fff;
  background: linear-gradient(90deg, var(--sb-acc-1) 0%, var(--sb-acc-2) 100%);
  box-shadow: 0 2px 10px rgba(var(--sb-acc-glow),.45), inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateX(2px);
  font-weight: 600;
}

.sidebar-item .si-icon {
  font-size: .95rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  opacity: .85;
}

.sidebar-item .si-badge {
  margin-left: auto;
  font-size: .65rem;
  background: var(--miza-primary);
  color: #fff;
  padding: .1rem .45rem;
  border-radius: 99px;
}

/* User bottom */
.sidebar-user {
  padding: .875rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.sidebar-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--miza-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name {
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.sidebar-user-role {
  font-size: .7rem;
  color: var(--sb-acc-lighter);
  display: block;
}

.sidebar-user-actions a {
  color: var(--miza-sidebar-text);
  font-size: 1rem;
  transition: color var(--miza-transition);
}
.sidebar-user-actions a:hover { color: var(--sb-acc-light); }

/* ── Main Content ──────────────────────────────── */
.miza-main {
  margin-left: var(--miza-sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: margin-left .28s ease;
}

/* ── Topbar ────────────────────────────────────── */
.miza-topbar {
  height: var(--miza-topbar-h);
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--miza-shadow);
}

.topbar-toggle {
  display: flex;             /* selalu tampil, kontrol sidebar di semua ukuran */
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  padding: .25rem .5rem;
  border-radius: 6px;
  width: 36px; height: 36px;
  flex-shrink: 0;
  transition: all var(--miza-transition);
}
.topbar-toggle:hover { background: #f1f5f9; color: var(--miza-primary); }

.topbar-breadcrumb { flex: 1; min-width: 0; }
.topbar-breadcrumb .breadcrumb { font-size: .8rem; color: #64748b; }
.topbar-breadcrumb .breadcrumb-item.active { color: #1e293b; font-weight: 600; }

.topbar-actions { display: flex; align-items: center; gap: .5rem; }

.topbar-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  transition: all var(--miza-transition);
  position: relative;
}
.topbar-btn:hover { background: #f1f5f9; color: var(--miza-primary); }

.topbar-notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  border: 1px solid #fff;
}

.topbar-divider { width: 1px; height: 28px; background: #e2e8f0; }

.topbar-user-btn {
  display: flex; align-items: center; gap: .5rem;
  background: none; border: none; cursor: pointer;
  padding: .25rem .5rem;
  border-radius: 8px;
  transition: background var(--miza-transition);
}
.topbar-user-btn:hover { background: #f1f5f9; }
.topbar-user-btn .ta-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--miza-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}
.topbar-user-btn .ta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.topbar-user-btn .ta-name {
  font-size: .8rem;
  font-weight: 600;
  color: #1e293b;
}
.topbar-user-btn .ta-role {
  font-size: .68rem;
  color: #94a3b8;
}

/* ── Page Header ───────────────────────────────── */
.miza-page-header {
  padding: 1.25rem 1.5rem .5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-header-info h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.page-header-info .subtitle {
  font-size: .8rem;
  color: #64748b;
  margin-top: .2rem;
}
.page-header-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ── Content Area ──────────────────────────────── */
.miza-content {
  padding: .75rem 1.5rem 2rem;
  flex: 1;
}

/* ── Cards ─────────────────────────────────────── */
.card {
  border: 1px solid #e2e8f0;
  border-radius: var(--miza-radius);
  box-shadow: var(--miza-shadow);
  background: #fff;
}

.card-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: .85rem;
  padding: .875rem 1.125rem;
  border-radius: var(--miza-radius) var(--miza-radius) 0 0 !important;
}

.card-body { padding: 1.125rem; }
.card-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: .75rem 1.125rem;
}

/* ── Stat Cards ────────────────────────────────── */
.stat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--miza-radius);
  padding: 1.125rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--miza-shadow);
  transition: box-shadow var(--miza-transition), transform var(--miza-transition);
}

.stat-card:hover {
  box-shadow: var(--miza-shadow-lg);
  transform: translateY(-2px);
}

.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-info .stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.stat-info .stat-label {
  font-size: .75rem;
  color: #64748b;
  margin-top: .2rem;
  font-weight: 500;
}
.stat-info .stat-change {
  font-size: .7rem;
  margin-top: .25rem;
}

/* ── Tables ────────────────────────────────────── */
.table {
  font-size: .835rem;
}

.table thead th {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: .65rem .875rem;
  white-space: nowrap;
}

.table tbody td {
  padding: .7rem .875rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #f8fafc; }

/* ── Forms ─────────────────────────────────────── */
.form-control, .form-select {
  font-size: .835rem;
  border-color: #cbd5e1;
  border-radius: 8px;
  transition: all var(--miza-transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--miza-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: .375rem;
}

.form-text { font-size: .73rem; color: #94a3b8; }

.input-group-text {
  background: #f8fafc;
  border-color: #cbd5e1;
  font-size: .835rem;
  color: #64748b;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  font-size: .835rem;
  font-weight: 500;
  border-radius: 8px;
  padding: .45rem .9rem;
  transition: all var(--miza-transition);
}

.btn-sm { font-size: .775rem; padding: .3rem .65rem; border-radius: 6px; }
.btn-lg { font-size: .925rem; padding: .6rem 1.2rem; border-radius: 10px; }

.btn-primary { background: var(--miza-primary); border-color: var(--miza-primary); }
.btn-primary:hover { background: var(--miza-primary-dark); border-color: var(--miza-primary-dark); }

.btn-icon {
  width: 32px; height: 32px;
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
}

/* ── Badges ────────────────────────────────────── */
.badge {
  font-size: .7rem;
  font-weight: 600;
  padding: .3em .55em;
  border-radius: 6px;
}

/* ── Avatar ────────────────────────────────────── */
.avatar-sm {
  flex-shrink: 0;   /* jangan ikut menyempit di HP (jadi elips) saat nama panjang */
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--miza-primary-light);
  color: var(--miza-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

.avatar-md {
  flex-shrink: 0;   /* jangan ikut menyempit di HP (jadi elips) saat nama panjang */
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--miza-primary-light);
  color: var(--miza-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

/* ── Alert ─────────────────────────────────────── */
.alert {
  font-size: .835rem;
  border-radius: var(--miza-radius);
  border: none;
  padding: .75rem 1rem;
}

/* ── Dropdown ──────────────────────────────────── */
.dropdown-menu {
  font-size: .825rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--miza-radius);
  box-shadow: var(--miza-shadow-lg);
  padding: .375rem;
}

.dropdown-item {
  border-radius: 6px;
  padding: .45rem .75rem;
  font-weight: 500;
  transition: all var(--miza-transition);
}

.dropdown-item:hover { background: #f1f5f9; color: var(--miza-primary); }
.dropdown-item.text-danger:hover { background: #fef2f2; color: var(--miza-danger) !important; }
.dropdown-divider { border-color: #e2e8f0; margin: .25rem 0; }

/* ── Login Page ────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37,99,235,.3), transparent),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16,163,127,.15), transparent);
}

.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.login-brand-area { text-align: center; color: #fff; max-width: 380px; }
.login-brand-icon {
  width: 72px; height: 72px;
  background: var(--miza-primary);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 8px rgba(37,99,235,.2), 0 0 40px rgba(37,99,235,.3);
}
.login-brand-name { font-size: 2.5rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.login-brand-slogan { color: #94a3b8; font-size: .95rem; margin-top: .5rem; }
.login-brand-desc { color: #64748b; font-size: .85rem; margin-top: 2rem; line-height: 1.8; }
.login-features { list-style: none; padding: 0; margin-top: 1.5rem; text-align: left; }
.login-features li {
  display: flex; align-items: center; gap: .75rem;
  color: #94a3b8; font-size: .85rem; padding: .4rem 0;
}
.login-features li i { color: #34d399; font-size: 1rem; }

.login-right {
  width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 1;
}

.login-card {
  width: 100%;
  max-width: 380px;
}

.login-card-header {
  text-align: center;
  margin-bottom: 2rem;
}
.login-card-header h2 { font-size: 1.4rem; font-weight: 700; color: #fff; margin: 0; }
.login-card-header p { color: #94a3b8; font-size: .85rem; margin-top: .4rem; }

.login-form .form-label { color: #cbd5e1; }
.login-form .form-control {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: 10px;
  padding: .625rem .875rem;
}
.login-form .form-control::placeholder { color: #475569; }
.login-form .form-control:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--miza-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.25);
  color: #fff;
}
.login-form .input-group-text {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #64748b;
}
.login-form .btn-primary {
  padding: .65rem;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 10px;
  background: var(--miza-primary);
  border-color: var(--miza-primary);
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
  transition: all var(--miza-transition);
}
.login-form .btn-primary:hover {
  background: var(--miza-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,235,.5);
}

.login-footer { text-align: center; margin-top: 2rem; color: #475569; font-size: .78rem; }

/* ── Ujian / Exam View ─────────────────────────── */
.ujian-wrapper {
  min-height: 100vh;
  background: #f1f5f9;
}

.ujian-topbar {
  background: var(--miza-sidebar-bg);
  color: #fff;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ujian-timer {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
  color: #34d399;
  min-width: 90px;
  text-align: center;
}
.ujian-timer.warning { color: #fbbf24; animation: pulse 1s infinite; }
.ujian-timer.danger  { color: #f87171; animation: pulse .5s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: .5; }
}

.soal-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: .35rem;
}
.soal-nav-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition: all var(--miza-transition);
}
.soal-nav-btn.dijawab { background: var(--miza-primary); border-color: var(--miza-primary); color: #fff; }
.soal-nav-btn.aktif   { border-color: #f59e0b; box-shadow: 0 0 0 2px #fef3c7; }
.soal-nav-btn.ragu    { background: #fef3c7; border-color: #f59e0b; color: #92400e; }

/* ── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 991.98px) {
  .miza-sidebar {
    transform: translateX(-100%);
  }
  .miza-sidebar.terbuka {
    transform: translateX(0);
  }
  .miza-main { margin-left: 0; }
  /* topbar-toggle always visible */
  .login-left { display: none; }
  .login-right { width: 100%; border-left: none; }
}

@media (max-width: 575.98px) {
  .miza-page-header { padding: 1rem 1rem .5rem; }
  .miza-content { padding: .5rem 1rem 1.5rem; }
  .miza-topbar { padding: 0 1rem; }
  .page-header-info h1 { font-size: 1.1rem; }
}

/* ── Utilities ─────────────────────────────────── */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cursor-pointer { cursor: pointer; }
.rounded-lg { border-radius: var(--miza-radius) !important; }
.fs-xs { font-size: .75rem !important; }
.fs-sm { font-size: .835rem !important; }
.fw-semibold { font-weight: 600 !important; }

/* ── Popup sambutan setelah login — tema BIRU ───────
   Tema hijau tetap memakai gaya bawaan (di konfigurasi/fungsi.php). */
body[data-tema-sidebar="biru"] .sambutan-login-card{
  color:#0b1f4d;
  background:
    radial-gradient(ellipse at 18% 0%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.18) 34%,transparent 58%),
    linear-gradient(135deg,#dbeafe 0%,#bfdbfe 42%,#93c5fd 100%);
  box-shadow:0 24px 60px rgba(30,58,138,.30),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -8px 18px rgba(30,64,175,.12);
}
body[data-tema-sidebar="biru"] .sambutan-login-card .modal-title{color:#0b1f4d}
body[data-tema-sidebar="biru"] .sambutan-countdown-track{box-shadow:0 -2px 8px rgba(30,58,138,.18),inset 0 1px 0 rgba(255,255,255,.6)}

/* ── Modal konfirmasi (pengganti confirm() bawaan; lihat miza.js → mizaKonfirmasi) ── */
.mk-modal .modal-content { border-radius: 16px; overflow: hidden; }
.mk-modal .modal-dialog  { max-width: 380px; }
.mk-modal .mk-ikon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto .8rem; display: grid; place-items: center; font-size: 1.6rem; }
.mk-modal[data-nada="bahaya"]  .mk-ikon { background: #fef2f2; color: #dc2626; }
.mk-modal[data-nada="waspada"] .mk-ikon { background: #fffbeb; color: #d97706; }
.mk-modal[data-nada="sukses"]  .mk-ikon { background: #ecfdf5; color: #059669; }
.mk-modal[data-nada="info"]    .mk-ikon { background: #eff6ff; color: #2563eb; }
.mk-modal .mk-judul { color: #0f172a; font-size: 1.05rem; }
.mk-modal .mk-pesan { color: #64748b; font-size: .88rem; line-height: 1.55; white-space: pre-line; }
