/* ============================================================
   Language Flow — Trainingen page styles
   trainingen.css — page-specific, loaded after style.css
   ============================================================ */

/* ---- Audience tab buttons (Alle / Particulier / Bedrijf) ---- */
.trn-sub-btn {
  padding: 6px 4px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 0.84rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  opacity: 0.45;
}

.trn-sub-btn:hover { opacity: 0.75; }

.trn-sub-btn.is-active {
  opacity: 1;
  border-bottom-color: #338aff;
}

/* ---- Format sub-tab buttons ---- */
.trn-fmt-btn {
  padding: 4px 10px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 0.76rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  cursor: pointer;
  transition: opacity 0.15s, border-color 0.15s;
  opacity: 0.45;
}

.trn-fmt-btn:hover { opacity: 0.75; }

.trn-fmt-btn.is-active {
  opacity: 1;
  border-bottom-color: #338aff;
}

/* ---- Two-column layout ---- */
.trn-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.trn-sidebar {
  background: #fff;
  border: 1.5px solid #edf2f7;
  border-radius: 14px;
  padding: 22px 20px;
  position: sticky;
  top: 88px;
}

.trn-sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  margin: 0 0 20px;
}

.trn-sidebar .fltr-group {
  margin-bottom: 18px;
}

.trn-sidebar .fltr-label {
  display: block;
  margin-bottom: 6px;
}

.trn-sidebar .fltr-select {
  width: 100%;
}

.trn-sidebar-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 18px 0;
}

.trn-sidebar-reset {
  width: 100%;
  padding: 9px;
  background: none;
  border: 1.5px solid #e2e8f0;
  border-radius: 5px;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  color: #64748b;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.trn-sidebar-reset:hover { border-color: #338aff; color: #338aff; }

/* ---- Sidebar pill-filter labels ---- */
.trn-sb-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

/* ---- Pill row (flex wrap) ---- */
.trn-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

/* ---- Individual filter button ---- */
.trn-pill-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 5px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.trn-pill-filter:hover {
  border-color: #338aff;
  color: #338aff;
  background: #f0f7ff;
}

.trn-pill-filter.is-active {
  background: #243954;
  border-color: #243954;
  color: #fff;
}

/* ---- Level grouping ---- */
.trn-level-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 4px;
}

.trn-level-cat {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #b0bec5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
  margin-bottom: 2px;
}

/* ---- Soort training category labels ---- */
.trn-cat-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #b0bec5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 10px;
  margin-bottom: 4px;
}

/* ---- "Weet ik niet" level link ---- */
.trn-unknown-level {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
  color: #338aff;
  cursor: pointer;
  padding: 3px 0 0;
  text-decoration: underline;
  display: inline-block;
}

.trn-unknown-level:hover { color: #1a6fd4; }

.trn-results { min-width: 0; padding-top: 0; }

/* ---- Sticky search bar ---- */
.trn-search-bar {
  position: sticky;
  top: 88px;
  z-index: 90;
  background: #fff;
  padding: 12px 0 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 860px) {
  .trn-layout { grid-template-columns: 1fr; }
  .trn-sidebar { display: none; }
}

/* ---- Audience toggle ---- */
.fltr-audience-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 28px 0 0;
  flex-wrap: wrap;
}

.fltr-audience-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  border: 2px solid #e2e8f0;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s;
}

.fltr-audience-btn:hover { border-color: #338aff; color: #338aff; }

.fltr-audience-btn.is-active {
  background: #243954;
  border-color: #243954;
  color: #fff;
}

/* ---- Finder panel ---- */
.fltr-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  border: 1px solid #edf2f7;
  padding: 22px 24px 18px;
  margin: 20px 0 0;
}

/* ---- Search input ---- */
.fltr-search {
  position: relative;
  margin-bottom: 18px;
}

.fltr-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
}

.fltr-search-input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  background: #f8fafc;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.fltr-search-input:focus {
  outline: none;
  border-color: #338aff;
  box-shadow: 0 0 0 3px rgba(51,138,255,0.1);
  background: #fff;
}

