/* ============================================================
   BOZU x AH ACTIE — Account Manager App
   House style: vetgedrukt zwart/oranje, Draft A display, Inter body
   ============================================================ */
@font-face {
  font-family: 'DraftA';
  src: url('../fonts/DraftA-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DraftA';
  src: url('../fonts/DraftA-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DraftA';
  src: url('../fonts/DraftA-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* BOZU brand oranje — officieel #FF6A00 */
  --bozu-orange:       #FF6A00;
  --bozu-orange-dark:  #D95C00;
  --bozu-orange-light: #FFA366;
  --bozu-orange-glow:  rgba(255,106,0,0.18);
  /* AH-blauw — alleen voor Albert Heijn co-branding */
  --ah-blue:           #0096DB;
  --ah-blue-dark:      #0077AF;
  /* BOZU petrol / inkt */
  --bozu-petrol:       #1F3D38;
  --bozu-black:        #0A0A0A;
  --bozu-grey-900:     #1A1A1A;
  --bozu-grey-800:     #262626;
  --bozu-grey-700:     #404040;
  --bozu-grey-500:     #737373;
  --bozu-grey-300:     #D4D4D4;
  --bozu-grey-100:     #F5F5F5;
  --bozu-cream:        #F3F0EB;   /* warme achtergrond */
  --bozu-white:        #FFFFFF;
  --success:           #10B981;
  --warning:           #F59E0B;
  --danger:            #EF4444;
  --info:              #6366F1;

  --font-display: 'DraftA', 'Anton', 'Impact', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow-md: 0 4px 14px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.18);
}

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

html, body {
  height: 100%;
  font-family: var(--font-body);
  color: var(--bozu-black);
  background: var(--bozu-cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--bozu-orange); }

/* ============================================================
   BUTTONS
   ============================================================ */
button, .btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--bozu-orange);
  color: var(--bozu-white);
  box-shadow: 0 4px 14px rgba(255,106,0,0.35);
}
.btn-primary:hover {
  background: var(--bozu-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,106,0,0.45);
}
.btn-secondary {
  background: var(--bozu-black);
  color: var(--bozu-white);
}
.btn-secondary:hover {
  background: var(--bozu-grey-800);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--bozu-black);
  border: 2px solid var(--bozu-black);
}
.btn-ghost:hover {
  background: var(--bozu-black);
  color: var(--bozu-white);
}
.btn-danger {
  background: var(--danger);
  color: var(--bozu-white);
}
.btn-sm { padding: 7px 14px; font-size: 0.78rem; }

/* ============================================================
   FORMS
   ============================================================ */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 14px;
  border: 2px solid var(--bozu-grey-300);
  border-radius: var(--radius-md);
  background: var(--bozu-white);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--bozu-orange);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.12);
}
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
  color: var(--bozu-grey-700);
}

/* ============================================================
   BRAND BLOCK — oranje + zwart sticker lockup
   ============================================================ */
