/* MetaCAM — App-specifieke stijlen
   Layout en basiskleurenvariabelen staan in ixt-flask-core:
     /ixt-core/css/ixt-layout.css       — structuur/opmaak
     /ixt-core/css/themes/theme-metacam.css — kleurentokens (--theme-*)
   Dit bestand bevat alleen wat specifiek is voor de MetaCAM-app. */

/* ============================================================
   Merknaam
   ============================================================ */

.brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  display: block;
  line-height: 1.2;
}

.brand-accent { color: var(--theme-primary-light); }

/* ============================================================
   Zijbalk — app-specifieke elementen
   ============================================================ */

.sidebar-label {
  font-size: 0.68rem;
  color: var(--theme-sidebar-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.4rem;
}

.sidebar-select {
  background: var(--theme-sidebar-hover);
  border-color: #334155;
  color: var(--theme-sidebar-text);
  font-size: 0.8rem;
}

.sidebar-select:focus {
  background: var(--theme-sidebar-hover);
  color: var(--theme-sidebar-text);
  border-color: var(--theme-primary-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.sidebar-select option {
  background: var(--theme-sidebar-hover);
}

/* Demo-badge */
.demo-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #f59e0b;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  text-align: center;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* ============================================================
   Topbalk: header-controls — twee onafhankelijke blokken
   ============================================================ */

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;           /* de twee blokken wrappen als eenheid */
  justify-content: flex-end;
}

/* Datumbereik-groep: de twee pickers blijven samen */
.date-range-group {
  flex-shrink: 0;
}

/* Datumveld: basis */
.date-picker {
  width: 130px;
  font-size: 0.8rem;
  border-color: var(--theme-border);
  color: #475569;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* Datumveld + periodeknop: groter op smalle/touch-schermen */
@media (max-width: 640px) {
  .date-range-group {
    width: 100%;
  }

  .date-picker {
    flex: 1;
    width: auto;
    min-height: 44px;  /* minimale touch-doelgrootte (Apple HIG / Material) */
    font-size: 1rem;
    padding: 0.5rem 0.6rem;
  }

  /* Periodeknop: zelfde hoogte als datumveld voor consistente touch-doelgrootte */
  .period-btns-container .period-btn {
    min-height: 44px;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Datumveld: aangepaste periode actief (blauw kader, zichtbaar net als periodeknop) */
.date-picker.date-custom-active {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 1px rgba(29,78,216,0.35) !important;
  color: var(--theme-primary);
}

/* ============================================================
   Topbalk-notificaties (security / vloot context)
   ============================================================ */

.section-header-notice {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
}

.security-notice {
  background: rgba(220, 38, 38, 0.07);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.fleet-notice {
  background: rgba(45, 212, 191, 0.07);
  color: #0f766e;
  border: 1px solid rgba(45, 212, 191, 0.18);
}

/* ============================================================
   Periodefilter-knoppen
   ============================================================ */

.period-btn {
  background: transparent;
  border: 1px solid var(--theme-border);
  color: var(--theme-muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  transition: all 0.15s;
}

.period-btn.active,
.period-btn:hover {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff;
}

/* .date-picker vervangt .form-control-sm[type="date"] — zie header-controls sectie */

/* ============================================================
   KPI-kaarten
   ============================================================ */

.kpi-card {
  background: var(--theme-card);
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.15s;
}

.kpi-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--theme-primary-dim);
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-text);
  line-height: 1;
  letter-spacing: -0.5px;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--theme-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 0.3rem;
}

.kpi-delta {
  font-size: 0.78rem;
  margin-top: 0.6rem;
  font-weight: 500;
}

.kpi-delta.up   { color: #16a34a; }
.kpi-delta.down { color: #dc2626; }
.kpi-delta.flat { color: #94a3b8; }

/* ============================================================
   Grafiekkaarten
   ============================================================ */

.chart-card {
  background: var(--theme-card);
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  padding: 1.25rem;
  height: 100%;
  transition: box-shadow 0.15s;
}

.chart-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.chart-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* ============================================================
   Statistiekkaarten (terugkeerders)
   ============================================================ */

.stat-card {
  background: var(--theme-card);
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  padding: 1.5rem;
  text-align: center;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--theme-text);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--theme-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 0.25rem;
}

/* ============================================================
   Paginatitel
   ============================================================ */

.page-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--theme-text);
  letter-spacing: -0.3px;
}

.page-subtitle {
  font-size: 0.8rem;
  color: var(--theme-muted-light);
  margin-top: 1px;
}

/* ============================================================
   Laden / skeleton
   ============================================================ */

.chart-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--theme-muted-light);
  font-size: 0.85rem;
}

/* ============================================================
   Responsive — KPI-lettergrootte
   ============================================================ */

@media (max-width: 768px) {
  .kpi-value {
    font-size: 1.5rem;
  }
}

/* ============================================================
   Voorkeuren-knop in zijbalk
   ============================================================ */

.prefs-btn {
  background: transparent;
  border: none;
  color: var(--theme-sidebar-muted);
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  text-align: left;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
}

.prefs-btn:hover {
  background: var(--theme-sidebar-hover);
  color: var(--theme-sidebar-text);
}

/* ============================================================
   Voorkeuren-modal
   ============================================================ */

.prefs-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--theme-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.6rem;
  display: block;
}

.prefs-count-hint {
  font-size: 0.72rem;
  color: var(--theme-muted);
}

.prefs-period-list {
  /* Groepen worden als blokken gestapeld; raster zit in .prefs-group-grid */
}

/* Groepskop: lijn + label */
.prefs-group-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--theme-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--theme-border);
  padding-bottom: 0.2rem;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.prefs-group-header:first-child { margin-top: 0; }

