:root { --navy:#102a43; --blue:#1769aa; --bg:#f4f7fa; --line:#dce5ed; --text:#243b53; --muted:#627d98; --green:#147d64; --red:#c2413b; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; font-family:Arial,sans-serif; color:var(--text); background:var(--bg); }
.sidebar { position:fixed; inset:0 auto 0 0; width:230px; padding:26px 18px; color:#fff; background:var(--navy); display:flex; flex-direction:column; }
.brand { font-size:22px; font-weight:700; padding:0 10px 28px; }
.brand span { color:#58c4e8; }
nav { display:grid; gap:6px; }
nav a { color:#c9d6e2; text-decoration:none; border-radius:7px; padding:11px 12px; }
nav a:hover, nav a.active { color:#fff; background:rgba(255,255,255,.11); }
.sidebar-footer { margin-top:auto; padding:14px 10px 0; border-top:1px solid rgba(255,255,255,.16); display:grid; gap:10px; color:#c9d6e2; font-size:13px; }
.sidebar-footer button { border:0; padding:0; color:#fff; background:none; cursor:pointer; text-decoration:underline; }
.content { margin-left:230px; padding:32px; max-width:1500px; }
.page-header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.eyebrow { margin:0 0 4px; color:var(--blue); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
h1,h2 { margin:0; color:var(--navy); }
h1 { font-size:30px; } h2 { font-size:18px; }
.demo-note { padding:8px 12px; color:#7a5200; background:#fff6d8; border:1px solid #f3dda1; border-radius:20px; font-size:12px; }
.metrics { display:grid; grid-template-columns:repeat(6,minmax(140px,1fr)); gap:14px; margin-bottom:22px; }
.metrics article,.panel { background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 2px 8px rgba(16,42,67,.04); }
.metrics article { padding:18px; }
.metrics span { display:block; color:var(--muted); font-size:13px; margin-bottom:10px; }
.metrics strong { font-size:27px; color:var(--navy); }.metrics small { font-size:12px; }.metrics .positive { color:var(--green); }.metrics .negative { color:var(--red); }
.panel { margin-bottom:22px; overflow:hidden; }.panel-title { padding:17px 20px; border-bottom:1px solid var(--line); }
.table-wrap { overflow-x:auto; } table { width:100%; border-collapse:collapse; font-size:13px; }
th { color:var(--muted); background:#f9fbfc; text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
th,td { padding:12px 14px; border-bottom:1px solid #edf2f6; white-space:nowrap; } tbody tr:last-child td { border-bottom:0; }
.number { text-align:right; }.empty { text-align:center; color:var(--muted); padding:24px; }
.filters { display:flex; flex-wrap:wrap; gap:9px; align-items:center; margin-bottom:16px; padding:14px; background:#fff; border:1px solid var(--line); border-radius:9px; }
.filters input,.filters select { min-height:38px; padding:8px 10px; border:1px solid #bcccdc; border-radius:6px; color:var(--text); background:#fff; }
.filters input[type="search"] { min-width:240px; flex:1; }
.filters button,.button-secondary { min-height:38px; padding:9px 14px; border:0; border-radius:6px; color:#fff; background:var(--blue); font-weight:700; cursor:pointer; text-decoration:none; font-size:13px; }
.filters > a { color:var(--blue); font-size:13px; }
.button-secondary { display:inline-flex; align-items:center; }
.pagination { display:flex; align-items:center; justify-content:center; gap:16px; margin:18px 0; color:var(--muted); font-size:13px; }
.pagination a { padding:7px 11px; border:1px solid var(--line); border-radius:6px; color:var(--blue); background:#fff; text-decoration:none; }
td small { color:var(--muted); }
.tag { display:inline-block; padding:2px 5px; border-radius:4px; color:#775600; background:#fff0b3; font-size:10px; text-transform:uppercase; }
.status { display:inline-block; padding:4px 8px; border-radius:12px; background:#e7eef5; color:#486581; font-size:11px; font-weight:700; }
.status-disponivel { color:#086c55; background:#d9f4ec; }.status-a_carregar { color:#075b9c; background:#dceefe; }.status-offline,.status-indisponivel { color:#a3332e; background:#fbe5e3; }.status-ocupado { color:#805b10; background:#fff0c9; }
.login-page { display:grid; place-items:center; min-height:100vh; padding:24px; background:linear-gradient(135deg,var(--navy),#1f4e78); }
.login-card { width:min(400px,100%); padding:34px; background:#fff; border-radius:12px; box-shadow:0 18px 50px rgba(0,0,0,.24); }
.login-card h1 { margin-bottom:8px; }.login-card > p { margin:0 0 24px; color:var(--muted); }
.login-card label { display:block; margin:14px 0 6px; font-size:13px; font-weight:700; }
.login-card input { width:100%; padding:11px; border:1px solid #bcccdc; border-radius:6px; }
.login-card button { width:100%; margin-top:20px; padding:12px; border:0; border-radius:6px; color:#fff; background:var(--blue); font-weight:700; cursor:pointer; }
.error { padding:10px; color:#9b2c2c; background:#fff0f0; border-radius:6px; font-size:13px; }
@media (max-width:1150px) { .metrics { grid-template-columns:repeat(3,1fr); } }
@media (max-width:700px) { .sidebar { position:static; width:auto; min-height:auto; padding:16px; }.brand { padding-bottom:12px; } nav { display:flex; }.sidebar-footer { margin-top:12px; }.content { margin-left:0; padding:18px; }.page-header { align-items:flex-start; flex-direction:column; }.metrics { grid-template-columns:repeat(2,1fr); } }
