:root {
  --bg: #0b1220;
  --ink: #e5edf7;
  --accent: #2563eb;
  --danger: #f87171;
  --card-bg: #111a2b;
  --line: #23314a;
}

body {
  margin: 0;
  padding: 20px;
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: var(--ink);
  background:
    radial-gradient(1200px 300px at 10% -10%, #17305e 10%, transparent 55%),
    radial-gradient(1200px 400px at 100% -20%, #12383c 10%, transparent 55%),
    var(--bg);
}

.container {
  max-width: 860px;
  margin: 0 auto;
}

.title-wrap {
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 4px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.sub {
  margin: 0;
  color: #aab7cb;
  font-size: 0.97rem;
}

.card {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--card-bg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

label {
  display: block;
  margin: 8px 0;
}

.label-strong {
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #334763;
  border-radius: 8px;
  background: #0e1626;
  color: #e5edf7;
}

.note {
  font-size: 0.9em;
  color: #9fb0c7;
  margin-top: 6px;
}

.status-ok {
  color: #4ade80;
  font-weight: 700;
}

.status-bad {
  color: #fca5a5;
  font-weight: 700;
}

.status-neutral {
  color: #cbd5e1;
  font-weight: 700;
}

.required {
  color: #fda4af;
  font-weight: 700;
}

.warn {
  margin-top: 10px;
  color: var(--danger);
  font-weight: 700;
}

.actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

button {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.link-btn {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

textarea[readonly] {
  background: #0a1323;
}

pre {
  background: #050b16;
  color: #dbe7f5;
  padding: 12px;
  border-radius: 8px;
  overflow: auto;
  border: 1px solid #22314a;
}

.spacer {
  height: 12px;
}

.stack-fieldset {
  margin: 0 0 14px 0;
}

.stack-fieldset:last-child {
  margin-bottom: 0;
}

#loc_source_type_wrap,
#loc_responded_wrap,
#loc_response_details_wrap,
#loc_bulk_wrap,
#loc_operator_wrap,
#loc_bulk_other_wrap,
#loc_operator_other_wrap {
  margin-top: 10px;
}

#court_claim_details_wrap {
  margin-top: 10px;
}

.note-block {
  margin-top: 10px;
}

.next-steps-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.legend-strong {
  font-weight: 600;
}

.pofa-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}
