:root {
  --met-blue: #003893;
  --met-hover-blue: #002d72;
  --met-light-blue: #f0f4fa;
  --gov-black: #0b0c0c;
  --gov-dark-grey: #505a5f;
  --gov-mid-grey: #b1b4b6;
  --gov-light-grey: #f3f2f1;
  --gov-blue: #1d70b8;
  --gov-green: #00703c;
  --gov-green-shadow: #002d18;
  --gov-red: #d4351c;
  --gov-yellow: #ffdd00;
  
  --dev-bg: #12131a;
  --dev-card: rgba(26,28,38,.85);
  --dev-border: rgba(255,255,255,.1);
  --dev-text: #e2e8f0;
  --dev-muted: #94a3b8;
  --dev-accent: #38bdf8;
  --dev-green: #4ade80;
  --dev-red: #f87171;
  --dev-orange: #fb923c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: var(--gov-black);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ──────────────────────────────────────── */
.site-header {
  background: var(--met-blue);
  color: #ffffff;
  padding: 12px 0;
}

.site-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.crest-svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.search-area {
  display: flex;
  align-items: center;
}

.search-box {
  display: flex;
  border: 1px solid #ffffff;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  width: 240px;
  height: 36px;
}

.search-box input {
  border: none;
  padding: 0 10px;
  font-family: inherit;
  font-size: 0.9rem;
  flex: 1;
  outline: none;
}

.search-box button {
  background: none;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button svg {
  width: 18px;
  height: 18px;
  fill: var(--gov-dark-grey);
}

/* ── Navigation Menu ─────────────────────────────── */
.nav-menu {
  background: #ffffff;
  border-bottom: 1px solid var(--gov-mid-grey);
}

.nav-menu-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  overflow-x: auto;
}

.nav-item {
  display: inline-block;
  padding: 14px 20px;
  color: var(--met-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-right: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.nav-item:first-child {
  border-left: 1px solid #f0f0f0;
}

.nav-item:hover {
  background: #f0f4fa;
}

.nav-item.active {
  background: var(--met-light-blue);
  border-bottom: 3px solid var(--met-blue);
}

/* ── Leave this site red button ──────────────────── */
.leave-site-btn {
  position: fixed;
  right: 0;
  top: 250px;
  background: var(--gov-red);
  color: #ffffff;
  border: none;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 999;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 2px 8px rgba(0,0,0,0.15);
  transition: background 0.15s;
}

.leave-site-btn:hover {
  background: #b32a15;
}

/* ── Main Breadcrumbs and title ───────────────────── */
.breadcrumbs {
  max-width: 1000px;
  margin: 20px auto 0;
  padding: 0 20px;
  font-size: 0.88rem;
  color: var(--gov-dark-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs a {
  color: var(--gov-blue);
  text-decoration: underline;
}

.breadcrumbs svg {
  color: var(--gov-blue);
}

.main-wrapper {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gov-black);
  letter-spacing: -0.8px;
}

/* ── Emergency warnings banner ───────────────────── */
.emergency-banner {
  background: #ffffff;
  border: 1px solid var(--gov-mid-grey);
  border-left: 10px solid var(--gov-black);
  padding: 24px;
  margin-bottom: 10px;
}

.emergency-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-banner ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.emergency-banner li {
  margin-bottom: 6px;
}

.emergency-banner h4 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 16px;
  margin-bottom: 8px;
}

.not-emergency-desc {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.not-emergency-desc h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.other-reporting-options {
  margin-bottom: 10px;
}

.other-reporting-options h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ── Grey Interactive Form Card ─────────────────── */
.form-card {
  background: #e5e9ef;
  padding: 30px 24px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: relative;
}

.form-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-card-back {
  background: none;
  border: none;
  color: var(--gov-black);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-card-back:hover {
  color: var(--gov-blue);
}

.form-card-step {
  color: var(--gov-dark-grey);
}

.form-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* ── Form Inputs ─────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}

.form-group.has-error {
  border-left: 5px solid var(--gov-red);
  padding-left: 14px;
}

.form-group.has-error .gov-input,
.form-group.has-error .gov-textarea,
.form-group.has-error .gov-select {
  border-color: var(--gov-red);
}

label.field-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field-hint {
  display: block;
  color: var(--gov-dark-grey);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.error-msg {
  color: var(--gov-red);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

.gov-input {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--gov-black);
  border-radius: 0;
  background: #ffffff;
}

.gov-input:focus, .gov-textarea:focus, .gov-select:focus {
  outline: 3px solid var(--gov-yellow);
  outline-offset: 0;
  border-color: var(--gov-black);
}

.gov-input.narrow { width: 80px; }
.gov-input.medium { width: 110px; }

.gov-textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--gov-black);
  border-radius: 0;
  resize: vertical;
  background: #ffffff;
}

.gov-select {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--gov-black);
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
}

.date-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.date-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-field label {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── Radio Tiles (as white buttons in card) ──────── */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-tile {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--gov-mid-grey);
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--met-blue);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.radio-tile:hover {
  background: #f0f4fa;
  border-color: var(--met-blue);
}

.radio-tile.selected {
  background: var(--met-blue);
  color: #ffffff;
  border-color: var(--met-blue);
  outline: 1px solid var(--met-blue);
}

.radio-tile input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ── Action Buttons ────────────────────────────── */
.btn-green {
  display: inline-block;
  background: var(--gov-green);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--gov-green-shadow);
  text-decoration: none;
  transition: background 0.15s;
}

.btn-green:hover {
  background: #005a30;
}

.btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: var(--gov-black);
  border: 2px solid var(--gov-black);
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: var(--gov-light-grey);
}

