@charset "UTF-8";
/* ==========================================================================
   SCSS VARIABELEN - CENTRALE HUISSTIJL BESTURING
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Typografie: Font Weights
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   2. Typografie: Font Families (Basis & Aliassen)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   3. Typografie: Maten & Line Heights
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   4. KLEUREN - BASIS / HUISSTIJL PALET (Don Bosco branding 2026)
   -------------------------------------------------------------------------- */
/* Lichte pagina-achtergrond */
/* Blauwe accenten / kaarten */
/* Voor titels & knoppen */
/* Rood voor accenten */
/* Zwart voor basistekst */
/* --------------------------------------------------------------------------
   5. SEMANTISCHE KLEUREN (Gekoppeld aan het Basis Palet)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   6. Borders, Radius, Schaduwen & Layout
   -------------------------------------------------------------------------- */
/* ==========================================================================
   Globale base-layout
   ========================================================================== */
html {
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background-color: rgb(239.48, 242.6, 248.44) !important;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

h1 {
  color: #EC6041 !important;
  font-size: 2.5rem !important;
}

h2 {
  font-size: 1.5rem !important;
  color: rgba(33, 37, 41, 0.75) !important;
  font-weight: 400 !important;
}

h3 {
  font-size: 1.25rem !important;
  color: rgba(33, 37, 41, 0.75) !important;
  font-weight: 300 !important;
  margin-top: 30px !important;
}

p {
  font-family: "Open Sans", sans-serif !important;
  font-weight: 400 !important;
  line-height: 2.15 !important;
}

/* =========================
   Animaties & Transities
========================= */
.transition {
  transition: all 0.5s ease-in-out;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   Navbar / Navigatie
========================= */
.navbar {
  background-color: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar.navbar-light.bg-light {
  --bs-navbar-color: $text-black;
  --bs-navbar-hover-color: #7f1d7f; /* Optioneel: veranderen naar $accent-red als je je eigen accent-rood wilt gebruiken */
  --bs-navbar-active-color: $text-black;
  --bs-navbar-brand-color: $text-black;
  --bs-navbar-brand-hover-color: $text-black;
}

@supports (color: color-mix(in oklab, black, white)) {
  .navbar.navbar-light.bg-light {
    --bs-navbar-hover-color: color-mix(in oklab, $text-black, black 18%);
  }
}
.navbar .nav-link {
  border: none;
  outline: 0;
  letter-spacing: -0.01em;
  margin-top: 0px !important;
}

/* Deze var(--bs-...) regels blijven staan omdat ze refereren naar de Bootstrap-instellingen hierboven */
.navbar.navbar-light.bg-light .navbar-nav .nav-link {
  color: var(--bs-navbar-color);
}

.navbar.navbar-light.bg-light .navbar-nav .nav-link:hover,
.navbar.navbar-light.bg-light .navbar-nav .nav-link:focus {
  color: var(--bs-navbar-hover-color);
  text-decoration: none;
}

.navbar.navbar-light.bg-light .navbar-nav .nav-link.active,
.navbar.navbar-light.bg-light .navbar-nav .nav-link.show {
  color: var(--bs-navbar-active-color);
}

.navbar.navbar-light.bg-light .nav-link:focus-visible {
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.navbar.navbar-light.bg-light .dropdown-menu {
  --bs-dropdown-bg: #fff;
  --bs-dropdown-color: $text-black;
  --bs-dropdown-border-color: rgba(0, 0, 0, 0.075);
  --bs-dropdown-link-color: $text-black;
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-hover-bg: $text-black;
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: $text-black;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.bottom {
  box-shadow: 0 10px 10px -15px #111;
}

.img-logo {
  max-width: 100px;
}

.site-topbar-user {
  gap: 0.6rem;
}

.site-topbar-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3D64AD;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  flex: 0 0 auto;
}
.site-topbar-avatar.site-topbar-avatar-photo {
  object-fit: cover;
  background: #f8f9fa;
}

.site-topbar-username {
  color: #1E1C23;
  font-size: 0.9rem;
  font-weight: 600;
}

#hoofdvakTabs li .bg-dark {
  background-color: #EC6041 !important;
}
#hoofdvakTabs li a:active {
  background-color: #EC6041 !important;
}
#hoofdvakTabs li a:hover {
  background-color: #EC6041 !important;
  color: white !important;
}

.active {
  border: none;
}

/* ==========================================================================
   Gedeelde landing-layout (home + loginpagina's)
   Bevat enkel structurele en visuele hero-stijlen die op meerdere pagina's
   worden hergebruikt.
   ========================================================================== */
.studenten_page, .index-page, .leraren_page {
  background-color: #EC6041 !important;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.studenten_page .main-field, .index-page .main-field, .leraren_page .main-field {
  height: 100vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2%;
  align-content: flex-start;
  align-items: baseline;
}
.studenten_page .main-field img, .index-page .main-field img, .leraren_page .main-field img {
  width: 60%;
  padding-top: 50px;
  margin-right: -5%;
}
@media (max-width: 600px) {
  .studenten_page .main-field img, .index-page .main-field img, .leraren_page .main-field img {
    width: 100%;
    order: 1;
    padding: 30px;
    box-sizing: content-box;
  }
}
.studenten_page .main-field .welcome-message, .index-page .main-field .welcome-message, .leraren_page .main-field .welcome-message {
  color: white !important;
  margin-left: 3%;
  width: 38%;
  font-size: 1rem !important;
}
.studenten_page .main-field .welcome-message h2, .index-page .main-field .welcome-message h2, .leraren_page .main-field .welcome-message h2 {
  color: white !important;
  font-size: 1rem !important;
}
@media (max-width: 600px) {
  .studenten_page .main-field .welcome-message, .index-page .main-field .welcome-message, .leraren_page .main-field .welcome-message {
    width: 100% !important;
    order: 2;
    padding: 30px;
  }
}

.leraren_page .main-field, .studenten_page .main-field {
  align-items: flex-start;
}
@media (max-width: 600px) {
  .leraren_page .main-field, .studenten_page .main-field {
    align-items: baseline;
  }
}
.leraren_page .main-field .welcome-message, .studenten_page .main-field .welcome-message {
  margin-top: 330px;
}
@media (max-width: 600px) {
  .leraren_page .main-field .welcome-message, .studenten_page .main-field .welcome-message {
    margin-top: 0px;
  }
}

.landing-message {
  overflow: visible;
  position: relative;
  width: 100%;
  height: 80vh;
}
.landing-message .logged-in-role {
  font-weight: normal;
  color: #499F96;
}
.landing-message h2 {
  font-size: 1rem !important;
}
.landing-message .landing-message-textform {
  color: #1E1C23 !important;
  font-size: 1rem !important;
  text-align: left;
  margin-left: 25%;
  margin-top: 3%;
}
.landing-message .landing-message-textform h2 {
  font-size: 1rem !important;
}

/* ==========================================================================
   COMPONENTS: FORMS & INPUTS
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Placeholders (Herbruikbare styles zonder extra CSS-duplicatie)
   -------------------------------------------------------------------------- */
.card input[type=text],
.card input[type=password],
.card input[type=email],
.card input[type=number],
.card select,
.card textarea,
.card .form-control,
.modal-content input[type=text],
.modal-content input[type=password],
.modal-content input[type=email],
.modal-content input[type=number],
.modal-content select,
.modal-content textarea,
.modal-content .form-control,
.modal-body input[type=text],
.modal-body input[type=password],
.modal-body input[type=email],
.modal-body input[type=number],
.modal-body select,
.modal-body textarea,
.modal-body .form-control,
.main-upload-card input[type=text],
.main-upload-card input[type=password],
.main-upload-card input[type=email],
.main-upload-card input[type=number],
.main-upload-card select,
.main-upload-card textarea,
.main-upload-card .form-control,
.option-card input[type=text],
.option-card input[type=password],
.option-card input[type=email],
.option-card input[type=number],
.option-card select,
.option-card textarea,
.option-card .form-control,
.card-table-wrapper input[type=text],
.card-table-wrapper input[type=password],
.card-table-wrapper input[type=email],
.card-table-wrapper input[type=number],
.card-table-wrapper select,
.card-table-wrapper textarea,
.card-table-wrapper .form-control, input[type=text],
input[type=password],
input[type=email],
input[type=number],
select,
textarea,
.form-control {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

input[type=text],
input[type=password],
input[type=email],
input[type=number],
select,
textarea,
.form-control {
  background-color: transparent;
  border: 1px solid #499F96;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
select:focus,
textarea:focus,
.form-control:focus, input[type=text]:active,
input[type=password]:active,
input[type=email]:active,
input[type=number]:active,
select:active,
textarea:active,
.form-control:active {
  border: 1px solid #EC6041;
  background-color: transparent;
}

.card input[type=text],
.card input[type=password],
.card input[type=email],
.card input[type=number],
.card select,
.card textarea,
.card .form-control,
.modal-content input[type=text],
.modal-content input[type=password],
.modal-content input[type=email],
.modal-content input[type=number],
.modal-content select,
.modal-content textarea,
.modal-content .form-control,
.modal-body input[type=text],
.modal-body input[type=password],
.modal-body input[type=email],
.modal-body input[type=number],
.modal-body select,
.modal-body textarea,
.modal-body .form-control,
.main-upload-card input[type=text],
.main-upload-card input[type=password],
.main-upload-card input[type=email],
.main-upload-card input[type=number],
.main-upload-card select,
.main-upload-card textarea,
.main-upload-card .form-control,
.option-card input[type=text],
.option-card input[type=password],
.option-card input[type=email],
.option-card input[type=number],
.option-card select,
.option-card textarea,
.option-card .form-control,
.card-table-wrapper input[type=text],
.card-table-wrapper input[type=password],
.card-table-wrapper input[type=email],
.card-table-wrapper input[type=number],
.card-table-wrapper select,
.card-table-wrapper textarea,
.card-table-wrapper .form-control {
  background-color: #ffffff;
  border: 1px solid #3D64AD;
}
.card input[type=text]:focus,
.card input[type=password]:focus,
.card input[type=email]:focus,
.card input[type=number]:focus,
.card select:focus,
.card textarea:focus,
.card .form-control:focus,
.modal-content input[type=text]:focus,
.modal-content input[type=password]:focus,
.modal-content input[type=email]:focus,
.modal-content input[type=number]:focus,
.modal-content select:focus,
.modal-content textarea:focus,
.modal-content .form-control:focus,
.modal-body input[type=text]:focus,
.modal-body input[type=password]:focus,
.modal-body input[type=email]:focus,
.modal-body input[type=number]:focus,
.modal-body select:focus,
.modal-body textarea:focus,
.modal-body .form-control:focus,
.main-upload-card input[type=text]:focus,
.main-upload-card input[type=password]:focus,
.main-upload-card input[type=email]:focus,
.main-upload-card input[type=number]:focus,
.main-upload-card select:focus,
.main-upload-card textarea:focus,
.main-upload-card .form-control:focus,
.option-card input[type=text]:focus,
.option-card input[type=password]:focus,
.option-card input[type=email]:focus,
.option-card input[type=number]:focus,
.option-card select:focus,
.option-card textarea:focus,
.option-card .form-control:focus,
.card-table-wrapper input[type=text]:focus,
.card-table-wrapper input[type=password]:focus,
.card-table-wrapper input[type=email]:focus,
.card-table-wrapper input[type=number]:focus,
.card-table-wrapper select:focus,
.card-table-wrapper textarea:focus,
.card-table-wrapper .form-control:focus {
  border-color: #499F96;
}

/* --------------------------------------------------------------------------
   2. Standaard Input Styling
   -------------------------------------------------------------------------- */
.form-label {
  font-size: 0.85rem;
  color: #1E1C23;
  margin-bottom: 0.35rem;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   3. Bestaande Form Structuren (.form-login & .form-check)
   -------------------------------------------------------------------------- */
.form-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-login button {
  padding: 12px !important;
  background-color: #499F96 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}
.form-login button:hover {
  background-color: rgb(47.7051282051, 78.2051282051, 135.2948717949) !important;
}
.form-login a {
  background-color: transparent;
  box-shadow: none !important;
  color: #499F96;
  text-decoration: none;
}
.form-login a:hover {
  color: #EC6041;
}
.form-login input {
  background-color: white;
  border: none;
}
.form-login input:focus {
  background-color: none;
}

/* Visuele Vinkjes Fix (Exact uit je beheer-tabs_2.scss) */
.form-check:not(.form-switch) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0;
}
.form-check:not(.form-switch) .form-check-input {
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  accent-color: #499F96 !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin-top: 0 !important;
  cursor: pointer;
}
.form-check:not(.form-switch) .form-check-input:checked {
  accent-color: #499F96 !important;
}
.form-check:not(.form-switch) .form-check-label {
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}

/* Toggle-switches (bijv. Google Classroom / PDF-opties) behouden Bootstrap's slider-vorm */
.form-switch {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.form-switch .form-check-input {
  width: 2.5em !important;
  height: 1.4em !important;
  margin-top: 0.1em !important;
  cursor: pointer;
  accent-color: #499F96;
}
.form-switch .form-check-input:checked {
  background-color: #499F96;
  border-color: #499F96;
}
.form-switch .form-check-input:focus {
  border-color: #499F96;
  box-shadow: 0 0 0 0.2rem rgba(73, 159, 150, 0.2);
}
.form-switch .form-check-label {
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}

.btn-leerling-account-maken {
  background-color: transparent !important;
  box-shadow: none !important;
  color: #499F96 !important;
  text-decoration: none !important;
  border: none !important;
}
.btn-leerling-account-maken:hover {
  color: #EC6041;
}

/* ==========================================================================
   COMPONENTS: CODE BLOCKS & SYNTAX HIGHLIGHTING (Prism & Highlight.js)
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Grote Codeblokken (Prism.js & Highlight.js / HLJS)
   -------------------------------------------------------------------------- */
pre[class*=language-] {
  background-color: #0b0f19 !important;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 1.5rem !important;
  margin: 1.5rem 0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
}
pre[class*=language-] code[class*=language-] {
  font-family: "Fira Code", "Consolas", "Ubuntu Mono", monospace !important;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f8fafc;
  text-shadow: none !important;
}

pre code.hljs {
  padding: 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  font-family: "Fira Code", "Consolas", "Ubuntu Mono", monospace !important;
  font-size: 0.95em !important;
  line-height: 1.6 !important;
  background: #0d1117 !important;
  margin: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   2. Inline Code (Woorden & bestandsnamen in tekstparagrafen)
   -------------------------------------------------------------------------- */
:not(pre) > code[class*=language-],
p > code,
li > code {
  background-color: #f1f5f9 !important;
  color: #e11d48 !important;
  padding: 0.2rem 0.4rem !important;
  border-radius: 4px;
  font-size: 0.85em;
  border: 1px solid #cbd5e1;
  text-shadow: none !important;
}

code:not(pre code) {
  background-color: #f0f2f5;
  color: #d63384;
  padding: 0.2em 0.45em;
  border-radius: 6px;
  font-family: "Fira Code", "Consolas", "Ubuntu Mono", monospace;
  font-size: 0.88em;
  border: 1px solid #e1e4e8;
}

/* --------------------------------------------------------------------------
   3. Syntax Tokens (Editor Kleuren)
   -------------------------------------------------------------------------- */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #64748b !important;
  font-style: italic;
}

.token.keyword {
  color: #ff79c6 !important;
  font-weight: bold;
}

.token.string,
.token.char {
  color: #4ade80 !important;
}

.token.function {
  color: #38bdf8 !important;
}

.token.number,
.token.boolean {
  color: #f59e0b !important;
}

.token.operator,
.token.entity,
.token.url {
  color: #94a3b8 !important;
}

.token.tag,
.token.selector {
  color: #f43f5e !important;
  font-weight: 600;
}

.token.attr-name,
.token.property {
  color: #fbbf24 !important;
}

.token.class-name {
  color: #2dd4bf !important;
}

/* ==========================================================================
   BEHEER TABS & MODALS
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Lessen & Opdrachten Tab
   -------------------------------------------------------------------------- */
#lessen-panel .main-upload-card,
#lessen-panel .option-card,
#lessen-panel .red-card,
#overzicht-panel .main-upload-card,
#overzicht-panel .option-card,
#overzicht-panel .red-card,
#hoofdvakken-panel .main-upload-card,
#hoofdvakken-panel .option-card,
#hoofdvakken-panel .red-card,
#categorieen-panel .main-upload-card,
#categorieen-panel .option-card,
#categorieen-panel .red-card {
  border-radius: 12px;
  box-shadow: none !important;
}
#lessen-panel .year-hint,
#overzicht-panel .year-hint,
#hoofdvakken-panel .year-hint,
#categorieen-panel .year-hint {
  font-size: 0.78rem;
}
#lessen-panel .huidige-vakken,
#overzicht-panel .huidige-vakken,
#hoofdvakken-panel .huidige-vakken,
#categorieen-panel .huidige-vakken {
  max-height: 250px;
  overflow-y: auto;
}
#lessen-panel .huidige-vakken .vak-sleutel,
#overzicht-panel .huidige-vakken .vak-sleutel,
#hoofdvakken-panel .huidige-vakken .vak-sleutel,
#categorieen-panel .huidige-vakken .vak-sleutel {
  font-size: 0.85rem;
}
#lessen-panel .huidige-vakken .vak-badge,
#overzicht-panel .huidige-vakken .vak-badge,
#hoofdvakken-panel .huidige-vakken .vak-badge,
#categorieen-panel .huidige-vakken .vak-badge {
  font-size: 0.75rem;
}
#lessen-panel .opslaan-btn,
#overzicht-panel .opslaan-btn,
#hoofdvakken-panel .opslaan-btn,
#categorieen-panel .opslaan-btn {
  display: flex !important;
  width: 90px !important;
}
#lessen-panel .filter-titel-text,
#overzicht-panel .filter-titel-text,
#hoofdvakken-panel .filter-titel-text,
#categorieen-panel .filter-titel-text {
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   2. Mass Uploader Tab
   -------------------------------------------------------------------------- */
