/* Florida Driver Improvement — official compliance theme */
:root {
  --navy: #0a1628;
  --navy-2: #0d2045;
  --navy-3: #122a5e;
  --red: #b91c1c;
  --red-d: #991b1b;
  --paper: #f4f6f9;
  --card: #ffffff;
  --ink: #1e293b;
  --muted: #4a5568;
  --line: #d5dbe3;
  --focus: #1a3a7a;
  --ok: #166534;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.fdi-gov {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.wrap { width: min(880px, calc(100% - 1.75rem)); margin: 0 auto; }

.auth {
  background: var(--navy);
  color: #d7e0ee;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: .55rem .8rem;
}

.agency {
  background: var(--navy-2);
  color: #fff;
  border-bottom: 4px solid var(--red);
}
.agency-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; min-width: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.seal {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid #fff; background: var(--navy);
}
.brand-kicker { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #9db4d4; font-weight: 700; }
.brand-name { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.15; }
.brand-sub { display: block; font-size: .78rem; color: #c5d4e8; }
.agency-right { text-align: right; flex-shrink: 0; }
.statute { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #9db4d4; margin-bottom: .4rem; }
.login {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
  padding: .4rem .7rem;
  background: rgba(255,255,255,.08);
}
.login:hover { background: rgba(255,255,255,.16); }
@media (max-width: 640px) {
  .seal { width: 44px; height: 44px; }
  .brand-name { font-size: 1rem; }
  .brand-sub, .statute { display: none; }
}

.progress-bar { background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1rem; }
.progress-inner { max-width: 880px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem; }
.p-step { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; color: var(--muted); }
.p-step.active { color: var(--navy); }
.p-step.done { color: var(--ok); }
.p-step .num {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
  background: var(--line); color: var(--muted);
}
.p-step.active .num { background: var(--navy); color: #fff; }
.p-step.done .num { background: var(--ok); color: #fff; }
.p-connector { width: 36px; height: 2px; background: var(--line); }

.site-foot {
  background: var(--navy);
  color: #93a0b3;
  font-size: .78rem;
  padding: 1.3rem 0;
  text-align: center;
}
.site-foot p { margin: .2rem 0; }
.site-foot a { color: #d7e0ee; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  font-family: inherit; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 1rem;
  font-size: .92rem;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #000; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-line { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-wide { width: 100%; }

.notice-card { background: #fff; border: 1px solid var(--line); }
.notice-hd { background: var(--red); color: #fff; padding: .85rem 1.15rem; }
.notice-hd p { margin: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.notice-hd h1 { margin: .15rem 0 0; font-size: 1.25rem; font-weight: 800; }
.panel { background: #fff; border: 1px solid var(--line); padding: 1.25rem; margin-bottom: 1rem; }
.panel h2 { margin: 0 0 .85rem; font-size: .95rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: .5rem; }

.fg { margin-bottom: 1rem; }
.fg label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .3rem; }
.fg label.req::after { content: " *"; color: var(--red); }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: .7rem .75rem;
  border: 1px solid #b7c0cc; background: #fff;
  font: inherit; color: var(--ink);
}
.fg input:focus, .fg select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(26,58,122,.15); }
.hint { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: .7rem .85rem; font-size: .88rem; margin-bottom: 1rem; }
