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

button {
  border-radius: 8px;
  border: 0;
}

:root {
  --brand: #6f9bd3;
  --brand-dark: #5b86bf;
  --brand-soft: #edf3fb;
  --text-main: #1d2638;
  --text-muted: #667389;
  --line: #d7e0eb;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --success-bg: #edf8f0;
  --success-text: #1d8a43;
  --error-bg: #fff1f2;
  --error-text: #b42318;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
}

.login-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

.login-topbar {
  background: var(--brand);
  padding: 22px 16px;
}


.login-screen {
    display: flex;
    flex-direction: column; 
    min-height: 100vh;      
    justify-content: space-between; 
    background-color: #f4f7f6;
    width: 100%;
    margin: 0;
    padding: 0;
}

  .simple-login-shell {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
  .partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    padding: 25px 20px;
    background-color: #ffffff; 
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); 
}

  .partner-logo-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.partner-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo-link:hover {
    transform: scale(1.05);
}

.partner-logo-link:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.login-brand-simple {
  text-align: center;
  margin-bottom: 22px;
}

.login-brand-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
}

.login-brand-subtitle {
  margin-top: 6px;
  font-size: 1.1rem;
  color: #5f6d84;
}

.login-brand-copy {
  margin-top: 18px;
  font-size: 1rem;
  color: #4f5d73;
}

.page-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 32px;
  color: #465264;
}

.simple-login-card {
  max-width: 355px;
  margin: 0 auto;
  padding: 34px 32px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(91, 113, 146, 0.08);
}

.simple-login-card h2 {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 26px;
  color: #465264;
}

.login-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #4c586b;
}

.login-form input,
.simple-password-wrap {
  width: 100%;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid #cfd8e5;
  border-radius: 7px;
  background: #f4f6f8;
}

.login-form input,
.simple-password-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 12px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.login-form input::placeholder,
.simple-password-wrap input::placeholder {
  color: #98a4b8;
}

.simple-password-wrap {
  display: flex;
  align-items: center;
  padding-right: 4px;
}

.password-toggle {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #97a4b7;
  cursor: pointer;
  font-size: 1rem;
}

.login-button,
.logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.login-button:hover,
.logout-link:hover {
  background: var(--brand-dark);
}

.forgot-password {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 12px;
}