.tab-uploader .card {
  border-radius: 12px;
  background-color: #ffffff;
}
.tab-uploader .info-box {
  background-color: rgb(235.86, 239.16, 252.14);
  border: 1px solid #3D64AD;
  color: #1E1C23;
  border-radius: 8px;
}
.tab-uploader .info-box code {
  background-color: rgba(255, 255, 255, 0.7);
  color: #1E1C23;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-family: "Fira Code", "Consolas", "Ubuntu Mono", monospace;
}
.tab-uploader .btn-submit {
  background-color: #499F96;
  border-color: #499F96;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}
.tab-uploader .btn-submit:hover {
  background-color: rgb(60.1620689655, 131.0379310345, 123.6206896552);
  border-color: rgb(60.1620689655, 131.0379310345, 123.6206896552);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Downloads Tab
   -------------------------------------------------------------------------- */
#downloads-panel .upload-zone {
  background-color: #ffffff;
  border: 2px dashed #3D64AD;
  border-radius: 12px;
}
#downloads-panel .input-restricted-width {
  max-width: 360px;
}

/* --------------------------------------------------------------------------
   4. Afbeeldingen Tab
   -------------------------------------------------------------------------- */
#images-panel .upload-zone {
  background-color: #ffffff;
  border: 2px dashed #3D64AD;
  border-radius: 12px;
}
#images-panel .input-restricted-width {
  max-width: 360px;
}

/* --------------------------------------------------------------------------
   5. Gebruikers Tab
   -------------------------------------------------------------------------- */
#gebruikers-panel .create-user-zone {
  background-color: #ffffff;
  border: 1px solid #3D64AD;
  border-radius: 12px;
}
#gebruikers-panel .hoofdvakken-checkbox-box {
  background-color: #ffffff;
  border: 1px solid #3D64AD;
}

/* ==========================================================================
   COMPONENTS: TABELLEN & TABEL-WRAPPERS
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Tabel Wrappers & Responsive Containers
   -------------------------------------------------------------------------- */
.table-responsive {
  background-color: none;
  overflow-x: auto;
  overflow-y: visible;
}

.table-responsive-visible {
  overflow: visible;
}

.card-table-wrapper {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

/* --------------------------------------------------------------------------
   2. Beheer Basistabel & Kolombreedtes
   -------------------------------------------------------------------------- */
.beheer-page .table,
.beheer-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: transparent;
  border-spacing: 0;
}
.beheer-page .table thead th,
.beheer-page table thead th {
  background: rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65) !important;
  color: #1E1C23;
  font-weight: 600;
}
.beheer-page .table tbody tr,
.beheer-page table tbody tr {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.beheer-page .table tbody tr:hover td,
.beheer-page table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}
.beheer-page .table th, .beheer-page .table td,
.beheer-page table th,
.beheer-page table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42) !important;
  background: transparent;
}
.beheer-page .table th:nth-child(1), .beheer-page .table td:nth-child(1),
.beheer-page table th:nth-child(1),
.beheer-page table td:nth-child(1) {
  width: 8%;
}
.beheer-page .table th:nth-child(2), .beheer-page .table td:nth-child(2),
.beheer-page table th:nth-child(2),
.beheer-page table td:nth-child(2) {
  width: 7%;
}
.beheer-page .table th:nth-child(3), .beheer-page .table td:nth-child(3),
.beheer-page table th:nth-child(3),
.beheer-page table td:nth-child(3) {
  width: 9%;
}
.beheer-page .table th:nth-child(4), .beheer-page .table td:nth-child(4),
.beheer-page table th:nth-child(4),
.beheer-page table td:nth-child(4) {
  width: 21%;
}
.beheer-page .table th:nth-child(5), .beheer-page .table td:nth-child(5),
.beheer-page table th:nth-child(5),
.beheer-page table td:nth-child(5) {
  width: 12%;
}
.beheer-page .table th:nth-child(6), .beheer-page .table td:nth-child(6),
.beheer-page table th:nth-child(6),
.beheer-page table td:nth-child(6) {
  width: 9%;
}
.beheer-page .table th:nth-child(7), .beheer-page .table td:nth-child(7),
.beheer-page table th:nth-child(7),
.beheer-page table td:nth-child(7) {
  width: 6%;
}
.beheer-page .table th:nth-child(8), .beheer-page .table td:nth-child(8),
.beheer-page table th:nth-child(8),
.beheer-page table td:nth-child(8) {
  width: 6%;
}
.beheer-page .table th:nth-child(9), .beheer-page .table td:nth-child(9),
.beheer-page table th:nth-child(9),
.beheer-page table td:nth-child(9) {
  width: 20%;
}
.beheer-page .table > :not(caption) > * > *,
.beheer-page .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.42) !important;
}
.beheer-page #bulkActionsForm .row {
  --bs-gutter-x: 0.75rem;
}
.beheer-page #bulkActionsForm .bulk-year-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 120px;
}
.beheer-page #bulkActionsForm .form-check-inline {
  margin-right: 0;
}
.beheer-page #bulkActionsForm .form-check-input {
  margin-top: 0.12rem;
}
@media (min-width: 992px) {
  .beheer-page table {
    table-layout: fixed;
    min-width: 100%;
  }
}
.beheer-page table th, .beheer-page table td {
  overflow: visible;
}

/* --------------------------------------------------------------------------
   3. Specifieke Tabellen (Downloads, Afbeeldingen, Gebruikers)
   -------------------------------------------------------------------------- */
.table-files .img-preview {
  max-height: 40px;
  width: auto;
  border-radius: 4px;
  object-fit: cover;
}
.table-files code {
  background-color: rgba(0, 0, 0, 0.04);
  color: #1E1C23;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.9em;
}

#gebruikers-panel .table-users tbody > tr > td,
#leerlingen-panel .table-users tbody > tr > td {
  overflow: visible;
  position: relative;
  z-index: 1;
}
#gebruikers-panel .table-users .dropdown,
#leerlingen-panel .table-users .dropdown {
  position: relative;
  z-index: 2;
}
#gebruikers-panel .table-users .password-update-form,
#leerlingen-panel .table-users .password-update-form {
  max-width: 300px;
}
#gebruikers-panel .table-users .btn-dropdown-toggle,
#leerlingen-panel .table-users .btn-dropdown-toggle {
  min-width: 160px;
}
#gebruikers-panel .table-users .dropdown-menu-toegang,
#leerlingen-panel .table-users .dropdown-menu-toegang {
  min-width: 220px;
  z-index: 1060;
  max-height: min(45vh, 360px);
  overflow-y: auto;
}
#gebruikers-panel .table-users .btn-save-toegang,
#leerlingen-panel .table-users .btn-save-toegang {
  font-size: 0.8rem;
}