.fltr-search-input::placeholder { color: #94a3b8; }

/* ---- Filter grid ---- */
.fltr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.fltr-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fltr-label {
  font-size: 0.68rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.fltr-select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 9px 32px 9px 11px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.84rem;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  cursor: pointer;
  transition: border-color 0.18s;
}

.fltr-select:focus { outline: none; border-color: #338aff; }
.fltr-select.is-active { border-color: #338aff; background-color: #f0f7ff; color: #1a3a7c; }

/* ---- Level-unknown hint ---- */
.fltr-level-hint {
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-family: 'Poppins', sans-serif;
  color: #1e3a5f;
}

.fltr-level-hint.is-visible { display: flex; }
.fltr-level-hint p { margin: 0; flex: 1; }
.fltr-level-hint-btns { display: flex; gap: 8px; flex-shrink: 0; }

/* ---- Pills + actions row ---- */
.fltr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
}

.fltr-pills { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }

.fltr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 12px;
  background: #e8f0fe;
  border-radius: 100px;
  font-size: 0.77rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #1a3a7c;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.fltr-pill:hover { background: #d1e3fd; }
.fltr-pill-x { color: #6b83b0; font-size: 1rem; line-height: 1; }

.fltr-actions { display: flex; align-items: center; gap: 14px; }

.fltr-count {
  font-size: 0.81rem;
  font-family: 'Poppins', sans-serif;
  color: #64748b;
  white-space: nowrap;
}

.fltr-count strong { color: #243954; }

.fltr-reset {
  background: none;
  border: none;
  font-size: 0.81rem;
  font-family: 'Poppins', sans-serif;
  color: #338aff;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  white-space: nowrap;
}

/* ---- Mobile filter button ---- */
.fltr-mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: #243954;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .fltr-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .fltr-desktop-filters { display: none; }
  .fltr-mobile-btn { display: flex; }
  .fltr-panel { padding: 16px; }
}

/* ---- Mobile drawer ---- */
.fltr-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,45,0.5);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.fltr-drawer-overlay.is-open { opacity: 1; pointer-events: all; }

.fltr-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px 20px 40px;
  z-index: 801;
  transition: bottom 0.28s cubic-bezier(.4,0,.2,1);
  max-height: 90vh;
  overflow-y: auto;
}

.fltr-drawer.is-open { bottom: 0; }

.fltr-drawer-handle {
  width: 40px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 100px;
  margin: 0 auto 18px;
}

.fltr-drawer-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  margin-bottom: 16px;
}

.fltr-drawer .fltr-grid { grid-template-columns: 1fr; }

.fltr-drawer-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* ============================================================
   Course grid + cards
   ============================================================ */

.trn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

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

.trn-card {
  background: #fff;
  border: none;
  border-radius: 14px;
  border-left: 2px solid #e2e8f0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(17,28,53,0.06), 0 0 0 1px rgba(17,28,53,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  text-align: left;
}

.trn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(17,28,53,0.13), 0 0 0 1px rgba(17,28,53,0.06);
}