/* Verticale variant — login / hero */
.brand-block {
  display: inline-flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.brand-block__logo {
  background: var(--bozu-orange);
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-block__logo img {
  height: 46px;
  filter: brightness(0) invert(1);
  display: block;
}
.brand-block__label {
  background: var(--bozu-black);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 24px;
  line-height: 1;
}

/* Horizontale badge — nav / compacte context */
.brand-badge {
  display: inline-flex;
  align-items: stretch;
  border-radius: 7px;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-badge__logo {
  background: var(--bozu-orange);
  padding: 7px 11px;
  display: flex;
  align-items: center;
}
.brand-badge__logo img {
  height: 22px;
  filter: brightness(0) invert(1);
  display: block;
}
.brand-badge__label {
  background: var(--bozu-black);
  border: 1px solid rgba(255,255,255,.08);
  border-left: none;
  border-radius: 0 7px 7px 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 14px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 3px;
}

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.topnav {
  background: var(--bozu-black);
  color: var(--bozu-white);
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--bozu-orange);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.topnav__brand {
  /* wrapper — badge does its own styling */
  display: flex;
  align-items: center;
  text-decoration: none;
}
/* AH co-branding: "AH" altijd in AH-blauw */
.topnav__ah, .ah-blue { color: var(--ah-blue) !important; }
.topnav__links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.topnav__links a {
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.12s;
}
.topnav__links a:hover  { background: var(--bozu-grey-800); }
.topnav__links a.active {
  background: var(--bozu-orange);
  color: var(--bozu-white);
  box-shadow: 0 2px 8px rgba(255,106,0,0.4);
}
.topnav__user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.topnav__user strong {
  color: var(--bozu-orange);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}
.topnav__user .muted { color: var(--bozu-grey-500); font-size: 0.8rem; }

/* ============================================================
   LOGIN
   ============================================================ */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bozu-black);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255,106,0,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(255,106,0,0.12) 0%, transparent 60%);
  padding: 24px;
}
.login-card {
  background: var(--bozu-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
/* brand-block is the top element — centred automatically */
.login-card .brand-block { margin: 0 auto 28px; }
.login-card h1 { text-align: center; margin-bottom: 8px; }
.login-card .sub { text-align: center; color: var(--bozu-grey-500); margin-bottom: 32px; font-size: 0.95rem; }
.login-card .field { margin-bottom: 18px; }
.login-card .btn { width: 100%; justify-content: center; }
.login-error { color: var(--danger); font-size: 0.9rem; text-align: center; margin-top: 12px; min-height: 1.2em; }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page {
  max-width: 1340px;
  margin: 0 auto;
  padding: 36px 28px;
}
.page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--bozu-grey-300);
  position: relative;
}
/* oranje streep links van de h1 */
.page__header h1 {
  position: relative;
  padding-left: 20px;
}
.page__header h1::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 6px;
  background: var(--bozu-orange);
  border-radius: 3px;
}
.page__header .accent { color: var(--bozu-orange); }
.page__header .meta { color: var(--bozu-grey-500); font-size: 0.92rem; margin-top: 6px; }

/* ============================================================
   STATS / KPI CARDS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.stat {
  background: var(--bozu-white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  border-left: 5px solid var(--bozu-grey-300);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}
.stat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat--highlight {
  background: var(--bozu-black);
  border-left-color: var(--bozu-orange);
  box-shadow: 0 4px 20px rgba(255,106,0,0.2);
}
.stat--highlight:hover {
  box-shadow: 0 8px 28px rgba(255,106,0,0.3);
}
.stat--highlight .stat__label,
.stat--highlight .stat__sub { color: var(--bozu-grey-500); }
.stat--highlight .stat__value { color: var(--bozu-orange); }
.stat__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--bozu-grey-500);
  margin-bottom: 10px;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--bozu-black);
  letter-spacing: -0.01em;
}
.stat__sub {
  font-size: 0.82rem;
  color: var(--bozu-grey-500);
  margin-top: 6px;
}

/* ============================================================
   SCOREBOARD
   ============================================================ */
.scoreboard {
  background: var(--bozu-black);
  color: var(--bozu-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bozu-grey-800);
}
/* decoratieve achtergrond-gloed */
.scoreboard::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 55%;
  height: 220%;
  background: radial-gradient(ellipse, rgba(255,106,0,0.14) 0%, transparent 65%);
  pointer-events: none;
}
/* dikke oranje top-border */
.scoreboard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bozu-orange) 0%, var(--bozu-orange-light) 100%);
}
.scoreboard h2 {
  color: var(--bozu-white);
  margin-bottom: 4px;
  position: relative;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.scoreboard h2 .accent { color: var(--bozu-orange); }
.scoreboard p.sub {
  color: var(--bozu-grey-500);
  margin-bottom: 28px;
  font-size: 0.88rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scoreboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  position: relative;
}
.scoreboard-table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--bozu-grey-500);
  padding: 10px 12px;
  border-bottom: 1px solid var(--bozu-grey-800);
}
.scoreboard-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #1E1E1E;
  font-size: 1rem;
}
.scoreboard-table tr.me { background: rgba(255,106,0,0.07); }
.scoreboard-table tr:hover td { background: rgba(255,255,255,0.03); }
.scoreboard-table .rank {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bozu-grey-700);
}
.scoreboard-table .rank.gold   { color: #FFD700; }
.scoreboard-table .rank.silver { color: #C0C0C0; }
.scoreboard-table .rank.bronze { color: #CD7F32; }
.scoreboard-table .am-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--bozu-white);
}
.me-tag {
  background: var(--bozu-orange);
  color: var(--bozu-white);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.scoreboard-table .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bozu-white);
}
.scoreboard-table .num--big { color: var(--bozu-orange); }
.scoreboard-table .bar-wrap {
  height: 5px;
  background: var(--bozu-grey-800);
  border-radius: 3px;
  overflow: hidden;
  min-width: 80px;
}
.scoreboard-table .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--bozu-orange), var(--bozu-orange-light));
  transition: width 0.8s cubic-bezier(.22,1,.36,1);
}

