:root{--brand-red:#FC0A1C;--brand-blue:#0E518D;--blue-dark:#174570;--blue-light:#CCECFF;--bg:#F8F8F8;--grey-1:#EBEBEB;--grey-2:#E1E1E1;--grey-3:#CECECE;--text:#263238;--muted:#667781;--white:#fff;--success:#308446;--warning:#FCB821}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,sans-serif;background:var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}img{max-width:100%}
/* Login */
.login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(135deg,#fff 0%,#f4f7fa 58%,#e8f1f8 100%)}.login-card{width:min(450px,94vw);background:#fff;padding:34px 38px 38px;border-radius:16px;border-top:6px solid var(--brand-red);box-shadow:0 18px 55px rgba(14,81,141,.16)}.login-brand{display:flex;align-items:center;gap:18px;margin-bottom:12px}.login-firetruck{width:98px;height:98px;object-fit:contain}.login-wordmark{width:220px;max-width:calc(100% - 116px);height:auto}.login-card h1{margin:6px 0 4px;color:var(--brand-blue);font-size:28px}.muted{color:var(--muted);margin:0 0 25px}.login-card label{display:block;font-weight:700;margin:17px 0;color:var(--blue-dark)}.login-card input{width:100%;padding:13px;border:1px solid #bfcbd3;border-radius:8px;margin-top:7px;font:inherit;outline:none}.login-card input:focus{border-color:var(--brand-blue);box-shadow:0 0 0 3px rgba(14,81,141,.12)}.login-card button{width:100%;padding:13px;border:0;border-radius:8px;background:var(--brand-blue);color:#fff;font-weight:700;font-size:16px;cursor:pointer}.login-card button:hover{background:var(--blue-dark)}.alert{padding:12px;background:#fff1f2;border:1px solid #ffb4bb;border-left:4px solid var(--brand-red);border-radius:8px;color:#9b1c28;margin-top:18px}
/* Dashboard header */
.dashboard-page{background:#f7f9fb;color:#17324a;padding:0}.dashboard-page .app-header{position:fixed;z-index:100;left:0;right:0;top:0;height:190px;background:#fff;border-bottom:1px solid #dfe5e9;box-shadow:0 3px 14px rgba(14,81,141,.08);display:flex;align-items:center;justify-content:space-between;padding:10px 34px 10px 18px;border-left:7px solid var(--brand-red);overflow:hidden}.dashboard-page .brand-header{display:flex;align-items:center;gap:22px;min-width:0;height:100%}.dashboard-page .header-firetruck{display:block;width:245px!important;max-width:245px!important;height:165px!important;max-height:165px!important;object-fit:contain;flex:0 0 245px}.dashboard-page .header-brandtext{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}.dashboard-page .header-wordmark{display:block;width:355px!important;max-width:38vw!important;height:auto!important;max-height:78px;object-fit:contain;object-position:left center}.dashboard-page .header-brandtext strong{display:block;font:700 30px/1.05 Arial,sans-serif;color:var(--brand-blue);margin:1px 0 0}.dashboard-page .header-brandtext span{display:block;font:400 16px/1.3 Arial,sans-serif;color:#31516d;margin-top:5px;white-space:nowrap}.dashboard-page .header-user{display:flex;align-items:center;gap:32px;color:var(--brand-blue);font:400 17px Arial,sans-serif;white-space:nowrap;margin-left:24px}.dashboard-page .header-user a{font-weight:700}.dashboard-page .header-user a:hover{color:var(--brand-red)}
/* Dashboard navigation */
.dashboard-page .sidebar.dashboard-sidebar{position:fixed!important;z-index:50;left:0!important;top:190px!important;bottom:0!important;width:345px!important;height:auto!important;background:#fff!important;color:#17324a!important;padding:12px 0!important;border:0!important;border-right:1px solid #dce3e8!important;overflow-y:auto!important}.dashboard-page .dashboard-sidebar .sidebar-brand{display:none!important}.dashboard-page .dashboard-sidebar nav a{display:flex!important;align-items:center;gap:17px;padding:13px 38px!important;margin:0!important;border-radius:0!important;background:transparent;color:#17324a!important;font:400 18px/1.2 Arial,sans-serif;box-shadow:none!important}.dashboard-page .dashboard-sidebar nav a b{display:inline-block;width:28px;text-align:center;font-size:23px;color:#2b4357}.dashboard-page .dashboard-sidebar nav a:hover{background:#f0f4f7!important}.dashboard-page .dashboard-sidebar nav a.active{background:var(--brand-red)!important;color:#fff!important;font-weight:700!important}.dashboard-page .dashboard-sidebar nav a.active b{color:#fff!important}.dashboard-page .dashboard-sidebar .nav-title{font:400 16px/1.2 Arial,sans-serif;text-transform:none;letter-spacing:0;color:#31516d;background:#f0f3f5;padding:12px 40px;margin:0}
/* Dashboard content */
.dashboard-page .content.dashboard-content{margin:190px 0 0 345px!important;padding:26px 32px 40px!important;min-height:calc(100vh - 190px)}.dashboard-title{margin-bottom:25px}.dashboard-title h1{font:700 38px/1 Arial,sans-serif;margin:0;color:var(--brand-blue)}.dashboard-title p{font:400 21px/1.3 Arial,sans-serif;color:#53687b;margin:9px 0 0}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:20px}.stat{min-height:140px;border-radius:10px;border:1px solid;display:flex;align-items:center;justify-content:center;gap:24px;padding:20px}.stat-icon{font-size:54px;font-weight:700}.stat strong{display:block;font-size:38px;line-height:1}.stat span{display:block;font-size:19px;margin-top:8px;color:#344e63}.stat-blue{background:#edf6ff;border-color:#bcd8ef;color:#0e5ca8}.stat-green{background:#edf9f2;border-color:#c9e8d6;color:#16864b}.stat-yellow{background:#fff9e9;border-color:#f2dfaa;color:#d89b00}.stat-red{background:#fff0f2;border-color:#f1c7cc;color:#e20d20}.section-title{font-size:27px;color:var(--brand-blue);margin:24px 0 13px}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:20px}.quick-grid a{min-height:100px;background:#fff;border:1px solid #e0e5e8;border-radius:9px;box-shadow:0 3px 12px rgba(20,40,55,.05);display:flex;align-items:center;gap:24px;padding:18px 28px;color:#17324a;font-size:18px}.quick-grid a:hover{border-color:#aac7df;transform:translateY(-1px)}.quick-grid b{font-size:42px;color:var(--brand-blue)}.quick-grid a:nth-child(2) b{color:#16864b}.quick-grid a:nth-child(3) b{color:#d89b00}.quick-grid a:nth-child(4) b{color:var(--brand-red)}.dashboard-lower{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.data-panel{background:#fff;border:1px solid #e0e5e8;border-radius:10px;box-shadow:0 3px 12px rgba(20,40,55,.05);padding:18px 20px 14px;min-height:210px}.data-panel h3{margin:0 0 14px;color:var(--brand-blue);font-size:18px}.data-panel table{width:100%;border-collapse:collapse;font-size:14px}.data-panel th,.data-panel td{border:1px solid #e0e5e8;padding:7px 9px;text-align:left}.data-panel th{background:#f3f6f8;color:#38536a}.panel-link{display:block;text-align:right;margin-top:14px;color:#075fbd}.empty-info{color:#6c7d89;border-top:1px solid #edf0f2;padding-top:16px}
@media(max-width:1100px){.dashboard-page .header-firetruck{width:180px!important;max-width:180px!important;flex-basis:180px;height:135px!important}.dashboard-page .header-wordmark{width:280px!important}.dashboard-page .header-brandtext strong{font-size:25px}.dashboard-page .header-brandtext span{font-size:13px}.dashboard-page .header-user{gap:16px}.stats-grid,.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.dashboard-page .app-header{position:relative;height:auto;min-height:112px;padding:12px;align-items:flex-start}.dashboard-page .brand-header{align-items:center;gap:10px}.dashboard-page .header-firetruck{width:105px!important;max-width:105px!important;flex-basis:105px;height:85px!important}.dashboard-page .header-wordmark{width:185px!important;max-width:50vw!important}.dashboard-page .header-brandtext strong{font-size:19px}.dashboard-page .header-brandtext span{display:none}.dashboard-page .header-user{font-size:0;gap:10px;margin-left:auto}.dashboard-page .header-user .user-name{display:none}.dashboard-page .header-user a{font-size:14px}.dashboard-page .sidebar.dashboard-sidebar{position:relative!important;top:0!important;left:0!important;width:100%!important;border-right:0!important;border-bottom:4px solid var(--brand-red)!important}.dashboard-page .content.dashboard-content{margin:0!important;padding:20px!important}.stats-grid,.quick-grid,.dashboard-lower{grid-template-columns:1fr}.dashboard-title h1{font-size:32px}}