/* ── Related pages grid ─────────────────────────── */
.related-section {
  margin-top: 10px;
}

.related-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  background: #ffffff;
  border: 1px solid var(--gov-mid-grey);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--gov-blue);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s;
}

.related-card:hover {
  background: var(--met-light-blue);
  border-color: var(--met-blue);
}

.related-card svg {
  color: var(--gov-blue);
  flex-shrink: 0;
}

.problem-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gov-blue);
  text-decoration: underline;
  font-size: 0.95rem;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: #212328;
  color: #d1d5db;
  padding: 48px 0 24px;
  margin-top: auto;
  font-size: 0.9rem;
}

.site-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
}

.social-icon:hover {
  background: #4b5563;
}

.social-icon.facebook { background: #3b5998; }
.social-icon.twitter { background: #000000; }
.social-icon.youtube { background: #c4302b; }
.social-icon.instagram { background: #e1306c; }
.social-icon.whatsapp { background: #25d366; }

/* Error summary box styling */
.error-summary {
  background: #ffffff;
  border: 4px solid var(--gov-red);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: none;
}
.error-summary h2 {
  color: var(--gov-red);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.error-summary ul {
  list-style: none;
}
.error-summary li {
  margin-bottom: 6px;
}
.error-summary li a {
  color: var(--gov-red);
  text-decoration: underline;
  font-weight: 600;
}

/* Dynamic file list */
.item-row {
  border: 1px solid var(--gov-mid-grey);
  padding: 20px;
  margin-bottom: 16px;
  background: #ffffff;
  position: relative;
}
.item-row .remove-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--gov-red);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: .88rem;
  text-decoration: underline;
}

/* ── Dev Console ──────────────────────────────────── */
.dev-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dev-bg);
  border: 2px solid var(--dev-border);
  color: var(--dev-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: transform .2s;
}
.dev-toggle:hover { transform: scale(1.1); }
.dev-console {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--dev-bg);
  border-left: 1px solid var(--dev-border);
  z-index: 9998;
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
  font-size: .85rem;
  color: var(--dev-text);
}
.dev-console.open { right: 0; }
.dev-console-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--dev-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dev-console-header h3 { font-size: .95rem; font-weight: 600; color: var(--dev-accent); }
.dev-console-header .close-btn { background: none; border: none; color: var(--dev-muted); cursor: pointer; font-size: 1.2rem; }
.dev-tabs { display: flex; border-bottom: 1px solid var(--dev-border); }
.dev-tab { flex: 1; padding: 10px; text-align: center; cursor: pointer; color: var(--dev-muted); font-weight: 500; border-bottom: 2px solid transparent; transition: all .15s; }
.dev-tab.active { color: var(--dev-accent); border-bottom-color: var(--dev-accent); }
.dev-tab:hover { color: var(--dev-text); }
.dev-panel { flex: 1; overflow-y: auto; padding: 16px 20px; display: none; }
.dev-panel.active { display: block; }
.dev-btn { display: block; width: 100%; padding: 10px 14px; margin-bottom: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--dev-border); color: var(--dev-text); font-family: inherit; font-size: .85rem; font-weight: 500; cursor: pointer; border-radius: 6px; text-align: left; transition: background .15s; }
.dev-btn:hover { background: rgba(255,255,255,.12); }
.dev-btn.danger { border-color: rgba(248,113,113,.3); color: var(--dev-red); }
.dev-log-entry { padding: 8px 10px; border-bottom: 1px solid var(--dev-border); font-family: 'SF Mono',Monaco,Menlo,monospace; font-size: .78rem; line-height: 1.4; }
.dev-log-entry .ts { color: var(--dev-muted); margin-right: 6px; }
.dev-log-entry.info { color: var(--dev-text); }
.dev-log-entry.success { color: var(--dev-green); }
.dev-log-entry.error { color: var(--dev-red); }
.dev-log-entry.navigation { color: var(--dev-accent); }
.dev-log-entry.action { color: var(--dev-orange); }
.dev-submission { background: var(--dev-card); border: 1px solid var(--dev-border); border-radius: 6px; padding: 12px; margin-bottom: 10px; }
.dev-submission .sub-id { font-weight: 600; color: var(--dev-green); margin-bottom: 6px; }
.dev-submission pre { font-size: .75rem; color: var(--dev-muted); white-space: pre-wrap; max-height: 200px; overflow-y: auto; }

/* Filled data panel */
.filled-section { margin-bottom: 14px; }
.filled-section-title { font-size: .8rem; font-weight: 600; color: var(--dev-accent); margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--dev-border); text-transform: uppercase; letter-spacing: .5px; }
.filled-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 4px 0; gap: 8px; font-size: .78rem; font-family: 'SF Mono',Monaco,Menlo,monospace; }
.filled-row .f-label { color: var(--dev-muted); flex-shrink: 0; min-width: 110px; }
.filled-row .f-value { color: var(--dev-green); text-align: right; word-break: break-word; max-width: 220px; }
.filled-row .f-value.empty { color: var(--dev-red); font-style: italic; }
.filled-row .f-value.bool-true { color: var(--dev-green); }
.filled-row .f-value.bool-false { color: var(--dev-orange); }
.filled-row .f-value.bool-null { color: var(--dev-muted); font-style: italic; }
.filled-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: .7rem; font-weight: 600; margin-left: 6px; }
.filled-badge.complete { background: rgba(74,222,128,.15); color: var(--dev-green); }
.filled-badge.partial { background: rgba(251,146,60,.15); color: var(--dev-orange); }
.filled-badge.empty { background: rgba(248,113,113,.12); color: var(--dev-red); }