.flash {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.flash-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.flash-error {
  background: var(--error-bg);
  color: var(--error-text);
}

.app-page {
  min-height: 100vh;
  background: #f5f7fb;
}

.app-layout {
  display: flex;
  min-height: 100vh;
}

.app-brand {
  color: var(--brand-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.app-brand-logo {
  display: block;
  width: 100%;
  max-width: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.app-sidebar {
  width: 250px;
  padding: 26px 18px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.app-sidenav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-sidenav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

.app-sidenav a:hover {
  background: var(--brand-soft);
}

.app-sidenav a.active {
  background: var(--brand);
  color: var(--white);
}

.app-content {
  flex: 1;
  padding: 34px;
}

.app-content-wide {
  max-width: none;
}

.app-content h1 {
  margin-bottom: 24px;
  font-size: 2rem;
}

.content-card {
  max-width: 720px;
  padding: 28px;
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(91, 113, 146, 0.08);
}

.content-card p {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.content-card button {
  padding: 10px 16px;
  border: 0;
  background: #6f9bd3;
  color: white;
  cursor: pointer;
}

.simple-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.simple-modal-box {
  background: white;
  width: 600px;
  max-width: 90%;
  padding: 20px;
  border-radius: 10px;
}

.simple-close {
  float: right;
  border: 0;
  background: #ddd;
  padding: 6px 10px;
  cursor: pointer;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.confirm-modal-box {
  width: 100%;
  max-width: 410px;
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(29, 38, 56, 0.18);
}

.confirm-modal-box h2 {
  font-size: 1.15rem;
  margin-bottom: 22px;
}

.confirm-modal-box p {
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 28px;
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.simple-form label {
  display: block;
  margin-top: 12px;
  margin-bottom: 5px;
}

.simple-form input,
.simple-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.simple-form select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.simple-form button {
  margin-right: 8px;
  border: 0;
  background: #6f9bd3;
  color: white;
  cursor: pointer;
}

.sdg-checkbox-group {
  margin-bottom: 16px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.sdg-checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
  cursor: pointer;
}

.sdg-checkbox-option:last-child {
  border-bottom: 0;
}

.sdg-checkbox-option:hover {
  background: #f2f7fd;
}

.sdg-checkbox-option input {
  width: auto;
  margin: 0;
  accent-color: #6f9bd3;
}

.sdg-checkbox-option span {
  color: #1f2937;
}

.logout-link {
  max-width: 220px;
  margin-top: 10px;
}

/* ============================================================
   User management page
   ============================================================ */

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

.page-header h1 {
  margin-bottom: 0;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-export-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-period-select {
  min-width: 190px;
  height: 42px;
  padding: 0 40px 0 14px;
  border: 1px solid #cfd8e5;
  border-radius: 10px;
  background: #fff;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667389' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.dashboard-page-shell {
  width: 100%;
}

.dashboard-shell {
  display: grid;
  gap: 24px;
}

.dashboard-eyebrow {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-actions h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.dashboard-actions p {
  margin: 0;
  color: var(--text-muted);
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.dashboard-stat-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid #dbe5f0;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 32px rgba(91, 113, 146, 0.08);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.dashboard-stat-card:hover {
  box-shadow: 0 18px 40px rgba(91, 113, 146, 0.16);
  transform: translateY(-2px);
}

.dashboard-stat-card-btn {
  width: 100%;
  text-align: left;
  border: 1px solid #dbe5f0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  font-family: inherit;
  font-size: inherit;
}

.dashboard-stat-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(111, 155, 211, 0.08);
}

.dashboard-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-stat-label {
  margin-bottom: 8px;
  color: #53627a;
  font-size: 0.92rem;
  font-weight: 700;
}

.dashboard-stat-value {
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-stat-detail {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.dashboard-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 24px;
}

.dashboard-panel {
  padding: 24px;
  border: 1px solid #dbe5f0;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(91, 113, 146, 0.08);
}

.dashboard-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dashboard-panel-header h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.dashboard-panel-header p {
  color: var(--text-muted);
}

.activity-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  min-height: 320px;
  padding: 18px 6px 0;
}

.activity-chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.activity-chart-value {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.activity-chart-bar-wrap {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 220px;
  padding: 0 8px;
  border-radius: 18px 18px 10px 10px;
  background:
    linear-gradient(to top, rgba(111, 155, 211, 0.12) 0 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(180deg, #f8fbfe 0%, #eef4fa 100%);
}

.activity-chart-bar {
  width: 100%;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #8fb6df 0%, #5f93cd 100%);
  box-shadow: 0 10px 20px rgba(95, 147, 205, 0.25);
}

.activity-chart-label {
  color: #53627a;
  font-weight: 700;
}

.donut-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.donut-chart {
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--donut-background);
  position: relative;
}

.donut-chart::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  box-shadow: inset 0 0 0 1px rgba(111, 155, 211, 0.08);
}

.donut-chart-hole {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.donut-chart-hole strong {
  font-size: 2rem;
}

.donut-chart-hole span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.donut-legend {
  display: grid;
  gap: 12px;
}

.donut-legend-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fbfe;
}

.donut-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.donut-legend-label {
  color: #53627a;
  font-weight: 700;
}

.dashboard-summary-panel {
  padding-bottom: 18px;
}

.dashboard-summary-layout {
  display: grid;
  gap: 24px;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.dashboard-summary-item {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f2f7fc 100%);
  border: 1px solid #e3ebf4;
}

.dashboard-summary-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.dashboard-summary-item strong {
  font-size: 1.45rem;
}

.dashboard-empty-state {
  padding: 18px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--text-muted);
}

.dashboard-map-card {
  padding: 20px;
  border: 1px solid #e3ebf4;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.dashboard-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-map-header h4 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.dashboard-map-header p {
  color: var(--text-muted);
}

.dashboard-location-select {
  min-width: 220px;
  padding: 10px 14px;
  border: 1px solid #d4dfec;
  border-radius: 10px;
  background: var(--white);
  font: inherit;
}

.dashboard-map {
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(111, 155, 211, 0.15);
}

.dashboard-map .leaflet-popup-content-wrapper {
  border-radius: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--brand-soft);
}

.btn-verwijderen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #b42318;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-verwijderen:hover {
  background: #ab4f4a;
}

.content-card-full {
  max-width: none;
  padding: 0;
  overflow: hidden;
}

/* ---- User overview table ---- */

.user-table {
  width: 100%;
  border-collapse: collapse;
}

.user-table th,
.user-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.user-table th {
  background: var(--brand-soft);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.user-table tbody tr:last-child td {
  border-bottom: 0;
}

.user-table tbody tr:hover td {
  background: #fafbfd;
}

.table-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}

/* ---- Role and status badges ---- */

.role-badge,
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.role-admin {
  background: #e8eef9;
  color: var(--brand-dark);
}

.role-begeleider {
  background: #fff4e6;
  color: #c05e00;
}

.role-gebruiker {
  background: #f0f4f8;
  color: var(--text-muted);
}

.status-active {
  background: var(--success-bg);
  color: var(--success-text);
}

.status-inactive {
  background: var(--error-bg);
  color: var(--error-text);
}

/* ---- Modal overlay ---- */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(29, 38, 56, 0.45);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-overlay.modal-open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(29, 38, 56, 0.2);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
}

/* ---- Form fields inside modal ---- */

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #4c586b;
}

.form-group input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cfd8e5;
  border-radius: 7px;
  background: #f4f6f8;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: 0;
}

.form-group input::placeholder {
  color: #98a4b8;
}

.form-group .simple-password-wrap {
  width: 100%;
  height: 42px;
  border: 1px solid #cfd8e5;
  border-radius: 7px;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  padding-right: 4px;
}

.form-group .simple-password-wrap input {
  border: 0;
  height: 100%;
  background: transparent;
  padding: 0 12px;
}

.form-select {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid #cfd8e5;
  border-radius: 7px;
  background: #f4f6f8;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667389' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

/* ---- Partner table ---- */

.partner-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.partner-table td {
  word-break: break-word;
}

.partner-table th,
.partner-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #d7e0eb;
}

.partner-table th {
  background: var(--brand-soft);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.table-acties {
  display: flex;
  gap: 8px;
  align-items: center;
}

.content-card-partner-overview {
  max-width: none;
  padding: 0;
}

.modal-omschrijving {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.label-hint {
  font-weight: 400;
  color: var(--text-muted);
}

.simple-modal,
.confirm-modal {
  display: none;
}

.workshop-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
}

.workshop-hero-actions,
.workshop-filter-toolbar,
.workshop-overview-bar,
.workshop-weergave-toggle,
.workshop-item-top,
.workshop-item-acties,
.workshop-trainer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.workshop-search-input,
.workshop-inline-filter,
.workshop-filter-grid input,
.workshop-trainer-controls select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.workshop-search-input {
  flex: 1 1 340px;
}

.workshop-inline-filter {
  width: 180px;
}

.workshop-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.workshop-filter-grid label,
.workshop-trainer-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.workshop-filter-actions,
.workshop-trainer-form {
  margin-top: 16px;
}

.workshop-hero h1,
.workshop-item-body h3 {
  margin-bottom: 6px;
}

.workshop-hero p,
.workshop-overview-count,
.workshop-description,
.workshop-meta-list,
.workshop-link-button {
  color: var(--text-muted);
}

.btn-weergave {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text-main);
  cursor: pointer;
}

.btn-weergave.actief {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.workshop-overview-bar {
  margin-bottom: 18px;
}

.workshop-card-grid,
#workshopItemsContainer.kaart-weergave {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.workshop-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(91, 113, 146, 0.08);
}

.workshop-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.workshop-status-gepland {
  background: #e7f7ea;
  color: #1d8a43;
}

.workshop-status-bezig {
  background: #fff1dd;
  color: #b45309;
}

.workshop-status-afgerond {
  background: #edf2f7;
  color: #475467;
}

.workshop-description {
  margin-top: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.workshop-meta-list {
  display: grid;
  gap: 10px;
}

.workshop-meta-list p {
  margin: 0;
}

.workshop-meta-list strong {
  display: block;
  color: var(--text-main);
}

.participant-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
}

.participant-card-header,
.participant-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.participant-card-header {
  justify-content: space-between;
  margin-bottom: 10px;
}

.participant-card span {
  color: var(--text-muted);
}

.participant-row {
  margin-top: 8px;
}

.participant-row span {
  flex: 1;
}

.participant-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-main);
  font-weight: 800;
  cursor: pointer;
}

.participant-button:hover {
  background: var(--brand-soft);
}

.participant-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.workshop-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.workshop-link-danger {
  color: #b42318;
}

.workshop-trainer-form {
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
}

#workshopMap {
  min-height: 420px;
  margin-bottom: 20px;
  border-radius: 16px;
}

.workshop-map-marker {
  background: transparent;
  border: 0;
}

.workshop-map-marker-pin {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.24);
}

