/* iniGuruKu premium design system — layered after the legacy stylesheet. */
:root{--navy:#0c2747;--navy2:#071d36;--teal:#0aa6a6;--amber:#f0a83b;--bg:#f4f7fb;--line:#e4eaf1;--text:#17243b;--muted:#718096;--surface:#fff;--shadow-sm:0 1px 2px rgba(12,39,71,.03),0 8px 24px rgba(12,39,71,.055);--shadow-md:0 20px 50px rgba(8,29,54,.11);--radius:18px}
html{scroll-behavior:smooth}body{background:radial-gradient(circle at 95% 0,rgba(10,166,166,.055),transparent 28%),var(--bg);color:var(--text);font-family:"Segoe UI Variable","Segoe UI",Inter,Arial,sans-serif;letter-spacing:-.006em}a,button,.btn,.form-control,.form-select{transition:all .2s ease}::selection{background:rgba(10,166,166,.2);color:var(--navy2)}
.app-shell{grid-template-columns:272px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;background:linear-gradient(180deg,#0b2949 0%,#071e37 70%,#061a30 100%);padding:24px 16px 18px;gap:17px;box-shadow:10px 0 40px rgba(6,26,48,.08);z-index:10}.sidebar::-webkit-scrollbar{width:4px}.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.16);border-radius:10px}
.brand{gap:11px;padding:0 8px 10px;font-size:inherit}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.13);overflow:hidden;flex:0 0 42px}.brand img{width:38px;height:38px;border:0;border-radius:0;background:#fff;object-fit:contain}.brand-copy{display:grid;gap:1px;min-width:0}.brand-copy strong{font-size:19px;line-height:1.1;letter-spacing:-.03em}.brand-copy small{color:rgba(255,255,255,.48);font-size:9px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.side-section-label{padding:0 12px;color:rgba(255,255,255,.35);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.side-navigation{display:grid;gap:3px}.side-link{position:relative;width:100%;border:0;background:transparent;gap:12px;min-height:43px;padding:10px 12px;color:rgba(231,240,250,.64);border-radius:12px;font-weight:650;text-align:left}.side-link span{flex:1}.side-link:hover{background:rgba(255,255,255,.07);color:#fff;transform:translateX(2px)}.side-link.active{background:linear-gradient(90deg,rgba(17,172,174,.24),rgba(17,172,174,.11));color:#fff;box-shadow:inset 3px 0 0 #29c1c1}.side-icon{width:20px;color:rgba(255,255,255,.58);font-size:16px;text-align:center}.side-link.active .side-icon{color:#54d6d4}.side-chevron{font-size:11px;transition:transform .2s ease}.side-group.active .side-chevron{transform:rotate(180deg)}.side-group-title{margin:0}.side-subnav{position:relative;margin:2px 0 5px 22px;padding:2px 0 2px 17px;gap:2px;border-left:1px solid rgba(255,255,255,.1)}.side-sublink{position:relative;padding:7px 10px;color:rgba(231,240,250,.5);font-size:12.5px;font-weight:600}.side-sublink:before{content:"";position:absolute;left:-21px;top:50%;width:7px;height:1px;background:rgba(255,255,255,.14)}.side-sublink:hover,.side-sublink.active{background:rgba(255,255,255,.06);color:#fff}.sidebar-footer{display:flex;gap:10px;margin-top:auto;padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.04)}.sidebar-footer>i{color:#45cecc;font-size:17px}.sidebar-footer div{display:grid;gap:3px}.sidebar-footer strong{font-size:11px}.sidebar-footer span{color:rgba(255,255,255,.42);font-size:10px;line-height:1.35}
.main{padding:0 30px 34px}.topbar{position:relative;min-height:96px;margin-bottom:24px;padding:18px 0;border-bottom:1px solid rgba(12,39,71,.08)}.topbar h1{font-size:26px;letter-spacing:-.035em}.topbar p{font-size:12.5px}.topbar-kicker{display:flex;align-items:center;gap:6px;margin-bottom:4px;color:#8a97a8;font-size:10px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.topbar-kicker i{color:var(--teal)}.topbar-kicker span{color:#c3ccd6}.topbar-user-btn{min-height:48px;padding:6px 10px 6px 7px;border-color:var(--line);background:#fff;box-shadow:var(--shadow-sm)}.topbar-user-btn:hover,.topbar-user-btn:focus{border-color:#c6d4e2;background:#fff;color:var(--navy);box-shadow:0 10px 26px rgba(12,39,71,.09)}.topbar-user-avatar{border-radius:50%;background:linear-gradient(135deg,#124d78,#0aa6a6)}.topbar-user-menu{box-shadow:var(--shadow-md)}
.card-clean,.report-panel,.report-summary-card,.detail-section,.detail-page-header,.teacher-detail-section,.teacher-summary-card,.report-hero{border-color:var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.card-clean{transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.card-clean:hover{border-color:#d7e1ec}.report-hero,.detail-page-header{background:linear-gradient(135deg,#fff 65%,#f5fbfb)}.report-hero{padding:24px}.report-eyebrow,.detail-page-eyebrow{letter-spacing:.1em}.report-hero h2,.detail-page-header h2{letter-spacing:-.035em}.report-panel-header,.detail-section-header,.teacher-detail-section-header{background:#fbfcfe}.report-filter{border-color:var(--line);background:#fff;box-shadow:0 8px 20px rgba(12,39,71,.035)}
.btn{border-radius:11px;font-weight:700}.btn-primary{--bs-btn-bg:#0d3b63;--bs-btn-border-color:#0d3b63;--bs-btn-hover-bg:#082d4d;--bs-btn-hover-border-color:#082d4d;box-shadow:0 7px 16px rgba(13,59,99,.12)}.btn-outline-primary{--bs-btn-color:#0d3b63;--bs-btn-border-color:#cad7e4;--bs-btn-hover-bg:#0d3b63;--bs-btn-hover-border-color:#0d3b63;background:#fff}.form-control,.form-select{min-height:44px;border-color:#dce4ed;border-radius:11px;background-color:#fff;box-shadow:0 1px 2px rgba(12,39,71,.02)}.form-control:focus,.form-select:focus{border-color:rgba(10,166,166,.65);box-shadow:0 0 0 4px rgba(10,166,166,.1)}.form-label{color:#344258;font-size:12.5px;font-weight:700}.modal-content{border:0;border-radius:20px;box-shadow:var(--shadow-md)}.modal-header{padding:20px 22px;border-color:var(--line)}.modal-body{padding:22px}.modal-footer{padding:16px 22px;border-color:var(--line)}
.table-responsive{border-radius:13px}.table>:not(caption)>*>*{padding:.92rem .9rem;border-bottom-color:#edf1f5}.table thead th{color:#8490a0;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:#fafbfd}.table tbody tr{transition:background .15s ease}.table tbody tr:hover{background:#f8fbfd}.dataTables_wrapper .dataTables_filter input,.dataTables_wrapper .dataTables_length select{border-color:#dce4ed;background:#fff}.dataTables_wrapper .dataTables_paginate .paginate_button.current{border:0!important;border-radius:9px!important;background:var(--navy)!important;color:#fff!important}
.badge-soft{font-size:11px;letter-spacing:.01em}.finance-note{display:flex;align-items:flex-start;gap:9px;background:#edfafa;color:#087f80;font-weight:700}
/* Dashboard */
.dashboard-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;padding:27px 30px;border-radius:22px;background:linear-gradient(118deg,#0a3155 0%,#0b4166 55%,#087f83 130%);color:#fff;box-shadow:0 18px 42px rgba(8,49,85,.17)}.dashboard-welcome:after{content:"";position:absolute;right:8%;top:-95px;width:230px;height:230px;border:45px solid rgba(255,255,255,.045);border-radius:50%}.dashboard-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:9px;color:#7de2de;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.dashboard-welcome h2{margin:0 0 7px;font-size:27px;font-weight:800;letter-spacing:-.035em}.dashboard-welcome p{margin:0;color:rgba(255,255,255,.62);font-size:13px}.dashboard-date{position:relative;z-index:1;display:flex;align-items:center;gap:10px;min-width:120px;padding:12px 15px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:rgba(255,255,255,.07);backdrop-filter:blur(8px)}.dashboard-date>i{color:#7de2de;font-size:20px}.dashboard-date span{display:grid;font-size:18px;font-weight:800;line-height:1}.dashboard-date small{margin-top:4px;color:rgba(255,255,255,.55);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.dashboard-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 2px 12px}.dashboard-section-heading>div>span{color:var(--teal);font-size:9.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.dashboard-section-heading h3{margin:2px 0 0;color:var(--navy2);font-size:18px;font-weight:800;letter-spacing:-.025em}.dashboard-section-heading>a{color:#64748b;font-size:11.5px;font-weight:700;text-decoration:none}.dashboard-section-heading>a:hover{color:var(--teal)}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-stat-grid .stat-card{position:relative;overflow:hidden;min-height:145px;padding:19px}.dashboard-stat-grid .stat-card:after{content:"";position:absolute;right:-22px;bottom:-26px;width:85px;height:85px;border:17px solid currentColor;border-radius:50%;opacity:.035}.stat-card-top{display:flex;align-items:center;justify-content:space-between}.stat-card-top>span{font-size:11px;letter-spacing:.025em}.stat-card-top>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;font-size:15px}.dashboard-stat-grid .stat-card strong{margin-top:16px;font-size:29px}.dashboard-stat-grid .stat-card>small{display:block;margin-top:7px;color:#94a0b0;font-size:10.5px}.stat-card-blue .stat-card-top>i{background:#eaf3fc;color:#2773b9}.stat-card-cyan .stat-card-top>i{background:#e7f9f7;color:#078b89}.stat-card-violet .stat-card-top>i{background:#f1edff;color:#7556d7}.stat-card-amber .stat-card-top>i{background:#fff5e4;color:#c87b0c}.finance-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.finance-stat{min-height:106px;padding:17px}.finance-stat>span{display:flex;align-items:center;gap:7px;color:#7c899a;font-size:10.5px;font-weight:700}.finance-stat>span i{color:#0d9394}.finance-stat>strong{display:block;margin-top:16px;color:var(--navy2);font-size:17px;font-weight:800;letter-spacing:-.025em}.finance-stat-highlight{border-color:rgba(10,166,166,.32);background:linear-gradient(135deg,#f3fcfb,#fff)}.finance-stat-highlight>strong{color:#087f80}.dashboard-insight,.dashboard-withdrawal{height:100%;padding:22px}.dashboard-panel-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.panel-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#e8f8f7;color:#078c8d;font-size:17px}.panel-icon-warm{background:#fff3e2;color:#c4790c}.dashboard-panel-title>div{display:grid}.dashboard-panel-title>div>span{color:#8b97a7;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.dashboard-panel-title h5{margin:2px 0 0;color:var(--navy2);font-size:15px;font-weight:800}.dashboard-insight>p{color:#66758a;font-size:12.5px;line-height:1.65}.withdrawal-list{display:grid}.withdrawal-item{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f5}.withdrawal-item:last-child{border-bottom:0}.withdrawal-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#edf4fa;color:var(--navy);font-size:11px;font-weight:800}.withdrawal-item>div{display:grid}.withdrawal-item>div strong{font-size:11.5px}.withdrawal-item>div span{color:#8a96a6;font-size:9.5px}.withdrawal-item>strong{font-size:11.5px}.empty-state{display:grid;place-items:center;gap:7px;padding:28px;color:#9aa5b3;font-size:11px}.empty-state i{font-size:25px}
/* Authentication */
.auth-page{grid-template-columns:minmax(480px,1.08fr) minmax(440px,.92fr);background:#f7f9fc}.auth-brand{position:relative;overflow:hidden;min-height:100vh;padding:37px 52px;background:linear-gradient(145deg,#071e37 0%,#0a3458 60%,#096a70 135%)}.auth-brand:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(to bottom,black,transparent 80%)}.auth-orb{position:absolute;border-radius:50%;filter:blur(2px)}.auth-orb-one{top:-160px;right:-100px;width:390px;height:390px;border:70px solid rgba(51,208,204,.055)}.auth-orb-two{left:-190px;bottom:-220px;width:460px;height:460px;background:rgba(32,184,185,.045)}.auth-logo{position:relative;z-index:2;display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none}.auth-logo>span{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.14)}.auth-logo img{width:39px;height:39px;object-fit:contain}.auth-logo>strong{display:grid;font-size:20px;line-height:1.05;letter-spacing:-.03em}.auth-logo small{margin-top:4px;color:rgba(255,255,255,.45);font-size:8px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.auth-intro{position:relative;z-index:2;max-width:580px;margin:auto 0}.auth-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(101,222,219,.18);border-radius:99px;background:rgba(49,192,191,.08);color:#72dcda;font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.auth-intro h1{margin:20px 0 15px;font-size:clamp(42px,4.5vw,68px);font-weight:750;line-height:1.04;letter-spacing:-.055em}.auth-intro h1 em{color:#65d6d3;font-style:normal}.auth-intro>p{max-width:510px;margin:0;color:rgba(255,255,255,.58);font-size:15px;line-height:1.7}.auth-trust{display:flex;align-items:center;gap:11px;margin-top:35px}.auth-trust>span{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.06);color:#67d7d4;font-size:18px}.auth-trust>div{display:grid;gap:2px}.auth-trust strong{font-size:12px}.auth-trust small{color:rgba(255,255,255,.42);font-size:10px}.auth-brand-footer{position:relative;z-index:2;display:flex;justify-content:space-between;color:rgba(255,255,255,.3);font-size:9px;letter-spacing:.035em}.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:44px;background:radial-gradient(circle at 100% 0,rgba(10,166,166,.08),transparent 32%),#f8fafc}.auth-card{width:min(425px,100%);padding:34px;border:1px solid #e7ecf2;border-radius:22px;box-shadow:0 25px 70px rgba(12,39,71,.09)}.auth-form-eyebrow{display:block;margin-bottom:7px;color:var(--teal);font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.auth-card h2{margin:0;color:var(--navy2);font-size:27px;font-weight:800;letter-spacing:-.04em}.auth-subtitle{margin:7px 0 27px;color:#8490a0;font-size:12.5px}.auth-card .form-label{margin-bottom:7px}.input-icon{position:relative}.input-icon>i{position:absolute;left:14px;top:50%;z-index:2;transform:translateY(-50%);color:#8c98a8;font-size:15px}.input-icon .form-control{height:49px;padding-left:42px;border-radius:12px;background:#fbfcfe}.input-icon .form-control::placeholder{color:#b0b9c4}.input-password .form-control{padding-right:44px}.password-toggle{position:absolute;right:8px;top:50%;z-index:2;display:grid;place-items:center;width:34px;height:34px;transform:translateY(-50%);border:0;border-radius:9px;background:transparent;color:#8b97a7}.password-toggle:hover{background:#edf3f7;color:var(--navy)}.auth-security-note{display:flex;align-items:center;gap:7px;margin:15px 0 20px;color:#8c97a6;font-size:9.5px}.auth-security-note i{color:#0aa6a6}.auth-submit{display:flex;align-items:center;justify-content:space-between;width:100%;height:50px;padding:0 18px;border-radius:12px;background:linear-gradient(90deg,#0c355b,#0b526b);box-shadow:0 12px 25px rgba(12,53,91,.2)}.auth-submit:hover{transform:translateY(-1px);box-shadow:0 15px 28px rgba(12,53,91,.25)}.auth-submit i{font-size:15px}.auth-help{margin:20px 0 0;color:#9aa4b1;font-size:9.5px;text-align:center}.auth-mobile-logo{display:none}
@media(max-width:1200px){.dashboard-stat-grid,.finance-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-page{grid-template-columns:minmax(420px,.9fr) minmax(420px,1.1fr)}.auth-brand{padding:36px}.auth-intro h1{font-size:48px}}
@media(max-width:900px){.app-shell{display:block}.sidebar{position:fixed;height:100vh}.main{padding:0 17px 26px}.topbar{min-height:86px}.topbar-kicker{display:none}.topbar h1{font-size:22px}.auth-page{display:block}.auth-brand{display:none}.auth-form-panel{min-height:100vh;padding:25px}.auth-card{padding:30px}.auth-mobile-logo{display:flex;align-items:center;gap:8px;margin-bottom:30px;color:var(--navy2)}.auth-mobile-logo img{width:35px;height:35px;object-fit:contain}.auth-mobile-logo strong{font-size:17px}.dashboard-welcome{padding:23px}.dashboard-date{display:none}.report-hero{padding:20px}}
@media(max-width:640px){.dashboard-stat-grid,.finance-stat-grid{grid-template-columns:1fr}.dashboard-welcome h2{font-size:23px}.dashboard-section-heading>a{display:none}.topbar p{display:none}.topbar-user-btn{min-height:42px}.topbar-user-avatar{width:30px;height:30px;flex-basis:30px}.auth-form-panel{padding:16px}.auth-card{padding:26px 22px}.auth-card h2{font-size:24px}.report-hero{border-radius:16px}.dashboard-welcome{border-radius:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.side-group:not(.active):not(.expanded) .side-subnav{display:none}.side-group.expanded .side-chevron{transform:rotate(180deg)}
.app-shell{display:grid;align-items:start;min-height:100vh}.sidebar{align-self:start;min-height:100vh}.main{min-width:0;align-self:start}.side-navigation{min-height:0}.side-group.active>.side-subnav,.side-group.expanded>.side-subnav{display:grid}.side-group:not(.active):not(.expanded)>.side-subnav{display:none}.side-link,.side-sublink{opacity:1}.sidebar .side-link,.sidebar .side-sublink{visibility:visible}.report-panel,.report-hero,.report-summary-card{overflow:visible}.dataTables_wrapper{width:100%}.dataTables_wrapper .dataTables_scroll,.dataTables_wrapper .table-responsive{max-width:100%}
@media(min-width:901px){.sidebar{position:sticky;top:0;max-height:100vh}.main{padding-top:22px}.topbar{margin-top:0}.sidebar-toggle{display:none!important}}
.sidebar{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;width:272px}.brand,.side-link,.side-group-title,.sidebar-footer{min-width:0}.brand-copy,.side-link span,.sidebar-footer div{min-width:0;overflow:hidden}.brand-copy strong,.brand-copy small,.side-link span,.side-sublink{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-navigation{display:flex;flex-direction:column;align-content:start;gap:3px;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:3px}.side-group{display:block;min-width:0}.side-group+.side-group,.side-group+.side-link,.side-link+.side-group{margin-top:3px}.side-navigation::-webkit-scrollbar{width:4px}.side-navigation::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:999px}.sidebar-footer{margin-top:0}.sidebar-footer span{max-height:28px;overflow:hidden}
@media(max-width:900px){.sidebar{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.side-navigation{min-height:0;overflow-y:auto}}
.booking-report-hero{align-items:center}.booking-hero-copy{display:grid;justify-items:start}.report-hero-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:10px;border-radius:14px;background:linear-gradient(135deg,#e6f8f7,#f8fbff);color:var(--teal);font-size:20px;box-shadow:inset 0 0 0 1px rgba(34,166,153,.16)}.booking-report-filter{width:min(560px,100%);padding:16px}.booking-report-filter .row{--bs-gutter-x:12px;--bs-gutter-y:12px}.booking-report-filter .form-control,.booking-report-filter .form-select{min-height:44px}.teacher-document-empty{padding:28px;text-align:center;color:var(--muted)}.teacher-document-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;padding:16px}.teacher-document-preview-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(12,39,71,.035)}.teacher-document-preview-media{min-width:0}.teacher-document-preview-media img,.teacher-document-pdf-preview,.teacher-document-missing-preview{width:130px;height:150px;border:1px solid var(--line);border-radius:14px;background:#f7fbff;overflow:hidden}.teacher-document-preview-media img{display:block;object-fit:cover}.teacher-document-pdf-preview,.teacher-document-missing-preview{display:grid;place-items:center;text-align:center;text-decoration:none;color:var(--navy)}.teacher-document-pdf-preview i,.teacher-document-missing-preview i{font-size:34px;color:#d4473f}.teacher-document-pdf-preview span,.teacher-document-missing-preview span{display:block;margin-top:-28px;font-size:11px;font-weight:900}.teacher-document-missing-preview{color:#a06a00;background:#fff9ed}.teacher-document-missing-preview i{color:#d48a16}.teacher-document-preview-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.teacher-document-preview-body h6{margin:10px 0 4px;color:var(--navy2);font-size:15px;font-weight:900}.teacher-document-preview-body p{margin:0;color:var(--muted);font-size:12px;word-break:break-word}.teacher-document-meta{display:grid;gap:4px;margin-top:10px;color:#7b8797;font-size:11px}.teacher-document-meta span{display:flex;gap:6px;align-items:center}@media(max-width:640px){.teacher-document-preview-card{grid-template-columns:1fr}.teacher-document-preview-media img,.teacher-document-pdf-preview,.teacher-document-missing-preview{width:100%;height:210px}}
.cs-summary-chip{display:flex;align-items:center;gap:9px;padding:8px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.cs-summary-chip i{font-size:18px;color:var(--teal)}.cs-summary-chip div{display:grid;gap:1px}.cs-summary-chip strong{font-size:17px;font-weight:900;color:var(--navy2);line-height:1}.cs-summary-chip span{font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.cs-workspace{display:grid;grid-template-columns:360px minmax(0,1fr);height:calc(100vh - 180px);min-height:560px;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-md);background:#fff}.cs-sidebar{display:grid;grid-template-rows:auto 1fr auto;border-right:1px solid var(--line);background:#fff;min-height:0;overflow:hidden}.cs-sidebar-top{background:linear-gradient(180deg,#f9fbfd,#fff);border-bottom:1px solid #edf1f7;padding:0}.cs-search-box{position:relative;padding:14px 14px 10px}.cs-search-box i{position:absolute;left:27px;top:50%;transform:translateY(-50%);color:#9aaabb;font-size:14px;pointer-events:none}.cs-search-box .form-control{min-height:38px;padding-left:36px;border-radius:20px;background:#f0f4f8;border-color:#e8edf4;font-size:13px}.cs-search-box .form-control:focus{background:#fff;border-color:rgba(10,166,166,.6);box-shadow:0 0 0 3px rgba(10,166,166,.1)}.cs-tabs{display:flex;gap:0;padding:0 14px;border-bottom:1px solid #edf1f7}.cs-tab{flex:1;padding:10px 0;border:0;background:transparent;font-size:12.5px;font-weight:700;color:#8a97a8;border-bottom:2px solid transparent;transition:all .2s ease;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}.cs-tab.active{color:var(--teal);border-bottom-color:var(--teal)}.cs-tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e53935;color:#fff;font-size:10px;font-weight:900}.cs-filter-row{display:flex;gap:8px;padding:10px 14px 12px}.cs-filter-row .form-select{min-height:34px;font-size:12px;border-radius:9px;flex:1}.cs-ticket-list{overflow-y:auto;min-height:0;background:#fff}.cs-ticket-list::-webkit-scrollbar{width:4px}.cs-ticket-list::-webkit-scrollbar-thumb{background:#dce4ed;border-radius:999px}.cs-ticket-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:start;padding:13px 14px;border-bottom:1px solid #f2f5f9;cursor:pointer;transition:background .15s ease;user-select:none}.cs-ticket-item:hover{background:#f7fbfd}.cs-ticket-item.active{background:linear-gradient(90deg,#eaf9f8,#f5fbff);border-left:3px solid var(--teal)}.cs-ticket-item.unread .cs-ticket-item-name{font-weight:900}.cs-ticket-item.unread .cs-ticket-item-preview{font-weight:700;color:var(--navy2)}.cs-ticket-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#0c2747,#0aa6a6);color:#fff;font-size:14px;font-weight:900;flex:0 0 42px}.cs-ticket-avatar.student{background:linear-gradient(135deg,#6a3e98,#9c4fd6)}.cs-ticket-avatar.urgent{background:linear-gradient(135deg,#b91c1c,#e53935)}.cs-ticket-item-body{display:grid;gap:3px;min-width:0}.cs-ticket-item-name{font-size:13.5px;font-weight:700;color:var(--navy2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-ticket-item-subject{font-size:11.5px;color:#8a97a8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-ticket-item-preview{font-size:12px;color:#9aa5b3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-ticket-item-meta{display:grid;gap:5px;justify-items:end;min-width:50px}.cs-ticket-item-time{font-size:10.5px;color:#a0aab4;font-weight:600;white-space:nowrap}.cs-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e53935;color:#fff;font-size:10px;font-weight:900}.cs-ticket-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px;color:#8a97a8;font-size:13px}.cs-sidebar-footer{padding:10px 14px;border-top:1px solid #edf1f7;font-size:11px;color:#a0aab4;text-align:center}.cs-chat-area{display:grid;grid-template-rows:1fr;min-height:0;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}.cs-chat-empty{display:grid;place-items:center;height:100%;background:linear-gradient(135deg,#f5fafc,#eef7f7)}.cs-chat-empty-inner{text-align:center;max-width:360px}.cs-empty-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 16px;border-radius:24px;background:linear-gradient(135deg,#e6f9f7,#f0f8ff);color:var(--teal);font-size:30px;box-shadow:0 10px 28px rgba(10,166,166,.12)}.cs-chat-empty-inner h5{color:var(--navy2);font-weight:900;margin:0 0 8px}.cs-chat-empty-inner p{color:#8a97a8;font-size:13px;line-height:1.6;margin:0 0 18px}.cs-empty-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.cs-empty-chips span{display:flex;align-items:center;gap:6px;padding:5px 10px;border-radius:99px;background:#fff;border:1px solid #e4ecf5;font-size:11.5px;font-weight:700;color:#6a7a8a}.cs-empty-chips i{font-size:9px}.cs-chat-detail{display:grid;grid-template-rows:auto auto auto 1fr auto;height:100%;min-height:0;overflow:hidden}.cs-chat-header{display:flex;align-items:center;gap:13px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 2px 8px rgba(12,39,71,.04);flex-shrink:0}.cs-chat-header-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:linear-gradient(135deg,#0c2747,#0aa6a6);color:#fff;font-size:14px;font-weight:900}.cs-chat-header-info{flex:1;min-width:0;display:grid;gap:2px}.cs-chat-header-info strong{font-size:14.5px;font-weight:900;color:var(--navy2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-chat-header-info span{font-size:11.5px;color:#8a97a8}.cs-chat-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cs-status-select{min-width:160px;min-height:36px;font-size:12.5px;border-radius:9px}.cs-ticket-info{display:flex;flex-wrap:wrap;gap:0;padding:10px 18px;border-bottom:1px solid #f0f4f9;background:linear-gradient(135deg,#fbfdff,#f7fbfd);flex-shrink:0}.cs-ticket-info-item{display:flex;align-items:center;gap:6px;padding:4px 12px 4px 0;font-size:11.5px;color:#7a8899}.cs-ticket-info-item i{color:var(--teal);font-size:12px}.cs-ticket-subject-bar{display:flex;align-items:center;gap:9px;padding:10px 18px;border-bottom:1px solid #edf1f7;background:#f9fbff;font-size:13px;color:var(--navy2);flex-shrink:0}.cs-ticket-subject-bar i{color:var(--teal);font-size:16px}.cs-ticket-subject-bar strong{font-weight:800}.cs-message-area{overflow-y:auto;padding:18px 22px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,#f2f8fd,#eef5fa)}.cs-message-area::-webkit-scrollbar{width:5px}.cs-message-area::-webkit-scrollbar-thumb{background:#cdd8e4;border-radius:999px}.cs-message-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px;color:#8a97a8;font-size:13px}.cs-msg{display:flex;gap:8px;max-width:75%;animation:msgIn .2s ease}.cs-msg.mine{align-self:flex-end;flex-direction:row-reverse}@keyframes msgIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.cs-msg-avatar{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#c5d5e8;color:var(--navy);font-size:10px;font-weight:900;align-self:flex-end}.cs-msg.mine .cs-msg-avatar{background:linear-gradient(135deg,#0c2747,#0aa6a6);color:#fff}.cs-msg-bubble{padding:9px 13px;border-radius:18px;background:#fff;border:1px solid #e2eaf3;box-shadow:0 3px 10px rgba(12,39,71,.06);max-width:100%}.cs-msg.mine .cs-msg-bubble{background:linear-gradient(135deg,#0c2747,#0b4a73);border-color:transparent;color:#fff}.cs-msg-meta{display:flex;gap:6px;align-items:center;margin-bottom:4px;font-size:10.5px;font-weight:700;color:#9aaabb}.cs-msg.mine .cs-msg-meta{color:rgba(255,255,255,.65);flex-direction:row-reverse}.cs-msg-text{margin:0;font-size:13.5px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.cs-msg.mine .cs-msg-text{color:#fff}.cs-date-divider{align-self:center;display:flex;align-items:center;gap:10px;width:100%;margin:6px 0}.cs-date-divider:before,.cs-date-divider:after{content:"";flex:1;height:1px;background:#dae4ee}.cs-date-divider span{flex-shrink:0;padding:4px 12px;border-radius:99px;background:#e8edf5;color:#7a8899;font-size:11px;font-weight:700}.cs-reply-box{display:flex;align-items:flex-end;gap:10px;padding:14px 18px;border-top:1px solid #e8eef5;background:#fff;flex-shrink:0}.cs-reply-input-wrap{flex:1;min-width:0}.cs-reply-input-wrap .form-control{min-height:44px;max-height:120px;border-radius:22px;background:#f0f4f8;border-color:#e4ecf3;font-size:13.5px;padding:10px 16px;resize:none;overflow-y:auto;line-height:1.55}.cs-reply-input-wrap .form-control:focus{background:#fff;border-color:rgba(10,166,166,.6);box-shadow:0 0 0 3px rgba(10,166,166,.1)}.cs-reply-btn{width:44px;height:44px;border-radius:50%;padding:0;display:grid;place-items:center;font-size:16px;flex-shrink:0;background:linear-gradient(135deg,#0c3560,#0a7a7c);border:0;box-shadow:0 6px 18px rgba(10,120,120,.22)}.cs-reply-btn:hover{transform:scale(1.06);box-shadow:0 8px 22px rgba(10,120,120,.28)}@media(max-width:1100px){.cs-workspace{grid-template-columns:300px minmax(0,1fr)}}@media(max-width:860px){.cs-workspace{grid-template-columns:1fr;height:auto}.cs-sidebar{height:50vh}.cs-chat-area{height:60vh}}.support-workspace,.support-list-panel,.support-chat-panel,.support-empty-state,.support-chat-header,.support-user-strip,.support-message-list,.support-message,.support-bubble,.support-bubble-meta,.support-reply-box,.support-ticket-subject,.support-unread-dot,.support-status-select{}
.auth-body{min-height:100vh;display:grid;place-items:center;padding:28px;background:#eef2f6}.auth-body .auth-page{width:min(960px,calc(100vw - 36px));min-height:560px;grid-template-columns:minmax(420px,1.08fr) minmax(360px,.92fr);overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(15,32,50,.15)}.auth-body .auth-brand{min-height:560px;padding:48px 60px;background:#25384c}.auth-body .auth-brand:after,.auth-body .auth-orb{display:none}.auth-body .auth-intro{margin:34px 0 0}.auth-body .auth-intro h1{font-size:clamp(34px,3.1vw,48px);line-height:1.08}.auth-body .auth-brand-footer{margin-top:auto}.auth-body .auth-form-panel{min-height:560px;padding:48px 60px;background:#fff}.auth-body .auth-card{width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.auth-body .auth-submit{justify-content:center;gap:10px;background:#0d83ff;box-shadow:0 10px 18px rgba(13,131,255,.23)}.auth-body .auth-submit:hover{background:#0677ed}.auth-body .auth-help{text-align:center}
@media(max-width:900px){.auth-body{padding:18px}.auth-body .auth-page{display:block;width:min(430px,100%);min-height:auto;border-radius:22px}.auth-body .auth-form-panel{min-height:auto;padding:34px 28px}.auth-body .auth-card{padding:0}.auth-body .auth-brand{display:none}}
.auth-body .auth-submit{background:linear-gradient(90deg,#0c2747,#0a6f76);box-shadow:0 10px 18px rgba(12,39,71,.18)}.auth-body .auth-submit:hover{background:linear-gradient(90deg,#071d36,#087f80)}
.teacher-location-map{width:100%;height:390px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#edf3f8}.teacher-location-panel{height:100%;display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fbfdff}.teacher-location-panel .btn{min-height:42px}.leaflet-container{font-family:"Segoe UI Variable","Segoe UI",Inter,Arial,sans-serif}.leaflet-control-attribution{font-size:10px}
.teacher-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:17px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#fbfdff,#f3fbfb)}.teacher-map-toolbar h5{margin:0;color:var(--navy2);font-weight:800;letter-spacing:-.025em}.teacher-map-toolbar p{margin:3px 0 0;color:#7f8ca0;font-size:12px}.teacher-map-search{display:flex;align-items:center;gap:8px;min-width:min(460px,100%)}.teacher-map-search .form-control{min-height:42px}.teacher-map-search .btn{min-width:46px;min-height:42px}.teacher-distribution-map{width:100%;height:560px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#eaf1f8,#f7fbfd);box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}.teacher-map-popup{display:grid;gap:3px;min-width:180px}.teacher-map-popup strong{color:var(--navy2);font-size:13px}.teacher-map-popup span{color:#0b8c8d;font-size:11px;font-weight:800}.teacher-map-popup small{color:#738095;font-size:10.5px}
.detail-mini-card{height:100%;display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfdff}.detail-mini-card span{color:#7f8ca0;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.detail-mini-card strong{color:var(--navy2);font-size:14px;font-weight:800;word-break:break-word}.detail-mini-card .badge-soft{width:max-content}
.booking-cancel-detail{display:grid;gap:12px}.detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.detail-card{min-width:0;display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(12,39,71,.035)}.detail-card span{color:#7f8ca0;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.detail-card strong{color:var(--navy2);font-size:14px;font-weight:900;word-break:break-word}.detail-card small{color:var(--muted);font-size:11px;line-height:1.45}.detail-card .badge-soft{width:max-content}
@media(max-width:1100px){.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.detail-grid{grid-template-columns:1fr}}
@media(max-width:760px){.teacher-location-map{height:300px}.teacher-location-panel{padding:14px}}
@media(max-width:760px){.teacher-map-toolbar{display:grid}.teacher-map-search{min-width:0}.teacher-distribution-map{height:380px}}
.employee-form-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}.employee-photo-panel{position:sticky;top:0;display:grid;align-content:start;padding:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f5fafb);box-shadow:0 10px 28px rgba(12,39,71,.045)}.employee-photo-preview{display:grid;place-items:center;width:160px;height:160px;margin:0 auto;border:1px solid #dbe6ef;border-radius:28px;background:linear-gradient(135deg,#edf6f8,#fff);overflow:hidden;color:var(--navy);font-size:38px;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 18px 35px rgba(12,39,71,.08)}.employee-photo-preview img{width:100%;height:100%;object-fit:cover}.employee-photo-preview i{color:#9aa7b7}.employee-linked-user{display:grid;gap:3px;padding:12px;border:1px dashed #ccd9e6;border-radius:14px;background:#fff;color:#718096;font-size:12px;line-height:1.45}.employee-linked-user strong{color:var(--navy2);font-size:12.5px}.employee-form-sections{display:grid;gap:14px;min-width:0}.employee-form-section{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(12,39,71,.035)}.employee-section-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.employee-section-title>i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f8f7;color:var(--teal);font-size:17px}.employee-section-title div{display:grid;gap:2px}.employee-section-title strong{color:var(--navy2);font-size:15px;font-weight:900;letter-spacing:-.02em}.employee-section-title span{color:#8793a3;font-size:11.5px}.employee-document-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.employee-document-chip{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #e2eaf2;border-radius:14px;background:#fbfdff}.employee-document-chip i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf7f7;color:var(--teal)}.employee-document-chip div{display:grid;gap:2px;min-width:0}.employee-document-chip strong{overflow:hidden;color:var(--navy2);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.employee-document-chip span{color:#8793a3;font-size:10.5px;text-transform:uppercase}.employee-document-chip a{color:var(--teal);font-size:11.5px;font-weight:900;text-decoration:none}.employee-document-empty{padding:14px;border:1px dashed #d7e2ed;border-radius:14px;background:#fbfdff;color:#8793a3;font-size:12px;text-align:center}.employee-document-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,.8fr) minmax(210px,1fr) 42px;gap:10px;align-items:end;padding:12px;border:1px solid #e4ecf3;border-radius:15px;background:#fbfdff}.employee-document-remove{width:42px;height:42px;padding:0}.employee-table-person{display:flex;align-items:center;gap:10px;min-width:0}.employee-table-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:linear-gradient(135deg,#0c2747,#0aa6a6);overflow:hidden;color:#fff;font-size:12px;font-weight:900}.employee-table-avatar img{width:100%;height:100%;object-fit:cover}@media(max-width:1100px){.employee-form-layout{grid-template-columns:1fr}.employee-photo-panel{position:static}.employee-document-row{grid-template-columns:1fr}.employee-document-remove{width:100%}}
/* Auth Glassmorphism Modern Layout (Mockup Match) */
.auth-body {
  min-height: 100vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px 20px !important;
  background-image: url('../../img/background.jfif') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative;
  font-family: 'Segoe UI Variable', 'Segoe UI', Inter, system-ui, -apple-system, sans-serif !important;
}

.auth-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(30, 20, 10, 0.12), rgba(15, 23, 42, 0.38));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
}

.auth-wrapper {
  position: relative;
  z-index: 2;
  width: min(920px, 95vw);
  border-radius: 28px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.auth-body .auth-page {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  width: 100% !important;
  min-height: 500px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
}

/* Left Brand Panel */
.auth-body .auth-brand {
  min-height: 500px !important;
  background: linear-gradient(145deg, #0b1a2d 0%, #0f2742 100%) !important;
  padding: 40px 45px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
  color: #ffffff !important;
}

.auth-constellation-svg {
  position: absolute !important;
  right: -250px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 520px !important;
  height: 520px !important;
  pointer-events: none !important;
  opacity: 0.65 !important;
  z-index: 1 !important;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  position: relative;
  z-index: 2;
}

.logo-icon-box {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-icon-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.logo-text-group strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-text-group small {
  display: block;
  color: #94a3b8;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.auth-body .auth-intro {
  margin: 30px 0 !important;
  position: relative;
  z-index: 2;
}

.auth-body .auth-intro h1 {
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

.auth-intro h1 .highlight-teal {
  color: #4ea2ad;
}

.auth-body .auth-brand-footer {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 11px !important;
  margin-top: 0 !important;
}

.compass-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* Right Form Panel */
.auth-body .auth-form-panel {
  min-height: 500px !important;
  background: #ffffff !important;
  padding: 42px 48px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
}

.auth-body .auth-card {
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.auth-form-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f766e;
  margin-bottom: 6px;
}

.auth-card h2 {
  font-size: 25px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 24px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.input-icon {
  position: relative;
}

.input-icon i.bi-envelope,
.input-icon i.bi-lock {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
  z-index: 2;
}

.input-icon .form-control {
  height: 45px !important;
  padding-left: 42px !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  font-size: 13.5px !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}

.input-icon .form-control:focus {
  background: #ffffff !important;
  border-color: #0f766e !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12) !important;
}

.input-icon .form-control::placeholder {
  color: #a1a1aa !important;
}

.input-password .form-control {
  padding-right: 42px !important;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 4px 8px;
  font-size: 15px;
  z-index: 2;
  cursor: pointer;
}

.password-toggle:hover {
  color: #475569;
}

.auth-body .auth-submit {
  height: 48px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #092540 0%, #006666 100%) !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 22px !important;
  box-shadow: 0 8px 20px rgba(9, 37, 64, 0.2) !important;
  transition: all 0.25s ease !important;
  margin-top: 8px !important;
}

.auth-body .auth-submit:hover {
  background: linear-gradient(135deg, #061b30 0%, #004d4d 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 25px rgba(9, 37, 64, 0.3) !important;
}

.auth-body .auth-help {
  margin-top: 22px !important;
  margin-bottom: 0 !important;
  text-align: center !important;
  font-size: 11px !important;
  color: #94a3b8 !important;
}

@media (max-width: 860px) {
  .auth-body .auth-page {
    grid-template-columns: 1fr !important;
  }
  .auth-body .auth-brand {
    display: none !important;
  }
  .auth-body .auth-form-panel {
    padding: 35px 28px !important;
  }
}

/* Premium Purchase Detail Component */
.purchase-detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.purchase-detail-hero {
  background: linear-gradient(135deg, #0b1a2d 0%, #0f3456 50%, #0a4f54 100%);
  border-radius: 18px;
  padding: 24px 28px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 26, 45, 0.18);
}

.purchase-detail-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 206, 234, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.purchase-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.purchase-no-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.purchase-no-badge i {
  font-size: 26px;
  color: #00ceea;
}

.purchase-no-badge h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.purchase-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.purchase-status-pill.status-posted {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.purchase-status-pill.status-draft {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.purchase-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.purchase-hero-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.purchase-hero-item span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.purchase-hero-item strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.purchase-hero-item .grand-amount {
  font-size: 18px;
  font-weight: 900;
  color: #34d399;
}

/* Info Cards Grid */
.purchase-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.purchase-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.purchase-info-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.purchase-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e6f8f7;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.purchase-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.purchase-info-content span {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.purchase-info-content strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Table Card */
.purchase-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.purchase-table-header {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.purchase-table-header h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.purchase-table-header .item-count-badge {
  background: #0f766e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.purchase-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.purchase-table th {
  background: #f0fdfa;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  border-bottom: 1px solid #ccfbf1;
}

.purchase-table td {
  padding: 14px 18px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.purchase-table tr:last-child td {
  border-bottom: none;
}

.purchase-table tr:hover td {
  background: #f8fafc;
}

.purchase-item-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 13.5px;
}

.purchase-item-code {
  font-size: 11px;
  color: #64748b;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.purchase-unit-chip {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.purchase-table tfoot td {
  background: #f8fafc;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  border-top: 2px solid #e2e8f0;
}

/* Notice Banners */
.purchase-notice-posted {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #065f46;
  font-size: 12.5px;
}

.purchase-notice-posted i {
  font-size: 22px;
  color: #10b981;
}

.purchase-notice-draft {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #92400e;
  font-size: 12.5px;
}

.purchase-notice-draft i {
  font-size: 22px;
  color: #f59e0b;
}

/* Premium Return Detail Component */
.return-detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.return-detail-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #9f1239 100%);
  border-radius: 18px;
  padding: 24px 28px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.return-detail-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.return-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.return-no-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.return-no-badge i {
  font-size: 26px;
  color: #fb7185;
}

.return-no-badge h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.return-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.return-status-pill.status-posted {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.return-status-pill.status-draft {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.return-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.return-hero-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.return-hero-item span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.return-hero-item strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.return-hero-item .grand-amount {
  font-size: 18px;
  font-weight: 900;
  color: #fb7185;
}

/* Info Cards Grid */
.return-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.return-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.return-info-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.return-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffe4e6;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.return-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.return-info-content span {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.return-info-content strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Table Card */
.return-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.return-table-header {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.return-table-header h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.return-table-header .item-count-badge {
  background: #e11d48;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.return-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.return-table th {
  background: #fff1f2;
  color: #be123c;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  border-bottom: 1px solid #fecdd3;
}

.return-table td {
  padding: 14px 18px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.return-table tr:last-child td {
  border-bottom: none;
}

.return-table tr:hover td {
  background: #fff1f2;
}

.return-item-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 13.5px;
}

.return-item-code {
  font-size: 11px;
  color: #64748b;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.return-unit-chip {
  display: inline-block;
  background: #ffe4e6;
  color: #9f1239;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.return-table tfoot td {
  background: #f8fafc;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  border-top: 2px solid #e2e8f0;
}

/* Premium Stock Issue Detail Component */
.issue-detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.issue-detail-hero {
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 45%, #1e40af 100%);
  border-radius: 18px;
  padding: 24px 28px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 25, 44, 0.2);
}

.issue-detail-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.issue-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.issue-no-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.issue-no-badge i {
  font-size: 26px;
  color: #60a5fa;
}

.issue-no-badge h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.issue-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.issue-status-pill.status-posted {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.issue-status-pill.status-draft {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.issue-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.issue-hero-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.issue-hero-item span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.issue-hero-item strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.issue-hero-item .grand-amount {
  font-size: 18px;
  font-weight: 900;
  color: #60a5fa;
}

/* Info Cards Grid */
.issue-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.issue-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.issue-info-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.issue-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.issue-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.issue-info-content span {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.issue-info-content strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Table Card */
.issue-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.issue-table-header {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.issue-table-header h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.issue-table-header .item-count-badge {
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.issue-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.issue-table th {
  background: #eff6ff;
  color: #1e40af;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  border-bottom: 1px solid #bfdbfe;
}

.issue-table td {
  padding: 14px 18px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.issue-table tr:last-child td {
  border-bottom: none;
}

.issue-table tr:hover td {
  background: #eff6ff;
}

.issue-item-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 13.5px;
}

.issue-item-code {
  font-size: 11px;
  color: #64748b;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.issue-unit-chip {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.issue-table tfoot td {
  background: #f8fafc;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  border-top: 2px solid #e2e8f0;
}

/* ==========================================================================
   MOBILE & RESPONSIVE OVERHAUL (FIX FOR SIDEBAR & MOBILE UI)
   ========================================================================== */

.btn-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

@media (max-width: 900px) {
  .app-shell {
    display: block !important;
    width: 100% !important;
    min-height: 100vh !important;
  }

  .sidebar-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    z-index: 1030 !important;
  }

  /* Slide-over Mobile Sidebar Drawer */
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 285px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 1050 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45) !important;
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(180deg, #0b2949 0%, #071e37 70%, #061a30 100%) !important;
    overflow-y: auto !important;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0) !important;
  }

  /* Mobile Backdrop Layer */
  .sidebar-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(7, 24, 43, 0.65) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
    z-index: 1040 !important;
  }

  body.sidebar-open .sidebar-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.sidebar-open {
    overflow: hidden !important;
  }

  /* Main & Topbar Mobile Alignment */
  .main {
    padding: 12px 14px 28px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .topbar {
    min-height: auto !important;
    margin-bottom: 16px !important;
    padding: 12px 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .topbar-heading {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .topbar h1 {
    font-size: 20px !important;
    margin: 0 !important;
  }

  .topbar p {
    font-size: 11.5px !important;
    margin: 2px 0 0 !important;
  }

  /* DataTables & Table Responsiveness on Mobile */
  .table-responsive {
    border-radius: 12px !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    margin-bottom: 1rem !important;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    float: none !important;
    text-align: left !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
    margin-top: 10px !important;
  }

  /* Modals on Mobile Screens */
  .modal-dialog {
    margin: 10px auto !important;
    max-width: calc(100vw - 20px) !important;
  }

  .modal-content {
    border-radius: 16px !important;
  }

  .modal-header, .modal-body, .modal-footer {
    padding: 14px 16px !important;
  }

  .modal-footer {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}

@media (max-width: 640px) {
  .dashboard-welcome {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 18px !important;
  }

  .dashboard-stat-grid, .finance-stat-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .report-hero, .detail-page-header {
    padding: 16px !important;
  }

  .topbar-user-btn {
    padding: 4px 8px !important;
    min-height: 40px !important;
  }
}



