/* Darul Furqan v13 — One Design System dark reference; intentionally last cascade layer */
html[data-theme="dark"], html[data-theme="dark"] body, body.df-v12-dark {
 --bg:#111112!important;--surface:#1b1b1d!important;--surface-2:#232326!important;
 --text:#f5f5f7!important;--muted:#aaabb2!important;--light:#86868f!important;
 --border:#343437!important;--sidebar:#171719!important;--sidebar-hover:#262628!important;
 --sidebar-active:#2c3333!important;--nav-text:#dddde1!important;--nav-section:#9999a0!important;
 --green-bg:#172e25!important;--green-text:#6cdea5!important;
 --red-bg:#342028!important;--red-text:#ff9cab!important;
 --amber-bg:#362b19!important;--amber-text:#f4c271!important;
 --purple-bg:#2b203a!important;--accent:#50b2ad!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body,html[data-theme="dark"] .main,html[data-theme="dark"] .page,html[data-theme="dark"] .shell,
html[data-theme="dark"] #shellWrap,html[data-theme="dark"] #app{
 background:#111112!important;color:#f5f5f7!important;background-image:none!important;
}
html[data-theme="dark"] .df-panel,html[data-theme="dark"] .panel,html[data-theme="dark"] .fc-panel,
html[data-theme="dark"] .df-feature-panel,html[data-theme="dark"] .rev-hero,
html[data-theme="dark"] .tch-card,html[data-theme="dark"] .cls-card,
html[data-theme="dark"] .card,html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .df-table-wrap,html[data-theme="dark"] .tbl-wrap,
html[data-theme="dark"] .summary-panel,html[data-theme="dark"] .sum-item,
html[data-theme="dark"] .legend-bar,html[data-theme="dark"] .student-card,
html[data-theme="dark"] .modal-card,html[data-theme="dark"] .df-modal,
html[data-theme="dark"] .df-drawer,html[data-theme="dark"] .df-search-box,
html[data-theme="dark"] .rev-tile,html[data-theme="dark"] .empty,
html[data-theme="dark"] .fee-card{
 background:#1c1c1e!important;background-image:none!important;color:#f5f5f7!important;
 border:1px solid #323235!important;box-shadow:0 13px 30px rgba(0,0,0,.18)!important;
}
html[data-theme="dark"] .df-panel h3,html[data-theme="dark"] .df-title,
html[data-theme="dark"] .df-top-title strong,html[data-theme="dark"] h1,html[data-theme="dark"] h2,
html[data-theme="dark"] h3,html[data-theme="dark"] h4,html[data-theme="dark"] .rev-hero-value,
html[data-theme="dark"] .df-stat strong,html[data-theme="dark"] .df-stat label,
html[data-theme="dark"] .df-table td,html[data-theme="dark"] td{
 color:#f5f5f7!important;
}
html[data-theme="dark"] .df-subtitle,html[data-theme="dark"] .df-panel p,
html[data-theme="dark"] .df-top-title small,html[data-theme="dark"] .df-group-title,
html[data-theme="dark"] .df-table th,html[data-theme="dark"] .rev-hero-label{
 color:#a4a4ad!important;
}
html[data-theme="dark"] .df-stat,
html[data-theme="dark"] .df-stat.green,html[data-theme="dark"] .df-stat.red,
html[data-theme="dark"] .df-stat.blue,html[data-theme="dark"] .df-stat.amber,
html[data-theme="dark"] .df-stat.teal{
 background:#1d1d1f!important;border:1px solid #323235!important;color:#f5f5f7!important;
 box-shadow:0 10px 22px rgba(0,0,0,.16)!important;
}
html[data-theme="dark"] .df-stat:before{background:rgba(255,255,255,.025)!important}
html[data-theme="dark"] .df-stat.green strong{color:#76e0ad!important}
html[data-theme="dark"] .df-stat.red strong{color:#ff9baa!important}
html[data-theme="dark"] .df-stat.blue strong{color:#83b6ff!important}
html[data-theme="dark"] .df-stat.amber strong{color:#f0bf73!important}
html[data-theme="dark"] .df-stat.teal strong{color:#78d7ce!important}
html[data-theme="dark"] .df-stat label,html[data-theme="dark"] .df-stat small{color:#b8b8c0!important}
html[data-theme="dark"] .df-stat strong{background:none!important}
html[data-theme="dark"] .df-nav.df-nav,html[data-theme="dark"] .nav.df-nav,
html[data-theme="dark"] .df-nav-brand,html[data-theme="dark"] .df-nav-bottom{
 background:#19191b!important;background-image:none!important;color:#f5f5f7!important;border-color:#333336!important;
}
html[data-theme="dark"] .nav.df-nav .nav-item{color:#d4d4d9!important}
html[data-theme="dark"] .nav.df-nav .nav-item i{color:#9a9ba4!important}
html[data-theme="dark"] .nav.df-nav .nav-item:hover{background:#2a2a2e!important;color:#fff!important}
html[data-theme="dark"] .nav.df-nav .nav-item.active{background:#253735!important;color:#80dcd3!important}
html[data-theme="dark"] .df-nav-brand strong{color:#fff!important}
html[data-theme="dark"] .df-nav-brand small,html[data-theme="dark"] .df-nav-footnote{color:#aaaab4!important}
html[data-theme="dark"] .df-topbar.th,html[data-theme="dark"] .th.df-topbar{
 background:rgba(24,24,26,.91)!important;border-color:#333336!important;
 box-shadow:0 5px 23px rgba(0,0,0,.24)!important;backdrop-filter:blur(25px)!important;
}
html[data-theme="dark"] .df-top-title strong{color:#f5f5f7!important}
html[data-theme="dark"] .df-menu-button,html[data-theme="dark"] .df-top-icon,
html[data-theme="dark"] .df-search-trigger,html[data-theme="dark"] .df-user,
html[data-theme="dark"] .df-dashboard-actions button,
html[data-theme="dark"] .df-nav-bottom button,
html[data-theme="dark"] .btn-ghost,html[data-theme="dark"] .df-button.secondary{
 background:#29292c!important;border:1px solid #3a3a3e!important;color:#ebebee!important;box-shadow:none!important;
}
html[data-theme="dark"] .df-table th,html[data-theme="dark"] .df-table thead,
html[data-theme="dark"] .df-table tr:hover td,html[data-theme="dark"] .df-table td,
html[data-theme="dark"] .df-table-wrap{background:#1c1c1e!important;color:#e9e9ed!important;border-color:#36363a!important}
html[data-theme="dark"] .df-table th{background:#252527!important;color:#a9a9b1!important}
html[data-theme="dark"] .df-table tr:hover td{background:#242427!important}
html[data-theme="dark"] input:not([type=checkbox]):not([type=radio]),html[data-theme="dark"] textarea,
html[data-theme="dark"] select,html[data-theme="dark"] .df-input,html[data-theme="dark"] .df-select{
 background:#28282b!important;border-color:#404045!important;color:#fafafa!important;
}
html[data-theme="dark"] .df-chip.paid{background:#163325!important;color:#74dda8!important}
html[data-theme="dark"] .df-chip.pending{background:#36252b!important;color:#ffa5b1!important}
html[data-theme="dark"] .df-dialog{background:rgba(30,30,33,.90)!important;color:#fafafa!important;border-color:#4a4a50!important;backdrop-filter:blur(28px) saturate(125%)}
html[data-theme="dark"] .df-dialog-actions button{background:#333337!important;color:#fff!important}
html[data-theme="dark"] .df-dialog-actions button.primary{background:#50b2ad!important;color:#061b1a!important}
html[data-theme="dark"] .df-theme-control{color:#f5f5f7!important}
html[data-theme="dark"] .df-quick-paid{background:#173629!important;color:#7eebaf!important;border-color:#2c5842!important}
html[data-theme="dark"] .df-paid-done{color:#82e5ac!important}
@media(prefers-reduced-motion:reduce){html[data-theme="dark"] *{scroll-behavior:auto!important}}