#gebruikers-panel th:nth-child(1), #gebruikers-panel td:nth-child(1),
#leerlingen-panel th:nth-child(1),
#leerlingen-panel td:nth-child(1) {
  width: 20%;
}
#gebruikers-panel th:nth-child(2), #gebruikers-panel td:nth-child(2),
#leerlingen-panel th:nth-child(2),
#leerlingen-panel td:nth-child(2) {
  width: 20%;
}
#gebruikers-panel th:nth-child(3), #gebruikers-panel td:nth-child(3),
#leerlingen-panel th:nth-child(3),
#leerlingen-panel td:nth-child(3) {
  width: 20%;
}
#gebruikers-panel th:nth-child(4), #gebruikers-panel td:nth-child(4),
#leerlingen-panel th:nth-child(4),
#leerlingen-panel td:nth-child(4) {
  width: 21%;
}
#gebruikers-panel th:nth-child(5), #gebruikers-panel td:nth-child(5),
#leerlingen-panel th:nth-child(5),
#leerlingen-panel td:nth-child(5) {
  width: 12%;
}
#gebruikers-panel th:nth-child(6), #gebruikers-panel td:nth-child(6),
#leerlingen-panel th:nth-child(6),
#leerlingen-panel td:nth-child(6) {
  width: 9%;
}
#gebruikers-panel th:nth-child(7), #gebruikers-panel td:nth-child(7),
#leerlingen-panel th:nth-child(7),
#leerlingen-panel td:nth-child(7) {
  width: 6%;
}
#gebruikers-panel th:nth-child(8), #gebruikers-panel td:nth-child(8),
#leerlingen-panel th:nth-child(8),
#leerlingen-panel td:nth-child(8) {
  width: 6%;
}
#gebruikers-panel th:nth-child(9), #gebruikers-panel td:nth-child(9),
#leerlingen-panel th:nth-child(9),
#leerlingen-panel td:nth-child(9) {
  width: 20%;
}

#leerlinginsights-panel th:nth-child(1), #leerlinginsights-panel td:nth-child(1) {
  width: 20%;
}
#leerlinginsights-panel th:nth-child(2), #leerlinginsights-panel td:nth-child(2) {
  width: 20%;
}
#leerlinginsights-panel th:nth-child(3), #leerlinginsights-panel td:nth-child(3) {
  width: 20%;
}
#leerlinginsights-panel th:nth-child(4), #leerlinginsights-panel td:nth-child(4) {
  width: 10%;
}
#leerlinginsights-panel th:nth-child(5), #leerlinginsights-panel td:nth-child(5) {
  width: 10%;
}
#leerlinginsights-panel th:nth-child(6), #leerlinginsights-panel td:nth-child(6) {
  width: 10%;
}
#leerlinginsights-panel th:nth-child(7), #leerlinginsights-panel td:nth-child(7) {
  width: 10%;
}

#downloads-panel th:nth-child(1), #downloads-panel td:nth-child(1) {
  width: 80%;
}
#downloads-panel th:nth-child(2), #downloads-panel td:nth-child(2) {
  width: 20%;
}

#images-panel th:nth-child(1), #images-panel td:nth-child(1) {
  width: 20%;
}
#images-panel th:nth-child(2), #images-panel td:nth-child(2) {
  width: 60%;
}
#images-panel th:nth-child(3), #images-panel td:nth-child(2) {
  width: 20%;
}

#leerplandoelen-panel th:nth-child(1), #leerplandoelen-panel td:nth-child(1) {
  width: 5%;
}
#leerplandoelen-panel th:nth-child(2), #leerplandoelen-panel td:nth-child(2) {
  width: 10%;
}
#leerplandoelen-panel th:nth-child(3), #leerplandoelen-panel td:nth-child(3) {
  width: 5%;
}
#leerplandoelen-panel th:nth-child(4), #leerplandoelen-panel td:nth-child(4) {
  width: 15%;
}
#leerplandoelen-panel th:nth-child(5), #leerplandoelen-panel td:nth-child(5) {
  width: 40%;
}
#leerplandoelen-panel th:nth-child(6), #leerplandoelen-panel td:nth-child(6) {
  width: 20%;
}

#lessenTabel th:nth-child(1), #lessenTabel td:nth-child(1) {
  width: 2%;
}
#lessenTabel th:nth-child(2), #lessenTabel td:nth-child(2) {
  width: 8%;
}
#lessenTabel th:nth-child(3), #lessenTabel td:nth-child(3) {
  width: 9%;
}
#lessenTabel th:nth-child(4), #lessenTabel td:nth-child(4) {
  width: 21%;
}
#lessenTabel th:nth-child(5), #lessenTabel td:nth-child(5) {
  width: 16%;
}
#lessenTabel th:nth-child(6), #lessenTabel td:nth-child(6) {
  width: 9%;
}
#lessenTabel th:nth-child(7), #lessenTabel td:nth-child(7) {
  width: 8%;
}
#lessenTabel th:nth-child(8), #lessenTabel td:nth-child(8) {
  width: 9%;
}
#lessenTabel th:nth-child(9), #lessenTabel td:nth-child(9) {
  width: 20%;
}

/* ==========================================================================
   COMPONENTS: LES BUILDER
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Les Builder Modal
   -------------------------------------------------------------------------- */
#builderModal .builder-modal-content {
  background-color: rgb(239.48, 242.6, 248.44);
  border: none;
}
#builderModal .builder-modal-content .modal-header {
  background-color: #ffffff;
  border-bottom: 1px solid #3D64AD;
}
#builderModal .builder-modal-content .modal-body {
  overflow-y: auto;
}
#builderModal .container-max-builder {
  max-width: 1280px;
}
#builderModal .builder-zone-add {
  background-color: #ffffff;
  border: 2px dashed #3D64AD;
  border-radius: 12px;
}
#builderModal .builder-zone-add p {
  color: #1E1C23;
}

/* --------------------------------------------------------------------------
   2. Builder Block Items & Drag Handles
   -------------------------------------------------------------------------- */
.builder-block-item input, .builder-block-item textarea, .builder-block-item select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #3D64AD;
}
.builder-block-item {
  background-color: #3D64AD;
  border: 1px solid #499F96;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.builder-block-item .pdf-preview {
  border: 1px solid #3D64AD;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}
.builder-block-item .pdf-preview embed {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: #ffffff;
}
.builder-block-item.dragging {
  opacity: 0.4;
  transform: scale(0.98);
  border: 2px dashed #EC6041;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.builder-block-item .ctrl-header {
  opacity: 0.2;
  transition: opacity 0.2s ease-in-out;
}
.builder-block-item:hover .ctrl-header {
  opacity: 1;
}
.builder-block-item {
  /* Accentranden voor speciale blokken in de builder */
}
.builder-block-item[data-type=figma] {
  border-left: 5px solid #a259ff !important;
}
.builder-block-item[data-type=callout] {
  border-left: 5px solid #499F96 !important;
}

.builder-inline-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.25rem 0.5rem;
  border-bottom: 1px solid #3D64AD;
}