/* ── Home Page / Landing Page Styles ────────────────── */
.hero-section {
  position: relative;
  height: 480px;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.25)), url('images/police_hero.jpg') no-repeat center center/cover;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

.hero-search-container {
  margin-top: 40px;
  max-width: 600px;
  width: 100%;
}

.hero-search-box {
  display: flex;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  height: 52px;
}

.hero-search-box input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-family: inherit;
  font-size: 1.15rem;
  outline: none;
}

.hero-search-box button {
  background: none;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-search-box button svg {
  width: 24px;
  height: 24px;
  fill: var(--met-blue);
}

.hero-buttons-wrapper {
  max-width: 1000px;
  width: 100%;
  margin-top: auto;
  position: relative;
  z-index: 200;
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
  bottom: -40px;
  position: absolute;
  z-index: 100;
}

@media (max-width: 768px) {
  .hero-section { height: auto; padding-bottom: 60px; }
  .hero-buttons { position: relative; bottom: 0; margin-top: 20px; grid-template-columns: 1fr; }
}

.hero-btn {
  background: var(--met-blue);
  color: #ffffff;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 2px solid transparent;
  min-height: 120px;
  justify-content: center;
}

.hero-btn:hover {
  background: var(--met-hover-blue);
}

.hero-btn.active {
  background: #ffffff !important;
  color: var(--met-blue) !important;
  border: 2px solid var(--met-blue);
  border-bottom: 2px solid #ffffff;
  z-index: 102;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.hero-btn.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
  z-index: 105;
}

.hero-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.hero-btn span {
  display: block;
}

.hero-btn-chevron {
  font-size: 0.8rem;
  margin-top: -4px;
}

.report-dropdown {
  position: absolute;
  top: 40px; /* Position it exactly at the bottom edge of the buttons (which sit at bottom: -40px with a 120px height) */
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid var(--met-blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: none;
  z-index: 105;
  grid-template-columns: 1fr 1fr;
  padding: 24px;
  border-radius: 0 0 4px 4px;
}

@media (max-width: 768px) {
  .report-dropdown {
    top: 40px;
    grid-template-columns: 1fr;
  }
}

.report-dropdown.open {
  display: grid;
}

.dropdown-link {
  color: var(--met-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: block;
  transition: background 0.15s;
}

.dropdown-link:hover {
  background: var(--met-light-blue);
}

/* ── Find Your Area Section ──────────────────────── */
.area-section {
  text-align: center;
  padding: 80px 20px 40px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.area-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gov-black);
}

.area-section p {
  font-size: 1.1rem;
  color: var(--gov-dark-grey);
  max-width: 600px;
  line-height: 1.5;
}

.area-search-box {
  display: flex;
  border: 1px solid var(--gov-mid-grey);
  max-width: 500px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  height: 48px;
  margin-top: 10px;
}

.area-search-box input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.area-search-box button {
  background: none;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-search-box button svg {
  width: 20px;
  height: 20px;
  fill: var(--gov-dark-grey);
}

.area-location-link {
  color: var(--gov-blue);
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ── From The Met Section ────────────────────────── */
.from-met-section {
  padding: 60px 20px;
  background: #f3f2f1;
}

.from-met-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.from-met-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .from-met-grid {
    grid-template-columns: 1fr;
  }
}

.met-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
}

.met-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.met-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.met-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.met-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--met-blue);
}

