:root{
--ink:#142033;
--muted:#758198;
--line:#e5eaf2;
--accent:#2388f5;
--surface:#fff}
*{
margin:0;
padding:0;
box-sizing:border-box}
body{
font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
background:#f3f6fb;
color:var(--ink)}
.login-page{
display:flex;
align-items:center;
justify-content:center;
min-height:100vh;
padding:20px;
background:radial-gradient(ellipse at 75% 15%,#244d78 0,transparent 42%),linear-gradient(135deg,#101827,#17263b 60%,#0c1522)}
.login-card{
background:#fff;
border:1px solid rgba(255,255,255,.55);
border-radius:20px;
padding:44px;
width:420px;
max-width:100%;
box-shadow:0 30px 90px #0005;
text-align:center}
.brand-lockup{display:flex;align-items:center;gap:12px}
.brand-lockup .brand-logo{width:44px;height:44px;flex:none;filter:drop-shadow(0 6px 16px #2388f544)}
.brand-lockup h2{font-size:16px;letter-spacing:.08em;margin:0;color:#f3f7fc}
.brand-lockup small{display:block;color:#91a3ba;font-size:9px;letter-spacing:.12em;margin-top:4px}
.brand-login{justify-content:center;margin-bottom:12px}
.brand-login .brand-logo{width:54px;height:54px}
.login-card h1{
font-size:28px;
margin-bottom:8px;
color:#142033;
letter-spacing:.08em}
.login-card h1 span{
color:var(--accent)}
.login-card p{
color:#78859a;
margin-bottom:30px;
font-size:12px;
letter-spacing:.12em}
.main-app{
display:flex;
min-height:100vh}
.sidebar{
width:248px;
background:linear-gradient(180deg,#111d2e,#0d1726);
color:#fff;
display:flex;
flex-direction:column;
position:fixed;
height:100vh;
z-index:100}
.sidebar-header{
padding:24px 22px;
border-bottom:1px solid #ffffff16}
.sidebar-header h2{
font-size:19px;
letter-spacing:.05em}
.sidebar-menu{
list-style:none;
flex:1;
padding:14px 10px}
.sidebar-menu li{
padding:13px 15px;
cursor:pointer;
transition:.2s;
display:flex;
align-items:center;
gap:12px;
color:#aab6c8;
border-radius:9px;
margin:3px 0}
.sidebar-menu li:hover,.sidebar-menu li.active{
background:#ffffff13;
color:#fff}
.sidebar-menu li.active{
box-shadow:inset 3px 0 #3194ff}
.sidebar-menu .icon{
font-size:16px;
width:20px;
text-align:center}
.sidebar-external-link a{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;width:100%}
.sidebar-external-link{margin-top:3px}
.sidebar-footer{
padding:15px 20px;
border-top:1px solid #ffffff16}
.sidebar-footer .btn{
width:100%;
background:#ffffff0d;
color:#dce5f1;
border-color:#ffffff20}
.content{
margin-left:248px;
flex:1;
padding:38px clamp(22px,4vw,64px);
min-width:0}
.page{
display:none}
.page.active{
display:block}
.page-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:22px;
gap:16px}
.page-header h2,h2{
font-size:23px;
margin-bottom:20px;
color:#142033}
.page-header h2{
margin:0}
.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
gap:17px}
.stat-card,.settings-section{
background:var(--surface);
border:1px solid var(--line);
border-radius:14px;
padding:22px;
box-shadow:0 8px 28px #182a460e}
.stat-card{
text-align:left}
.stat-card.wide{
grid-column:span 3}
.stat-value{
font-size:32px;
font-weight:700;
color:var(--accent);
margin-bottom:5px}
.stat-label{
font-size:13px;
color:var(--muted)}
.data-table{
width:100%;
background:#fff;
border:1px solid var(--line);
border-radius:14px;
overflow:hidden;
box-shadow:0 8px 28px #182a460e;
border-collapse:separate;
border-spacing:0}
.data-table th{
background:#f7f9fc;
padding:14px 16px;
text-align:left;
font-weight:600;
font-size:12px;
color:#68768c;
border-bottom:1px solid var(--line);
white-space:nowrap}
.data-table td{
padding:12px 16px;
border-bottom:1px solid #eef1f6;
font-size:13px;
max-width:320px;
overflow-wrap:anywhere}
.data-table tr:hover td{
background:#f8fbff}
.status-enabled{
color:#15966a;
font-weight:600}
.status-disabled{
color:#df4b58;
font-weight:600}
.btn{
padding:9px 16px;
border:1px solid #d9e0ea;
border-radius:8px;
background:#fff;
cursor:pointer;
font-size:13px;
transition:.2s;
color:#36445a}
.btn:hover{
border-color:var(--accent);
color:var(--accent)}
.btn-primary{
background:linear-gradient(135deg,#278fff,#1269d3);
color:#fff;
border-color:#1679e8;
box-shadow:0 4px 12px #2388f533}
.btn-primary:hover{
background:#1269d3;
color:#fff}
.btn-danger{
background:#fff5f5;
color:#d94752;
border-color:#f2c5c8}
.btn-danger:hover{
background:#d94752;
color:#fff}
.btn-sm{
padding:6px 11px;
font-size:12px}
.btn-block{
width:100%;
padding:13px;
font-size:15px}
.form-group{
margin-bottom:17px}
.form-group label{
display:block;
margin-bottom:7px;
font-weight:550;
font-size:13px;
color:#354258}
.form-group small{
display:block;
margin-top:5px;
color:#8995a8;
font-size:12px}
.form-group input,.form-group select{
width:100%;
padding:10px 12px;
border:1px solid #dce3ed;
border-radius:8px;
font-size:14px;
transition:.2s}
.form-group input:focus,.form-group select:focus,.input-sm:focus{
outline:none;
border-color:var(--accent);
box-shadow:0 0 0 3px #2388f51c}
.input-sm{
padding:8px 10px;
border:1px solid #dce3ed;
border-radius:8px;
font-size:13px}
.form-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
gap:16px}
.modal{
position:fixed;
inset:0;
background:#10182799;
backdrop-filter:blur(4px);
display:flex;
align-items:center;
justify-content:center;
z-index:1000;
padding:20px}
.modal-content{
background:#fff;
border-radius:16px;
width:520px;
max-width:90vw;
max-height:85vh;
overflow-y:auto;
box-shadow:0 24px 70px #0004}
.modal-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 24px;
border-bottom:1px solid #edf0f5}
.modal-header h3{
margin:0;
font-size:18px}
.modal-close{
font-size:24px;
cursor:pointer;
color:#8995a8}
.modal-content form{
padding:24px}
.modal-footer{
display:flex;
justify-content:flex-end;
gap:10px;
margin-top:20px}
.breadcrumb{
background:#fff;
border:1px solid var(--line);
padding:11px 16px;
border-radius:9px;
margin-bottom:13px;
font-size:13px}
.breadcrumb span,.dir-link{
cursor:pointer;
color:var(--accent)}
.breadcrumb span:hover,.dir-link:hover{
text-decoration:underline}
.filter-bar{
display:flex;
gap:10px;
align-items:center}
.pagination{
display:flex;
justify-content:center;
align-items:center;
gap:8px;
margin-top:16px}
.pagination button{
padding:7px 14px;
border:1px solid #d9e0ea;
border-radius:7px;
background:#fff;
cursor:pointer}
.pagination button.active{
background:var(--accent);
color:#fff}
.pagination button:disabled{
opacity:.5;
cursor:not-allowed}
.file-actions,.action-btns{
display:flex;
gap:6px;
flex-wrap:wrap}
.settings-section{
margin-bottom:20px}
.settings-section h3{
margin-bottom:16px;
font-size:16px;
border-bottom:1px solid var(--line);
padding-bottom:11px}
.toast{
position:fixed;
top:20px;
right:20px;
padding:12px 24px;
border-radius:9px;
color:#fff;
font-size:14px;
z-index:2000;
display:none;
box-shadow:0 4px 12px #0003}
.toast.success{
background:#15966a;
display:block}
.toast.error{
background:#d94752;
display:block}
.file-icon{
margin-right:7px}
@media(max-width:800px){
.sidebar{
width:72px}
.sidebar-header h2{
font-size:0}
.sidebar-header h2:after{
content:'FS';
font-size:18px}
.sidebar-menu li{
font-size:0;
justify-content:center;
padding:14px 8px}
.sidebar-menu .icon{
font-size:18px}
.content{
margin-left:72px;
padding:24px 16px}
.stat-card.wide{
grid-column:span 1}
.data-table{
display:block;
overflow-x:auto}
.page-header{
align-items:flex-start;
flex-wrap:wrap}
}
@media(max-width:520px){
.login-card{
padding:32px 24px}
.content{
padding:20px 12px}
.stats-grid{
grid-template-columns:repeat(2,minmax(0,1fr))}
.stat-card{
padding:16px}
.stat-value{
font-size:26px}
.filter-bar{
flex-wrap:wrap}
}
