@import url('');
:root{color-scheme:dark;--bg:#06132c;--panel:#0b2143;--border:#254772;--muted:#a4bbda;--blue:#1479ff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#06132c;color:#f4f8ff;font:14px/1.5 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #75d5ff;outline-offset:2px}a{color:inherit;text-decoration:none}
.shell{max-width:none;margin:0;padding:0}.shell:has(.hub-layout)>header,.shell:has(.hub-layout)>footer{display:none}.hub-layout{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(175deg,#0b2b59,#05132c);border-right:1px solid #234876;padding:22px 16px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;margin-bottom:42px}.brand img{width:58px;height:58px;object-fit:contain;border-radius:13px}.brand strong{display:block;font-size:24px;letter-spacing:.06em;color:#62a6ff}.brand span{font-size:9px;letter-spacing:.09em;font-weight:700;color:#d2e8ff}.side-title{font-size:10px;letter-spacing:.18em;color:#7f9cbd;margin:0 12px 15px}.side-link{display:flex;align-items:center;gap:13px;padding:13px 16px;border-radius:12px;margin-bottom:6px;color:#d4e5fb;font-size:15px}.side-link.selected,.side-link:hover{background:linear-gradient(120deg,#1261d8,#1686ff);color:white}.side-spacer{flex:1}.side-card{border:1px solid #2565b1;border-radius:16px;padding:15px;background:linear-gradient(160deg,#104783,#061c39);display:flex;flex-direction:column;gap:8px}.side-card img{width:76px;height:76px;object-fit:contain}.side-card strong{font-size:16px}.side-card span,.side-footer{font-size:12px;color:#a5bbd8}.side-footer{margin-top:20px}
.main-area{padding:24px clamp(16px,2.2vw,36px) 12px;min-width:0;background:radial-gradient(circle at 50% 0%,#0a346a,#071c3d 46%,#06132c 100%)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.kicker{font-size:10px;letter-spacing:.16em;color:#66d8ff;font-weight:700}.topbar h1{font-size:clamp(24px,2.5vw,34px);margin:4px 0 0}.topbar p,.section-head p{color:var(--muted);margin:0}.top-actions{display:flex;gap:14px;align-items:center}.top-actions form{margin:0}.account{display:flex;align-items:center;gap:9px;border:1px solid #28578c;background:#0a2853;border-radius:12px;padding:7px 13px}.account strong,.account small{display:block}.account small{color:#b0c8e5}.avatar,.customer-avatar{display:grid;place-items:center;border-radius:50%;background:#247ce9;color:white;font-weight:800}.avatar{width:34px;height:34px}.customer-avatar{width:38px;height:38px;flex-shrink:0}.primary,.secondary,.outline-danger{border-radius:9px;padding:10px 13px;font-weight:700;border:1px solid transparent}.primary{background:#137dff;color:white}.secondary{background:#133b71;color:#eaf4ff;border-color:#3975b6}.outline-danger{background:#3e2037;color:#ffc3c3;border-color:#a95066}.primary:hover,.secondary:hover,.outline-danger:hover{filter:brightness(1.15)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat{border:1px solid #2775c7;border-radius:16px;min-height:145px;padding:19px;display:flex;flex-direction:column;position:relative;background:linear-gradient(140deg,#0b4b8b,#0a2850)}.stat.teal{background:linear-gradient(140deg,#045a66,#063746);border-color:#0c9998}.stat.purple{background:linear-gradient(140deg,#44358f,#1e285c);border-color:#7967d9}.stat.amber{background:linear-gradient(140deg,#774327,#392b42);border-color:#b76d38}.stat>span:not(.stat-icon){font-weight:650}.stat-icon{position:absolute;right:15px;top:12px;font-size:28px;color:#a5e9ff}.stat strong{font-size:33px;line-height:1.1;margin:12px 0 7px}.stat small{color:#b1c8e3}.content-panel{background:#f7faff;color:#0c2346;border-radius:17px;padding:24px;margin:18px 0;box-shadow:0 15px 36px #0003}.section-head{display:flex;align-items:center;gap:13px;margin-bottom:22px}.section-icon{background:#0e75fa;color:white;border-radius:12px;width:43px;height:43px;display:grid;place-items:center;font-size:24px;flex-shrink:0}.section-head h2{font-size:22px;margin:0}.section-head p{color:#526988}.create-grid{display:grid;grid-template-columns:1.1fr 1.2fr 1.25fr 1fr .6fr auto;align-items:end;gap:12px}.create-grid label{display:flex;flex-direction:column;gap:7px;color:#203b5e;font-size:12px;font-weight:700}.create-grid input,.table-tools input,.action-form input,.action-form select{border:1px solid #c9d6e8;border-radius:8px;background:white;color:#142a4d;padding:10px;width:100%;min-width:0}.create-button{white-space:nowrap;min-height:42px}.table-head{flex-wrap:wrap}.table-tools{margin-left:auto;display:flex;gap:9px}.table-tools input{width:240px}.table-tools .secondary,.action-form .secondary{background:#e8f1ff;color:#1260b3;border-color:#b8d2f2}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:940px}th{text-align:left;background:#e5edf8;color:#28476d;padding:13px 12px;font-size:12px}td{padding:15px 12px;border-bottom:1px solid #dbe6f2;vertical-align:middle}tr:hover td{background:#f0f6ff}.customer{display:flex;align-items:center;gap:11px}.customer strong,.customer small{display:block}.customer small{color:#5a7394;word-break:break-word}.date-text,.device-text{white-space:nowrap}.status{padding:6px 11px;border-radius:20px;white-space:nowrap;font-size:12px;font-weight:750}.status.good{background:#d8f7e8;color:#086b3b}.status.bad{background:#ffe2e2;color:#9e2634}.status.neutral{background:#e4e8f1;color:#4b5870}.actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.action-form{display:flex;align-items:center;gap:5px}.action-form select{width:115px}.action-form input{width:143px}.action-form button{padding:9px;white-space:nowrap}.table-bottom{padding-top:14px;color:#6b7e98;font-size:12px}.app-footer{display:flex;justify-content:space-between;color:#a2bbdb;padding:14px 4px 4px;font-size:12px}.alert{padding:13px 16px;border-radius:10px;margin:10px 0}.alert.notice{background:#154d42;color:#ccffeb}.alert.error{background:#632b37;color:#ffe1e5}
/* Login pages use the original shared PHP layout and the same visual language. */
.shell:not(:has(.hub-layout)){max-width:650px;margin:8vh auto;padding:22px}.shell:not(:has(.hub-layout))>header{display:flex;align-items:center;gap:22px}.shell:not(:has(.hub-layout)) .logo{width:110px;height:110px;object-fit:contain}.shell:not(:has(.hub-layout)) h1{font-size:29px}.eyebrow{color:#62d3ff;font-size:11px;letter-spacing:.16em}.shell:not(:has(.hub-layout)) p{color:#a6bfdb}.panel{border:1px solid #2a5a90;border-radius:17px;padding:26px;background:#0b2850}.panel label{display:flex;flex-direction:column;gap:6px;margin:15px 0}.panel input{padding:12px;border-radius:9px;border:1px solid #3a6598;background:#061b38;color:white}.panel button{padding:12px 18px;border:0;border-radius:9px;background:#147eff;color:white}.shell:not(:has(.hub-layout))>footer{text-align:center;color:#8ba9ca;margin-top:20px}
@media(max-width:1200px){.create-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.hub-layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:12px}.brand{margin-bottom:8px}.side-title,.side-card,.side-footer,.side-spacer{display:none}.side-link{display:inline-flex;padding:9px;margin:2px;font-size:12px}.main-area{padding:15px}.topbar,.top-actions{flex-wrap:wrap}.content-panel{padding:16px}.create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-tools{margin-left:0;width:100%}.table-tools input{flex:1;width:auto}}@media(max-width:460px){.stats,.create-grid{grid-template-columns:1fr}.topbar h1{font-size:23px}.account{max-width:100%}}
