/* ==========================================================================
   MDT Stap Vooruit - Modern Design System & Stylesheet
   100% visuele afstemming op www.mdtstapvooruit.nl
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  /* Google Fonts conform www.mdtstapvooruit.nl */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-impact: "Arial Black", "Impact", sans-serif;

  /* MDT Stap Vooruit Merkkleuren */
  --color-primary: #067067;          /* Signature Deep Emerald / Teal */
  --color-primary-dark: #04524c;     /* Donker teal voor hover */
  --color-primary-light: #e6f4f2;    /* 10% zachte teal tint */
  --color-secondary: #f47c20;        /* Warm Oranje actiekleur */
  --color-secondary-hover: #e36a10;  /* Oranje hover */
  --color-secondary-light: #fef2e8;  /* Oranje subtiele tint */
  --color-accent: #ffb81c;           /* Zongeel sticker accent */
  --color-dark: #1f2937;             /* Antraciet leisteen tekst */
  --color-gray: #6b7280;             /* Muted subtekst */
  --color-light: #f9fafb;            /* Lichte achtergronden */
  --color-hero-bg: #F3F9F8;          /* Mintgroene frisse achtergrond van mdtstapvooruit.nl */
  --color-white: #ffffff;

  /* Functionele aliassen */
  --navy: var(--color-hero-bg);
  --navy-mid: #ffffff;
  --accent: var(--color-primary);
  --accent-soft: #0a8e84;
  --accent-hover: var(--color-primary-dark);
  --gold: var(--color-accent);
  --text: var(--color-dark);
  --text-dim: var(--color-gray);
  --border: rgba(6, 112, 103, 0.12);
  --border-accent: rgba(244, 124, 32, 0.35);
  --border-input: #e5e7eb;

  --bg-app: var(--color-hero-bg);
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f8fafc;
  --bg-sidebar: #ffffff;
  --bg-topbar: rgba(255, 255, 255, 0.95);

  --primary: var(--color-secondary);
  --primary-hover: var(--color-secondary-hover);
  --primary-subtle: rgba(6, 112, 103, 0.08);
  --primary-text: var(--color-primary);

  --text-main: var(--text);
  --text-secondary: var(--text-dim);
  --text-muted: #9ca3af;
  --text-inverse: #ffffff;

  /* Badges conform www.mdtstapvooruit.nl */
  --badge-blue-bg: rgba(6, 112, 103, 0.10);
  --badge-blue-text: var(--color-primary);
  --badge-red-bg: #fee2e2;
  --badge-red-text: #b91c1c;
  --badge-orange-bg: rgba(244, 124, 32, 0.12);
  --badge-orange-border: rgba(244, 124, 32, 0.30);
  --badge-orange-text: #c25907;
  --badge-green-bg: rgba(6, 112, 103, 0.12);
  --badge-green-border: rgba(6, 112, 103, 0.30);
  --badge-green-text: var(--color-primary);
  --badge-purple-bg: #f5f3ff;
  --badge-purple-text: #6d28d9;
  --badge-gold-bg: rgba(255, 184, 28, 0.18);
  --badge-gold-text: #996000;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(6, 112, 103, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 28px rgba(6, 112, 103, 0.09), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-modal: 0 20px 40px rgba(6, 112, 103, 0.18);

  --sidebar-width: 265px;
  --topbar-height: 65px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Donker Thema */
[data-theme="dark"] {
  --color-dark: #f3f9f8;
  --color-gray: #94a3b8;
  --color-light: #162e2a;

  --navy: #091715;
  --navy-mid: #102623;
  --accent: #0cb3a5;
  --accent-soft: #2dd4bf;
  --accent-hover: #099488;
  --gold: #ffb81c;
  --text: #f3f9f8;
  --text-dim: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(244, 124, 32, 0.35);
  --border-input: rgba(255, 255, 255, 0.16);

  --bg-app: #091715;
  --bg-surface: #102623;
  --bg-surface-subtle: #16332f;
  --bg-sidebar: #0d211e;
  --bg-topbar: rgba(13, 33, 30, 0.95);

  --primary: #f47c20;
  --primary-hover: #e36a10;
  --primary-subtle: rgba(12, 179, 165, 0.15);
  --primary-text: #2dd4bf;

  --text-main: var(--text);
  --text-secondary: var(--text-dim);
  --text-muted: #64748b;

  --badge-blue-bg: rgba(12, 179, 165, 0.18);
  --badge-blue-text: #2dd4bf;
  --badge-green-bg: rgba(12, 179, 165, 0.2);
  --badge-green-border: rgba(12, 179, 165, 0.4);
  --badge-green-text: #5eead4;
  --badge-orange-bg: rgba(244, 124, 32, 0.2);
  --badge-orange-border: rgba(244, 124, 32, 0.4);
  --badge-orange-text: #fdba74;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.6);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .brand-bold, .btn, .kpi-value, .topbar-title, .page-title {
  font-family: var(--font-heading);
}