/* 2-koloms raster binnen elke groep */
.prefs-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
  padding-bottom: 0.15rem;
}

.prefs-period-item .form-check-label {
  font-size: 0.85rem;
  cursor: pointer;
}

.prefs-period-item .form-check-input:disabled + .form-check-label {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   Piekmomenten — heatmap filterrij
   ============================================================ */

.heatmap-filter-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.heatmap-filter-label {
  font-size: 0.78rem;
  color: var(--theme-muted);
  white-space: nowrap;
  margin-right: 0.25rem;
}

/* Primaire type-knoppen (Voertuigen / Personen) */
.heatmap-btn {
  background: transparent;
  border: 1px solid var(--theme-border);
  color: var(--theme-muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  transition: all 0.15s;
}

.heatmap-btn:hover    { background: var(--theme-primary-dim); color: var(--theme-primary); }
.heatmap-btn.active   { background: var(--theme-primary); border-color: var(--theme-primary); color: #fff; }

/* Sub-knoppen (segment / gender) */
.heatmap-sub-btn {
  background: transparent;
  border: 1px solid var(--theme-border);
  color: var(--theme-muted);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  transition: all 0.15s;
}

.heatmap-sub-btn:hover  { background: var(--theme-primary-dim); color: var(--theme-primary); }
.heatmap-sub-btn.active { background: var(--theme-primary-dim); border-color: var(--theme-primary); color: var(--theme-primary); font-weight: 600; }

/* Heatmap-filter: touch-vriendelijk op smalle schermen */
@media (max-width: 640px) {
  .heatmap-filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  /* Label verbergen op mobile: context is duidelijk zonder */
  .heatmap-filter-label { display: none; }

  /* Type-knoppen: volledig breed, 44px hoog */
  #heatTypeGroup {
    width: 100%;
    display: flex;
  }
  #heatTypeGroup .heatmap-btn {
    flex: 1;
    min-height: 44px;
    font-size: 0.9rem;
    justify-content: center;
  }

  /* Sub-filter: volledig breed, 44px hoog */
  #heatSegmentGroup,
  #heatGenderGroup {
    width: 100%;
    display: flex;
  }
  #heatSegmentGroup .heatmap-sub-btn,
  #heatGenderGroup  .heatmap-sub-btn {
    flex: 1;
    min-height: 44px;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
  }
}