.inline-form {
  display: inline;
}

.workshop-empty-state {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Tablet layout */
@media (max-width: 1024px) {
  .app-sidebar {
    width: 200px;
    padding: 20px 14px;
  }

  .app-content {
    padding: 26px 20px;
  }

  .content-card {
    max-width: 100%;
  }

  .dashboard-visual-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-map-header {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-location-select {
    min-width: 0;
    width: 100%;
  }
}

/* Mobile layout */
@media (max-width: 700px) {
  .login-card {
    padding: 28px 20px 24px;
  }

  .page-title {
    font-size: 2.4rem;
    margin-bottom: 36px;
  }

  .login-brand-title {
    font-size: 2.3rem;
  }

  .app-layout {
    flex-direction: column;
  }

  .app-sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-content {
    padding: 20px 14px 40px;
  }

  .simple-modal-box {
    width: 95%;
  }

  .workshop-hero,
  .workshop-filter-toolbar,
  .workshop-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .workshop-inline-filter {
    width: 100%;
  }

  .dashboard-stats-grid,
  .dashboard-summary-grid {
    grid-template-columns: 1fr;
  }

  .activity-chart {
    gap: 10px;
    min-height: 270px;
    overflow-x: auto;
  }

  .activity-chart-item {
    min-width: 52px;
  }

  .donut-layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Intro tekst & feedback formulier
   ============================================================ */

.feedback-shell {
  width: 100%;
  padding-top: 8px;
}

  .page-header-feedback {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
}

.intro-text {
  margin-bottom: 20px;
  color: #667389;
  font-size: 1.1rem;
  text-align: center;
}

.feedback-form {
   max-width: 500px;
  margin: 20px auto 0;
}

.content-card-feedback {
  max-width: 720px;
  padding: 28px;
  margin: 0 auto;
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(91, 113, 146, 0.08);
}

.feedback-form .form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.feedback-form .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfd8e5;
  border-radius: 7px;
  margin-top: 5px;
}

.feedback-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #4c586b;
}

.feedback-form textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  border: 1px solid #cfd8e5;
  border-radius: 7px;
  background: #f4f6f8;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.feedback-form button {
  margin-top: 12px;
  padding: 10px 16px;
  border: none;
  background-color: #6f9bd3;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.feedback-form button:hover {
  background-color: #5b86bf;
}