.builder-format-btn {
  border: 1px solid rgba(73, 159, 150, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
  color: #499F96;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  transition: all 0.2s ease;
}
.builder-format-btn:hover {
  background: rgba(73, 159, 150, 0.08);
  border-color: #499F96;
}

.builder-format-btn-accent {
  color: #EC6041;
  border-color: rgba(236, 96, 65, 0.35);
}
.builder-format-btn-accent:hover {
  background: rgba(236, 96, 65, 0.08);
  border-color: #EC6041;
}
.builder-format-btn-accent .builder-format-color {
  border: 1px solid rgba(73, 159, 150, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
  color: #499F96;
  min-width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}
.builder-format-btn-accent .builder-format-color input {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  margin-left: 0.25rem;
  border: 0;
  cursor: pointer;
}
.builder-format-btn-accent .builder-rich-editor {
  min-height: 5rem;
  white-space: pre-wrap;
}

.builder-drag-handle {
  cursor: move;
  font-size: 1.2rem;
  color: #499F96;
  user-select: none;
  padding-right: 10px;
  display: inline-flex;
  align-items: center;
}
.builder-drag-handle:hover {
  color: #EC6041;
}

.cursor-grab {
  cursor: grab;
}

.builder-zone-add {
  border: 2px dashed #499F96;
  background-color: #3D64AD;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}
.builder-zone-add p {
  color: #499F96;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   3. Builder Inputs & Data Type Styling
   -------------------------------------------------------------------------- */
.h1-builder, .h2-builder, .h3-builder, .p-builder, .html-builder, .code-builder, .table-builder {
  border: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color 0.2s ease;
}

.h1-builder:focus, .h2-builder:focus, .h3-builder:focus, .p-builder:focus {
  background-color: rgba(248, 249, 250, 0.5) !important;
}

[data-type=h1] input {
  color: #EC6041 !important;
  font-size: 2.5rem !important;
}

[data-type=h2] input {
  font-size: 1.5rem !important;
  color: rgba(33, 37, 41, 0.75) !important;
  font-weight: 400 !important;
}

[data-type=h3] input {
  font-size: 1.25rem !important;
  color: rgba(33, 37, 41, 0.75) !important;
  font-weight: 300 !important;
  margin-top: 30px !important;
}

[data-type=p] textarea {
  font-family: "Open Sans", sans-serif !important;
  font-weight: 400 !important;
  line-height: 2.15 !important;
}

[data-type=code] textarea {
  background-color: #1e1e1e !important;
  color: #FAE4B0 !important;
  font-family: "Courier New", Courier, monospace !important;
  padding: 15px !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
}

.html-builder, .table-builder {
  font-family: monospace !important;
  color: #499F96 !important;
  background-color: #f8f9fa !important;
  padding: 10px !important;
  border-radius: 4px !important;
  font-size: 0.9rem !important;
}

/* --------------------------------------------------------------------------
   4. Visual Table Builder Styling
   -------------------------------------------------------------------------- */
.table-builder-wrapper {
  background-color: #ffffff;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #3D64AD;
}
.table-builder-wrapper .builder-table-grid {
  border-color: 1px solid #3D64AD;
}
.table-builder-wrapper .builder-table-grid th {
  background-color: rgb(235.86, 239.16, 252.14);
}
.table-builder-wrapper .builder-table-grid input.table-cell-input {
  border: 1px solid transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  font-size: 0.9rem !important;
  padding: 0.25rem 0.4rem !important;
}
.table-builder-wrapper .builder-table-grid input.table-cell-input:focus {
  background-color: #ffffff !important;
  border-color: #3D64AD !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Gedeelde list-group accenten
   Kleine visuele house-style voor Bootstrap list-group items op meerdere
   pagina's (o.a. cursussen/opdrachten).
   ========================================================================== */
.list-group-item {
  color: #499F96;
}
.list-group-item:hover {
  color: #EC6041 !important;
}

/* ==========================================================================
   Homepagina-specifieke stijlen
   Gedeelde landing-hero stijlen staan in layout/_landing.scss.
   ========================================================================== */
.index-page .webdev-cross {
  width: 50%;
  margin-left: 40px;
  margin-top: 70px;
}
.index-page .webdev-cross h2 {
  padding-top: 40px;
}

/* ==========================================================================
   Gedeelde styling voor Cursussen & Opdrachten overzichtspagina's
   ========================================================================== */
.cursussen_page,
.opdrachten-page,
.page-default {
  background-color: rgb(239.48, 242.6, 248.44);
}
.cursussen_page h1,
.opdrachten-page h1,
.page-default h1 {
  color: #EC6041 !important;
}
.cursussen_page .btn-outline-dark,
.opdrachten-page .btn-outline-dark,
.page-default .btn-outline-dark {
  border-color: #EC6041;
}
.cursussen_page .btn-outline-dark:hover,
.opdrachten-page .btn-outline-dark:hover,
.page-default .btn-outline-dark:hover {
  background-color: #EC6041;
  border-color: #EC6041;
}
.cursussen_page .cursussen_page,
.cursussen_page .opdrachten-page,
.opdrachten-page .cursussen_page,
.opdrachten-page .opdrachten-page,
.page-default .cursussen_page,
.page-default .opdrachten-page {
  background-color: var(--platform-content-bg, rgb(239.48, 242.6, 248.44)) !important;
}
.cursussen_page .cursussen_page h1,
.cursussen_page .cursussen_page .display-4,
.cursussen_page .opdrachten-page h1,
.cursussen_page .opdrachten-page .display-4,
.opdrachten-page .cursussen_page h1,
.opdrachten-page .cursussen_page .display-4,
.opdrachten-page .opdrachten-page h1,
.opdrachten-page .opdrachten-page .display-4,
.page-default .cursussen_page h1,
.page-default .cursussen_page .display-4,
.page-default .opdrachten-page h1,
.page-default .opdrachten-page .display-4 {
  color: var(--platform-content-heading, var(--platform-heading-1, #EC6041)) !important;
}
.cursussen_page .cursussen_page .hoofdvak-filter,
.cursussen_page .cursussen_page .row > .col-12 > .d-flex.bg-light,
.cursussen_page .opdrachten-page .hoofdvak-filter,
.cursussen_page .opdrachten-page .row > .col-12 > .d-flex.bg-light,
.opdrachten-page .cursussen_page .hoofdvak-filter,
.opdrachten-page .cursussen_page .row > .col-12 > .d-flex.bg-light,
.opdrachten-page .opdrachten-page .hoofdvak-filter,
.opdrachten-page .opdrachten-page .row > .col-12 > .d-flex.bg-light,
.page-default .cursussen_page .hoofdvak-filter,
.page-default .cursussen_page .row > .col-12 > .d-flex.bg-light,
.page-default .opdrachten-page .hoofdvak-filter,
.page-default .opdrachten-page .row > .col-12 > .d-flex.bg-light {
  background-color: var(--platform-content-filter-bg, #fff) !important;
}
.cursussen_page .cursussen_page .category-card > .card,
.cursussen_page .cursussen_page .category-card .card-body,
.cursussen_page .opdrachten-page .category-card > .card,
.cursussen_page .opdrachten-page .category-card .card-body,
.opdrachten-page .cursussen_page .category-card > .card,
.opdrachten-page .cursussen_page .category-card .card-body,
.opdrachten-page .opdrachten-page .category-card > .card,
.opdrachten-page .opdrachten-page .category-card .card-body,
.page-default .cursussen_page .category-card > .card,
.page-default .cursussen_page .category-card .card-body,
.page-default .opdrachten-page .category-card > .card,
.page-default .opdrachten-page .category-card .card-body {
  background-color: var(--platform-content-card-bg, transparent) !important;
}
.cursussen_page .cursussen_page .btn-brand,
.cursussen_page .cursussen_page .btn-primary,
.cursussen_page .cursussen_page .btn-outline-brand.active,
.cursussen_page .cursussen_page .afdeling-btn.active,
.cursussen_page .cursussen_page .hv-btn.active,
.cursussen_page .opdrachten-page .btn-brand,
.cursussen_page .opdrachten-page .btn-primary,
.cursussen_page .opdrachten-page .btn-outline-brand.active,
.cursussen_page .opdrachten-page .afdeling-btn.active,
.cursussen_page .opdrachten-page .hv-btn.active,
.opdrachten-page .cursussen_page .btn-brand,
.opdrachten-page .cursussen_page .btn-primary,
.opdrachten-page .cursussen_page .btn-outline-brand.active,
.opdrachten-page .cursussen_page .afdeling-btn.active,
.opdrachten-page .cursussen_page .hv-btn.active,
.opdrachten-page .opdrachten-page .btn-brand,
.opdrachten-page .opdrachten-page .btn-primary,
.opdrachten-page .opdrachten-page .btn-outline-brand.active,
.opdrachten-page .opdrachten-page .afdeling-btn.active,
.opdrachten-page .opdrachten-page .hv-btn.active,
.page-default .cursussen_page .btn-brand,
.page-default .cursussen_page .btn-primary,
.page-default .cursussen_page .btn-outline-brand.active,
.page-default .cursussen_page .afdeling-btn.active,
.page-default .cursussen_page .hv-btn.active,
.page-default .opdrachten-page .btn-brand,
.page-default .opdrachten-page .btn-primary,
.page-default .opdrachten-page .btn-outline-brand.active,
.page-default .opdrachten-page .afdeling-btn.active,
.page-default .opdrachten-page .hv-btn.active {
  background-color: var(--platform-content-button, var(--platform-button, #EFB7B3)) !important;
  border-color: var(--platform-content-button, var(--platform-button, #EFB7B3)) !important;
}
.cursussen_page .cursussen_page .btn-brand:hover,
.cursussen_page .cursussen_page .btn-primary:hover,
.cursussen_page .cursussen_page .btn-outline-brand:hover,
.cursussen_page .cursussen_page .afdeling-btn:hover,
.cursussen_page .cursussen_page .hv-btn:hover,
.cursussen_page .opdrachten-page .btn-brand:hover,
.cursussen_page .opdrachten-page .btn-primary:hover,
.cursussen_page .opdrachten-page .btn-outline-brand:hover,
.cursussen_page .opdrachten-page .afdeling-btn:hover,
.cursussen_page .opdrachten-page .hv-btn:hover,
.opdrachten-page .cursussen_page .btn-brand:hover,
.opdrachten-page .cursussen_page .btn-primary:hover,
.opdrachten-page .cursussen_page .btn-outline-brand:hover,
.opdrachten-page .cursussen_page .afdeling-btn:hover,
.opdrachten-page .cursussen_page .hv-btn:hover,
.opdrachten-page .opdrachten-page .btn-brand:hover,
.opdrachten-page .opdrachten-page .btn-primary:hover,
.opdrachten-page .opdrachten-page .btn-outline-brand:hover,
.opdrachten-page .opdrachten-page .afdeling-btn:hover,
.opdrachten-page .opdrachten-page .hv-btn:hover,
.page-default .cursussen_page .btn-brand:hover,
.page-default .cursussen_page .btn-primary:hover,
.page-default .cursussen_page .btn-outline-brand:hover,
.page-default .cursussen_page .afdeling-btn:hover,
.page-default .cursussen_page .hv-btn:hover,
.page-default .opdrachten-page .btn-brand:hover,
.page-default .opdrachten-page .btn-primary:hover,
.page-default .opdrachten-page .btn-outline-brand:hover,
.page-default .opdrachten-page .afdeling-btn:hover,
.page-default .opdrachten-page .hv-btn:hover {
  background-color: var(--platform-content-button-hover, var(--platform-button-hover, #d99e9a)) !important;
  border-color: var(--platform-content-button-hover, var(--platform-button-hover, #d99e9a)) !important;
}
.cursussen_page .active,
.opdrachten-page .active,
.page-default .active {
  background-color: #EC6041;
}

/* ==========================================================================
   Category Masonry Grid (2 kolommen op grotere schermen)
   ========================================================================== */
.category-masonry {
  column-count: 1;
  column-gap: 1.5rem;
}
@media (min-width: 768px) {
  .category-masonry {
    column-count: 2;
  }
}
.category-masonry .category-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Course / Opdracht List Items
   ========================================================================== */
.course-item {
  transition: all 0.2s ease-in-out;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.course-item:hover {
  padding-left: 0.5rem !important;
  color: #499F96;
}

.progress-thin {
  height: 10px;
}

.progress-bar-fill {
  width: var(--progress-width, 0%);
}

.department-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.department-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  background: var(--platform-content-card-bg, #fff);
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.department-card:hover,
.department-card.active {
  border-color: var(--platform-content-button, #EFB7B3);
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.department-card > span:last-child {
  flex: 1;
  align-self: center;
  display: block;
  padding: 1.25rem 1.5rem;
  font-size: 1.15rem;
}

.department-card-image {
  display: block;
  flex: 0 0 30%;
  min-height: 9rem;
  background-size: cover;
  background-position: center;
}

.department-choice-list {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  padding: .25rem;
}

.department-choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 12rem;
  min-height: 30rem;
  overflow: hidden;
  border-radius: .9rem;
  background: #222;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 .3rem 1rem rgba(0, 0, 0, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}

.department-choice-card:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 .6rem 1.5rem rgba(0, 0, 0, .16);
}

.department-choice-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .72;
}

.department-choice-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.5));
}

.department-choice-name {
  position: relative;
  z-index: 1;
  margin: 1.25rem;
  color: #fff;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .08em;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .department-choice-card {
    flex: 0 0 70%;
    min-height: 24rem;
  }
}

/* =========================
   Beheer styling
========================= */
.beheer-page {
  background-color: rgb(239.48, 242.6, 248.44);
}
.beheer-page .nav-item a {
  color: #499F96;
  font-size: 1rem;
  text-decoration: none;
}
.beheer-page .nav-item a:hover {
  color: #EC6041;
}
.beheer-page .admin-section {
  border: 1px solid rgba(73, 159, 150, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.beheer-page .admin-section > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 600;
  color: #499F96;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.beheer-page .admin-section > summary::-webkit-details-marker {
  display: none;
}
.beheer-page .admin-section > summary::after {
  content: "+";
  font-size: 1.25rem;
  color: #499F96;
  line-height: 1;
  transition: transform 0.2s ease;
}
.beheer-page .admin-section[open] > summary::after {
  content: "−";
}
.beheer-page .admin-section .admin-section-body {
  padding: 0 1rem 1rem;
}
.beheer-page button {
  padding: 12px !important;
  background-color: #3D64AD !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}
.beheer-page button:hover {
  background-color: rgb(47.7051282051, 78.2051282051, 135.2948717949) !important;
}
.beheer-page .btn-bewerk {
  padding: 2px !important;
  background-color: #3D64AD !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 5px !important;
  font-size: 0.8rem !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}
.beheer-page .btn-bewerk:hover {
  background-color: rgb(47.7051282051, 78.2051282051, 135.2948717949) !important;
}
.beheer-page h5 {
  color: #EC6041;
}
.beheer-page strong {
  font-weight: normal;
}
.beheer-page .card {
  background-color: rgb(235.86, 239.16, 252.14);
  border: none;
}
.beheer-page .red-card {
  background-color: #EC6041;
  margin-bottom: 50px !important;
}
.beheer-page .huidige-vakken {
  background-color: #3D64AD !important;
}
.beheer-page .huidige-vakken li {
  background-color: #3D64AD;
}
.beheer-page .huidige-vakken .delete-button {
  background-color: transparent;
  font-size: 0.85rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}
.beheer-page .img-preview {
  height: 80px !important;
  width: auto;
}
.beheer-page .modal-body {
  background-color: rgb(239.48, 242.6, 248.44);
}
.beheer-page h6 {
  color: #EC6041;
}

@media (min-width: 768px) {
  .category-masonry {
    column-count: 2;
    column-gap: 1.5rem;
  }
  .category-card {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
  }
}
/* =========================
   Beheer - sidebar shell (nieuwe layout)
========================= */
.beheer-shell {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  background-color: #f4f2ee;
}

.beheer-sidebar {
  position: sticky;
  top: var(--site-nav-height, 0px);
  height: calc(100vh - var(--site-nav-height, 0px));
  width: 260px;
  flex: 0 0 260px;
  background: #499F96;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  overflow-y: auto;
}
.beheer-sidebar .beheer-sidebar-legal-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.45rem 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  text-decoration: none;
  opacity: 0.8;
}
.beheer-sidebar .beheer-sidebar-legal-link i {
  width: 14px;
  text-align: center;
  font-size: 0.65rem;
}
.beheer-sidebar .beheer-sidebar-legal-link:hover {
  color: #ffffff;
  opacity: 1;
}
.beheer-sidebar .beheer-sidebar-nav {
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 992px) {
  .beheer-sidebar .beheer-sidebar-nav {
    display: flex;
  }
}
.beheer-sidebar .beheer-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.beheer-sidebar .beheer-sidebar-link i {
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}
.beheer-sidebar .beheer-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.beheer-sidebar .beheer-sidebar-link.active {
  background: #EFB7B3;
  color: #ffffff;
}
.beheer-sidebar .beheer-sidebar-link.active i {
  color: #ffffff;
}
.beheer-sidebar .beheer-sidebar-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.beheer-sidebar .beheer-sidebar-group {
  margin: 0.15rem 0;
}
.beheer-sidebar .beheer-sidebar-group .beheer-sidebar-group-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}
.beheer-sidebar .beheer-sidebar-group .beheer-sidebar-group-label i {
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}
.beheer-sidebar .beheer-sidebar-group .beheer-sidebar-sublink {
  display: block;
  padding: 0.5rem 0.75rem 0.5rem 2.6rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.85rem;
}
.beheer-sidebar .beheer-sidebar-group .beheer-sidebar-sublink:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.beheer-sidebar .beheer-sidebar-group .beheer-sidebar-sublink.active {
  background: rgba(239, 183, 179, 0.35);
  color: #ffffff;
}

.beheer-sidebar-toggle {
  display: none;
}

.legal-page {
  background: #f4f2ee;
}
.legal-page .legal-container {
  max-width: 920px;
}
.legal-page .legal-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #ffffff;
  border: 1px solid rgba(30, 28, 35, 0.07);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30, 28, 35, 0.06);
  color: rgba(30, 28, 35, 0.78);
  line-height: 1.75;
}
.legal-page .legal-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(30, 28, 35, 0.08);
}
.legal-page .legal-card-header h1 {
  margin: 0;
  color: #1E1C23;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.2;
}
.legal-page .legal-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 8px;
  background: rgba(239, 183, 179, 0.12);
  color: #EFB7B3;
  font-size: 1.25rem;
}
.legal-page .legal-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: #EFB7B3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-page section + section {
  margin-top: 1.75rem;
}
.legal-page h2 {
  margin-bottom: 0.5rem;
  color: #1E1C23;
  font-size: 1.1rem;
  font-weight: 700;
}
.legal-page p {
  margin-bottom: 0;
}
.legal-page ul {
  margin-bottom: 0;
  padding-left: 1.35rem;
}

.beheer-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.beheer-topbar {
  display: flex;
  align-items: center;
  padding: 1rem 1.75rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(30, 28, 35, 0.08);
  flex-wrap: wrap;
}
.beheer-topbar .beheer-topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #499F96;
  font-size: 0.85rem;
}
.beheer-topbar .beheer-topbar-breadcrumb i {
  font-size: 0.65rem;
  opacity: 0.6;
}
.beheer-topbar .beheer-topbar-breadcrumb strong {
  color: #1E1C23;
  font-weight: 600;
}

.beheer-content {
  padding: 1.5rem 1.75rem 3rem;
  flex: 1 1 auto;
  background-color: #f4f2ee;
}
.beheer-content .main-upload-card,
.beheer-content .option-card,
.beheer-content .card:not(.red-card) {
  background-color: #ffffff;
  border: 1px solid rgba(30, 28, 35, 0.06);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(30, 28, 35, 0.06) !important;
}
.beheer-content .card-table-wrapper {
  background-color: #ffffff !important;
  border: 1px solid rgba(30, 28, 35, 0.08) !important;
  backdrop-filter: none !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(30, 28, 35, 0.06);
}
.beheer-content h4, .beheer-content h5, .beheer-content h6 {
  color: #1E1C23 !important;
  font-weight: 700;
}
.beheer-content .card-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  background: rgba(239, 183, 179, 0.12);
  color: #EFB7B3;
  margin-right: 0.6rem;
  font-size: 0.85rem;
}
.beheer-content .nieuwe-functie-kaart {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.beheer-content .nieuwe-functie-kaart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 28, 35, 0.1) !important;
}
.beheer-content .nieuwe-functie-icoon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(239, 183, 179, 0.12);
  color: #EFB7B3;
  font-size: 1.1rem;
}
.beheer-content .nieuwe-functie-badge {
  background: #EFB7B3;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.beheer-content .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  border-radius: 50%;
  background: #EFB7B3;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}
.beheer-content .step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(30, 28, 35, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.beheer-content .integration-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  margin: 0;
}
.beheer-content .integration-item + .integration-item {
  border-top: 1px solid rgba(30, 28, 35, 0.06);
}
.beheer-content .integration-item .integration-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  min-width: 2.1rem;
  border-radius: 50%;
  font-size: 0.85rem;
}
.beheer-content .integration-item .integration-icon--classroom {
  background: rgba(58, 167, 87, 0.12);
}
.beheer-content .integration-item .integration-icon--classroom img {
  border-radius: 3px;
}
.beheer-content .integration-item .integration-icon--drive {
  background: rgba(66, 133, 244, 0.12);
  color: #4285f4;
}
.beheer-content .integration-item .form-check-label {
  flex: 1 1 auto;
  margin: 0;
  cursor: pointer;
}
.beheer-content .integration-item .form-check-label strong {
  display: block;
  font-size: 0.85rem;
  color: #1E1C23;
  font-weight: 600;
}
.beheer-content .integration-item .form-check-label small {
  font-size: 0.75rem;
}
.beheer-content .integration-item .form-check-input {
  flex: 0 0 auto;
  margin: 0;
}
.beheer-content .integration-item .form-check-input:checked {
  background-color: #EFB7B3;
  border-color: #EFB7B3;
}
.beheer-content .goal-picker-search {
  position: relative;
}
.beheer-content .goal-picker-search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(30, 28, 35, 0.35);
  font-size: 0.85rem;
}
.beheer-content .goal-picker-search .form-control {
  padding-left: 2.4rem;
}
.beheer-content .goal-picker-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E1C23;
}
.beheer-content .goal-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 320px;
  overflow-y: auto;
}
.beheer-content .goal-picker-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  background: #f0eee9;
  cursor: pointer;
  transition: background-color 0.15s ease;
  overflow: initial !important;
}
.beheer-content .goal-picker-item:hover {
  background: rgba(239, 183, 179, 0.08);
}
.beheer-content .goal-picker-item .goal-picker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  min-width: 1.9rem;
  border-radius: 50%;
  background: rgba(239, 183, 179, 0.12);
  color: #EFB7B3;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}
.beheer-content .goal-picker-item .goal-picker-text {
  flex: 1 1 auto;
}
.beheer-content .goal-picker-item .goal-picker-text strong {
  font-size: 0.85rem;
  color: #1E1C23;
  font-weight: 600;
}
.beheer-content .goal-picker-item .goal-picker-text small {
  font-size: 0.75rem;
}
.beheer-content .goal-picker-item .goal-picker-checkbox {
  margin-top: 0.2rem;
}
.beheer-content .jaar-dropdown .jaar-dropdown-toggle {
  background-color: #f0eee9;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  color: #1E1C23;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.beheer-content .jaar-dropdown .jaar-dropdown-toggle::after {
  margin-left: auto;
}
.beheer-content .jaar-dropdown .jaar-dropdown-toggle:focus, .beheer-content .jaar-dropdown .jaar-dropdown-toggle:active {
  box-shadow: 0 0 0 0.15rem rgba(239, 183, 179, 0.25);
}
.beheer-content .jaar-dropdown .jaar-dropdown-menu {
  min-width: 100%;
  border: 1px solid rgba(30, 28, 35, 0.08);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(30, 28, 35, 0.12);
}
.beheer-content .jaar-dropdown .jaar-dropdown-menu .form-check {
  margin-bottom: 0.5rem;
}
.beheer-content .form-label {
  color: rgba(30, 28, 35, 0.55);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.beheer-content input[type=text],
.beheer-content input[type=password],
.beheer-content input[type=email],
.beheer-content input[type=number],
.beheer-content input[type=file],
.beheer-content select,
.beheer-content .form-select,
.beheer-content textarea,
.beheer-content .form-control {
  background-color: #f0eee9 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #1E1C23;
  padding: 0.65rem 0.9rem;
}
.beheer-content input[type=text]::placeholder,
.beheer-content input[type=password]::placeholder,
.beheer-content input[type=email]::placeholder,
.beheer-content input[type=number]::placeholder,
.beheer-content input[type=file]::placeholder,
.beheer-content select::placeholder,
.beheer-content .form-select::placeholder,
.beheer-content textarea::placeholder,
.beheer-content .form-control::placeholder {
  color: rgba(30, 28, 35, 0.35);
}
.beheer-content input[type=text]:focus,
.beheer-content input[type=password]:focus,
.beheer-content input[type=email]:focus,
.beheer-content input[type=number]:focus,
.beheer-content input[type=file]:focus,
.beheer-content select:focus,
.beheer-content .form-select:focus,
.beheer-content textarea:focus,
.beheer-content .form-control:focus {
  background-color: #ffffff !important;
  border-color: #EFB7B3 !important;
  box-shadow: 0 0 0 0.2rem rgba(239, 183, 179, 0.12);
}
.beheer-content .btn-brand,
.beheer-content .btn-primary {
  background-color: #EFB7B3 !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 0.65rem 1.1rem !important;
}
.beheer-content .btn-brand:hover,
.beheer-content .btn-primary:hover {
  background-color: rgb(231.9043478261, 151.0695652174, 145.2956521739) !important;
}
.beheer-content .btn-outline-brand {
  background-color: #ffffff !important;
  border: 1px solid rgba(30, 28, 35, 0.12) !important;
  color: #1E1C23 !important;
  border-radius: 8px !important;
  font-weight: 600;
  text-transform: none;
  padding: 0.65rem 1.1rem;
}
.beheer-content .btn-outline-brand:hover {
  border-color: #EFB7B3 !important;
  color: #EFB7B3 !important;
}
.beheer-content .badge {
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
  border-radius: 999px;
}
.beheer-content .badge.bg-success {
  background-color: rgba(34, 197, 94, 0.14) !important;
  color: #15803d !important;
}
.beheer-content .badge.bg-warning {
  background-color: rgba(234, 179, 8, 0.16) !important;
  color: #92600a !important;
}
.beheer-content .badge.bg-secondary {
  background-color: rgba(30, 28, 35, 0.06) !important;
  color: rgba(30, 28, 35, 0.6) !important;
}
.beheer-content .badge.bg-primary {
  background-color: rgba(239, 183, 179, 0.14) !important;
  color: #EFB7B3 !important;
}
.beheer-content .badge.bg-info {
  background-color: rgba(56, 189, 248, 0.16) !important;
  color: #0369a1 !important;
}
.beheer-content .badge.bg-light {
  background-color: rgba(30, 28, 35, 0.05) !important;
  color: rgba(30, 28, 35, 0.6) !important;
}
.beheer-content .table,
.beheer-content table {
  background: #ffffff;
}
.beheer-content .table thead th,
.beheer-content table thead th {
  background: #f4f2ee;
  border-bottom: 1px solid rgba(30, 28, 35, 0.08) !important;
  color: rgba(30, 28, 35, 0.45);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.beheer-content .table tbody tr,
.beheer-content table tbody tr {
  border-bottom: 1px solid rgba(30, 28, 35, 0.06);
}
.beheer-content .table tbody tr:hover td,
.beheer-content table tbody tr:hover td {
  background: rgba(239, 183, 179, 0.03);
}
.beheer-content .table th, .beheer-content .table td,
.beheer-content table th,
.beheer-content table td {
  border-bottom: 1px solid rgba(30, 28, 35, 0.06) !important;
  background: transparent;
  vertical-align: middle;
}
.beheer-content .table > :not(caption) > * > *,
.beheer-content .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: transparent;
  border-color: rgba(30, 28, 35, 0.06) !important;
}
.beheer-content .beheer-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(30, 28, 35, 0.5);
  border-top: 1px solid rgba(30, 28, 35, 0.06);
}
.beheer-content .beheer-pagination .pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}
.beheer-content .beheer-pagination .pagination .page-link {
  border: none;
  background: transparent;
  color: rgba(30, 28, 35, 0.6);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
}
.beheer-content .beheer-pagination .pagination .page-link:hover {
  background: rgba(30, 28, 35, 0.05);
}
.beheer-content .beheer-pagination .pagination .page-item.active .page-link {
  background: #EFB7B3;
  color: #ffffff;
}
.beheer-content .red-card {
  background-color: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(30, 28, 35, 0.06) !important;
  margin-bottom: 1rem !important;
}
.beheer-content .admin-section {
  border: 1px solid rgba(30, 28, 35, 0.08) !important;
  background: #ffffff !important;
}
.beheer-content .admin-section > summary {
  color: #1E1C23 !important;
  font-weight: 600;
}
.beheer-content .admin-section > summary::after {
  color: #EFB7B3 !important;
}

