:root{--navy:#14243d;--bg:#f1f5f9;--gold:#d6b67a;--text:#17243b;--muted:#718096}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.shell{min-height:100vh}
aside{position:fixed;top:0;bottom:0;left:0;width:245px;height:100vh;height:100dvh;z-index:10;overflow-y:auto;background:var(--navy);padding:28px 20px;display:flex;flex-direction:column;color:#fff}
.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:800;letter-spacing:.08em}
.brand>b,.login-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--gold);color:var(--gold);font:25px Georgia}
.brand small{display:block;margin-top:4px;color:#8fa0b7;font-size:9px;font-weight:500}
nav{margin-top:48px;display:grid;gap:8px}
nav a,.logout{display:flex;gap:14px;align-items:center;padding:13px 15px;border:0;border-radius:9px;background:none;color:#aebbd0;text-decoration:none;font:inherit;cursor:pointer}
nav a:hover,nav a.on{background:#203652;color:#fff}
nav a.on{box-shadow:inset 3px 0 var(--gold)}
aside form{margin-top:auto}
.logout{width:100%}
main{min-width:0;margin-left:245px;padding:34px 42px 50px}
main>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}
h1,h2,p{margin:0}
h1{font:600 30px Georgia}
.eyebrow{margin-bottom:7px;color:#a68145;font-size:10px;font-weight:800;letter-spacing:.16em}
.avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--navy);color:var(--gold);font-size:12px;font-weight:800}
.stats{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:16px;margin-bottom:25px}
.stats a{display:flex;align-items:center;gap:15px;padding:22px;background:#fff;border:1px solid #e5eaf0;border-radius:13px;box-shadow:0 5px 20px #17304e0a;color:inherit;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.stats a:hover,.stats a:focus-visible{transform:translateY(-2px);border-color:#cbd6e3;box-shadow:0 10px 26px #17304e18;outline:none}
.stats i{display:grid;place-items:center;width:41px;height:41px;border-radius:10px;font-style:normal;font-weight:800}
.stats span{display:block;color:var(--muted);font-size:12px}
.stats strong{display:block;margin-top:5px;font:27px Georgia}
.blue{color:#3573b9;background:#eaf3fc}
.red{color:#c95656;background:#fff0f0}
.gold{color:#9b702e;background:#fff7e5}
.green{color:#36846a;background:#e9f7f1}
.purple{color:#7558a1;background:#f3edfb}
.panel{overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 8px 30px #17304e0a}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px;border-bottom:1px solid #edf0f4}
.panel h2{font:20px Georgia}
.panel-head p{margin-top:5px;color:var(--muted);font-size:12px}
.search{display:flex;flex-wrap:wrap;gap:8px}
.search input,.search select{min-width:150px;padding:10px 12px;border:1px solid #d8e0e9;border-radius:8px;background:#fff;font:inherit}.search input{width:270px}
.search button,.pager a{border:0;border-radius:8px;background:var(--navy);padding:10px 15px;color:#fff;text-decoration:none}
.active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px}.active-filters span{border-radius:20px;background:#eaf3fc;padding:5px 9px;color:#285f91;font-size:11px;font-weight:700}.active-filters a{color:#66768b;font-size:11px;font-weight:700}
.table-wrap{max-width:100%;overflow-x:auto}
table{width:100%;min-width:760px;table-layout:fixed;border-collapse:collapse;font-size:13px}
th{background:#f8fafc;color:#718096;font-size:10px;letter-spacing:.07em;text-align:left;text-transform:uppercase}
th,td{padding:15px 18px;border-bottom:1px solid #edf0f4;vertical-align:middle;overflow-wrap:anywhere;word-break:normal}
th:first-child{width:23%}
th:nth-child(2){width:27%}
th:nth-child(3){width:14%}
th:nth-child(4){width:9%}
th:nth-child(5){width:17%}
th:nth-child(6){width:10%}
td small{display:block;margin-top:4px;color:#8290a3}
tbody tr:hover{background:#fbfcfe}
.badge{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;border-radius:20px;padding:6px 9px;font-size:11px;font-weight:700}
.hotel{background:#fff0f0;color:#ad4545}
.client{background:#fff6df;color:#94671e}
.unknown{background:#eef2f7;color:#617086}
.empty{text-align:center;color:var(--muted);padding:45px}
.pager{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;color:var(--muted);font-size:12px}
.pager div{display:flex;gap:8px}
.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(145deg,#0d192b,#1b3353)}
.login-card{width:min(390px,calc(100% - 32px));padding:40px 38px;background:#fff;border-radius:18px;text-align:center;box-shadow:0 25px 70px #0006}
.login-mark{margin:0 auto 18px;background:var(--navy)}
.login-card h1{font:800 25px/1 system-ui;letter-spacing:.1em}
.login-card>p{margin:8px 0 30px;color:var(--muted)}
.login-card label{display:block;margin-top:15px;color:#536174;font-size:12px;text-align:left}
.login-card input{width:100%;margin-top:7px;padding:13px;border:1px solid #d7dee7;border-radius:8px;font:inherit}
.login-card button{width:100%;margin:25px 0 22px;padding:14px;border:0;border-radius:8px;background:var(--gold);color:var(--navy);font-weight:800}
.login-card>small{color:#9aa5b2}
.error{margin-bottom:18px;border-radius:7px;background:#fff0f0;padding:10px;color:#a83d3d;font-size:12px}
@media(max-width:1050px){.stats{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:720px){aside{width:68px;padding:20px 9px}
.brand{justify-content:center}
.brand span,nav span,.logout span{display:none}
nav a,.logout{justify-content:center;padding:13px}
main{margin-left:68px;padding:24px 15px}
.stats{grid-template-columns:repeat(2,1fr);gap:10px}
.stats a{padding:16px 12px}
.stats a:first-child{grid-column:1/-1}
.panel-head{align-items:stretch;flex-direction:column}
.search input{min-width:0;width:100%}
.search{width:100%}
h1{font-size:25px}
}
