* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f4f6f9;
  color: #2c3e50;
  line-height: 1.5;
}
.hidden { display: none !important; }

/* CENTERED LOGIN/PWCHANGE */
.centered-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
}
.login-box {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  width: 380px;
}
.login-box h1 {
  color: #1e3a5f;
  margin-bottom: 4px;
  font-size: 22px;
}
.login-box .subtitle { color: #718096; font-size: 13px; margin-bottom: 24px; }
.login-box .form-field { margin-bottom: 14px; }
.login-box .form-field label {
  display: block; font-size: 12px; color: #4a5568;
  margin-bottom: 4px; font-weight: 600;
}
.login-box input {
  width: 100%; padding: 10px 12px; border: 1px solid #cbd5e0;
  border-radius: 4px; font-size: 14px;
}
.login-box .btn-primary { margin-top: 8px; }

.error-msg {
  background: #fed7d7; color: #9b2c2c; padding: 10px;
  border-radius: 4px; font-size: 13px; margin-bottom: 12px;
}

/* HEADER */
header {
  background: #1e3a5f;
  color: white;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-wrap: wrap;
  gap: 16px;
}
header h1 { font-size: 19px; cursor: pointer; }
header nav { display: flex; gap: 4px; }
header nav a {
  color: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}
header nav a:hover { background: rgba(255,255,255,0.15); color: white; }
header .user-area { display: flex; gap: 12px; align-items: center; font-size: 13px; }
header button {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
header button:hover { background: rgba(255,255,255,0.25); }

main { max-width: 1200px; margin: 0 auto; padding: 28px; }

/* TOOLBAR */
.dashboard-toolbar {
  display: flex; gap: 12px; margin-bottom: 20px;
  align-items: center; flex-wrap: wrap;
}
.dashboard-toolbar input[type="text"] {
  flex: 1; min-width: 240px; padding: 10px 14px;
  border: 1px solid #cbd5e0; border-radius: 4px; font-size: 14px;
}
.dashboard-toolbar select {
  padding: 10px; border: 1px solid #cbd5e0;
  border-radius: 4px; font-size: 14px; background: white;
}

/* BUTTONS */
.btn-primary {
  background: #2c5282; color: white; border: none;
  padding: 10px 20px; border-radius: 4px; cursor: pointer;
  font-size: 14px; font-weight: 600;
}
.btn-primary:hover { background: #1e3a5f; }
.btn-primary.full { width: 100%; padding: 12px; }
.btn-secondary {
  background: white; color: #2c5282; border: 1px solid #2c5282;
  padding: 10px 20px; border-radius: 4px; cursor: pointer;
  font-size: 14px; font-weight: 600;
}
.btn-secondary:hover { background: #ebf4ff; }
.btn-danger {
  background: white; color: #c53030; border: 1px solid #c53030;
  padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: 13px;
}
.btn-danger:hover { background: #fff5f5; }
.btn-small { padding: 6px 12px; font-size: 12px; }

/* TABLES / GRID */
.dossier-grid {
  background: white; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
table { width: 100%; border-collapse: collapse; }
th {
  background: #edf2f7; text-align: left; padding: 12px 16px;
  font-size: 11px; text-transform: uppercase; color: #4a5568;
  font-weight: 600; letter-spacing: 0.5px;
}
td { padding: 14px 16px; border-top: 1px solid #edf2f7; font-size: 14px; }
tr.row-clickable { cursor: pointer; }
tr.row-clickable:hover { background: #f7fafc; }
.empty-state { padding: 60px 20px; text-align: center; color: #718096; }

/* STATUS BADGES */
.status-badge {
  display: inline-block; padding: 4px 10px;
  border-radius: 12px; font-size: 11px; font-weight: 600;
}
.status-In-gebreke-gesteld { background: #fef3c7; color: #92400e; }
.status-Dagvaarding { background: #fde68a; color: #78350f; }
.status-Uitvoering-na-vonnis { background: #fed7aa; color: #9a3412; }
.status-Afbetalingen { background: #bfdbfe; color: #1e40af; }
.status-Betaald { background: #bbf7d0; color: #14532d; }
.status-Afgesloten { background: #e5e7eb; color: #374151; }

.role-badge {
  display: inline-block; padding: 3px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.role-admin { background: #1e3a5f; color: white; }
.role-client { background: #e2e8f0; color: #2d3748; }

/* FORMS */
.form-section {
  background: white; border-radius: 8px; padding: 22px;
  margin-bottom: 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.form-section h2 {
  font-size: 15px; color: #1e3a5f; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid #e2e8f0;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 12px;
}
.form-row.three { grid-template-columns: 2fr 1fr 1fr; }
.form-row.four { grid-template-columns: 1fr 1fr 1fr 1fr; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 12px; color: #4a5568; margin-bottom: 4px; font-weight: 600;
}
.form-field input, .form-field select, .form-field textarea {
  padding: 8px 10px; border: 1px solid #cbd5e0; border-radius: 4px;
  font-size: 14px; font-family: inherit;
}
.form-field textarea { resize: vertical; min-height: 60px; }
.form-actions {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 16px;
}

.invoice-row {
  background: #f7fafc; padding: 14px; border-radius: 6px;
  margin-bottom: 10px; position: relative;
}
.invoice-row .remove-invoice {
  position: absolute; top: 6px; right: 6px;
  background: transparent; border: none; color: #c53030;
  cursor: pointer; font-size: 18px; padding: 4px 8px;
}
.add-invoice-btn {
  background: #ebf4ff; color: #2c5282;
  border: 1px dashed #2c5282; padding: 10px;
  border-radius: 4px; cursor: pointer; width: 100%;
  font-size: 14px; font-weight: 600;
}

/* DETAIL VIEW */
.detail-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 20px;
  flex-wrap: wrap; gap: 14px;
}
.detail-header h2 { color: #1e3a5f; font-size: 22px; }
.detail-header .meta { color: #718096; font-size: 13px; margin-top: 4px; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-bottom: 18px;
}
.info-card {
  background: white; border-radius: 8px; padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.info-card h3 {
  font-size: 13px; color: #1e3a5f; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid #e2e8f0;
}
.info-card .info-line { font-size: 14px; margin-bottom: 4px; color: #2d3748; }
.info-card .info-line strong {
  display: inline-block; min-width: 100px;
  color: #4a5568; font-weight: 600;
}

/* CALC */
.calc-table {
  background: white; border-radius: 8px; padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 18px;
  overflow-x: auto;
}
.calc-table h3 {
  font-size: 13px; color: #1e3a5f; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid #e2e8f0;
}
.calc-table table { font-size: 13px; }
.calc-table th { background: transparent; padding: 8px 6px; }
.calc-table td { padding: 8px 6px; }
.calc-table .total-row { font-weight: 700; background: #ebf4ff; }
.calc-table .total-row td { border-top: 2px solid #2c5282; }
.number { text-align: right; font-variant-numeric: tabular-nums; }

/* NOTES */
.notes-card {
  background: white; border-radius: 8px; padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.notes-card h3 {
  font-size: 13px; color: #1e3a5f; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid #e2e8f0;
}
.note-list { max-height: 320px; overflow-y: auto; margin-bottom: 14px; }
.note-item {
  padding: 10px 12px; background: #f7fafc;
  border-left: 3px solid #2c5282; border-radius: 4px; margin-bottom: 8px;
}
.note-item .note-meta { font-size: 11px; color: #718096; margin-bottom: 4px; }
.note-item .note-text { font-size: 14px; color: #2d3748; white-space: pre-wrap; }
.note-input-row { display: flex; gap: 8px; }
.note-input-row textarea {
  flex: 1; padding: 8px 10px; border: 1px solid #cbd5e0;
  border-radius: 4px; font-size: 14px; font-family: inherit;
  resize: vertical; min-height: 60px;
}

/* TOAST */
#toast {
  position: fixed; bottom: 24px; right: 24px;
  background: #1e3a5f; color: white;
  padding: 12px 18px; border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 14px; z-index: 200;
  animation: toast-in 0.3s ease;
}
#toast.error { background: #c53030; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .form-row, .form-row.three, .form-row.four, .detail-grid {
    grid-template-columns: 1fr;
  }
  main { padding: 16px; }
  header { padding: 12px 16px; }
  header h1 { font-size: 16px; }
  header nav { width: 100%; order: 3; }
}

/* DROPDOWN MENU (documentenkeuze admin) */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); right: 0;
  background: white; border: 1px solid #cbd5e0; border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12); min-width: 280px;
  z-index: 50; padding: 6px 0;
}
.dropdown-menu a {
  display: block; padding: 10px 16px; color: #2c5282;
  font-size: 14px; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: background 0.1s;
}
.dropdown-menu a:hover { background: #ebf4ff; }
.dropdown-menu a.disabled {
  color: #cbd5e0; cursor: not-allowed; pointer-events: none;
}
.dropdown-menu .divider {
  height: 1px; background: #e2e8f0; margin: 4px 0;
}

/* ============================================================
   BEGINSCHERM (login + registratie) - moderne versie met foto-achtergrond
   ============================================================ */
.welcome-bg {
  min-height: 100vh;
  background: #f7f5f0;
  background-image:
    radial-gradient(ellipse at top right, rgba(162, 166, 37, 0.045) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(30, 58, 95, 0.04) 0%, transparent 60%);
  color: #1e2a38;
  padding: 28px 22px 24px;
  position: relative;
  overflow-x: hidden;
}
.welcome-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.welcome-wrapper.narrow { max-width: 760px; }

/* COMPACTE HERO bovenaan */
.welcome-hero-compact {
  color: white;
  margin-bottom: 14px;
}
.welcome-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.brand-logo { width: 64px; height: 64px; flex-shrink: 0; }
.brand-text h1 {
  font-size: 32px;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin: 0;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.brand-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin: 3px 0 0;
  letter-spacing: 0.3px;
}
.welcome-tagline {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
  max-width: 880px;
  margin: 0;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* 3 kolommen x 2 rijen, alle cellen op gelijke hoogte */
.welcome-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Twee rijen die elk hun eigen natuurlijke hoogte krijgen: bovenste
     rij is korter (kortste teksten), onderste rij langer (login + langere teksten).
     De gap tussen beide rijen blijft gelijk. */
  grid-template-rows: auto auto;
  gap: 14px;
  margin-top: 28px; /* extra adempauze tussen tagline en kaarten */
}
.welcome-info-grid > section,
.welcome-info-grid > .login-card {
  background: rgba(255,255,255,0.97);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  border-top: 4px solid #2c5282;
  display: flex;
  flex-direction: column;
  /* geen vaste min-height meer: elke rij groeit met haar eigen tekst */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.welcome-info-grid > section:hover,
.welcome-info-grid > .login-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}
.welcome-info-grid section h3 {
  color: #1e3a5f;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.welcome-info-grid section p {
  color: #4a5568;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 8px 0;
  text-align: justify;
}
.welcome-info-grid section p:last-child { margin-bottom: 0; }
.welcome-info-grid section.highlight {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 35%, #f4d35e 55%, #d4af37 75%, #b8860b 100%);
  border-top-color: transparent;
  box-shadow: 0 10px 28px rgba(120, 80, 0, 0.4), inset 0 1px 0 rgba(255,248,200,0.55);
}
.welcome-info-grid section.highlight h3 {
  color: #4a2f0e;
  text-shadow: 0 1px 0 rgba(255,248,220,0.55);
}
.welcome-info-grid section.highlight p { color: #3d2906; }

/* LOGIN-KAART (zelfde silhouet als de andere kaarten) */
.login-card { /* opgenomen als grid-kaart */ }
.login-card h3 {
  color: #1e3a5f;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.login-card .login-subtitle {
  color: #718096;
  font-size: 12px;
  margin: 0 0 12px;
}
.login-card .form-field { margin-bottom: 9px; display: flex; flex-direction: column; }
.login-card .form-field label {
  font-size: 11px;
  color: #4a5568;
  margin-bottom: 3px;
  font-weight: 600;
}
.login-card .form-field input {
  padding: 7px 9px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
}
.login-card .btn-primary,
.login-card .btn-secondary {
  padding: 8px 14px;
  font-size: 13px;
}
.login-card .login-card-divider {
  margin: 10px 0 6px;
  text-align: center;
  position: relative;
}
.login-card .login-card-divider span {
  background: white;
  padding: 0 8px;
  font-size: 11px;
  color: #718096;
  position: relative;
  z-index: 1;
}
.login-card .login-card-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: #e2e8f0;
  z-index: 0;
}
.login-card .error-msg {
  padding: 7px 9px;
  font-size: 12px;
  margin-bottom: 8px;
}

.welcome-footer {
  margin-top: 20px;
  text-align: center;
  color: #6b7785;
  font-size: 12px;
}
.welcome-footer a { color: #1e3a5f; text-decoration: none; }
.welcome-footer a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .welcome-info-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
}
@media (max-width: 620px) {
  .welcome-info-grid { grid-template-columns: 1fr; }
  .brand-text h1 { font-size: 26px; }
  .welcome-tagline { font-size: 15px; }
}

/* Brede registratie-form behoudt de wide-uitvoering */
.login-box { background: white; padding: 32px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); width: 380px; }
.login-box.wide { width: 100%; max-width: 720px; padding: 32px; }
.login-box h2 { color: #1e3a5f; margin-bottom: 4px; font-size: 22px; }
.login-box .subtitle { color: #718096; font-size: 13px; margin-bottom: 20px; }



/* ============================================================
   HAMBURGER-MENU (linksboven, op elk scherm zichtbaar)
   ============================================================ */
.main-menu-btn {
  position: fixed; top: 16px; left: 16px; z-index: 1500;
  background: rgba(162, 166, 37, 0.92);
  border: 1px solid rgba(244, 211, 94, 0.55);
  border-radius: 6px; padding: 9px 11px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  width: 44px; height: 40px;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: background 0.15s, transform 0.15s;
}
.main-menu-btn:hover { background: rgba(162, 166, 37, 1); transform: scale(1.05); }
.main-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 1px;
}
.main-menu {
  position: fixed; top: 64px; left: 16px; z-index: 1501;
  background: white; border: 1px solid #cbd5e0; border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22); min-width: 240px; padding: 6px 0;
}
.main-menu a {
  display: block; padding: 10px 18px; color: #1e3a5f;
  font-size: 14px; text-decoration: none; cursor: pointer;
  transition: background 0.1s;
}
.main-menu a:hover { background: #f1efe2; }
/* Maak ruimte in de app-header voor de hamburger zodra ingelogd */
header { padding-left: 70px; }

/* Achterliggende pagina's geopend via het menu */
.info-page {
  position: fixed; inset: 0;
  background: #f7f5f0;
  background-image:
    radial-gradient(ellipse at top right, rgba(162, 166, 37, 0.045) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(30, 58, 95, 0.04) 0%, transparent 60%);
  z-index: 100; overflow-y: auto; padding: 76px 24px 40px;
}
.info-page-content {
  max-width: 820px; margin: 0 auto; background: white;
  padding: 30px 34px; border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.info-page-content h1 { color: #1e3a5f; font-size: 24px; margin: 14px 0 18px; }
.info-page-content p { color: #2d3748; margin-bottom: 10px; line-height: 1.6; }
.info-page-content .btn-secondary { margin-bottom: 6px; }

/* ============================================================
   CONTACT-PAGINA: gegevens links, kaart rechts uitgelijnd
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 8px;
}
.contact-details p { margin: 4px 0; color: #2d3748; font-size: 15px; }
.contact-details a { color: #2c5282; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-map iframe {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  height: 260px;
}
.map-route-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #ebf4ff;
  color: #1e3a5f;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.map-route-link:hover { background: #cfe0fb; }
#contact-form textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #cbd5e0;
  border-radius: 4px; font-size: 14px; font-family: inherit;
  resize: vertical;
}
#cf-feedback.success {
  background: #d1fae5; color: #065f46; padding: 10px 14px;
  border-radius: 4px; font-size: 14px;
}
#cf-feedback.error {
  background: #fed7d7; color: #9b2c2c; padding: 10px 14px;
  border-radius: 4px; font-size: 14px;
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { height: 220px; }
}


/* Titel "Contact" lijnt uit met bovenrand van de Google Maps-kaart */
.contact-grid h1 { margin-top: 0; }
.contact-col-left { display: flex; flex-direction: column; }

/* ============================================================
   LICHTE WELKOMSTPAGINA (à la lauwersadvocaten.be)
   ============================================================ */
.welcome-light-bg {
  min-height: 100vh;
  background: #f7f5f0;
  background-image:
    radial-gradient(ellipse at top right, rgba(184, 134, 11, 0.045) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(30, 58, 95, 0.04) 0%, transparent 60%);
  color: #1e2a38;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  padding: 0;
}
.welcome-light-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.welcome-light-header {
  border-bottom: 1px solid rgba(30, 58, 95, 0.12);
  padding-bottom: 22px;
  margin-bottom: 56px;
}
.welcome-light-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.welcome-light-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.welcome-light-brand h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  color: #1e3a5f;
}
.welcome-light-brand p {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #6b7785;
  margin: 4px 0 0;
  text-transform: uppercase;
}
.welcome-light-main {
  flex: 1;
  max-width: 760px;
}
.welcome-light-title {
  font-size: 44px;
  font-weight: 300;
  color: #1e3a5f;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  line-height: 1.15;
}
.welcome-light-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #a2a625;
  margin: 22px 0 32px;
}
.welcome-light-lede p {
  font-size: 17px;
  line-height: 1.7;
  color: #3d4a5c;
  margin: 0 0 16px;
  font-weight: 400;
}
.welcome-light-cta {
  margin-top: 48px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 38px;
  background: #a2a625;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.18);
  font-family: inherit;
}
.btn-cta:hover {
  background: #878a1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 58, 95, 0.28);
}
.welcome-light-footer {
  border-top: 1px solid rgba(30, 58, 95, 0.10);
  padding-top: 18px;
  margin-top: 56px;
  font-size: 12px;
  color: #6b7785;
}
.welcome-light-footer a { color: #1e3a5f; text-decoration: none; }
.welcome-light-footer a:hover { text-decoration: underline; }

/* SOBER LOGINSCHERM - enkel het inlogvakje, gecentreerd */
.login-only-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 36px 0;
}
.login-only-shell .login-card {
  background: rgba(255,255,255,0.97);
  border-radius: 10px;
  padding: 26px 28px 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  border-top: 4px solid #2c5282;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}
.login-only-shell .login-card h3 {
  color: #1e3a5f;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.btn-link {
  background: transparent;
  border: none;
  color: #1e40af;
  font-size: 12px;
  cursor: pointer;
  padding: 6px 8px;
  text-decoration: underline;
  font-family: inherit;
}
.btn-link:hover { color: #15294a; }
.btn-link.full { width: 100%; }

/* MOBIEL */
@media (max-width: 640px) {
  .welcome-light-wrapper { padding: 32px 18px 20px; }
  .welcome-light-header { margin-bottom: 32px; }
  .welcome-light-title { font-size: 32px; }
  .welcome-light-lede p { font-size: 15px; }
  .btn-cta { padding: 14px 28px; font-size: 15px; width: 100%; justify-content: center; }
}

/* Aanvullende secties onderaan de lichte welkomstpagina */
.welcome-light-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(30, 58, 95, 0.10);
}
.welcome-light-section h3 {
  font-size: 26px;
  font-weight: 400;
  color: #1e3a5f;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
}
.welcome-light-section h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #a2a625;
  margin: 14px 0 22px;
}
.welcome-light-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #3d4a5c;
  margin: 0 0 14px;
}
.welcome-light-section p:last-child { margin-bottom: 0; }

/* "Samen winnen!" als sober highlight-blok met warmere ondergrond */
.welcome-light-section.highlight {
  background: linear-gradient(180deg, rgba(244, 211, 94, 0.10) 0%, rgba(244, 211, 94, 0.04) 100%);
  border-top: 1px solid rgba(184, 134, 11, 0.35);
  border-left: 3px solid #a2a625;
  padding: 30px 32px 28px;
  margin-top: 56px;
  border-radius: 0 6px 6px 0;
}
.welcome-light-section.highlight h3 { color: #6b4a08; }
.welcome-light-section.highlight h3::after { background: #6b4a08; }
.welcome-light-section.highlight p { color: #4a3608; }

.welcome-light-cta.secondary { margin-top: 60px; }

@media (max-width: 640px) {
  .welcome-light-section { margin-top: 36px; padding-top: 24px; }
  .welcome-light-section h3 { font-size: 22px; }
  .welcome-light-section p { font-size: 15px; }
  .welcome-light-section.highlight { padding: 22px 18px 20px; }
}

/* Gestapelde brand-blok in de header van de welkomstpagina */
.welcome-light-brand.stacked {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.welcome-light-brand.stacked .welcome-light-logo {
  width: 56px;
  height: 56px;
}
.welcome-light-brand.stacked .brand-name-large {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 8px;
  color: #1e3a5f;
  margin: 0;
  line-height: 1;
}
.welcome-light-brand.stacked .brand-name-mid {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #1e3a5f;
  margin: 0;
  line-height: 1;
}
.welcome-light-brand.stacked .brand-tagline {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: #6b7785;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

@media (max-width: 640px) {
  .welcome-light-brand.stacked .brand-name-large { font-size: 34px; letter-spacing: 5px; }
  .welcome-light-brand.stacked .brand-name-mid { font-size: 16px; letter-spacing: 3px; }
  .welcome-light-brand.stacked .welcome-light-logo { width: 48px; height: 48px; }
}

/* Gestapelde brand-blok op de DONKERE (blauwe) achtergrond - login & registratie */
.welcome-header.stacked {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  margin: 0 auto 18px;
  width: 100%;
}
.welcome-header.stacked .brand-logo {
  width: 64px;
  height: 64px;
}
.welcome-header.stacked .brand-name-large-light {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 8px;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.welcome-header.stacked .brand-name-mid-light {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.welcome-header.stacked .brand-tagline-light {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

@media (max-width: 640px) {
  .welcome-header.stacked .brand-name-large-light { font-size: 34px; letter-spacing: 5px; }
  .welcome-header.stacked .brand-name-mid-light { font-size: 16px; letter-spacing: 3px; }
  .welcome-header.stacked .brand-logo { width: 56px; height: 56px; }
}

/* ============================================================
   BRAND-BAR (consistent op alle schermen: blauwe balk, witte tekst)
   ============================================================ */
.brand-bar {
  background: #a2a625 !important;
  padding: 28px 24px 24px !important;
  border-radius: 6px !important;
  margin: 0 auto 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.brand-bar-row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  column-gap: 28px !important;
  width: 100% !important;
}
.brand-bar-row > .brand-bar-text:first-child { text-align: right !important; }
.brand-bar-row > .brand-bar-text:last-child  { text-align: left  !important; }
.brand-bar-text {
  display: inline-block !important;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  font-size: 46px !important;
  font-weight: 700 !important;
  letter-spacing: 8px !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin: 0 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25) !important;
}
.brand-bar-logo {
  width: 64px !important;
  height: 64px !important;
  display: block !important;
  flex-shrink: 0 !important;
}
.brand-bar-baseline {
  display: block !important;
  margin-top: 12px !important;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 3px !important;
  color: rgba(255,255,255,0.92) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}
@media (max-width: 720px) {
  .brand-bar-text { font-size: 28px !important; letter-spacing: 4px !important; }
  .brand-bar-row { gap: 14px !important; }
  .brand-bar-logo { width: 48px !important; height: 48px !important; }
}

/* ============================================================
   SOBERE TEKST + MOSTERDGROENE KNOPPEN op:
   - Inlogscherm (.login-only-shell)
   - Voorwaarden / Publicaties / Contact (.info-page-content)
   - Contact-details
   ============================================================ */
.login-only-shell .login-card h3,
.login-only-shell .login-card .login-subtitle,
.login-only-shell .login-card label,
.info-page-content h1,
.info-page-content h2,
.info-page-content h3,
.info-page-content p,
.info-page-content li,
.info-page-content label,
.info-page-content strong,
.contact-details p,
.contact-details strong,
.contact-details label {
  color: #1a1a1a !important;
}
.info-page-content a {
  color: #1a1a1a !important;
  text-decoration: underline;
}
.info-page-content a:hover {
  color: #6b6e14 !important;
}

/* Primary-knoppen op deze pagina's krijgen DeltaLex-mosterdgroen */
.login-only-shell .btn-primary,
.info-page-content .btn-primary,
.contact-details .btn-primary {
  background: #a2a625 !important;
  color: #ffffff !important;
  border: none !important;
}
.login-only-shell .btn-primary:hover,
.info-page-content .btn-primary:hover,
.contact-details .btn-primary:hover {
  background: #878a1c !important;
}

/* Secondary-knoppen (zoals "Registreer als nieuwe gebruiker") in dezelfde groene familie */
.login-only-shell .btn-secondary {
  color: #a2a625 !important;
  border: 1px solid #a2a625 !important;
}
.login-only-shell .btn-secondary:hover {
  background: #f4f1d8 !important;
}

/* Het divider-streepje "Nog geen account?" leesbaar op licht */
.login-only-shell .login-card-divider span { color: #6b7785; }

/* Toelichtingstekst onder de registratie-knop */
.register-hint {
  display: block;
  margin: 14px 2px 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #3d4a2a;
  background: rgba(162, 166, 37, 0.10);
  border-left: 3px solid #a2a625;
  border-radius: 0 4px 4px 0;
  text-align: left;
}

/* ============================================================
   PUBLICATIES (Interessante publicaties): zwarte tekst,
   mosterdkleurige uitvouw-pijltjes
   ============================================================ */
.info-page-content .publication summary,
.info-page-content .publication .publication-title,
.info-page-content .publication .publication-date,
.info-page-content .publication .publication-body,
.info-page-content .publication .publication-body p {
  color: #1a1a1a !important;
}
.info-page-content .publication .publication-chevron {
  color: #a2a625 !important;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease;
  display: inline-block;
}
.info-page-content .publication[open] > summary .publication-chevron {
  transform: rotate(180deg);
}
/* Verberg de native marker zodat enkel onze gekleurde chevron zichtbaar is */
.info-page-content .publication > summary {
  list-style: none;
  cursor: pointer;
}
.info-page-content .publication > summary::-webkit-details-marker { display: none; }

/* ============================================================
   INFO-PAGES HOMOGENISEREN MET WELKOMSTPAGINA
   ============================================================ */
/* Hoofdtitel + mosterdgroen accentstreepje (zoals "Hoe gaan we te werk?") */
.info-page-content h1 {
  font-size: 36px !important;
  font-weight: 300 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.3px;
  margin: 4px 0 8px !important;
  line-height: 1.2;
}
.info-page-content h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #a2a625;
  margin: 18px 0 32px;
}

/* Sectie-h2 (in voorwaarden) krijgt klein streepje + leesbare zwarte tekst */
.info-page-content > .info-page-content,
.info-page-content > * > h2,
.info-page-content > h2 {
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  margin: 36px 0 6px !important;
}
.info-page-content h2:not(.publication-title) {
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  margin-top: 36px !important;
  position: relative;
}
.info-page-content h2:not(.publication-title)::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #a2a625;
  margin: 12px 0 18px;
}

/* Sub-koppen h3 (binnen voorwaarden) ook in stijl */
.info-page-content h3 {
  font-size: 16px !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
  margin: 22px 0 8px !important;
}

/* ============================================================
   PUBLICATIES - sobere lijst met grotere chevron + datum onder titel
   ============================================================ */
.info-page-content .publication {
  border-top: 1px solid rgba(30, 58, 95, 0.12);
  padding: 22px 0 4px;
}
.info-page-content .publication:first-of-type {
  border-top: none;
  padding-top: 12px;
}
.info-page-content .publication > summary {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 18px;
  cursor: pointer;
  padding: 4px 0;
  list-style: none;
}
.info-page-content .publication > summary::-webkit-details-marker { display: none; }
.info-page-content .publication-summary-text {
  flex: 1;
  min-width: 0;
}
.info-page-content .publication-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 0 6px !important;
  line-height: 1.35;
}
.info-page-content .publication-date {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #6b7785 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
}
/* Chevron — zichtbaarder: groter, in mosterdkleur, met cirkelvormig kader */
.info-page-content .publication-chevron {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 22px !important;
  font-weight: 700;
  color: #a2a625 !important;
  background: rgba(162, 166, 37, 0.10);
  border: 1.5px solid #a2a625;
  border-radius: 50%;
  line-height: 1;
  transition: transform 0.2s ease, background 0.18s ease;
}
.info-page-content .publication > summary:hover .publication-chevron {
  background: rgba(162, 166, 37, 0.22);
}
.info-page-content .publication[open] > summary .publication-chevron {
  transform: rotate(180deg);
}
/* Body inspring + onderlijntje */
.info-page-content .publication-body {
  padding: 8px 0 18px;
}
.info-page-content .publication-body p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #1a1a1a !important;
  margin: 0 0 12px !important;
}

/* Inleidende lead-paragraaf met meer ruimte erna */
.info-page-content .lead {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #1a1a1a !important;
  margin-bottom: 26px !important;
}