@media (max-width: 991px) {
  .beheer-shell {
    flex-direction: column;
  }
  .beheer-sidebar {
    position: relative;
    height: auto;
    width: 100%;
    flex: 0 0 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-y: visible;
    padding: 0.75rem 1rem;
  }
  .beheer-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }
  .beheer-sidebar-toggle i {
    transition: transform 0.2s ease;
  }
  .beheer-sidebar-toggle[aria-expanded=true] i {
    transform: rotate(180deg);
  }
  .beheer-sidebar-nav {
    flex-direction: column !important;
    flex-wrap: nowrap;
    margin-top: 0.5rem;
    gap: 0.15rem;
  }
  .beheer-sidebar-nav.collapse:not(.show) {
    display: none;
  }
}
/*
 * © 2026 Arne Wambeke. Alle rechten voorbehouden.
 * Dit bestand maakt onderdeel uit van het platform ontwikkeld door Arne Wambeke.
 * Het is niet toegestaan deze code (of aangepaste versies ervan) te kopiëren,
 * door te verkopen of te verspreiden zonder uitdrukkelijke schriftelijke
 * toestemming van Arne Wambeke.
 */
/* ==========================================================================
   PAGES: LEZER PAGINA
   ========================================================================== */
.lezer-page .lezer-container {
  max-width: 900px;
  margin: 0 auto;
}
.lezer-page .leerstof-content {
  /* Figma & Video Embeds begrenzen & centreren */
}
.lezer-page .leerstof-content .ratio,
.lezer-page .leerstof-content iframe {
  max-width: 720px;
  margin: 1.5rem auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.lezer-page .leerstof-content {
  /* ------------------------------------------------------------------
     1. MARKDOWN BLOCKQUOTES ( > Tip: ... )
     ------------------------------------------------------------------ */
}
.lezer-page .leerstof-content blockquote.blockquote {
  font-size: 1rem;
  color: #1E1C23;
  border: none;
  border-left: 5px solid #499F96 !important;
  background-color: rgba(82, 138, 145, 0.08) !important;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
.lezer-page .leerstof-content blockquote.blockquote strong {
  color: #499F96;
}
.lezer-page .leerstof-content {
  /* ------------------------------------------------------------------
     2. BOOTSTRAP ALERTS (Moderne Left-Border Stijl)
     ------------------------------------------------------------------ */
}
.lezer-page .leerstof-content .alert {
  border: none !important;
  border-left: 5px solid !important;
  border-radius: 8px 8px 8px 8px !important;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.lezer-page .leerstof-content .alert.alert-info {
  border-color: #3D64AD !important;
  background-color: rgba(13, 202, 240, 0.08) !important;
  color: #055160 !important;
}
.lezer-page .leerstof-content .alert.alert-warning {
  border-color: #FAE4B0 !important;
  background-color: rgba(255, 193, 7, 0.1) !important;
  color: #664d03 !important;
}
.lezer-page .leerstof-content .alert.alert-success {
  border-color: #499F96 !important;
  background-color: rgba(25, 135, 84, 0.08) !important;
  color: #0f5132 !important;
}
.lezer-page .leerstof-content .alert.alert-danger {
  border-color: #EC6041 !important;
  background-color: rgba(220, 53, 69, 0.08) !important;
  color: #842029 !important;
}
.lezer-page {
  /* ----------------------------------------------------------------------
     3. CURSUS NAVIGATIE KNOPPEN ONDERAAN
     ---------------------------------------------------------------------- */
}
.lezer-page .leerplandoelen-section {
  margin-top: 2rem;
}
.lezer-page .leerplandoelen-section .leerplandoelen-list {
  display: grid;
  gap: 0.85rem;
}
.lezer-page .leerplandoelen-section .leerplandoel-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: flex-start;
  background: rgba(82, 138, 145, 0.05);
  border: 1px solid #3D64AD;
  border-radius: 8px;
  padding: 0.9rem 1rem;
}
.lezer-page .leerplandoelen-section .leerplandoel-kader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background: #499F96;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.lezer-page .leerplandoelen-section .leerplandoel-beschrijving {
  color: #1E1C23;
  line-height: 1.6;
}
@media (max-width: 576px) {
  .lezer-page .cursus-navigatie {
    flex-direction: column;
  }
  .lezer-page .cursus-navigatie .nav-volgende {
    text-align: left !important;
  }
}
.lezer-page .btn-cursus-nav {
  background-color: #f8f9fa;
  transition: all 0.2s ease-in-out;
}
.lezer-page .btn-cursus-nav .title-label {
  line-height: 1.3;
}
.lezer-page .btn-cursus-nav:hover {
  background-color: #ffffff;
  border-color: #499F96 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.lezer-page .btn-cursus-nav:hover .title-label {
  color: #499F96 !important;
}

.img-gallery {
  margin: 1.5rem 0;
}
.img-gallery .gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #1a1a2e;
  border-radius: 6px;
  overflow: hidden;
  max-width: 100%;
}
.img-gallery .gallery-slide-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  max-height: 520px;
  overflow: hidden;
}
.img-gallery .gallery-img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.img-gallery .gallery-btn {
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
  align-self: stretch;
}
.img-gallery .gallery-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.img-gallery .gallery-btn.gallery-prev {
  border-radius: 6px 0 0 6px;
}
.img-gallery .gallery-btn.gallery-next {
  border-radius: 0 6px 6px 0;
}
.img-gallery .gallery-counter {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  pointer-events: none;
}

