/* Huisstijlkleuren overgenomen uit het LEC-logo (Logo LEC/Logo + Tekst.svg):
   helderblauw #23a4de, donkerblauw #066fa0, teal #0bb1ae/#008467,
   groen #81bd50, en het limoengeel #cad632 van de bliksemschicht. */
:root {
  --kleur-primair: #066fa0;
  --kleur-primair-donker: #054f75;
  --kleur-accent: #23a4de;
  --kleur-groen: #81bd50;
  --kleur-lime: #cad632;
  --kleur-achtergrond: #f4f7f9;
  --kleur-kaart: #ffffff;
  --kleur-tekst: #1c1d1c;
  --kleur-rand: #dde3ea;
  --kleur-succes: #4c8f2e;
  --kleur-fout: #b02a37;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--kleur-achtergrond);
  color: var(--kleur-tekst);
}

.topbar {
  background: var(--kleur-primair);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.topbar nav a {
  color: #d6ecf7;
  text-decoration: none;
  margin-right: 1.25rem;
  font-size: 0.95rem;
}

.topbar nav a:hover {
  color: white;
}

.uitlog-formulier {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ingelogd-als {
  color: #d6ecf7;
  font-size: 0.85rem;
}

.knop-uitloggen {
  background: transparent;
  color: #d6ecf7;
  border: 1px solid #3d8fb0;
}

.knop-uitloggen:hover {
  color: white;
  border-color: white;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

h1 {
  margin-bottom: 0.25rem;
}

.subtekst {
  color: #5b6b7a;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.kaarten {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.kaart {
  background: var(--kleur-kaart);
  border: 1px solid var(--kleur-rand);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  flex: 1;
  min-width: 220px;
}

.kaart-cijfer {
  font-size: 2rem;
  font-weight: 700;
  color: var(--kleur-primair);
}

.kaart-label {
  color: #5b6b7a;
  font-size: 0.9rem;
}

.formulier {
  background: var(--kleur-kaart);
  border: 1px solid var(--kleur-rand);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.formulier label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #5b6b7a;
  gap: 0.3rem;
}

.formulier input,
.formulier select {
  padding: 0.5rem;
  border: 1px solid var(--kleur-rand);
  border-radius: 6px;
  font-size: 0.95rem;
}

.label-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 0.4rem !important;
}

.knop {
  background: var(--kleur-primair);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-block;
}

.knop:hover {
  background: var(--kleur-primair-donker);
}

.knop-secundair {
  background: white;
  color: var(--kleur-primair);
  border: 1px solid var(--kleur-primair);
}

.link-kaart {
  background: var(--kleur-kaart);
  border: 1px solid var(--kleur-rand);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.link-veld {
  flex: 1 1 320px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--kleur-rand);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--kleur-achtergrond);
  color: var(--kleur-tekst);
}

.scheiding {
  border: none;
  border-top: 1px solid var(--kleur-rand);
  margin: 2rem 0 1.5rem;
}

.knop-klein {
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 5px;
  border: 1px solid var(--kleur-rand);
  background: white;
  cursor: pointer;
}

.acties {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.tabel {
  width: 100%;
  border-collapse: collapse;
  background: var(--kleur-kaart);
  border: 1px solid var(--kleur-rand);
  border-radius: 8px;
  overflow: hidden;
}

.tabel th,
.tabel td {
  padding: 0.65rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--kleur-rand);
  font-size: 0.9rem;
}

.tabel th {
  background: #eef2f6;
  color: #45566a;
  font-weight: 600;
}

.tabel .leeg {
  text-align: center;
  color: #8a97a5;
  padding: 1.5rem;
}

.tabel-scroll {
  overflow-x: auto;
  border-radius: 8px;
}

.tabel-gegevens {
  width: 100%;
  border-collapse: collapse;
}

.tabel-gegevens th {
  text-align: left;
  color: #5b6b7a;
  font-weight: 600;
  padding: 0.4rem 0.75rem 0.4rem 0;
  width: 220px;
  vertical-align: top;
}

.tabel-gegevens td {
  padding: 0.4rem 0;
}

.flash-lijst {
  margin-bottom: 1rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-definitief {
  background: #e7f5ec;
  color: var(--kleur-succes);
}

.badge-prospect {
  background: #f4f7d1;
  color: #6b7412;
}

.badge-afgewezen {
  background: #fbeaea;
  color: var(--kleur-fout);
}

.flash-fout {
  background: #fbeaea;
  color: var(--kleur-fout);
  border: 1px solid #f0c3c7;
}

.flash-succes {
  background: #e7f5ec;
  color: var(--kleur-succes);
  border: 1px solid #bfe3cc;
}

.login-pagina {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-kaart {
  background: var(--kleur-kaart);
  border: 1px solid var(--kleur-rand);
  border-radius: 10px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.login-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

.login-kaart form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.login-kaart label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #5b6b7a;
}

.login-kaart input {
  padding: 0.6rem;
  border: 1px solid var(--kleur-rand);
  border-radius: 6px;
  font-size: 1rem;
}

/* --- Aanmeldformulier (publiek) --- */

.aanmeldformulier-pagina {
  max-width: 760px;
}

.formulier-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.sectie {
  background: var(--kleur-kaart);
  border: 1px solid var(--kleur-rand);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sectie legend {
  font-weight: 700;
  color: var(--kleur-primair);
  padding: 0 0.4rem;
}

.sectie h3 {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #45566a;
}

.sectie label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #3a4a5a;
}

.sectie input,
.sectie select {
  padding: 0.55rem;
  border: 1px solid var(--kleur-rand);
  border-radius: 6px;
  font-size: 0.95rem;
}

.veldfout {
  color: var(--kleur-fout);
  font-size: 0.82rem;
  margin: -0.5rem 0 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
