/* SahamPaham — Panel Admin. Dimuat setelah styles.css.
   Tema default terang (tampilan sekarang). Hijau brand (header) TETAP di
   kedua tema, yang berubah hanya permukaan konten. */
body{background:#fff;color:#1c2420}
.site-header{background:#0d3b21;border-bottom:1px solid #14532d}
.site-header .brand{color:#fff}
.site-header .brand span{color:#b98a1c}
.main-nav a{color:#eaf3ec}
.main-nav a.active{color:#fff;background:#14532d;border-radius:999px;padding:6px 14px}
main h1,main h2,main h3{font-family:Newsreader,Georgia,serif;color:#0d3b21}
.card{background:#fff;border:1px solid #d7e0d7;border-radius:12px;color:#1c2420}
.card h3{color:#0d3b21}
.muted{color:#5f6b62}
.small.muted{color:#5f6b62}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.stat{background:#fff;border:1px solid #d7e0d7;border-radius:12px;padding:18px}
.stat-num{font-family:Newsreader,Georgia,serif;font-size:2rem;color:#0d3b21}
.stat-label{color:#5f6b62;margin-top:4px}
.order-card{background:#fff;border:1px solid #d7e0d7;border-radius:12px;padding:18px;margin-bottom:14px}
.order-card .order-head{font-size:1.05rem}
.order-card .order-head strong{color:#0d3b21}
.badge{display:inline-block;background:#e3efe4;color:#0d3b21;border-radius:999px;padding:3px 12px;font-size:.85rem}
.badge.pending{background:#f7ecd2;color:#7c5a10}
.badge.cancelled{background:#fee2e2;color:#b3352b}
.order-card p{color:#334155;margin:6px 0}
.order-card .access-code{color:#0d3b21}
.wa-send{color:#14532d;text-decoration:underline}
.btn{background:#14532d;color:#fff;border-color:#14532d}
.btn.secondary{background:#fff;color:#0d3b21;border-color:#14532d}
.btn.danger{background:#b3352b;border-color:#b3352b}
.btn.small{padding:6px 12px}
input,select,textarea{background:#fff;color:#1c2420;border:1px solid #cbd5e1;border-radius:8px}
input::placeholder{color:#94a3b8}
label{color:#334155}
.status-box.info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}
.status-box.error{background:#fef2f2;border-color:#fecaca;color:#b3352b}
.table-scroll table{color:#1c2420}
.table-scroll th{color:#5f6b62;border-bottom:1px solid #d7e0d7}
.table-scroll td{border-bottom:1px solid #e5e7eb}
.log-box{background:#f8faf8;border:1px solid #d7e0d7;color:#1c2420}
.site-footer{background:#fff;border-top:1px solid #d7e0d7;color:#5f6b62}
.site-footer strong{color:#0d3b21}
.empty{color:#5f6b62}
.form-error{color:#b3352b}
.form-ok{color:#14532d}

/* Kartu Syariah di menu samping admin: hijau seperti di halaman lain. */
.side-sharia{background:#e3efe4;border:1px solid #b98a1c;color:#0d3b21}
.side-sharia h3{color:#0d3b21}

/* Tema gelap: HANYA permukaan konten yang menjadi gelap. Hijau brand
   (header) tetap seperti di atas. */
html[data-theme="dark"] body{background:#0b0f0d;color:#e9e9e6}
html[data-theme="dark"] .site-header{background:#0d3b21;border-bottom-color:#14532d}
html[data-theme="dark"] .site-header .brand{color:#fff}
html[data-theme="dark"] .main-nav a{color:#eaf3ec}
html[data-theme="dark"] .main-nav a.active{color:#fff;background:#14532d}
html[data-theme="dark"] main h1,html[data-theme="dark"] main h2,html[data-theme="dark"] main h3{color:#f5f2e8}
html[data-theme="dark"] .card,html[data-theme="dark"] .stat,html[data-theme="dark"] .order-card{background:#151b17;border-color:#26332a;color:#e9e9e6}
html[data-theme="dark"] .card h3{color:#f5f2e8}
html[data-theme="dark"] .muted,html[data-theme="dark"] .small.muted{color:#9fb3a4}
html[data-theme="dark"] .stat-num{color:#fff}
html[data-theme="dark"] .stat-label{color:#9fb3a4}
html[data-theme="dark"] .order-card .order-head strong{color:#fff}
html[data-theme="dark"] .order-card p{color:#c9d4cb}
html[data-theme="dark"] .order-card .access-code{color:#fff}
html[data-theme="dark"] .badge{background:#14532d;color:#bff0cf}
html[data-theme="dark"] .badge.pending{background:#3a2f10;color:#f2d38a}
html[data-theme="dark"] .badge.cancelled{background:#3d1a1a;color:#f2a19a}
html[data-theme="dark"] .wa-send{color:#7ddba3}
html[data-theme="dark"] .btn{background:#14532d;color:#fff;border-color:#14532d}
html[data-theme="dark"] .btn.secondary{background:transparent;color:#e9e9e6;border-color:#3a4a3e}
html[data-theme="dark"] .btn.danger{background:#7f1d1d;border-color:#7f1d1d}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0f1512;color:#e9e9e6;border-color:#33463a}
html[data-theme="dark"] input::placeholder{color:#6b7d70}
html[data-theme="dark"] label{color:#c9d4cb}
html[data-theme="dark"] .status-box.info{background:#12261a;border-color:#14532d;color:#bff0cf}
html[data-theme="dark"] .status-box.error{background:#3d1a1a;border-color:#7f1d1d;color:#f6c9c9}
html[data-theme="dark"] .table-scroll table{color:#e9e9e6}
html[data-theme="dark"] .table-scroll th{color:#9fb3a4;border-bottom-color:#26332a}
html[data-theme="dark"] .table-scroll td{border-bottom-color:#1f2a23}
html[data-theme="dark"] .log-box{background:#0f1512;border-color:#26332a;color:#c9d4cb}
html[data-theme="dark"] .site-footer{background:#0b0f0d;border-top-color:#223129;color:#9fb3a4}
html[data-theme="dark"] .site-footer strong{color:#e9e9e6}
html[data-theme="dark"] .empty{color:#9fb3a4}
html[data-theme="dark"] .form-error{color:#f2a19a}
html[data-theme="dark"] .form-ok{color:#7ddba3}
html[data-theme="dark"] .side-sharia{background:#14532d;border-color:#b98a1c;color:#fff}
html[data-theme="dark"] .side-sharia h3{color:#fff}