/* ==========================================================================
   PRIVÉ-ANNOTATIES (leerlingen) — markeringen, notitie-indicator & toolbar
   ========================================================================== */
/* ---------- Markeringen in de tekst ---------- */
.annotatie-mark {
  padding: 0.05em 0.1em;
  border-radius: 0.25em;
  cursor: pointer;
  color: inherit;
  transition: filter 0.15s ease;
}
.annotatie-mark:hover {
  filter: brightness(0.93);
}
.annotatie-mark.annotatie-geel {
  background: rgba(255, 213, 79, 0.55);
}
.annotatie-mark.annotatie-groen {
  background: rgba(129, 199, 132, 0.45);
}
.annotatie-mark.annotatie-rood {
  background: rgba(229, 115, 115, 0.4);
}
.annotatie-mark.annotatie-blauw {
  background: rgba(100, 181, 246, 0.4);
}
.annotatie-mark.heeft-notitie {
  position: relative;
}
.annotatie-mark.heeft-notitie::after {
  content: "\f075";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.55em;
  color: #499F96;
  position: absolute;
  top: -0.7em;
  right: -0.4em;
  background: #ffffff;
  border-radius: 50%;
  width: 1.1em;
  height: 1.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(30, 28, 35, 0.25);
  line-height: 1;
}

/* ---------- Sticky verticale mini-toolbar (rechts, midden) ---------- */
.annotatie-toolbar {
  position: fixed;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid rgba(30, 28, 35, 0.1);
  border-radius: 999px;
  padding: 0.4rem 0.3rem;
  box-shadow: 0 2px 10px rgba(30, 28, 35, 0.12);
}
.annotatie-toolbar .annotatie-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(30, 28, 35, 0.45);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.annotatie-toolbar .annotatie-tool:hover {
  background: rgba(73, 159, 150, 0.1);
  color: #499F96;
}
.annotatie-toolbar .annotatie-tool:active {
  transform: scale(0.92);
}
.annotatie-toolbar .annotatie-tool.beschikbaar {
  color: #499F96;
  background: rgba(73, 159, 150, 0.14);
}
.annotatie-toolbar .annotatie-tool--toggle {
  border-top: 1px solid rgba(30, 28, 35, 0.08);
  border-radius: 0 0 50% 50%;
  margin-top: 0.15rem;
  padding-top: 0.15rem;
}
.annotatie-toolbar .annotatie-tool--toggle.active {
  color: #499F96;
}

/* ---------- Notitie-modal ---------- */
.annotatie-modal-quote {
  border-left: 3px solid rgba(73, 159, 150, 0.4);
  padding-left: 0.6rem;
  font-style: italic;
  max-height: 4.5rem;
  overflow: hidden;
}

.annotatie-kleur-keuze .annotatie-kleur {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  background: none;
  cursor: pointer;
}
.annotatie-kleur-keuze .annotatie-kleur span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.annotatie-kleur-keuze .annotatie-kleur[data-kleur=geel] span {
  background: rgba(255, 213, 79, 0.9);
}
.annotatie-kleur-keuze .annotatie-kleur[data-kleur=groen] span {
  background: rgba(129, 199, 132, 0.9);
}
.annotatie-kleur-keuze .annotatie-kleur[data-kleur=rood] span {
  background: rgba(229, 115, 115, 0.9);
}
.annotatie-kleur-keuze .annotatie-kleur[data-kleur=blauw] span {
  background: rgba(100, 181, 246, 0.9);
}
.annotatie-kleur-keuze .annotatie-kleur.active {
  border-color: #499F96;
}

/* ---------- Responsive: toolbar iets kleiner op mobiel ---------- */
@media (max-width: 767px) {
  .annotatie-toolbar {
    right: 0.4rem;
  }
  .annotatie-toolbar .annotatie-tool {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }
}
#leerplandoelen-panel .main-upload-card,
#leerplandoelen-panel .option-card,
#leerplandoelen-panel .card-table-wrapper,
#leerplandoelen-dashboard-panel .main-upload-card,
#leerplandoelen-dashboard-panel .option-card,
#leerplandoelen-dashboard-panel .card-table-wrapper,
#leerlinginsights-panel .main-upload-card,
#leerlinginsights-panel .option-card,
#leerlinginsights-panel .card-table-wrapper {
  border: 1px solid #3D64AD;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}
#leerplandoelen-panel .main-upload-card,
#leerplandoelen-panel .option-card,
#leerplandoelen-dashboard-panel .main-upload-card,
#leerplandoelen-dashboard-panel .option-card,
#leerlinginsights-panel .main-upload-card,
#leerlinginsights-panel .option-card {
  padding: 1.5rem;
}
#leerplandoelen-panel h5,
#leerplandoelen-panel h4,
#leerplandoelen-dashboard-panel h5,
#leerplandoelen-dashboard-panel h4,
#leerlinginsights-panel h5,
#leerlinginsights-panel h4 {
  color: #499F96;
  letter-spacing: 0.01em;
}
#leerplandoelen-panel .form-label,
#leerplandoelen-panel .small,
#leerplandoelen-dashboard-panel .form-label,
#leerplandoelen-dashboard-panel .small,
#leerlinginsights-panel .form-label,
#leerlinginsights-panel .small {
  color: #1E1C23;
}
#leerplandoelen-panel .form-control,
#leerplandoelen-panel .form-select,
#leerplandoelen-panel textarea,
#leerplandoelen-dashboard-panel .form-control,
#leerplandoelen-dashboard-panel .form-select,
#leerplandoelen-dashboard-panel textarea,
#leerlinginsights-panel .form-control,
#leerlinginsights-panel .form-select,
#leerlinginsights-panel textarea {
  background-color: #ffffff;
  border: 1px solid rgba(82, 138, 145, 0.25);
  border-radius: 6px;
  color: #1E1C23;
}
#leerplandoelen-panel .form-control:focus,
#leerplandoelen-panel .form-select:focus,
#leerplandoelen-panel textarea:focus,
#leerplandoelen-dashboard-panel .form-control:focus,
#leerplandoelen-dashboard-panel .form-select:focus,
#leerplandoelen-dashboard-panel textarea:focus,
#leerlinginsights-panel .form-control:focus,
#leerlinginsights-panel .form-select:focus,
#leerlinginsights-panel textarea:focus {
  border-color: #499F96;
  box-shadow: 0 0 0 0.2rem rgba(82, 138, 145, 0.12);
}
#leerplandoelen-panel .btn,
#leerplandoelen-panel button,
#leerplandoelen-dashboard-panel .btn,
#leerplandoelen-dashboard-panel button,
#leerlinginsights-panel .btn,
#leerlinginsights-panel button {
  border-radius: 6px;
}
#leerplandoelen-panel .btn-primary,
#leerplandoelen-panel .btn-success,
#leerplandoelen-panel .btn-brand,
#leerplandoelen-panel .btn-outline-primary,
#leerplandoelen-dashboard-panel .btn-primary,
#leerplandoelen-dashboard-panel .btn-success,
#leerplandoelen-dashboard-panel .btn-brand,
#leerplandoelen-dashboard-panel .btn-outline-primary,
#leerlinginsights-panel .btn-primary,
#leerlinginsights-panel .btn-success,
#leerlinginsights-panel .btn-brand,
#leerlinginsights-panel .btn-outline-primary {
  padding: 12px !important;
  background-color: #499F96 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}