.met-card-desc {
  font-size: 0.95rem;
  color: var(--gov-dark-grey);
  line-height: 1.4;
}

.met-card-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gov-dark-grey);
  text-transform: uppercase;
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  letter-spacing: 0.5px;
}

/* ── Progress Indicators & Large Option Buttons ───── */
.progress-container {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  margin-bottom: 24px;
  position: relative;
}
.progress-bar {
  height: 100%;
  background: var(--gov-blue);
  width: 10%;
  transition: width 0.3s;
}

.large-options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.large-option-btn {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 20px 24px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-family: inherit;
  color: var(--gov-black);
  transition: background 0.15s, border-color 0.15s;
}

.large-option-btn:hover {
  background: #f8f8f8;
  border-color: var(--met-blue);
}

/* ── Step 5: Postcode Lookup ─────────────────────────────────────── */

.postcode-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 28px 24px;
  margin-top: 20px;
}

.postcode-input {
  width: 220px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #505a5f;
  outline: none;
  color: var(--gov-black);
}

.postcode-input:focus {
  border-color: var(--met-blue);
  box-shadow: 0 0 0 3px rgba(0, 56, 147, 0.15);
}

.postcode-input::placeholder {
  color: #9ca3af;
}

.find-address-btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  background: var(--met-blue);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.find-address-btn:hover {
  background: #002d73;
}

.find-address-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ok-btn {
  padding: 14px 36px;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 700;
  background: var(--met-blue);
  color: #ffffff;
  border: 3px solid var(--met-blue);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ok-btn:hover {
  background: #002d73;
  border-color: #002d73;
}

.address-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #b1b4b6;
  background: #ffffff;
  color: var(--gov-black);
  cursor: pointer;
}

.address-select:focus {
  border-color: var(--met-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 56, 147, 0.15);
}

.map-link {
  color: var(--met-blue);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}

/* =========================================
   YOUR DETAILS FORM LAYOUT
   ========================================= */

.form-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  max-width: 1200px;
  background: transparent;
}

.sidebar-progress {
  background: transparent;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #d3d9df;
}

.sidebar-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #d3d9df;
  font-size: 1.05rem;
  color: #505a5f;
  background: #ffffff;
}

.sidebar-menu li svg {
  width: 18px;
  height: 18px;
  color: #b1b4b6;
}

.sidebar-menu li.active {
  background: #003893;
  color: #ffffff;
  font-weight: 600;
}

.sidebar-menu li.active svg {
  color: #ffffff;
}

.sidebar-privacy {
  margin-top: 24px;
  font-size: 0.85rem;
  color: #505a5f;
  line-height: 1.4;
}

.sidebar-privacy a {
  color: #003893;
  text-decoration: underline;
  font-weight: 600;
}

.form-content {
  background: transparent;
  max-width: 700px;
}

.form-progress-header {
  display: flex;
  justify-content: flex-end;
  color: #003893;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.horizontal-progress {
  height: 8px;
  background: #d3d9df;
  width: 100%;
  margin-bottom: 12px;
}

.horizontal-progress-fill {
  height: 100%;
  background: #00703c;
  background: #003893;
}

.mandatory-text {
  color: #d4351c;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 400;
  margin-bottom: 6px;
  color: #0b0c0c;
  font-size: 1.1rem;
}

.required {
  color: #d4351c;
}

.input-text, .input-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #0b0c0c;
  font-size: 1.1rem;
  font-family: inherit;
  border-radius: 0;
}

.input-text:focus, .input-select:focus {
  outline: 3px solid #ffdd00;
  outline-offset: 0;
  box-shadow: inset 0 0 0 2px #0b0c0c;
}

.dob-inputs {
  display: flex;
  gap: 16px;
}

.dob-field label {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #505a5f;
}

.input-sm {
  width: 60px;
}

.input-md {
  width: 90px;
}

.address-lookup {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-lookup {
  background: #7ba2d3;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  white-space: nowrap;
}

.manual-address-link {
  color: #003893;
  font-weight: 600;
  text-decoration: underline;
  display: block;
  font-size: 1rem;
}

.btn-next {
  background: #003893;
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
}

.btn-next:hover {
  background: #002d73;
}

/* Radio Block layout */
.radio-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f3f2f1;
  padding: 16px 20px;
  margin-bottom: 8px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.radio-block:hover {
  background: #e1e4e6;
}

.radio-block input[type="radio"] {
  width: 24px;
  height: 24px;
  accent-color: #0b0c0c;
  margin: 0;
  cursor: pointer;
}

.radio-block span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0b0c0c;
}
