:root { --fleet-primary: #0d6efd; --sidebar-w: 260px; }
body { background: #f4f6fa; }
.sidebar { width: var(--sidebar-w); min-height: 100vh; }
@media (min-width: 992px) {
  .sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; }
}
.sidebar .nav-link { padding: .45rem .75rem; font-size: .925rem; border-radius: .5rem; }
.sidebar .nav-link:not(.active):hover { background: rgba(255,255,255,.08); color: #fff !important; }
.sidebar .nav-section { color: rgba(255,255,255,.35); text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; margin: .9rem .75rem .25rem; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg,#0d6efd,#20c997); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; }
.main-content { min-width: 0; }
.card { border: 0; box-shadow: 0 1px 3px rgba(16,24,40,.08); border-radius: .75rem; }
.card-header { background: #fff; border-bottom: 1px solid #eef0f4; font-weight: 600; }
.table > :not(caption) > * > * { padding: .6rem .75rem; }
.table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: #6c757d; white-space: nowrap; }
.form-section { text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; color: #6c757d; border-bottom: 1px solid #e9ecef; padding-bottom: .4rem; margin: .5rem 0 0; }
.kpi { border-radius: .75rem; padding: 1rem 1.1rem; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.08); height: 100%; }
.kpi .kpi-label { color: #6c757d; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi .kpi-value { font-size: 1.65rem; font-weight: 700; line-height: 1.2; }
.kpi .kpi-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.alert-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: .45rem; flex-shrink: 0; }
.login-bg { background: linear-gradient(135deg,#0b1f3a 0%,#123c69 60%,#0f766e 100%); }
.detail-list dt { color: #6c757d; font-weight: 500; font-size: .85rem; }
.detail-list dd { margin-bottom: .6rem; }
.nav-tabs .nav-link { color: #495057; }
.nav-tabs .badge { font-size: .7rem; }
.plate { display: inline-block; border: 2px solid #212529; border-radius: 6px; padding: .1rem .6rem; font-weight: 800; letter-spacing: .08em; background: #fff; font-family: ui-monospace, monospace; }
@media print { .sidebar, .navbar, .btn, form.card { display: none !important; } }
@media (max-width: 575.98px) {
  .kpi .kpi-icon { display: none; }
  .kpi .kpi-value { font-size: 1.3rem; }
  .kpi .kpi-value small { display: block; }
}
.car-thumb { object-fit: cover; border-radius: .4rem; border: 1px solid #dee2e6; background: #f1f3f5; }
.car-thumb-empty { display: flex; align-items: center; justify-content: center; color: #adb5bd; }
.car-photo { max-height: 240px; object-fit: cover; }
.car-photo-empty { display: block; text-align: center; padding: 2rem 1rem; color: #6c757d; background: #f1f3f5; border-radius: .75rem .75rem 0 0; }
.rfid-autosweep { background: #f58220; color: #fff; }
.rfid-easytrip { background: #1b5faa; color: #fff; }