#leerplandoelen-panel .btn-primary:hover,
#leerplandoelen-panel .btn-success:hover,
#leerplandoelen-panel .btn-brand:hover,
#leerplandoelen-panel .btn-outline-primary:hover,
#leerplandoelen-dashboard-panel .btn-primary:hover,
#leerplandoelen-dashboard-panel .btn-success:hover,
#leerplandoelen-dashboard-panel .btn-brand:hover,
#leerplandoelen-dashboard-panel .btn-outline-primary:hover,
#leerlinginsights-panel .btn-primary:hover,
#leerlinginsights-panel .btn-success:hover,
#leerlinginsights-panel .btn-brand:hover,
#leerlinginsights-panel .btn-outline-primary:hover {
  background-color: rgb(47.7051282051, 78.2051282051, 135.2948717949) !important;
}
#leerplandoelen-panel .btn-outline-danger,
#leerplandoelen-panel .btn-outline-secondary,
#leerplandoelen-dashboard-panel .btn-outline-danger,
#leerplandoelen-dashboard-panel .btn-outline-secondary,
#leerlinginsights-panel .btn-outline-danger,
#leerlinginsights-panel .btn-outline-secondary {
  border-radius: 6px;
}
#leerplandoelen-panel .goal-dropdown-menu,
#leerplandoelen-dashboard-panel .goal-dropdown-menu,
#leerlinginsights-panel .goal-dropdown-menu {
  min-width: 260px;
}
#leerplandoelen-panel .goal-dropdown-menu--narrow,
#leerplandoelen-dashboard-panel .goal-dropdown-menu--narrow,
#leerlinginsights-panel .goal-dropdown-menu--narrow {
  min-width: 220px;
}
#leerplandoelen-panel .btn-secondary,
#leerplandoelen-dashboard-panel .btn-secondary,
#leerlinginsights-panel .btn-secondary {
  background-color: #3D64AD !important;
  border-color: #3D64AD !important;
  color: #1E1C23 !important;
}
#leerplandoelen-panel .btn-secondary:hover,
#leerplandoelen-dashboard-panel .btn-secondary:hover,
#leerlinginsights-panel .btn-secondary:hover {
  background-color: #499F96 !important;
  border-color: #499F96 !important;
  color: #ffffff !important;
}
#leerplandoelen-panel .btn-outline-primary,
#leerplandoelen-dashboard-panel .btn-outline-primary,
#leerlinginsights-panel .btn-outline-primary {
  background-color: transparent !important;
  color: #499F96 !important;
  border: 1px solid #499F96 !important;
}
#leerplandoelen-panel .btn-outline-primary:hover,
#leerplandoelen-dashboard-panel .btn-outline-primary:hover,
#leerlinginsights-panel .btn-outline-primary:hover {
  background-color: #499F96 !important;
  color: #ffffff !important;
}
#leerplandoelen-panel .table,
#leerplandoelen-dashboard-panel .table,
#leerlinginsights-panel .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}
#leerplandoelen-panel .table thead th,
#leerplandoelen-dashboard-panel .table thead th,
#leerlinginsights-panel .table thead th {
  background-color: rgb(235.86, 239.16, 252.14);
  color: #499F96;
  border-bottom: 1px solid rgba(82, 138, 145, 0.15);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#leerplandoelen-panel .table tbody td,
#leerplandoelen-dashboard-panel .table tbody td,
#leerlinginsights-panel .table tbody td {
  vertical-align: middle;
  color: #1E1C23;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background-color: #ffffff;
}
#leerplandoelen-panel .table tbody tr:hover td,
#leerplandoelen-dashboard-panel .table tbody tr:hover td,
#leerlinginsights-panel .table tbody tr:hover td {
  background-color: rgba(178, 201, 203, 0.08);
}
#leerplandoelen-panel .leerplandoel-opt,
#leerplandoelen-dashboard-panel .leerplandoel-opt,
#leerlinginsights-panel .leerplandoel-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(82, 138, 145, 0.18);
  border-radius: 6px;
  background: rgb(235.86, 239.16, 252.14);
  transition: all 0.2s ease;
}
#leerplandoelen-panel .leerplandoel-opt[hidden],
#leerplandoelen-dashboard-panel .leerplandoel-opt[hidden],
#leerlinginsights-panel .leerplandoel-opt[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#leerplandoelen-panel .leerplandoel-opt:hover,
#leerplandoelen-dashboard-panel .leerplandoel-opt:hover,
#leerlinginsights-panel .leerplandoel-opt:hover {
  border-color: rgba(82, 138, 145, 0.4);
}
#leerplandoelen-panel .leerplandoel-opt input[type=checkbox],
#leerplandoelen-dashboard-panel .leerplandoel-opt input[type=checkbox],
#leerlinginsights-panel .leerplandoel-opt input[type=checkbox] {
  margin-top: 0.2rem;
  accent-color: #499F96;
}
#leerplandoelen-panel .leerplandoel-opt strong,
#leerplandoelen-dashboard-panel .leerplandoel-opt strong,
#leerlinginsights-panel .leerplandoel-opt strong {
  color: #1E1C23;
}
#leerplandoelen-panel .leerplandoel-opt .text-muted,
#leerplandoelen-dashboard-panel .leerplandoel-opt .text-muted,
#leerlinginsights-panel .leerplandoel-opt .text-muted {
  color: #666666 !important;
}
#leerplandoelen-panel .progress,
#leerplandoelen-dashboard-panel .progress,
#leerlinginsights-panel .progress {
  background-color: rgba(178, 201, 203, 0.25);
  border-radius: 999px;
  overflow: hidden;
}
#leerplandoelen-panel .progress .progress-bar,
#leerplandoelen-dashboard-panel .progress .progress-bar,
#leerlinginsights-panel .progress .progress-bar {
  background: linear-gradient(90deg, #499F96, #EC6041);
  border-radius: 999px;
}

#leerplandoelen-dashboard-panel .card,
#leerlinginsights-panel .card {
  border-radius: 12px;
  border: 1px solid #3D64AD;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
#leerplandoelen-dashboard-panel .dashboard-summary-grid,
#leerlinginsights-panel .dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
#leerplandoelen-dashboard-panel .dashboard-metric-card,
#leerlinginsights-panel .dashboard-metric-card {
  background: linear-gradient(135deg, rgb(235.86, 239.16, 252.14), rgba(82, 138, 145, 0.06));
  border: 1px solid #3D64AD;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
#leerplandoelen-dashboard-panel .metric-label,
#leerlinginsights-panel .metric-label {
  font-size: 0.85rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#leerplandoelen-dashboard-panel .metric-value,
#leerlinginsights-panel .metric-value {
  font-size: clamp(1.2rem, 2vw, 2rem);
  color: #499F96;
  line-height: 1.2;
}
#leerplandoelen-dashboard-panel .dashboard-topbar,
#leerlinginsights-panel .dashboard-topbar {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  background: rgba(178, 201, 203, 0.08);
  border: 1px solid #3D64AD;
  border-radius: 12px;
}
#leerplandoelen-dashboard-panel .dashboard-donut-wrap,
#leerlinginsights-panel .dashboard-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
#leerplandoelen-dashboard-panel .dashboard-donut,
#leerlinginsights-panel .dashboard-donut {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
#leerplandoelen-dashboard-panel .dashboard-donut-inner,
#leerlinginsights-panel .dashboard-donut-inner {
  position: absolute;
  inset: 18px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #499F96;
  font-size: 1.2rem;
  border: 1px solid rgba(82, 138, 145, 0.1);
}
#leerplandoelen-dashboard-panel .dashboard-donut-inner small,
#leerlinginsights-panel .dashboard-donut-inner small {
  font-size: 0.75rem;
  font-weight: 500;
  color: #666666;
}
#leerplandoelen-dashboard-panel .insight-donut-card,
#leerlinginsights-panel .insight-donut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(178, 201, 203, 0.06);
  border: 1px solid #3D64AD;
  border-radius: 12px;
}
#leerplandoelen-dashboard-panel .insight-metric-card,
#leerlinginsights-panel .insight-metric-card {
  flex: 1 1 auto;
  background: #ffffff;
  border: 1px solid #3D64AD;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
#leerplandoelen-dashboard-panel .insight-metric-card .metric-value,
#leerlinginsights-panel .insight-metric-card .metric-value {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}
#leerplandoelen-dashboard-panel .insight-metric-card .metric-sub,
#leerlinginsights-panel .insight-metric-card .metric-sub {
  font-size: 0.75rem;
  color: #666666;
}
#leerplandoelen-dashboard-panel .insight-metric-badge,
#leerlinginsights-panel .insight-metric-badge {
  background: rgba(82, 138, 145, 0.12);
  color: #499F96;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
#leerplandoelen-dashboard-panel .insight-metric-badge.insight-metric-badge--success,
#leerlinginsights-panel .insight-metric-badge.insight-metric-badge--success {
  background: rgba(46, 160, 67, 0.12);
  color: #2ea043;
}
#leerplandoelen-dashboard-panel .dashboard-chart-legend,
#leerlinginsights-panel .dashboard-chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
#leerplandoelen-dashboard-panel .dashboard-legend-item,
#leerlinginsights-panel .dashboard-legend-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.4);
}
#leerplandoelen-dashboard-panel .legend-swatch,
#leerlinginsights-panel .legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
#leerplandoelen-dashboard-panel .legend-label,
#leerlinginsights-panel .legend-label {
  color: #1E1C23;
  font-weight: 600;
}
#leerplandoelen-dashboard-panel .legend-value,
#leerlinginsights-panel .legend-value {
  color: #666666;
  font-size: 0.85rem;
  font-weight: 700;
}
#leerplandoelen-dashboard-panel .dashboard-filter-form,
#leerlinginsights-panel .dashboard-filter-form {
  background: #ffffff;
  border: 1px solid #3D64AD;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
#leerplandoelen-dashboard-panel .dashboard-toggle-row,
#leerlinginsights-panel .dashboard-toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #1E1C23;
  font-weight: 600;
  cursor: pointer;
  margin: 0.25rem 0 0;
}
#leerplandoelen-dashboard-panel .dashboard-toggle-row input,
#leerlinginsights-panel .dashboard-toggle-row input {
  accent-color: #499F96;
  width: 1rem;
  height: 1rem;
}
#leerplandoelen-dashboard-panel .dashboard-table-wrapper,
#leerlinginsights-panel .dashboard-table-wrapper {
  background: #ffffff;
  border: 1px solid #3D64AD;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}
#leerplandoelen-dashboard-panel .dashboard-table,
#leerlinginsights-panel .dashboard-table {
  table-layout: fixed;
  width: 100%;
}
#leerplandoelen-dashboard-panel .dashboard-table th,
#leerlinginsights-panel .dashboard-table th {
  background-color: rgb(235.86, 239.16, 252.14);
  color: #499F96;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#leerplandoelen-dashboard-panel .dashboard-table th:nth-child(1), #leerplandoelen-dashboard-panel .dashboard-table td:nth-child(1),
#leerlinginsights-panel .dashboard-table th:nth-child(1),
#leerlinginsights-panel .dashboard-table td:nth-child(1) {
  width: 12%;
}
#leerplandoelen-dashboard-panel .dashboard-table th:nth-child(2), #leerplandoelen-dashboard-panel .dashboard-table td:nth-child(2),
#leerlinginsights-panel .dashboard-table th:nth-child(2),
#leerlinginsights-panel .dashboard-table td:nth-child(2) {
  width: 14%;
}
#leerplandoelen-dashboard-panel .dashboard-table th:nth-child(3), #leerplandoelen-dashboard-panel .dashboard-table td:nth-child(3),
#leerlinginsights-panel .dashboard-table th:nth-child(3),
#leerlinginsights-panel .dashboard-table td:nth-child(3) {
  width: 30%;
}
#leerplandoelen-dashboard-panel .dashboard-table th:nth-child(4), #leerplandoelen-dashboard-panel .dashboard-table td:nth-child(4),
#leerlinginsights-panel .dashboard-table th:nth-child(4),
#leerlinginsights-panel .dashboard-table td:nth-child(4) {
  width: 12%;
}
#leerplandoelen-dashboard-panel .dashboard-table th:nth-child(5), #leerplandoelen-dashboard-panel .dashboard-table td:nth-child(5),
#leerlinginsights-panel .dashboard-table th:nth-child(5),
#leerlinginsights-panel .dashboard-table td:nth-child(5) {
  width: 16%;
}
#leerplandoelen-dashboard-panel .dashboard-table th:nth-child(6), #leerplandoelen-dashboard-panel .dashboard-table td:nth-child(6),
#leerlinginsights-panel .dashboard-table th:nth-child(6),
#leerlinginsights-panel .dashboard-table td:nth-child(6) {
  width: 16%;
}
#leerplandoelen-dashboard-panel .dashboard-table td,
#leerlinginsights-panel .dashboard-table td {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  word-break: break-word;
}
#leerplandoelen-dashboard-panel .dashboard-description-cell,
#leerlinginsights-panel .dashboard-description-cell {
  max-width: 100%;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 0.75rem;
  vertical-align: top;
  line-height: 1.55;
}
#leerplandoelen-dashboard-panel .dashboard-description-cell::-webkit-scrollbar,
#leerlinginsights-panel .dashboard-description-cell::-webkit-scrollbar {
  width: 6px;
}
#leerplandoelen-dashboard-panel .dashboard-description-cell::-webkit-scrollbar-thumb,
#leerlinginsights-panel .dashboard-description-cell::-webkit-scrollbar-thumb {
  background: rgba(82, 138, 145, 0.35);
  border-radius: 999px;
}
#leerplandoelen-dashboard-panel .usage-mini-grid,
#leerlinginsights-panel .usage-mini-grid {
  display: grid;
  gap: 0.35rem;
}
#leerplandoelen-dashboard-panel .table thead th,
#leerlinginsights-panel .table thead th {
  background-color: rgb(235.86, 239.16, 252.14);
}