/* ============================================================
   Begeleiders pagina
   ============================================================ */

.begeleiders-page {
  width: 100%;
  max-width: none !important;
  padding: 10px 0;
}

.begeleiders-page .subtitle {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.begeleiders-page .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--brand);
}

.stat-card.green  { border-left-color: var(--success-text); }
.stat-card.orange { border-left-color: #c05e00; }
.stat-card.gray   { border-left-color: var(--text-muted); }

.stat-card p {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.begeleiders-page .toolbar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.begeleiders-page .toolbar input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.begeleiders-page .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.begeleiders-page .card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.begeleiders-page .card h3 {
  margin-bottom: 4px;
  color: var(--text-main);
}

.begeleiders-page .card .expertise {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.begeleiders-page .card .status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.begeleiders-page .card .status.actief   { background: var(--success-bg); color: var(--success-text); }
.begeleiders-page .card .status.inactief { background: var(--error-bg); color: var(--error-text); }

.begeleiders-page .card .info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.begeleiders-page .card .info p {
  margin-bottom: 4px;
}

.begeleiders-page .card .certs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.begeleiders-page .card .certs span {
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.begeleiders-page .card .actions {
  display: flex;
  gap: 8px;
}

.begeleiders-page .card .actions .edit {
  padding: 7px 14px;
  background: var(--brand);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
}

.begeleiders-page .card .actions .delete {
  padding: 7px 10px;
  background: var(--error-bg);
  color: var(--error-text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .begeleiders-page .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .begeleiders-page .stats {
    grid-template-columns: 1fr 1fr;
  }

  .begeleiders-page .toolbar {
    flex-direction: column;
  }
}