/* ============================================================
   MAP
   ============================================================ */
.map-layout {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 0;
  height: calc(100vh - 65px);
}
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; height: auto; }
}
.map-sidebar {
  background: var(--bozu-white);
  overflow-y: auto;
  border-right: 1px solid var(--bozu-grey-300);
  padding: 20px;
  box-shadow: 2px 0 8px rgba(0,0,0,.05);
}
.map-sidebar h2 { margin-bottom: 4px; }
.map-sidebar h2 .accent { color: var(--bozu-orange); }
.map-sidebar .sub { color: var(--bozu-grey-500); font-size: 0.88rem; margin-bottom: 16px; }

.filters {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-chip {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--bozu-grey-100);
  color: var(--bozu-grey-700);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.12s;
}
.filter-chip.active {
  background: var(--bozu-orange);
  color: var(--bozu-white);
  box-shadow: 0 2px 8px rgba(255,106,0,0.35);
}
.filter-chip:hover:not(.active) { border-color: var(--bozu-orange); color: var(--bozu-orange); }

.store-list { list-style: none; }
.store-list li {
  padding: 11px 12px;
  margin-bottom: 6px;
  background: var(--bozu-grey-100);
  border-left: 4px solid var(--bozu-grey-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.store-list li:hover {
  background: var(--bozu-white);
  border-left-color: var(--bozu-orange);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.store-list li.status-bezocht   { border-left-color: var(--warning); }
.store-list li.status-interesse { border-left-color: var(--bozu-orange); }
.store-list li.status-geboekt   { border-left-color: var(--success); }
.store-list li.status-geen      { border-left-color: var(--danger); opacity: 0.7; }
.store-list .winkel-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bozu-orange);
}
.store-list .plaats { font-weight: 700; }
.store-list .adres  { font-size: 0.82rem; color: var(--bozu-grey-500); }
.store-list .store-label  {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bozu-grey-700);
  margin-top: 4px;
}

#map { height: 100%; min-height: 500px; }
@media (max-width: 900px) { #map { height: 60vh; } }

/* Leaflet markers */
.bozu-marker {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 3px solid var(--bozu-white);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--bozu-white);
  letter-spacing: 0.02em;
}
.bozu-marker.nieuw     { background: var(--bozu-grey-600, #525252); }
.bozu-marker.bezocht   { background: var(--warning); }
.bozu-marker.interesse { background: var(--bozu-orange); }
.bozu-marker.geboekt   { background: var(--success); }
.bozu-marker.geen      { background: var(--danger); }
/* AM-kleur cluster (gebruikt bij "Kleur per AM" toggle) */
.bozu-cluster {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.55);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   MODAL / VISIT FORM
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  /* display:flex altijd — toggling display veroorzaakt Safari-bugs.
     Zichtbaarheid via visibility + opacity + pointer-events. */
  display: flex;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.modal-backdrop.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.modal {
  background: var(--bozu-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}
.modal-backdrop.open .modal {
  transform: translateY(0);
}
.modal__header {
  background: var(--bozu-black);
  color: var(--bozu-white);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 3px solid var(--bozu-orange);
}
.modal__header h2 { color: var(--bozu-white); }
.modal__header .meta { color: var(--bozu-grey-400, #A3A3A3); font-size: 0.88rem; margin-top: 6px; }
.modal__close {
  background: transparent;
  color: var(--bozu-grey-500);
  border: 2px solid var(--bozu-grey-700);
  border-radius: 50%;
  width: 36px; height: 36px;
  padding: 0;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.12s;
}
.modal__close:hover { border-color: var(--bozu-orange); color: var(--bozu-orange); }
.modal__body { padding: 28px; }
.modal__actions {
  padding: 18px 28px;
  background: var(--bozu-grey-100);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--bozu-grey-300);
}
.modal__actions .left, .modal__actions .right { display: flex; gap: 8px; flex-wrap: wrap; }

.form-row { margin-bottom: 16px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bozu-grey-100);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 8px;
  border: 2px solid transparent;
  transition: all 0.15s;
}
.checkbox-row:hover { border-color: var(--bozu-grey-300); }
.checkbox-row input { width: 20px; height: 20px; cursor: pointer; accent-color: var(--bozu-orange); }
.checkbox-row label {
  margin: 0;
  cursor: pointer;
  flex: 1;
  text-transform: none;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--bozu-black);
}
.checkbox-row.checked {
  background: rgba(255,106,0,0.08);
  border-color: var(--bozu-orange);
}
.checkbox-row.checked label strong { color: var(--bozu-orange); }

.visit-history {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px dashed var(--bozu-grey-300);
}
.visit-history h3 { margin-bottom: 12px; }
.visit-item {
  background: var(--bozu-grey-100);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border-left: 4px solid var(--bozu-orange);
}
.visit-item .date {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--bozu-orange);
}
.visit-item .status-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 9px;
  border-radius: 10px;
  background: var(--bozu-black);
  color: var(--bozu-white);
  margin-left: 8px;
}