#leerplandoelenContainer {
  max-height: 250px;
  overflow-y: auto;
  background-color: #f8f9fa;
  border: 1px solid #3D64AD;
  border-radius: 6px;
  padding: 1rem;
}
#leerplandoelenContainer::-webkit-scrollbar {
  width: 6px;
}
#leerplandoelenContainer::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}
#leerplandoelenContainer::-webkit-scrollbar-thumb {
  background: rgba(82, 138, 145, 0.45);
  border-radius: 4px;
}

/* ==========================================================================
   Loginpagina's (leraar + leerling)
   Let op: gedeelde hero-layout staat in layout/_landing.scss.
   ========================================================================== */
.leraren_page, .studenten_page {
  /* Login card en meldingen */
}
.leraren_page .login-container, .studenten_page .login-container {
  max-width: 350px;
  margin-top: 30px;
}
.leraren_page .login-error, .studenten_page .login-error {
  background-color: #EC6041;
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 0.9rem;
}
.leraren_page, .studenten_page {
  /* Zorg dat de Google-knop zich nooit buiten de container duwt */
}
.leraren_page .google-login-button,
.leraren_page .google-login-button > div, .studenten_page .google-login-button,
.studenten_page .google-login-button > div {
  width: 100% !important;
  max-width: 100%;
}
.leraren_page, .studenten_page {
  /* Call-to-action stijl voor eventueel extra login-acties */
}
.leraren_page .student-register-trigger, .studenten_page .student-register-trigger {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.leraren_page .student-register-trigger:hover, .studenten_page .student-register-trigger:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  color: #ffffff;
}
.leraren_page, .studenten_page {
  /* Modal accenten binnen loginpagina's */
}
.leraren_page .modal-content, .studenten_page .modal-content {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(82, 138, 145, 0.15);
}
.leraren_page .modal-header, .studenten_page .modal-header {
  background: linear-gradient(135deg, rgba(82, 138, 145, 0.1), rgba(178, 201, 203, 0.18));
}
.leraren_page, .studenten_page {
  /* Terug-link onderaan formulieren */
}
.leraren_page .back-link-wrapper, .studenten_page .back-link-wrapper {
  margin-top: 15px;
}
.leraren_page .back-link-wrapper .back-link, .studenten_page .back-link-wrapper .back-link {
  color: #666666;
  text-decoration: none;
}
.leraren_page .back-link-wrapper .back-link:hover, .studenten_page .back-link-wrapper .back-link:hover {
  text-decoration: underline;
}
.leraren_page .logged-in-role, .studenten_page .logged-in-role {
  font-weight: bold;
  color: #499F96;
}
.leraren_page, .studenten_page {
  /* Standaard knoplook op de loginflow */
}
.leraren_page .btn, .studenten_page .btn {
  padding: 12px !important;
  background-color: #499F96 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}
.leraren_page .btn:hover, .studenten_page .btn:hover {
  background-color: rgb(47.7051282051, 78.2051282051, 135.2948717949) !important;
}
@media (max-width: 500px) {
  .leraren_page .main-field .wrapper_landing, .studenten_page .main-field .wrapper_landing {
    height: 47vh;
    right: -50%;
  }
}
.leraren_page .main-field .landing-message h1, .studenten_page .main-field .landing-message h1 {
  color: white !important;
}

.db_controle_page {
  background-color: rgb(239.48, 242.6, 248.44);
  color: #1E1C23;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.db_controle_page .sidebar {
  background-color: #ffffff;
  min-height: 100vh;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}
.db_controle_page .sidebar .sticky-top {
  top: 20px;
}
.db_controle_page .main-content {
  padding: 30px;
}
.db_controle_page .nav-link {
  color: #1E1C23;
}
.db_controle_page .nav-link.active {
  background-color: #499F96 !important;
  color: #ffffff !important;
}
.db_controle_page .btn-backup {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.db_controle_page .sql-box {
  background: #212529;
  color: #499F96;
  font-family: "Courier New", Courier, monospace;
  border-radius: 6px;
}

.wachtwoord-page .wachtwoord-container {
  max-width: 500px;
}
.wachtwoord-page .card {
  border-radius: 8px;
}

/* Dynamische platformkleuren uit de platforminstellingen. */
body h1 {
  color: var(--platform-heading-1, #EC6041) !important;
}

body h2 {
  color: var(--platform-heading-2, rgba(33, 37, 41, 0.75)) !important;
}

.beheer-shell,
.beheer-main {
  background-color: var(--platform-dashboard-bg, #f4f2ee);
}

.beheer-sidebar {
  background: var(--platform-dashboard-sidebar, #499F96);
}

body .card-header-icon,
body .nieuwe-functie-icoon,
body .integration-icon,
body .goal-picker-icon {
  background: var(--platform-icon-background, #f7d9d5) !important;
  color: var(--platform-icon-color, #7f1d7f) !important;
}

body .card-header-icon i,
body .nieuwe-functie-icoon i,
body .integration-icon i,
body .goal-picker-icon i {
  color: inherit !important;
}

.btn-brand,
.btn-primary,
.beheer .btn-brand,
.beheer .btn-primary {
  background-color: var(--platform-button, #EFB7B3) !important;
}

.btn-brand:hover,
.btn-primary:hover,
.beheer .btn-brand:hover,
.beheer .btn-primary:hover {
  background-color: var(--platform-button-hover, #d99e9a) !important;
}

body {
  color: var(--platform-text-color, #1E1C23);
  background-color: var(--platform-dashboard-bg, #f4f2ee) !important;
}

body .card,
body .option-card,
body .main-upload-card {
  background-color: var(--platform-surface-card, #ffffff);
}

body .navbar {
  background-color: var(--platform-navigation-background, #ffffff) !important;
  color: var(--platform-navigation-text, #1E1C23);
}

body .navbar a,
body .navbar .nav-link {
  color: var(--platform-navigation-text, #1E1C23) !important;
}

body .navbar a:hover,
body .navbar .nav-link:hover,
body .navbar .nav-link.active {
  color: var(--platform-navigation-hover, #499F96) !important;
}

body .text-muted {
  color: var(--platform-text-muted, #666666) !important;
}

body .bg-light,
body .bg-body-tertiary {
  background-color: var(--platform-surface-light-blue, #eef3fb) !important;
}

body .bg-success-subtle {
  background-color: color-mix(in srgb, var(--platform-status-success, #499F96) 14%, white) !important;
}

body .bg-info-subtle {
  background-color: color-mix(in srgb, var(--platform-status-info, #3D64AD) 14%, white) !important;
}

body .bg-warning-subtle {
  background-color: color-mix(in srgb, var(--platform-status-warning, #FAE4B0) 28%, white) !important;
}

body .border,
body .border-top,
body .border-bottom,
body .border-start,
body .border-end {
  border-color: var(--platform-border, #d9e1ee) !important;
}

body .text-primary,
body .link-primary {
  color: var(--platform-accent-blue, #3D64AD) !important;
}

body .text-success {
  color: var(--platform-status-success, #499F96) !important;
}

body .text-danger {
  color: var(--platform-status-danger, #EC6041) !important;
}

body .text-info {
  color: var(--platform-status-info, #3D64AD) !important;
}

body .text-warning {
  color: color-mix(in srgb, var(--platform-status-warning, #FAE4B0) 55%, black) !important;
}

body .bg-primary,
body .bg-info {
  background-color: var(--platform-status-info, #3D64AD) !important;
}

body .bg-success {
  background-color: var(--platform-status-success, #499F96) !important;
}

body .bg-warning {
  background-color: var(--platform-status-warning, #FAE4B0) !important;
}

body .bg-danger {
  background-color: var(--platform-status-danger, #EC6041) !important;
}

body .btn-outline-primary,
body .btn-outline-info {
  color: var(--platform-accent-blue, #3D64AD) !important;
  border-color: var(--platform-accent-blue, #3D64AD) !important;
}

body .btn-outline-primary:hover,
body .btn-outline-info:hover {
  color: #fff !important;
  background-color: var(--platform-accent-blue, #3D64AD) !important;
}

body .btn-outline-success {
  color: var(--platform-status-success, #499F96) !important;
  border-color: var(--platform-status-success, #499F96) !important;
}

body .btn-outline-success:hover {
  color: #fff !important;
  background-color: var(--platform-status-success, #499F96) !important;
}

body a:not(.btn) {
  color: var(--platform-link, var(--platform-accent-blue, #3D64AD));
}

body input:focus,
body textarea:focus,
body select:focus,
body .form-control:focus,
body .form-select:focus {
  border-color: var(--platform-form-focus, var(--platform-accent-green, #499F96)) !important;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--platform-form-focus, #499F96) 20%, transparent) !important;
}

body .annotatie-kleur[data-kleur=geel],
body .annotatie-geel {
  background-color: var(--platform-annotation-yellow, #ffd54f) !important;
}

body .annotatie-kleur[data-kleur=groen],
body .annotatie-groen {
  background-color: var(--platform-annotation-green, #81c784) !important;
}

body .annotatie-kleur[data-kleur=blauw],
body .annotatie-blauw {
  background-color: var(--platform-annotation-blue, #64b5f6) !important;
}

body .annotatie-kleur[data-kleur=rood],
body .annotatie-rood {
  background-color: var(--platform-annotation-red, #e57373) !important;
}

body .builder-toolbar,
body .builder-accent,
body [data-builder-accent] {
  border-color: var(--platform-builder-accent, #a259ff) !important;
}

body .dashboard-donut .empty,
body .dashboard-chart-empty,
body .legend-swatch.empty {
  background-color: var(--platform-chart-empty, #e9eef2) !important;
}

body .alert-info {
  --bs-alert-color: var(--platform-status-info);
  --bs-alert-bg: color-mix(in srgb, var(--platform-status-info) 12%, white);
  --bs-alert-border-color: color-mix(in srgb, var(--platform-status-info) 32%, white);
}

body .alert-success {
  --bs-alert-color: var(--platform-status-success);
  --bs-alert-bg: color-mix(in srgb, var(--platform-status-success) 12%, white);
  --bs-alert-border-color: color-mix(in srgb, var(--platform-status-success) 32%, white);
}

body .alert-warning {
  --bs-alert-color: color-mix(in srgb, var(--platform-status-warning) 55%, black);
  --bs-alert-bg: color-mix(in srgb, var(--platform-status-warning) 20%, white);
  --bs-alert-border-color: color-mix(in srgb, var(--platform-status-warning) 45%, white);
}

body .alert-danger {
  --bs-alert-color: var(--platform-status-danger);
  --bs-alert-bg: color-mix(in srgb, var(--platform-status-danger) 12%, white);
  --bs-alert-border-color: color-mix(in srgb, var(--platform-status-danger) 32%, white);
}

.site-notification-trigger {
  position: relative;
  color: inherit;
}

.site-notification-count {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 0.68rem;
  line-height: 17px;
  text-align: center;
}

.site-notification-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.25);
}

.site-notification-panel {
  position: fixed;
  z-index: 1050;
  top: 0;
  right: 0;
  width: min(390px, 92vw);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.16);
  transform: translateX(105%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.site-notification-panel.is-open {
  transform: translateX(0);
}

.site-notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid #e9ecef;
}

.site-notification-list {
  overflow-y: auto;
  flex: 1;
}

.site-notification-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  color: inherit;
  border-bottom: 1px solid #f1f3f5;
}

.site-notification-item .site-notification-open {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.site-notification-reply {
  margin-top: 0.5rem;
}

.site-notification-full {
  margin-top: 0.5rem;
  padding: 0.65rem;
  border-radius: 0.5rem;
  background: #f8f9fa;
  white-space: normal;
}

.site-notification-item:hover, .site-notification-item.is-unread {
  background: #f5f8ff;
}

.site-notification-item small {
  color: #6c757d;
}