.brand-bold {
  font-weight: 700;
  color: var(--text-main);
}

.brand-blue {
  color: var(--color-primary);
}

.brand-mdt {
  color: var(--color-primary);
  font-weight: 800;
}

[data-theme="dark"] .brand-mdt {
  color: var(--accent-soft);
}

.brand-stap {
  color: var(--color-secondary);
  font-weight: 800;
}

.brand-vooruit {
  color: var(--color-dark);
  font-weight: 800;
}

[data-theme="dark"] .brand-vooruit {
  color: #f3f9f8;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* ==========================================================================
   Inlogscherm Styling (MDT Stap Vooruit Identiteit)
   ========================================================================== */
.login-view-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--navy);
  padding: 24px;
  overflow: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 112, 103, 0.14) 0%, transparent 70%);
  top: -200px;
  left: -150px;
  pointer-events: none;
}

.login-top-bar {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 10;
}

.theme-link-btn {
  font-size: 12px;
  color: var(--text-dim);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  cursor: pointer;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}

.theme-link-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
}

.login-logos-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(6, 112, 103, 0.08);
  margin-bottom: 18px;
}

.login-logo-img {
  height: 38px;
  max-width: 130px;
  object-fit: contain;
}

.logo-brand {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.login-stickers {
  display: flex;
  gap: 8px;
  margin: 8px 0 16px;
  flex-wrap: wrap;
}

.login-sticker {
  font-family: var(--font-impact);
  font-size: 10.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.sticker-yellow {
  background-color: var(--color-accent);
  color: #000000;
  transform: rotate(-1.5deg);
}

.sticker-teal {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: rotate(1deg);
}

.sub-title {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
  font-weight: 500;
}

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

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.form-label .req {
  color: var(--color-secondary);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  height: 44px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(6, 112, 103, 0.15);
}

textarea.form-control {
  height: auto;
  min-height: 90px;
  resize: vertical;
}

.form-helper {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.login-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: 18px;
}

.login-forgot-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
}

.login-forgot-link:hover {
  color: var(--color-primary);
}

.btn-primary {
  width: 100%;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(244, 124, 32, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 124, 32, 0.48);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  background: var(--bg-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 112, 103, 0.25);
}

.foot-security {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.back-website-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.back-website-link:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   Portaal Hoofdstructuur
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.app-sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  overflow-y: auto;
}

.sidebar-header {
  padding: 20px 20px 18px;
  border-bottom: 1px solid var(--border);
}

.sidebar-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.sidebar-brand-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
}

.btn-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface-subtle);
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}

.btn-sidebar-close:hover {
  color: var(--text-main);
  background: var(--bg-surface);
  border-color: var(--border-accent);
}

/* Mobile Sidebar Backdrop Overlay */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-brand span {
  color: var(--accent);
}

[data-theme="dark"] .sidebar-brand span {
  color: var(--accent-soft);
}

.sidebar-org-box {
  display: flex;
  flex-direction: column;
}

.sidebar-org-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.sidebar-org-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 18px 12px 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
}

.nav-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-link:hover {
  background-color: rgba(6, 112, 103, 0.06);
  color: var(--color-primary);
  text-decoration: none;
}

.nav-link:hover svg {
  color: var(--color-primary);
}

.nav-link.active {
  background-color: rgba(6, 112, 103, 0.12);
  color: var(--color-primary);
  font-weight: 700;
}

.nav-link.active svg {
  color: var(--color-primary);
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
}

/* Hoofdcontainer */
.app-main {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Topbar */
.app-topbar {
  height: var(--topbar-height);
  background-color: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.btn-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-hamburger:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-accent);
}