/* ============================================================
   STATUS PILLS
   Gebruik: <span class="pill geboekt">Geboekt ✓</span>
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}
.pill.bezocht          { background: rgba(245,158,11,0.15); color: #92400E; }
.pill.interesse        { background: rgba(255,106,0,0.15); color: var(--bozu-orange-dark); }
.pill.gaat_inschrijven { background: rgba(16,185,129,0.15); color: #065F46; }
.pill.geboekt          { background: rgba(16,185,129,0.25); color: #047857; font-size: 0.72rem; }
.pill.geen_interesse   { background: rgba(239,68,68,0.12);  color: #B91C1C; }
.pill.na_mail          { background: rgba(99,102,241,0.13); color: #4338CA; }
.pill.na_bellen        { background: rgba(99,102,241,0.13); color: #4338CA; }
.pill.later_terug      { background: rgba(115,115,115,0.12); color: var(--bozu-grey-700); }
.pill.heroverwegen     { background: rgba(115,115,115,0.12); color: var(--bozu-grey-700); }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--bozu-grey-300);
  margin-bottom: 24px;
}
.admin-tab {
  padding: 11px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--bozu-grey-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.12s;
}
.admin-tab:hover:not(.active) { color: var(--bozu-black); }
.admin-tab.active {
  color: var(--bozu-black);
  border-bottom-color: var(--bozu-orange);
}

.data-table {
  width: 100%;
  background: var(--bozu-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-collapse: collapse;
}
.data-table th {
  background: var(--bozu-black);
  color: var(--bozu-grey-300);
  text-align: left;
  padding: 13px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.data-table th:first-child {
  border-left: 3px solid var(--bozu-orange);
}
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--bozu-grey-100);
  font-size: 0.88rem;
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAF9F7; }

/* ============================================================
   ROUTE PLANNER
   ============================================================ */
.route-panel {
  background: var(--bozu-black);
  color: var(--bozu-white);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  border-top: 4px solid var(--bozu-orange);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.route-panel h3 { color: var(--bozu-white); margin-bottom: 6px; }
.route-panel .muted { color: var(--bozu-grey-500); }
.route-panel label { color: var(--bozu-grey-300); }
.route-panel input[type="checkbox"] { accent-color: var(--bozu-orange); }

.route-list { list-style: none; margin: 10px 0; }
.route-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--bozu-grey-900);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}
.route-list .order {
  font-family: var(--font-display);
  background: var(--bozu-orange);
  color: var(--bozu-white);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.route-list .remove {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--bozu-grey-700);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 4px;
  transition: color 0.12s;
}
.route-list .remove:hover { color: var(--danger); }
.route-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 8px;
  background: var(--bozu-grey-900);
  border-radius: 6px;
  margin-bottom: 4px;
  color: var(--bozu-white);
}
.route-info { flex: 1; line-height: 1.3; font-size: 0.9rem; }

.route-add-btn {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bozu-orange);
  background: transparent;
  color: var(--bozu-orange);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
  margin-left: auto;
}
.route-add-btn.in-route {
  background: var(--bozu-orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,106,0,0.4);
}
.route-add-btn:hover:not(.in-route) {
  background: rgba(255,106,0,0.12);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bozu-black);
  color: var(--bozu-white);
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  border-left: 4px solid var(--bozu-orange);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }

/* ============================================================
   REASSIGNMENT CARDS
   ============================================================ */
.reassign-card {
  padding: 12px 14px;
  border: 1px solid var(--bozu-grey-300);
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--bozu-cream);
}

/* ============================================================
   UTILITY
   ============================================================ */
.hidden       { display: none !important; }
.text-center  { text-align: center; }
.muted        { color: var(--bozu-grey-500); }
.flex-row     { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.highlight    { background: var(--bozu-orange); color: var(--bozu-white); padding: 0 6px; }
