/* ═══════════════════════════════════════════════════
   Fleet Compliance — page-specific styles
   (shared chrome — header, tabs, stream, metrics — comes from style.css)
═══════════════════════════════════════════════════ */

html, body { overflow: hidden; }

/* ── Password gate (whole page, shown until unlocked) ── */
.compliance-gate {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.compliance-gate-box {
  width: 320px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.roster-add {
  margin-left: auto;
  font-family: var(--ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: transparent;
  color: var(--text3);
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.roster-add:hover { color: var(--c-green); border-color: var(--c-green); }
.roster-add:disabled { opacity: 0.4; cursor: wait; }

/* ── Config tab: driver → district assignment ── */
#configView { padding: 12px 16px; overflow: hidden; height: 100%; display: flex; }
.driver-cfg-col { width: 100%; max-width: 720px; margin: 0 auto; }

.driver-row {
  display: grid;
  grid-template-columns: 1fr 90px 220px 70px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.driver-row:hover { background: var(--bg3); }
.driver-name { font-family: var(--ui); font-size: 13px; color: var(--text); }
.driver-name .driver-id { color: var(--text3); font-family: var(--mono); font-size: 10px; margin-left: 6px; }
.driver-lastseen { font-family: var(--mono); font-size: 10px; color: var(--text3); }
.driver-district-input {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 3px;
  color: var(--text);
  font-family: var(--ui);
  font-size: 12px;
  padding: 6px 9px;
  outline: none;
  width: 100%;
}
.driver-district-input:focus { border-color: var(--accent); }
.driver-district-input.district-home { border-color: var(--c-green); color: var(--c-green); }
.driver-row-actions { display: flex; gap: 4px; justify-content: flex-end; }