.topbar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  border-color: var(--border-accent);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 2px 6px rgba(6, 112, 103, 0.25);
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.user-role {
  font-size: 11px;
  color: var(--text-dim);
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout:hover {
  background: rgba(244, 124, 32, 0.08);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* Content Pagina's */
.app-content {
  padding: 32px;
  flex: 1;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-dim);
}

.page-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* ==========================================================================
   Statistieken / KPI Kaarten
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.kpi-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(6, 112, 103, 0.10);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.kpi-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.kpi-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 500;
}

.kpi-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.kpi-subtext {
  font-size: 12px;
  color: var(--text-dim);
}

.kpi-progress {
  width: 100%;
  height: 8px;
  background-color: rgba(6, 112, 103, 0.10);
  border-radius: var(--radius-full);
  margin-top: 10px;
  overflow: hidden;
}

.kpi-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* ==========================================================================
   Cards & Data Tabellen
   ========================================================================== */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  padding: 13px 16px;
  border-bottom: 2px solid rgba(6, 112, 103, 0.14);
  background-color: rgba(6, 112, 103, 0.03);
}

.data-table td {
  font-size: 14px;
  color: var(--text-main);
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.cell-name-box {
  display: flex;
  flex-direction: column;
}

.cell-name {
  font-weight: 600;
  color: var(--text-main);
}

.cell-sub {
  font-size: 12px;
  color: var(--text-dim);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.badge-active {
  background-color: rgba(6, 112, 103, 0.10);
  border: 1px solid rgba(6, 112, 103, 0.22);
  color: var(--color-primary);
}

.badge-pill-count {
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
}

.badge-percent-zero {
  background-color: var(--badge-red-bg);
  color: var(--badge-red-text);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
}

.badge-open {
  background-color: rgba(244, 124, 32, 0.12);
  border: 1px solid rgba(244, 124, 32, 0.28);
  color: var(--color-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.badge-open:hover {
  background-color: rgba(244, 124, 32, 0.18);
}

.badge-completed {
  background-color: rgba(6, 112, 103, 0.12);
  border: 1px solid rgba(6, 112, 103, 0.28);
  color: var(--color-primary);
}

.badge-role-beheerder {
  background-color: rgba(6, 112, 103, 0.12);
  border: 1px solid rgba(6, 112, 103, 0.28);
  color: var(--color-primary);
}

.badge-role-coordinator {
  background-color: #f5f3ff;
  border: 1px solid rgba(109, 40, 217, 0.25);
  color: #6d28d9;
}

.badge-role-coach {
  background-color: rgba(244, 124, 32, 0.12);
  border: 1px solid rgba(244, 124, 32, 0.28);
  color: var(--color-secondary);
}

.badge-type-group {
  background-color: rgba(6, 112, 103, 0.10);
  border: 1px solid rgba(6, 112, 103, 0.22);
  color: var(--color-primary);
}

.badge-type-indiv {
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Aankomende Deadlines Lijst */
.deadline-list {
  display: flex;
  flex-direction: column;
}

.deadline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.deadline-item:last-child {
  border-bottom: none;
}

.deadline-info {
  display: flex;
  flex-direction: column;
}

.deadline-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.deadline-participant {
  font-size: 13px;
  color: var(--text-dim);
}

/* Filter Card */
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--accent);
  font-weight: 600;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

/* Grid Forms */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-section-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 24px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.form-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  margin-bottom: 12px;
  cursor: pointer;
}

.form-checkbox-card:hover {
  background: var(--bg-surface-subtle);
}

.form-checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-checkbox-text {
  display: flex;
  flex-direction: column;
}

.form-checkbox-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.form-checkbox-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.form-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* Empty States */
.empty-state-box {
  padding: 60px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
}

.empty-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.empty-subtext {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 440px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Rapportage Hero Card */
.report-hero-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #04524c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  box-shadow: 0 12px 28px rgba(6, 112, 103, 0.22);
}

.report-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.report-hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 31, 58, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: var(--bg-surface-subtle);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface-subtle);
}

/* Periode Knoppen Selector in Verantwoording Modal */
.period-btn-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.period-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.period-btn:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
}

.period-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
}