/* Leeswijzer */
.heat-legend-text {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
}

/* ============================================================
   Marketing — zijbalk sectielabel (blauw, spiegelt amber Security-label)
   ============================================================ */

.sidebar-divider-marketing {
  padding-bottom: 0.25rem;
}

.sidebar-section-label-marketing {
  font-size: 0.65rem;
  color: var(--theme-primary-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  padding-left: 0.8rem;
  border-left: 2px solid var(--theme-primary);
  display: block;
}

/* ============================================================
   Security — zijbalk
   ============================================================ */

.sidebar-divider {
  border-top: 1px solid var(--theme-sidebar-border);
  padding-top: 0.5rem;
}

.sidebar-section-label {
  font-size: 0.65rem;
  color: var(--theme-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  padding-left: 0.8rem;
  border-left: 2px solid var(--theme-secondary);
  display: block;
}

.nav-link-security {
  color: var(--theme-sidebar-muted);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  transition: background 0.15s, color 0.15s;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.nav-link-security:hover {
  background: var(--theme-sidebar-hover);
  color: #fbbf24;
  text-decoration: none;
}

.nav-link-security.active-security {
  background: rgba(217, 119, 6, 0.2) !important;
  color: #fbbf24 !important;
  border-left: 3px solid var(--theme-secondary);
}

/* Badge in zijbalk: actieve plaatenteller */
.plate-count-badge {
  background: rgba(217, 119, 6, 0.3);
  color: #fbbf24;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Badge in zijbalk: openstaande meldingen */
.alert-badge {
  background: #dc2626;
  color: #ffffff;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ============================================================
   Security — paginaheader
   ============================================================ */

.security-header-stripe {
  border-left: 4px solid var(--theme-secondary);
  padding-left: 1rem;
}

/* ============================================================
   Security — redenbadges (reden van opname op watchlist)
   ============================================================ */

.badge-reason,
.badge-status {
  display: inline-block;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-drive-off   { background: #fee2e2; color: #991b1b; }
.badge-police      { background: #dbeafe; color: #1e3a8a; }
.badge-damage      { background: #ffedd5; color: #9a3412; }
.badge-vip         { background: #f3e8ff; color: #6b21a8; }
.badge-other       { background: #f1f5f9; color: #475569; }

/* Statusbadges */
.badge-active      { background: #dcfce7; color: #15803d; }
.badge-deactivated { background: #fee2e2; color: #991b1b; }
.badge-expired     { background: #f1f5f9; color: #94a3b8; }

/* Bronbadges (poller / sync / verify) */
.badge-source {
  display: inline-block;
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #475569;
}

/* Typebadges (importbatches) */
.badge-type-police    { background: #dbeafe; color: #1e3a8a; }
.badge-type-client    { background: #dcfce7; color: #15803d; }
.badge-type-insurance { background: #ffedd5; color: #9a3412; }

/* ============================================================
   Security — amber knopvarianten
   ============================================================ */

.btn-security {
  background: var(--theme-secondary);
  border-color: var(--theme-secondary);
  color: #fff;
  font-size: 0.85rem;
}

.btn-security:hover {
  background: #b45309;
  border-color: #b45309;
  color: #fff;
}

.btn-outline-security {
  border: 1px solid var(--theme-secondary);
  color: var(--theme-secondary);
  background: transparent;
  font-size: 0.85rem;
}

.btn-outline-security:hover {
  background: var(--theme-secondary-light);
  color: var(--theme-secondary-dark);
}

/* Tijdsfilter-knoppen (security pagina's) */
.period-btn-security {
  background: transparent;
  border: 1px solid var(--theme-border);
  color: var(--theme-muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  transition: all 0.15s;
}

.period-btn-security.active,
.period-btn-security:hover {
  background: var(--theme-secondary);
  border-color: var(--theme-secondary);
  color: #fff;
}

/* ============================================================
   Security — KPI-icoon (amber variant)
   ============================================================ */

.kpi-icon-security {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--theme-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* ============================================================
   Security — voortgangsbalk (batches)
   ============================================================ */

.progress-security {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
}

.progress-security .progress-bar {
  background: var(--theme-secondary);
  border-radius: 3px;
}

/* ============================================================
   Security — tabellen
   ============================================================ */

.table-security thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
  border-bottom: 2px solid var(--theme-border);
  padding: 0.6rem 0.75rem;
}

.table-security tbody tr:hover {
  background: #fefce8;
}

.table-security tbody td {
  vertical-align: middle;
  font-size: 0.85rem;
  padding: 0.65rem 0.75rem;
}

/* Nummerplaat — monospaced voor leesbaarheid */
.plate-text {
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--theme-text);
}

/* Demo-toast (tijdelijk notificatiebericht) */
.demo-toast-wrapper {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
}

/* Security stat-kaarten (amber variant) */
.stat-card-security {
  background: var(--theme-card);
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  border-left: 4px solid var(--theme-secondary);
  padding: 1.25rem 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card-security .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--theme-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-card-security .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--theme-text);
  letter-spacing: -0.5px;
  line-height: 1;
}

.stat-card-security .stat-label {
  font-size: 0.72rem;
  color: var(--theme-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

/* Reason / status / source badge basis */
.reason-badge,
.status-badge,
.source-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Bronbadges */
.source-poller  { background: #dbeafe; color: #1e3a8a; }
.source-sync    { background: #dcfce7; color: #15803d; }
.source-verify  { background: #f3e8ff; color: #6b21a8; }

/* Voortgangsbalk amber */
.bg-security { background-color: var(--theme-secondary) !important; }

/* Gedimde rij voor inactieve vermeldingen */
.table-muted-row td { opacity: 0.55; }

/* Extra-kleine knop */
.btn-xs {
  padding: 0.2rem 0.45rem;
  font-size: 0.78rem;
  border-radius: 6px;
  line-height: 1.4;
}

/* Amber teksthulpklasse */
.text-security { color: var(--theme-secondary) !important; }

/* ============================================================
   Inklapbare zijbalksecties
   ============================================================ */

.sb-section-hdr {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
  gap: 0.4rem;
}
.sb-section-hdr:hover { background: var(--theme-sidebar-hover); }

.sb-chevron {
  font-size: 0.7rem;
  color: var(--theme-sidebar-muted);
  transition: transform 0.2s ease;
}

/* Vloot sectielabel — teal accent */
.sidebar-section-label-fleet {
  font-size: 0.65rem;
  color: #2dd4bf;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  padding-left: 0.8rem;
  border-left: 2px solid #2dd4bf;
  display: block;
}

/* ============================================================
   Statieselector binnen Marketing
   ============================================================ */

.station-toggle-btn {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--theme-sidebar-hover);
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  color: var(--theme-sidebar-muted);
  font-size: 0.78rem;
  cursor: pointer;
  gap: 0.5rem;
  transition: background 0.15s;
}
.station-toggle-btn:hover { background: #2d3f55; color: var(--theme-sidebar-text); }

.station-current-label {
  font-size: 0.8rem;
  color: var(--theme-sidebar-text);
  font-weight: 600;
}

.station-list-body {
  margin-top: 0.35rem;
  max-height: 280px;
  overflow-y: auto;
  border-radius: 8px;
  background: var(--theme-sidebar-hover);
  padding: 0.3rem 0;
}

.station-group-label {
  font-size: 0.62rem;
  color: var(--theme-sidebar-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem 0.15rem;
  font-weight: 600;
}

.station-item {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.1s;
}
.station-item:hover { background: rgba(255,255,255,0.07); }
.station-item.station-active { background: rgba(29,78,216,0.2); }
.station-item.station-active .station-name { color: #93c5fd; font-weight: 600; }

.station-name {
  flex: 1;
  font-size: 0.8rem;
  color: var(--theme-sidebar-muted);
}

.station-star-btn {
  background: none;
  border: none;
  color: transparent;
  padding: 0 0.2rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.15s;
  line-height: 1;
}
.station-item:hover .station-star-btn { color: var(--theme-sidebar-muted); }
.station-star-btn:hover { color: #fbbf24 !important; }
.station-star-btn .bi-star-fill { color: #fbbf24; }

/* ============================================================
   Vloot — accent (teal)
   ============================================================ */

.btn-fleet {
  background: #2dd4bf;
  border-color: #2dd4bf;
  color: #0f172a;
  font-size: 0.85rem;
}
.btn-fleet:hover { background: #14b8a6; border-color: #14b8a6; color: #0f172a; }

.bg-fleet { background-color: #2dd4bf !important; }

.fleet-dept-header {
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid var(--theme-border);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ============================================================
   Rapporten-pagina
   ============================================================ */

.report-month-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: .75rem;
  transition: border-color .15s;
}
.report-month-card:hover { border-color: var(--theme-primary); }
.report-month-card.no-data { opacity: .45; }

.report-month-label {
  font-size: .88rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.2;
}
.report-month-period {
  font-size: .68rem;
  color: #475569;
  margin-top: 2px;
}
.report-no-data {
  font-size: .72rem;
  color: #475569;
}

/* Rapport-actieknoppen */
.btn-xs {
  padding: .2rem .45rem;
  font-size: .72rem;
  border-radius: 4px;
  line-height: 1.4;
  white-space: nowrap;
}
.report-btn-preview  { background: #1e40af; border-color: #1e40af; color: #fff; }
.report-btn-preview:hover  { background: #1d4ed8; color: #fff; }
.report-btn-download { background: #0f766e; border-color: #0f766e; color: #fff; }
.report-btn-download:hover { background: #0d9488; color: #fff; }
.report-btn-send     { background: #92400e; border-color: #92400e; color: #fff; }
.report-btn-send:hover     { background: #b45309; color: #fff; }

/* Abonnement-rijen */
.sub-row {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: .5rem .65rem;
}
.sub-remove-btn {
  background: transparent;
  border: 1px solid #334155;
  color: #64748b;
  padding: .15rem .35rem;
  font-size: .7rem;
  border-radius: 4px;
}
.sub-remove-btn:hover { border-color: #ef4444; color: #ef4444; }

.sub-input {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
  font-size: .82rem;
}
.sub-input:focus {
  background: #1e293b;
  border-color: var(--theme-primary);
  color: #f1f5f9;
  box-shadow: 0 0 0 2px rgba(29,78,216,.2);
}

/* ============================================================
   Vergelijk — mode toggle
   ============================================================ */
.cmp-mode-btn {
  border-color: #334155;
  color: #94a3b8;
  background: transparent;
}
.cmp-mode-btn.active,
.cmp-mode-btn:hover {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff;
}

/* ============================================================
   Fleet — tijdlijn
   ============================================================ */
.timeline-day-header {
  font-size: .78rem;
  font-weight: 600;
  color: #2dd4bf;
  padding: .4rem 0;
  border-bottom: 1px solid #1e293b;
  margin-bottom: .5rem;
}
.timeline-events { padding-left: .75rem; }
.timeline-event {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .35rem 0;
  border-left: 2px solid #1e293b;
  padding-left: .75rem;
  margin-left: .25rem;
  position: relative;
}
.timeline-dot {
  width: 8px; height: 8px;
  background: #2dd4bf;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .3rem;
  position: absolute;
  left: -.45rem;
}
.timeline-content { flex-grow: 1; }

/* ============================================================
   Security — alert rows clickable
   ============================================================ */
.alert-row:hover { background: rgba(29,78,216,.08) !important; }

/* ============================================================
   Audience profiel — CSV export button
   ============================================================ */
.btn-export {
  background: transparent;
  border: 1px solid #334155;
  color: #64748b;
  font-size: .72rem;
  padding: .2rem .5rem;
  border-radius: 4px;
}
.btn-export:hover { border-color: #22c55e; color: #22c55e; }