/* Format accent colors */
.trn-card--prive      { border-left-color: #338aff; }
.trn-card--klassikaal { border-left-color: #7c3aed; }
.trn-card--online     { border-left-color: #059669; }
.trn-card--incompany  { border-left-color: #FF751F; }
.trn-card--workshop   { border-left-color: #d97706; }
.trn-card--cultureel  { border-left-color: #e11d48; }

.trn-card-featured-tag {
  position: absolute;
  top: -1px;
  left: 20px;
  background: #FF751F;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.trn-card--prive      .trn-card-featured-tag { background: #338aff; }
.trn-card--klassikaal .trn-card-featured-tag { background: #7c3aed; }
.trn-card--online     .trn-card-featured-tag { background: #059669; }
.trn-card--incompany  .trn-card-featured-tag { background: #FF751F; }
.trn-card--workshop   .trn-card-featured-tag { background: #d97706; }
.trn-card--cultureel  .trn-card-featured-tag { background: #e11d48; }

.trn-card-compare {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #d0d9e8;
  cursor: pointer;
  font-size: 1.15rem;
  padding: 2px 4px;
  transition: color 0.15s;
  line-height: 1;
}

.trn-card-compare:hover { color: #338aff; }
.trn-card-compare.is-active { color: #338aff; }

.trn-card-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.67rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 9px;
}

.trn-card-title {
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  margin: 0 0 8px;
  line-height: 1.35;
  padding-right: 24px;
}

.trn-card-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

.trn-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.trn-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.trn-chip--level  { background: #eff6ff; color: #1d4ed8; }
.trn-chip--format { background: #fef3c7; color: #92400e; }
.trn-chip--loc    { background: #ecfdf5; color: #065f46; }
.trn-chip--duo    { background: #fff7ed; color: #c2410c; }

.trn-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.trn-card-price-label {
  font-size: 0.64rem;
  color: #94a3b8;
  font-family: 'Poppins', sans-serif;
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trn-card-price-value {
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
}

.trn-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 52px 24px;
  color: #64748b;
  font-family: 'Poppins', sans-serif;
}

.trn-no-results h3 { color: #243954; font-size: 1.05rem; margin-bottom: 6px; }

/* ============================================================
   Course detail modal (slide-in panel)
   ============================================================ */

.trn-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,45,0.55);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
  backdrop-filter: blur(2px);
}

.trn-overlay.is-open { opacity: 1; pointer-events: all; }

.trn-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(580px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 1001;
  overflow-y: auto;
  transition: right 0.28s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 36px rgba(0,0,0,0.12);
}

.trn-modal.is-open { right: 0; }

.trn-modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 14px 22px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.trn-modal-breadcrumb { font-size: 0.77rem; font-family: 'Poppins', sans-serif; color: #94a3b8; }

.trn-modal-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  display: flex;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.trn-modal-close:hover { background: #f1f5f9; color: #243954; }

.trn-modal-body { padding: 26px 24px 60px; }

.trn-modal-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #338aff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.trn-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  line-height: 1.25;
  margin: 0 0 8px;
}

.trn-modal-promise {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0 0 22px;
}

/* Summary grid */
.trn-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.trn-summary-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 11px 13px;
}

.trn-summary-label {
  font-size: 0.66rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.trn-summary-value {
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
}

/* Package selector */
.trn-packages { margin-bottom: 22px; }

.trn-packages-label {
  font-size: 0.72rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.trn-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.trn-pkg {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.17s, background 0.17s;
  position: relative;
}

.trn-pkg:hover { border-color: #338aff; background: #f8fbff; }
.trn-pkg.is-sel { border-color: #338aff; background: #eff6ff; }

.trn-pkg-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF751F;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
}

.trn-pkg-hours { font-size: 1rem; font-weight: 500; font-family: 'Poppins', sans-serif; color: #243954; margin-bottom: 3px; }
.trn-pkg-orig  { font-size: 0.72rem; color: #94a3b8; text-decoration: line-through; min-height: 16px; }
.trn-pkg-price { font-size: 1.1rem; font-weight: 500; font-family: 'Poppins', sans-serif; color: #243954; }
.trn-pkg-save  { font-size: 0.68rem; font-weight: 600; color: #16a34a; font-family: 'Poppins', sans-serif; margin-top: 2px; }

/* CTA panel */
.trn-modal-cta {
  background: #f8fafc;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.trn-modal-cta-label { font-size: 0.72rem; color: #94a3b8; font-family: 'Poppins', sans-serif; }
.trn-modal-cta-total { font-size: 1.3rem; font-weight: 500; font-family: 'Poppins', sans-serif; color: #243954; }

/* ---- Level selector (privéles CEFR tabs) ---- */
.trn-level-selector {
  margin: 20px 0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px;
}

.trn-level-selector-label {
  font-size: 0.68rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.trn-level-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.trn-level-tab {
  padding: 5px 14px;
  border-radius: 5px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}

.trn-level-tab:hover { border-color: #338aff; color: #338aff; }

.trn-level-tab.is-active {
  background: #243954;
  border-color: #243954;
  color: #fff;
}

.trn-level-tab--unknown {
  border-style: dashed;
  color: #64748b;
}
.trn-level-tab--unknown:hover { border-color: #338aff; color: #338aff; }
.trn-level-tab--unknown.is-active {
  background: #64748b;
  border-color: #64748b;
  border-style: solid;
  color: #fff;
}

.trn-level-intake-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-family: 'Poppins', sans-serif;
  color: #c2410c;
  margin-bottom: 10px;
  line-height: 1.4;
}

.trn-level-intro {
  font-size: 0.84rem;
  color: #243954;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin: 0 0 12px;
}

.trn-level-outcomes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trn-level-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  color: #4a5568;
  line-height: 1.5;
}

/* ---- Duo lesson toggle ---- */
.trn-duo-toggle {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
}

.trn-duo-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  font-family: 'Poppins', sans-serif;
  color: #243954;
}

.trn-duo-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #FF751F;
  cursor: pointer;
  flex-shrink: 0;
}

.trn-duo-label strong { color: #FF751F; }

.trn-duo-note {
  font-size: 0.74rem;
  color: #92400e;
  font-family: 'Poppins', sans-serif;
  margin-top: 6px;
  padding-left: 26px;
}

/* Trust row */
.trn-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
}

.trn-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-family: 'Poppins', sans-serif;
  color: #4a5568;
}

/* Accordion sections */
.trn-section {
  border-top: 1px solid #f1f5f9;
  padding: 14px 0;
}

.trn-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #243954;
}

.trn-section-toggle svg { transition: transform 0.2s; color: #94a3b8; flex-shrink: 0; }
.trn-section.is-open .trn-section-toggle svg { transform: rotate(180deg); }

.trn-section-body {
  display: none;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.72;
  font-family: 'Poppins', sans-serif;
}

.trn-section.is-open .trn-section-body { display: block; }
.trn-section-body ul { margin: 6px 0 0; padding-left: 18px; }
.trn-section-body li { margin-bottom: 4px; }
.trn-section-body p { margin: 0 0 8px; }
.trn-section-body strong { color: #243954; font-weight: 600; }
.trn-section-body a { color: #338aff; }

/* ============================================================
   Recommendation quiz modal
   ============================================================ */

.trn-quiz-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,45,0.6);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
  backdrop-filter: blur(2px);
}

.trn-quiz-overlay.is-open { opacity: 1; pointer-events: all; }

.trn-quiz-modal {
  background: #fff;
  border-radius: 20px;
  width: min(500px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.trn-quiz-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 4px 8px;
  border-radius: 8px;
  line-height: 1;
}

.trn-quiz-close:hover { background: #f1f5f9; color: #243954; }

.trn-quiz-progress { display: flex; gap: 6px; margin-bottom: 24px; }

.trn-quiz-dot {
  height: 3px;
  flex: 1;
  border-radius: 100px;
  background: #e2e8f0;
  transition: background 0.2s;
}

.trn-quiz-dot.done { background: #338aff; }

.trn-quiz-q {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  margin-bottom: 18px;
}

.trn-quiz-opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 22px;
}

.trn-quiz-opt {
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.86rem;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  background: #fff;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.trn-quiz-opt:hover { border-color: #338aff; background: #f0f7ff; }
.trn-quiz-opt.sel   { border-color: #338aff; background: #eff6ff; color: #1a3a7c; font-weight: 500; }

.trn-quiz-nav { display: flex; justify-content: space-between; align-items: center; }

.trn-quiz-result-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.trn-quiz-result-card:hover { border-color: #338aff; box-shadow: 0 4px 14px rgba(51,138,255,0.1); }
.trn-quiz-result-eyebrow { font-size: 0.68rem; font-weight: 500; color: #338aff; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; font-family: 'Poppins', sans-serif; }
.trn-quiz-result-card h4 { font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: #243954; margin: 0 0 4px; font-weight: 600; }
.trn-quiz-result-card p  { font-size: 0.81rem; color: #64748b; margin: 0 0 6px; }
.trn-quiz-result-price   { font-size: 0.82rem; font-weight: 500; color: #243954; font-family: 'Poppins', sans-serif; }

/* ============================================================
   Comparison bar
   ============================================================ */

.trn-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #243954;
  padding: 12px 24px;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.24s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trn-compare-bar.is-visible { transform: translateY(0); }

.trn-compare-slots { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.trn-compare-slot {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.trn-compare-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.trn-compare-remove:hover { color: #fff; }

.trn-compare-clear {
  background: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.trn-compare-clear:hover { border-color: #fff; color: #fff; }

/* ============================================================
   Other languages + quiz CTA sections
   ============================================================ */

.trn-other-langs {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 32px;
  margin-top: 36px;
  text-align: center;
}

.trn-other-langs h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #243954;
  margin: 0 0 8px;
  font-weight: 600;
}

.trn-other-langs p {
  font-size: 0.86rem;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto 18px;
  line-height: 1.72;
}

.trn-lang-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 18px;
}

.trn-lang-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.79rem;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.trn-quiz-cta {
  background: linear-gradient(135deg, #243954 0%, #1a3a7c 100%);
  border-radius: 16px;
  padding: 36px;
  margin: 36px 0 0;
  text-align: center;
  color: #fff;
}

.trn-quiz-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: #fff;
  font-weight: 600;
}

.trn-quiz-cta p {
  font-size: 0.87rem;
  color: rgba(220,230,245,0.7);
  margin: 0 0 20px;
}

/* ============================================================
   Course detail modal — Babel-inspired redesign
   ============================================================ */

/* Spec icon bar */
.trn-spec-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #edf2f7;
}

.trn-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trn-spec-item svg {
  color: #338aff;
  flex-shrink: 0;
  margin-top: 2px;
}

.trn-spec-label {
  font-size: 0.62rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

.trn-spec-value {
  font-size: 0.84rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  line-height: 1.35;
}

/* Content blocks */
.trn-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.trn-block-heading {
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  margin: 0 0 14px;
}

.trn-block-text {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.72;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* Outcomes list */
.trn-outcomes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.trn-outcomes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  font-family: 'Poppins', sans-serif;
  color: #4a5568;
  line-height: 1.55;
}

.trn-outcomes-list li svg { flex-shrink: 0; margin-top: 2px; }
.trn-outcomes-list li span { flex: 1; }

/* Package grid — 2 columns (was 3) */
.trn-pkg-grid { grid-template-columns: repeat(2, 1fr); }

/* Schedule options (groepscursus) */
.trn-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.trn-schedule-option {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: border-color 0.15s;
}

.trn-schedule-option:hover { border-color: #338aff; }

.trn-schedule-freq {
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #338aff;
  margin-bottom: 5px;
}

.trn-schedule-days {
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954;
  line-height: 1.4;
}

.trn-schedule-note {
  font-size: 0.7rem;
  color: #94a3b8;
  font-family: 'Poppins', sans-serif;
  margin-top: 4px;
}

/* Group minimum participants notice */
.trn-group-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff3e0;
  border: 1px solid #fb923c;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #c2410c;
  margin-bottom: 20px;
}

.trn-pkg-sub {
  font-size: 0.7rem;
  color: #94a3b8;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

/* ---- Schedule option — selectable ---- */
.trn-schedule-option {
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.trn-schedule-option.is-sel {
  border-color: #243954;
  background: #f0f4f8;
}
.trn-schedule-option:hover:not(.is-sel) {
  border-color: #338aff;
}

/* ---- Enrollment form ---- */
.trn-enroll-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #5a7090;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: color 0.15s;
}
.trn-enroll-back:hover { color: #243954; }

.trn-enroll-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}
.trn-enroll-chip {
  background: #f0f4f8;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: #243954;
  font-weight: 500;
  padding: 4px 12px;
}

.trn-enroll-group-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff3e0;
  border: 1px solid #fb923c;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #c2410c;
  margin-bottom: 16px;
}

.trn-enroll-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.trn-enroll-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.trn-enroll-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #243954;
}
.trn-enroll-req { color: #ef4444; }
.trn-enroll-input {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #243954;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.trn-enroll-input:focus { border-color: #338aff; }
.trn-enroll-textarea { resize: vertical; }
.trn-enroll-submit {
  width: 100%;
  margin-top: 4px;
}

.trn-enroll-success {
  text-align: center;
  padding: 24px 0;
}
.trn-enroll-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ---- Course start date ---- */
.trn-card-start {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: #338aff;
  font-weight: 500;
  margin-bottom: 8px;
}
.trn-card-start strong { font-weight: 500; }

.trn-start-callout {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #1e40af;
  font-weight: 500;
  margin-bottom: 12px;
}
.trn-start-callout strong { font-weight: 500; }

/* ---- Location selector (groepscursus) ---- */
.trn-location-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trn-location-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  color: #243954;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.trn-location-option:hover:not(.is-sel) { border-color: #338aff; }
.trn-location-option.is-sel {
  border-color: #243954;
  background: #f0f4f8;
}