/* Print & Report Styling */
@media print {
  .app-sidebar, .app-topbar, .btn-primary, .btn-secondary, .icon-btn, .modal-overlay, .tabs-nav {
    display: none !important;
  }
  .app-main {
    margin-left: 0 !important;
  }
  .app-content {
    padding: 0 !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .card, .kpi-card {
    box-shadow: none !important;
    border: 1px solid #cccccc !important;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.toast-success {
  border-left: 4px solid #10b981;
}

.toast.toast-error {
  border-left: 4px solid #ef4444;
}

.toast.toast-info {
  border-left: 4px solid var(--accent);
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-info .toast-icon { color: var(--accent); }

.toast-message {
  flex: 1;
  line-height: 1.4;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Quick Roles Login Knoppen */
.login-quick-roles {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-role-quick {
  transition: all 0.2s ease;
  font-family: var(--font-heading);
}

.btn-role-quick:hover {
  border-color: var(--color-secondary) !important;
  background: rgba(244, 124, 32, 0.08) !important;
  color: var(--color-secondary) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   Responsieve Modus (Mobile & Tablet Optimalisaties)
   ========================================================================== */
@media (max-width: 1024px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .app-content {
    padding: 24px;
  }
  .app-topbar {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  /* Hamburger en Close knoppen tonen */
  .btn-hamburger {
    display: inline-flex;
  }

  .btn-sidebar-close {
    display: inline-flex;
  }

  .sidebar-backdrop {
    display: block;
  }

  /* Off-canvas mobiele navigatie sidebar */
  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
  }

  .app-sidebar.open {
    transform: translateX(0);
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.28);
  }

  .app-main {
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  /* Mobiele Topbar */
  .app-topbar {
    padding: 0 14px;
    height: 60px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .topbar-title {
    font-size: 16px;
    max-width: 130px;
  }

  /* Compacte gebruikersbadge op mobiel: alleen avatar tonen */
  .user-details {
    display: none;
  }

  /* Tekst van uitlogknop verbergen, icoon behouden */
  .logout-text {
    display: none;
  }

  .btn-logout {
    padding: 0 10px;
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  /* Content padding */
  .app-content {
    padding: 16px 14px;
  }

  .page-header {
    margin-bottom: 16px;
  }

  .page-title {
    font-size: 20px;
    letter-spacing: -0.2px;
  }

  .page-subtitle {
    font-size: 13px;
  }

  .page-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
  }

  .page-action-row .page-header {
    margin-bottom: 0;
  }

  .page-action-row .btn-primary,
  .page-action-row .btn-secondary {
    width: 100% !important;
    justify-content: center;
    height: 42px;
  }

  /* Cards & KPI Grid */
  .card {
    padding: 16px 14px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
  }

  .card-header {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  .card-header .btn-secondary {
    font-size: 12px;
    height: 34px;
    padding: 0 12px;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .kpi-card {
    padding: 18px 16px;
  }

  .kpi-value {
    font-size: 26px;
  }

  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Filterbalken stacken */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-group {
    min-width: 100%;
    width: 100%;
  }

  .filter-bar .btn-secondary,
  .filter-bar .btn-primary {
    width: 100% !important;
    justify-content: center;
    height: 42px;
  }

  /* Horizontaal scrollbare tabnavigatie */
  .tabs-nav {
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 18px;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    white-space: nowrap;
    padding: 10px 4px;
    font-size: 13px;
  }

  /* Volledig touch-vriendelijke scrollbare tabellen */
  .table-responsive {
    margin: 0 -14px;
    width: calc(100% + 28px);
    padding: 0 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    border-radius: 0;
  }

  .data-table th {
    padding: 10px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .data-table td {
    padding: 12px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Formulieren en actieknoppen */
  .form-actions-row {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .form-actions-row .btn-primary,
  .form-actions-row .btn-secondary {
    width: 100% !important;
    justify-content: center;
    height: 44px;
  }

  /* Touch-vriendelijke Modals */
  .modal-overlay {
    padding: 12px;
    align-items: center;
    justify-content: center;
  }

  .modal-dialog {
    max-width: 100% !important;
    max-height: 94vh;
    margin: 0;
    border-radius: var(--radius-lg);
  }

  .modal-header {
    padding: 16px 18px;
  }

  .modal-title {
    font-size: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 14px 16px;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .modal-footer .btn-primary,
  .modal-footer .btn-secondary {
    width: 100% !important;
    justify-content: center;
    height: 44px;
  }

  /* Rapport preview in modal */
  #reportPreviewContent {
    padding: 14px !important;
  }

  /* Inlogscherm mobiel */
  .login-view-wrapper {
    padding: 16px 12px;
  }

  .login-card {
    padding: 30px 20px;
    max-width: 100%;
  }

  .login-top-bar {
    top: 12px;
    right: 12px;
  }

  /* Toasts */
  .toast-container {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .toast {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .app-topbar {
    padding: 0 10px;
    height: 56px;
  }

  .topbar-actions {
    gap: 6px;
  }

  #topbarRoleSelect {
    font-size: 12px !important;
    max-width: 125px;
    height: 34px;
    padding: 2px 6px !important;
  }

  .topbar-title {
    font-size: 15px;
    max-width: 100px;
  }

  .btn-hamburger {
    width: 36px;
    height: 36px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .btn-logout {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .user-avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .report-hero-card {
    padding: 22px 14px;
  }

  .report-hero-title {
    font-size: 18px;
  }

  .deadline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .deadline-item .badge {
    align-self: flex-start;
  }
}

/* ==========================================================================
   FO V3 UITBREIDINGEN: STATUSSEN, BULK-ACTIES, PRESENTIELIJST & DOSSIER
   ========================================================================== */

/* 1. De 6 Deelnemer Status Badges */
.badge-status-aangemeld {
  background: rgba(255, 184, 28, 0.18);
  color: #996000;
  border: 1px solid rgba(255, 184, 28, 0.4);
}
.badge-status-intake {
  background: rgba(14, 165, 233, 0.14);
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.35);
}
.badge-status-actief {
  background: rgba(6, 112, 103, 0.14);
  color: var(--color-primary);
  border: 1px solid rgba(6, 112, 103, 0.35);
}
.badge-status-gepauzeerd {
  background: rgba(244, 124, 32, 0.14);
  color: var(--color-secondary);
  border: 1px solid rgba(244, 124, 32, 0.35);
}
.badge-status-uitgevallen {
  background: rgba(239, 68, 68, 0.14);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.badge-status-afgerond {
  background: rgba(16, 185, 129, 0.16);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Status badge interactive click */
.status-badge-interactive {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-badge-interactive:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 2. Floating Bulk Action Toolbar */
.bulk-actions-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--bg-surface);
  border: 2px solid var(--color-primary);
  box-shadow: 0 16px 36px rgba(6, 112, 103, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90vw;
  flex-wrap: wrap;
}
.bulk-actions-bar.show {
  transform: translateX(-50%) translateY(0);
}
.bulk-count-badge {
  background: var(--color-primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 3. Presentielijst & 1-Click Aanwezigheid */
.attendance-summary-header {
  background: linear-gradient(135deg, rgba(6, 112, 103, 0.08), rgba(244, 124, 32, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-all-present {
  background: #059669;
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-all-present:hover {
  background: #047857;
  transform: translateY(-1px);
}
.attendance-status-select {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--border-input);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
}
.attendance-status-select.val-aanwezig {
  border-color: #059669;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
}
.attendance-status-select.val-afwezig {
  border-color: #dc2626;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.08);
}

/* 4. Deelnemer Dossier Tabs & Documenten */
.dossier-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.dossier-tab-btn {
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, border-bottom 0.2s;
  white-space: nowrap;
}
.dossier-tab-btn:hover {
  color: var(--color-primary);
  background: var(--primary-subtle);
}
.dossier-tab-btn.active {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  background: rgba(6, 112, 103, 0.05);
}
.dossier-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.dossier-doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dossier-doc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.doc-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(6, 112, 103, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.doc-icon-wrap.type-intake {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}
.doc-icon-wrap.type-avg {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.doc-icon-wrap.type-cert {
  background: rgba(255, 184, 28, 0.18);
  color: #b45309;
}

/* 5. Statushistorie Tijdlijn */
.status-timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 16px;
}
.status-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--bg-surface);
  box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline-content {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

/* 6. Bulk Import Preview Matrix */
.import-dropzone {
  border: 2px dashed var(--border-accent);
  background: rgba(244, 124, 32, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.import-dropzone:hover {
  background: rgba(244, 124, 32, 0.08);
  border-color: var(--color-secondary);
}
.import-preview-table tr.row-valid {
  background: rgba(16, 185, 129, 0.04);
}
.import-preview-table tr.row-invalid {
  background: rgba(239, 68, 68, 0.06);
}
.import-error-badge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 2px 0;
}

/* Password Toggle Eye Wrapper & Button */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrap .form-control {
  padding-right: 44px !important;
  width: 100%;
}

.password-toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
  z-index: 3;
}

.password-toggle-btn:hover {
  color: var(--color-primary, #2563eb);
  background-color: var(--bg-surface-subtle, rgba(0, 0, 0, 0.05));
}

.password-toggle-btn svg {
  display: block;
}

