@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#121a2e;--navy2:#19243b;--bg:#f5f7fb;--panel:#fff;--text:#1d2939;--muted:#778196;--line:#e8ecf3;--purple:#6b63dc;--green:#159b72;--blue:#3778df;--orange:#d88932;--shadow:0 5px 22px rgba(27,39,66,.045)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',Arial,sans-serif;font-size:14px}.sidebar{width:252px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#d9e1ef;padding:25px 15px 14px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 28px;text-decoration:none;color:#fff;font-family:Manrope,sans-serif;font-size:13px;font-weight:800;letter-spacing:1.5px}.brand small{display:block;font-size:8px;color:#8c9bb7;letter-spacing:2px;margin-top:4px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:linear-gradient(145deg,#827af3,#5549bd);border-radius:11px;color:#fff;font-size:20px;box-shadow:0 5px 12px #0a1025}.nav-label{font-size:9px;letter-spacing:1.5px;color:#72819f;font-weight:700;padding:13px 12px 7px}.nav-item{height:39px;padding:0 12px;display:flex;align-items:center;gap:12px;color:#aab6ca;text-decoration:none;border-radius:8px;font-size:12px;margin:2px 0;transition:.15s}.nav-item:hover{background:#202c45;color:#fff}.nav-item span{font-weight:500}.sidebar-bottom{margin-top:auto;border-top:1px solid #2a354d;padding:16px 6px 3px;display:flex;align-items:center;gap:9px}.avatar,.top-avatar{width:33px;height:33px;border-radius:10px;background:#e8e5ff;color:#5b51c7;display:grid;place-items:center;font-weight:700}.user-meta{display:flex;flex-direction:column;min-width:0;flex:1}.user-meta b{font-size:12px;color:#fff;overflow:hidden;text-overflow:ellipsis}.user-meta small{font-size:10px;color:#7f8da8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:145px}.logout{background:none;border:0;color:#9eabc2;font-size:19px;cursor:pointer}.main{margin-left:252px;min-height:100vh}.topbar{height:95px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 37px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#909bb0;font-weight:700}.topbar h1{font-family:Manrope,sans-serif;font-size:22px;margin:5px 0 0;letter-spacing:-.5px}.top-right{display:flex;align-items:center;gap:9px;color:#7e899e;font-size:11px}.status-dot{width:7px;height:7px;border-radius:50%;background:#21b783;box-shadow:0 0 0 4px #e5f7f0}.top-avatar{margin-left:14px;width:32px;height:32px}.content{padding:27px 37px 15px;max-width:1700px;margin:auto}.content footer{padding:25px 0 5px;color:#9ba4b5;font-size:10px}.content footer span{margin-left:8px}.welcome-row,.page-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:18px}.welcome-row h2{font-family:Manrope,sans-serif;font-size:18px;margin:0 0 6px}.muted{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.date-pill{background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px 13px;color:#68758d;font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:19px}.stat-card,.panel{background:var(--panel);border:1px solid #e9edf4;border-radius:12px;box-shadow:var(--shadow)}.stat-card{padding:18px 19px;min-width:0}.stat-head{font-size:11px;color:#737f94;display:flex;justify-content:space-between;align-items:center;gap:7px}.stat-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;font-size:15px;flex-shrink:0}.purple{background:#eeecff;color:#6659d7}.green{background:#e2f8ef;color:#13946a}.blue{background:#e6f0ff;color:#3474dc}.orange{background:#fff0df;color:#cb7b24}.stat-value{font-family:Manrope,sans-serif;font-size:25px;font-weight:800;letter-spacing:-.8px;margin:14px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.small-value{font-size:21px}.stat-foot{font-size:10px;color:#9aa4b5;line-height:1.4}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:19px}.panel{padding:21px;margin-bottom:19px;min-width:0}.two-col .panel{margin-bottom:0}.panel h3{font-family:Manrope,sans-serif;font-size:14px;margin:0 0 6px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.text-link{color:#655cce;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}.text-link:hover{text-decoration:underline}.finance-overview{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:15px 0}.finance-overview>div{display:flex;flex-direction:column;gap:7px}.finance-overview span{font-size:11px;color:#8994a7}.finance-overview b{font-family:Manrope,sans-serif;font-size:17px}.positive{color:#159b72!important}.negative{color:#c44949!important}.notice{background:#f7f8fc;border:1px solid #e9edf5;border-left:3px solid #8178e8;border-radius:7px;padding:11px 13px;color:#6f7b90;font-size:11px;line-height:1.6;margin:12px 0}.quick-links a{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f2f7;text-decoration:none;color:var(--text)}.quick-links a:last-child{border-bottom:0}.quick-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:17px}.quick-links a>div{display:flex;flex-direction:column;gap:4px;flex:1}.quick-links b{font-size:12px}.quick-links small{font-size:10px;color:#8e99ac}.arrow{color:#929bb0}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;background:#f8f9fc;color:#8b96a8;font-size:9px;letter-spacing:.55px;text-transform:uppercase;font-weight:700;padding:12px 13px;border-bottom:1px solid var(--line)}td{padding:13px;border-bottom:1px solid #f0f2f7;font-size:11px;color:#657188}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcff}.strong{font-weight:700;color:#28354b}.clamp{max-width:310px;overflow:hidden;text-overflow:ellipsis}.mono{font-family:Consolas,monospace;font-size:10px}.badge{display:inline-block;padding:5px 8px;border-radius:6px;font-size:9px;font-weight:700;background:#eef1f6;color:#68758b}.badge.success{background:#e5f8ef;color:#16875f}.badge.warning{background:#fff2df;color:#b87520}.badge.danger{background:#ffe9e9;color:#bf4d4d}.badge.neutral{background:#edf0f5;color:#718096}.empty{text-align:center;padding:32px 15px!important;color:#98a2b2!important;font-size:12px}.btn{border:1px solid transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;font-family:inherit;font-weight:700;font-size:11px;text-decoration:none;cursor:pointer;white-space:nowrap;transition:.15s}.btn.primary{background:#655bd4;color:#fff;box-shadow:0 3px 8px #655bd41f}.btn.primary:hover{background:#5549c1}.btn.secondary{background:#fff;border-color:#e2e7ef;color:#67748b}.btn.secondary:hover{background:#f8f9fc}.btn.full{width:100%;margin-top:10px}.btn:disabled{opacity:.65;cursor:wait}.small-btn{padding:7px 10px;font-size:10px}.filter-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:13px}.filter-form input,.filter-form select{min-width:120px;flex:1}.filter-form input[name=q]{min-width:190px;flex:2}.filter-form input,.filter-form select,.stack-form input,.stack-form select,.stack-form textarea,.form-grid input,.form-grid select{border:1px solid #dfe5ee;border-radius:7px;padding:10px 11px;background:#fff;color:#29364c;font-family:inherit;font-size:11px;outline:none;width:100%}input:focus,select:focus,textarea:focus{border-color:#9189ed!important;box-shadow:0 0 0 3px #eeeaff}label{display:block;color:#4f5c72;font-size:11px;font-weight:700;margin-bottom:7px}.stack-form{display:flex;flex-direction:column;gap:9px}.stack-form h3:not(:first-child){margin-top:15px;padding-top:16px;border-top:1px solid var(--line)}.narrow{max-width:800px;margin:0 auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid>div{min-width:0}.form-grid .span-2{grid-column:span 2}.check-row{display:flex;align-items:center;gap:9px}.check-row input{width:auto}.check-row label{margin:0}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:10px}.dropzone{border:1.5px dashed #cbd2e4;background:#fafbff;border-radius:12px;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:20px;cursor:pointer}.dropzone input{width:auto;max-width:240px;font-size:10px}.upload-icon{width:43px;height:43px;border-radius:12px;background:#eeecff;color:#6659d7;display:grid;place-items:center;font-size:23px}.dropzone b{font-size:13px}.file-names{font-size:10px;color:#655bd4;max-width:100%;overflow-wrap:anywhere}.pagination{display:flex;align-items:center;justify-content:space-between;padding-top:17px;color:#8792a5;font-size:10px}.pagination>div{display:flex;gap:7px}.schedule-layout{align-items:start}.clean-list{margin:15px 0;padding-left:18px;color:#6f7b90;font-size:11px;line-height:1.9}.payroll-run{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid var(--line)}.payroll-run>div:first-child{display:flex;flex-direction:column;gap:6px}.payroll-run b{font-size:12px}.payroll-run small{font-size:10px}.run-actions{display:flex;align-items:center;gap:9px}.panel-filter{display:flex;padding:12px;margin-bottom:17px}.panel-filter label{display:flex;align-items:center;gap:9px;margin:0}.panel-filter input{width:auto}.login-wrap{min-height:100vh;background:radial-gradient(ellipse at 20% 10%,#f0eeff 0,transparent 35%),linear-gradient(145deg,#f7f8fc,#eef1f8);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px}.login-card{width:100%;max-width:430px;background:#fff;padding:38px;border-radius:18px;box-shadow:0 20px 65px #1c2c4a12;border:1px solid #e8ecf4}.login-brand{padding:0 0 33px;color:var(--navy)}.login-card h1{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.7px;margin:9px 0}.login-card form{margin-top:25px;display:flex;flex-direction:column;gap:9px}.login-card input{border:1px solid #dfe5ee;border-radius:8px;padding:12px;font:inherit;margin-bottom:9px}.login-note{text-align:center;color:#9aa4b5;font-size:10px;margin-top:22px}.login-footer{margin-top:23px;color:#9aa4b5;font-size:9px;letter-spacing:1.3px}.alert{padding:12px 15px;border-radius:8px;margin-bottom:15px;font-size:12px;border:1px solid #dbeee5;background:#edfaf4;color:#187f5b}.alert.error,.alert.warning{background:#fff5e8;border-color:#f4e1c5;color:#9c671d}.alert.error{background:#fff0f0;border-color:#f5d4d4;color:#b34040}.alert.info{background:#eff5ff;border-color:#dce8ff;color:#3e66ac}.alert.success{background:#edfaf4;color:#187f5b}.login-card .alert{margin-top:15px}.muted code,code{background:#f0efff;padding:2px 4px;border-radius:4px;color:#5d54c2}@media(max-width:1200px){.content{padding:24px}.topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{width:66px;padding:17px 8px}.brand{padding:0 6px 25px}.brand>span:last-child,.nav-label,.nav-item span,.user-meta,.logout{display:none}.nav-item{justify-content:center;padding:0;font-size:18px}.sidebar-bottom{justify-content:center;padding:12px 0}.main{margin-left:66px}.topbar{height:80px;padding:0 15px}.topbar h1{font-size:18px}.top-right>span:not(.top-avatar):not(.status-dot){display:none}.content{padding:17px 12px}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-value{font-size:20px}.small-value{font-size:16px}.panel{padding:15px}.welcome-row,.page-actions{align-items:flex-start}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:span 1}.filter-form input,.filter-form select{min-width:calc(50% - 6px)}.payroll-run{align-items:flex-start;flex-direction:column}.run-actions{flex-wrap:wrap}.login-card{padding:25px}.date-pill{display:none}}
/* Dashboard period filter — selaras dengan tema dashboard */
.dashboard-filter-panel{background:linear-gradient(135deg,#fff 0%,#fbfbff 100%);border:1px solid #e6e9f2;border-radius:14px;box-shadow:0 6px 24px rgba(27,39,66,.055);padding:17px 19px;margin-bottom:19px}
.dashboard-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}
.filter-title-wrap{display:flex;align-items:center;gap:11px;min-width:0}
.filter-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eeecff;color:#6659d7;font-size:16px;box-shadow:inset 0 0 0 1px #e2dfff}
.filter-title-wrap h3{font-family:Manrope,sans-serif;font-size:13px;margin:0 0 3px}
.filter-range{background:#f3f2ff;color:#6659d7;border:1px solid #e6e2ff;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:700;white-space:nowrap}
.dashboard-filter-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;padding-top:2px}
.dashboard-date-field{min-width:190px;flex:0 1 230px}
.dashboard-date-field label{display:block;color:#778196;font-size:10px;font-weight:700;margin:0 0 6px 2px}
.dashboard-date-field input{width:100%;max-width:none;margin:0;height:40px;border:1px solid #dfe5ee;border-radius:9px;padding:0 11px;background:#fff;color:#29364c;font-size:11px;box-shadow:0 1px 2px rgba(27,39,66,.02)}
.dashboard-date-field input:hover{border-color:#cbd3e1}
.dashboard-date-field input:focus{border-color:#9189ed!important;box-shadow:0 0 0 3px #eeeaff!important}
.date-separator{height:40px;display:grid;place-items:center;color:#a0a8b7;font-size:14px;padding:0 1px}
.dashboard-filter-actions{display:flex;gap:8px;margin-left:auto}
.dashboard-filter-actions .btn{height:40px;padding:0 14px;border-radius:9px;font-size:10px}
.dashboard-filter-actions .btn.primary{background:linear-gradient(135deg,#7067df,#5d53ca);box-shadow:0 5px 12px rgba(101,91,212,.18)}
.dashboard-filter-actions .btn.primary:hover{background:linear-gradient(135deg,#665cd6,#5549bd);transform:translateY(-1px)}
.dashboard-filter-actions .btn.secondary{background:#fff;border-color:#e0e5ed;color:#66748b}
.dashboard-filter-actions .btn.secondary:hover{background:#f8f9fc;border-color:#d5dbe6;transform:translateY(-1px)}
.dashboard-filter-actions .btn{transition:all .15s ease}
@media(max-width:800px){.dashboard-filter-heading{align-items:flex-start;flex-direction:column}.filter-range{align-self:flex-start}.dashboard-filter-form{display:grid;grid-template-columns:1fr 1fr}.dashboard-date-field{min-width:0;flex:none;width:100%}.date-separator{display:none}.dashboard-filter-actions{grid-column:1/-1;margin-left:0}.dashboard-filter-actions .btn{flex:1}}
