/* ============================================================
   V-PCN Platform — Frontend Styles
   Palet: Olijf #3D3E27 · Linnen #DBD2BF · Brons #AD7E3A
   ============================================================ */


:root {
  /* ── Nieuw palet ── */
  --vp-olive:        #3D3E27;   /* hoofdkleur — donker olijf */
  --vp-olive-mid:    #5C5E3A;   /* iets lichter olijf */
  --vp-olive-light:  #EDECD8;   /* heel licht olijf, achtergrond */
  --vp-linen:        #DBD2BF;   /* steunkleur — warm linnen */
  --vp-linen-light:  #F2EEE6;   /* lichte linnen achtergrond */
  --vp-linen-dark:   #C4BAA6;   /* donkerder linnen, borders */
  --vp-bronze:       #AD7E3A;   /* accentkleur — brons/amber */
  --vp-bronze-dark:  #8E6529;   /* hover staat brons */
  --vp-bronze-light: #F2E8D6;   /* lichte brons tint */

  /* ── Semantische aliassen ── */
  --vp-green:        var(--vp-bronze);       /* legacy compat — links/accenten */
  --vp-green-dark:   var(--vp-olive);        /* legacy compat — donkere vlakken */
  --vp-green-light:  var(--vp-bronze-light); /* legacy compat — lichte accenten */
  --vp-green-muted:  var(--vp-linen);        /* legacy compat — gedempte kleur */
  --vp-sand:         var(--vp-linen-light);
  --vp-sand-dark:    var(--vp-linen);
  --vp-amber:        var(--vp-bronze);
  --vp-red:          #C0392B;
  --vp-text:         var(--vp-olive);
  --vp-text-muted:   #6B6750;
  --vp-text-light:   #A89E8A;
  --vp-white:        #FFFEFB;
  --vp-border:       var(--vp-linen-dark);
  --vp-radius:       4px;
  --vp-radius-sm:    3px;
  --vp-shadow:       0 2px 8px rgba(61,62,39,.08);
  --vp-shadow-lg:    0 8px 32px rgba(61,62,39,.13);
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* ── Reset & base ─────────────────────────────────────────── */
.vpcn *, .vpcn-auth-wrap * {
  box-sizing: border-box;
}

.vpcn {
  font-family: var(--font-body);
  color: var(--vp-text);
  line-height: 1.6;
}

/* ── Auth layout (login / register / forgot) ─────────────── */
.vpcn-auth-wrap {
  display: flex;
  min-height: 100vh;
  font-family: var(--font-body);
}

.vpcn-auth-left {
  flex: 1;
  background: var(--vp-olive);
  background-image:
    radial-gradient(ellipse at 80% 15%, rgba(173,126,58,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 85%, rgba(92,94,58,.5) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.vpcn-auth-left::before {
  content: '';
  position: absolute;
  top: -120px; right: -60px;
  width: 380px; height: 380px;
  background: rgba(255,255,255,.04);
  border-radius: 53% 47% 61% 39% / 47% 53% 47% 53%;
}

.vpcn-auth-left::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  background: rgba(173,126,58,.1);
  border-radius: 71% 29% 44% 56% / 44% 71% 29% 56%;
}

.vpcn-auth-brand {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -1.5px;
  position: relative; z-index: 1;
}

.vpcn-auth-tagline {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  max-width: 360px;
  line-height: 1.75;
  position: relative; z-index: 1;
}

.vpcn-auth-features {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative; z-index: 1;
}

.vpcn-auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.vpcn-auth-feature-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--vp-bronze);
  flex-shrink: 0;
}

.vpcn-auth-right {
  flex: 1;
  min-width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 52px;
  background: var(--vp-linen-light);
  overflow-y: auto;
}

.vpcn-auth-inner {
  max-width: 400px;
  width: 100%;
  margin-left: 0;
}

.vpcn-auth-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--vp-olive);
  margin: 0 0 6px;
  letter-spacing: -.5px;
}

.vpcn-auth-sub {
  color: var(--vp-text-muted);
  font-size: 15px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.vpcn-auth-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--vp-text-muted);
}

.vpcn-auth-link a {
  color: var(--vp-bronze);
  font-weight: 600;
  text-decoration: none;
}
.vpcn-auth-link a:hover { text-decoration: underline; }

/* ── Form elements ────────────────────────────────────────── */
.vp-form-group {
  margin-bottom: 18px;
}

.vp-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--vp-olive);
  margin-bottom: 6px;
  letter-spacing: .01em;
}

.vp-input,
.vp-select,
.vp-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--vp-linen-dark);
  border-radius: var(--vp-radius);
  font-size: 15px;
  color: var(--vp-olive);
  background: var(--vp-white);
  outline: none;
  font-family: var(--font-body);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}

.vp-select {
  background-image: 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='%23AD7E3A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.vp-input:focus,
.vp-select:focus,
.vp-textarea:focus {
  border-color: var(--vp-bronze);
  background: var(--vp-white);
  box-shadow: 0 0 0 3px rgba(173,126,58,.14);
}

.vp-input::placeholder { color: var(--vp-text-light); }

.vp-textarea {
  resize: vertical;
  min-height: 110px;
  border-radius: var(--vp-radius);
}

.vp-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vp-input-hint {
  font-size: 12px;
  color: var(--vp-text-muted);
  margin-top: 4px;
}

/* Checkbox tags */
.vp-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.vp-checkbox-tag input { display: none; }

.vp-checkbox-tag label {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--vp-linen-dark);
  background: var(--vp-white);
  color: var(--vp-text-muted);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}

.vp-checkbox-tag input:checked + label {
  background: var(--vp-bronze-light);
  border-color: var(--vp-bronze);
  color: var(--vp-olive);
}

/* ── Buttons ──────────────────────────────────────────────── */
.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--vp-radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
  font-family: var(--font-body);
  letter-spacing: .01em;
}

.vp-btn--primary {
  background: var(--vp-bronze);
  color: #fff;
  box-shadow: 0 3px 12px rgba(173,126,58,.28);
}
.vp-btn--primary:hover {
  background: var(--vp-bronze-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(173,126,58,.36);
  color: #fff;
}

.vp-btn--outline {
  background: transparent;
  color: var(--vp-bronze);
  border: 1.5px solid var(--vp-linen-dark);
}
.vp-btn--outline:hover {
  background: var(--vp-bronze-light);
  border-color: var(--vp-bronze);
}

.vp-btn--sand {
  background: var(--vp-linen);
  color: var(--vp-olive);
}
.vp-btn--sand:hover { background: var(--vp-linen-dark); }

.vp-btn--full   { width: 100%; }
.vp-btn--sm     { padding: 7px 16px; font-size: 13px; }
.vp-btn--lg     { padding: 15px 34px; font-size: 16px; }
.vp-btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Alerts / feedback ────────────────────────────────────── */
.vp-alert {
  padding: 13px 16px;
  border-radius: var(--vp-radius);
  font-size: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.vp-alert--success { background: var(--vp-bronze-light); color: var(--vp-olive);  border: 1px solid rgba(173,126,58,.3); }
.vp-alert--error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.vp-alert--warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

/* ── Steps wizard (registratie) ───────────────────────────── */
.vp-steps {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}

.vp-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vp-step-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--vp-linen-dark);
  background: var(--vp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--vp-text-muted);
  flex-shrink: 0;
  transition: all .2s;
}

.vp-step.active .vp-step-dot {
  background: var(--vp-bronze);
  border-color: var(--vp-bronze);
  color: #fff;
}

.vp-step.done .vp-step-dot {
  background: var(--vp-linen);
  border-color: var(--vp-linen-dark);
  color: var(--vp-olive);
}

.vp-step-label {
  font-size: 12px; font-weight: 600;
  color: var(--vp-text-light);
  display: none;
}

.vp-step.active .vp-step-label { color: var(--vp-bronze); display: block; }

.vp-step-line {
  flex: 1;
  height: 2px;
  background: var(--vp-linen-dark);
  margin: 0 6px;
}

.vp-step.done + .vp-step-line { background: var(--vp-linen); }

.vp-step-panel { display: none; }
.vp-step-panel.active { display: block; }

/* ── Status tracker ───────────────────────────────────────── */
.vp-status-tracker {
  background: var(--vp-white);
  border: 1px solid var(--vp-linen-dark);
  border-radius: var(--vp-radius);
  padding: 28px;
  margin-bottom: 24px;
}

.vp-status-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--vp-olive);
  margin: 0 0 20px;
}

.vp-status-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.vp-status-steps::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 2px;
  background: var(--vp-linen-dark);
  z-index: 0;
}

.vp-status-step {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.vp-status-step-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--vp-white);
  border: 2px solid var(--vp-linen-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px; font-weight: 700;
}

.vp-status-step.done .vp-status-step-dot {
  background: var(--vp-bronze);
  border-color: var(--vp-bronze);
  color: #fff;
}

.vp-status-step.active .vp-status-step-dot {
  background: var(--vp-white);
  border-color: var(--vp-bronze);
  box-shadow: 0 0 0 4px rgba(173,126,58,.15);
}

.vp-status-step-label {
  font-size: 14px; font-weight: 600;
  color: var(--vp-text-muted);
  padding-top: 2px;
}

.vp-status-step.done .vp-status-step-label   { color: var(--vp-olive); }
.vp-status-step.active .vp-status-step-label { color: var(--vp-bronze); }

.vp-status-step-sub {
  font-size: 12px;
  color: var(--vp-text-light);
}

/* ── Account layout ───────────────────────────────────────── */
.vpcn-account-wrap {
  max-width: 880px;
  margin: 48px auto;
  padding: 0 20px;
  font-family: var(--font-body);
}

.vpcn-account-header {
  background: var(--vp-olive);
  background-image:
    radial-gradient(ellipse at 90% 20%, rgba(173,126,58,.3) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(92,94,58,.4) 0%, transparent 50%);
  border-radius: var(--vp-radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.vpcn-account-header::after {
  content: '';
  position: absolute;
  right: -60px; top: -80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.04);
  border-radius: 53% 47% 61% 39% / 47% 53% 47% 53%;
}

.vpcn-account-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  position: relative; z-index: 1;
}

.vpcn-account-info { position: relative; z-index: 1; }

.vpcn-account-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.vpcn-account-email {
  color: rgba(255,255,255,.65);
  font-size: 14px;
}

/* Account nav tabs */
.vpcn-account-nav {
  display: flex;
  gap: 2px;
  background: var(--vp-linen);
  border-radius: 3px;
  padding: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.vpcn-account-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--vp-text-muted);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s;
  border: none;
  background: none;
  font-family: var(--font-body);
}

.vpcn-account-tab:hover { color: var(--vp-olive); }
.vpcn-account-tab.active {
  background: var(--vp-white);
  color: var(--vp-olive);
  box-shadow: var(--vp-shadow);
  font-weight: 600;
}

.vpcn-account-panel { display: none; }
.vpcn-account-panel.active { display: block; }

/* ── Section cards ────────────────────────────────────────── */
.vp-section {
  background: var(--vp-white);
  border: 1px solid var(--vp-linen-dark);
  border-radius: var(--vp-radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.vp-section-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--vp-linen);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--vp-linen-light);
}

.vp-section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--vp-olive);
  margin: 0;
}

.vp-section-body { padding: 22px; }

/* ── Upload area ──────────────────────────────────────────── */
.vp-upload-area {
  border: 2px dashed var(--vp-linen-dark);
  border-radius: var(--vp-radius);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--vp-linen-light);
}

.vp-upload-area:hover,
.vp-upload-area.drag-over {
  border-color: var(--vp-bronze);
  background: var(--vp-bronze-light);
}

.vp-upload-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  color: var(--vp-text-muted);
}

.vp-upload-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--vp-olive);
  margin-bottom: 4px;
}

.vp-upload-sub {
  font-size: 13px;
  color: var(--vp-text-muted);
}

.vp-uploaded-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.vp-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--vp-linen-light);
  border: 1px solid var(--vp-linen-dark);
  border-radius: var(--vp-radius);
  font-size: 13px;
}

.vp-file-name { flex: 1; font-weight: 600; color: var(--vp-olive); }
.vp-file-size { color: var(--vp-text-muted); }

.vp-file-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--vp-text-muted);
  padding: 2px;
  border-radius: 2px;
  transition: color .12s;
}
.vp-file-remove:hover { color: var(--vp-red); }

/* ── Badge ────────────────────────────────────────────────── */
.vp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 12px; font-weight: 600;
}

.vp-badge--green  { background: var(--vp-bronze-light); color: var(--vp-olive); }
.vp-badge--amber  { background: #FEF3C7; color: #92400E; }
.vp-badge--red    { background: #FEF2F2; color: #991B1B; }
.vp-badge--sand   { background: var(--vp-linen); color: var(--vp-text-muted); }

/* ── Coach database (publiek) ─────────────────────────────── */
.vpcn-coaches-wrap {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  font-family: var(--font-body);
  background: transparent;
}

.vpcn-coaches-header {
  padding: 40px 0 8px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: 24px;
}

.vpcn-coaches-title {
  font-family: var(--font-display) !important;
  font-size: clamp(26px, 4vw, 38px) !important;
  color: var(--vp-olive) !important;
  margin: 0 0 6px !important;
  letter-spacing: -.5px !important;
  font-weight: 700 !important;
}

.vpcn-coaches-sub {
  font-size: 15px !important;
  color: var(--vp-text-muted) !important;
  margin: 0 !important;
}

/* Filter bar */
.vpcn-filter-bar {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  background: var(--vp-white) !important;
  border: 1.5px solid var(--vp-linen-dark) !important;
  border-radius: var(--vp-radius) !important;
  padding: 16px 20px !important;
  max-width: var(--container-max-width) !important;
  margin: 16px auto 0 !important;
}

.vpcn-filter-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 !important;
  min-width: 160px !important;
}

.vpcn-filter-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--vp-text-muted);
}

/* View toggles */
.vpcn-view-toggle {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--vp-linen-dark);
  border-radius: var(--vp-radius);
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-end;
}

.vpcn-view-btn {
  padding: 9px 12px;
  background: var(--vp-white);
  border: none;
  cursor: pointer;
  color: var(--vp-text-muted);
  transition: all .12s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vpcn-view-btn.active,
.vpcn-view-btn:hover {
  background: var(--vp-bronze-light);
  color: var(--vp-bronze);
}

/* Results bar */
.vpcn-results-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: var(--container-max-width) !important;
  margin: 14px auto 12px !important;
  padding: 0 4px !important;
}

.vpcn-results-count {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--vp-olive) !important;
}

/* Split container */
.vpcn-split-layout {
  display: grid !important;
  grid-template-columns: 400px 1fr !important;
  gap: 20px !important;
  max-width: var(--container-max-width) !important;
  margin: 0 auto !important;
  align-items: start !important;
}

/* List pane */
.vpcn-split-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  max-height: calc(100vh - 240px) !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--vp-linen-dark) transparent !important;
}
.vpcn-split-list::-webkit-scrollbar { width: 4px; }
.vpcn-split-list::-webkit-scrollbar-track { background: transparent; }
.vpcn-split-list::-webkit-scrollbar-thumb { background: var(--vp-linen-dark); border-radius: 4px; }

/* Coach list card */
.vpcn-list-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: var(--vp-white) !important;
  border: 1.5px solid var(--vp-linen-dark) !important;
  border-radius: var(--vp-radius) !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: border-color .15s, box-shadow .15s !important;
  text-decoration: none !important;
  color: var(--vp-olive) !important;
}
.vpcn-list-card:hover,
.vpcn-list-card.active {
  border-color: var(--vp-bronze) !important;
  box-shadow: 0 3px 14px rgba(173,126,58,.14) !important;
}
.vpcn-list-card--noloc {
  opacity: .6;
}
.vpcn-list-card--noloc:hover {
  opacity: 1;
}

.vpcn-list-avatar {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: var(--vp-bronze-light) !important;
  color: var(--vp-olive) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}
.vpcn-list-avatar img { width:100%;height:100%;object-fit:cover; }
.vpcn-list-info { flex: 1; min-width: 0; }
.vpcn-list-name {
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--vp-olive) !important;
  margin: 0 0 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.vpcn-list-city {
  font-size: 12px !important;
  color: var(--vp-text-muted) !important;
  margin: 0 0 6px !important;
}
.vpcn-list-tags {
  display: flex !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
}
.vpcn-list-tag {
  font-size: 11px !important;
  background: var(--vp-bronze-light) !important;
  color: var(--vp-olive) !important;
  padding: 2px 8px !important;
  border-radius: 2px !important;
  white-space: nowrap !important;
}
.vpcn-list-arrow {
  color: var(--vp-linen-dark) !important;
  flex-shrink: 0 !important;
}

/* Map pane */
.vpcn-split-map {
  position: sticky !important;
  top: 80px !important;
  border-radius: var(--vp-radius) !important;
  overflow: hidden !important;
  box-shadow: var(--vp-shadow-lg) !important;
  border: 1.5px solid var(--vp-linen-dark) !important;
}
#vpcn-leaflet-map {
  height: calc(100vh - 240px) !important;
  min-height: 500px !important;
  width: 100% !important;
}

/* Laadindicator */
.vpcn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  gap: 12px;
  color: var(--vp-text-muted);
  font-size: 15px;
}

.vpcn-spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--vp-linen-dark);
  border-top-color: var(--vp-bronze);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* No results */
.vpcn-no-results {
  text-align: center !important;
  padding: 40px 20px !important;
  color: var(--vp-text-muted) !important;
}
.vpcn-no-results svg { opacity: .4; margin-bottom: 12px; }

/* CTA onderaan coaches */
.vpcn-coaches-cta {
  margin: 48px auto !important;
  max-width: var(--container-max-width) !important;
  background: var(--vp-olive) !important;
  border-radius: var(--vp-radius) !important;
  padding: 48px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}
.vpcn-coaches-cta::before {
  content: '';
  position: absolute; top: -60px; right: -40px;
  width: 240px; height: 240px;
  background: rgba(173,126,58,.12);
  border-radius: 53% 47% 61% 39% / 47% 53% 47% 53%;
}
.vpcn-coaches-cta h2 {
  font-family: var(--font-display) !important;
  font-size: 26px !important; color: #fff !important;
  margin: 0 0 10px !important;
}
.vpcn-coaches-cta p {
  color: rgba(255,255,255,.75) !important;
  margin: 0 auto 24px !important;
  max-width: 400px !important;
}

/* ── WYSIWYG bio editor ───────────────────────────────────── */
.vpcn-wysiwyg-toolbar {
  display: flex !important;
  gap: 4px !important;
  padding: 8px 10px !important;
  background: var(--vp-linen-light) !important;
  border: 1.5px solid var(--vp-linen-dark) !important;
  border-bottom: none !important;
  border-radius: var(--vp-radius) var(--vp-radius) 0 0 !important;
}
.vpcn-wysiwyg-toolbar button {
  background: var(--vp-white) !important;
  border: 1px solid var(--vp-linen-dark) !important;
  border-radius: 2px !important;
  padding: 4px 10px !important;
  cursor: pointer !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--vp-olive) !important;
}
.vpcn-wysiwyg-toolbar button:hover { background: var(--vp-bronze-light) !important; }
.vpcn-wysiwyg-body {
  min-height: 160px !important;
  padding: 14px 16px !important;
  border: 1.5px solid var(--vp-linen-dark) !important;
  border-radius: 0 0 var(--vp-radius) var(--vp-radius) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: var(--vp-olive) !important;
  background: var(--vp-white) !important;
  outline: none !important;
}
.vpcn-wysiwyg-body:focus { border-color: var(--vp-bronze) !important; }
.vpcn-wysiwyg-body ul { padding-left: 20px; }

/* ── Standalone pagina's (login/register — geen thema) ─────── */
body.vpcn-standalone,
body.vpcn-standalone * {
  box-sizing: border-box !important;
}
body.vpcn-standalone {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--vp-linen-light) !important;
  font-family: var(--font-body) !important;
}
body.vpcn-standalone .vpcn-auth-wrap {
  display: flex !important;
  min-height: 100vh !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.vpcn-standalone .vpcn-auth-left {
  display: flex !important;
  flex: 0 0 42% !important;
}
body.vpcn-standalone .vpcn-auth-right {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
body.vpcn-standalone .vp-input,
body.vpcn-standalone .vp-select,
body.vpcn-standalone .vp-textarea {
  display: block !important;
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid var(--vp-linen-dark) !important;
  border-radius: var(--vp-radius) !important;
  font-size: 15px !important;
  background: var(--vp-white) !important;
  color: var(--vp-olive) !important;
  font-family: var(--font-body) !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
body.vpcn-standalone .vp-input:focus,
body.vpcn-standalone .vp-select:focus {
  border-color: var(--vp-bronze) !important;
  box-shadow: 0 0 0 3px rgba(173,126,58,.14) !important;
}
body.vpcn-standalone .vp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 26px !important;
  border-radius: var(--vp-radius) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  font-family: var(--font-body) !important;
  line-height: 1 !important;
}
body.vpcn-standalone .vp-btn--primary {
  background: var(--vp-bronze) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(173,126,58,.28) !important;
}
body.vpcn-standalone .vp-btn--primary:hover {
  background: var(--vp-bronze-dark) !important;
  color: #fff !important;
}
body.vpcn-standalone .vp-btn--full { width: 100% !important; }

/* ── V-PCN page (account/coaches/detail — via thema) ──────── */
body.vpcn-page {
  background: var(--vp-linen-light) !important;
}

body.vpcn-page .vp-input,
body.vpcn-page .vp-select,
body.vpcn-page .vp-textarea {
  display: block !important;
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid var(--vp-linen-dark) !important;
  border-radius: var(--vp-radius) !important;
  font-size: 15px !important;
  background: var(--vp-white) !important;
  color: var(--vp-olive) !important;
  font-family: var(--font-body) !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  line-height: 1.5 !important;
}
body.vpcn-page .vp-input:focus,
body.vpcn-page .vp-select:focus {
  border-color: var(--vp-bronze) !important;
  box-shadow: 0 0 0 3px rgba(173,126,58,.14) !important;
}
body.vpcn-page .vp-input::placeholder { color: var(--vp-text-light) !important; }

body.vpcn-page .vp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 26px !important;
  border-radius: var(--vp-radius) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
body.vpcn-page .vp-btn--primary {
  background: var(--vp-bronze) !important;
  color: #fff !important;
}
body.vpcn-page .vp-btn--primary:hover {
  background: var(--vp-bronze-dark) !important;
  color: #fff !important;
}

.vpcn-auth-back { display: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .vpcn-auth-back { display: block; }
}
@media (max-width: 900px) {
  .vpcn-auth-left    { display: none; }
  .vpcn-auth-right   { flex: 1; padding: 40px 28px; background: var(--vp-linen-light); }
  .vpcn-split-layout { grid-template-columns: 1fr !important; }
  .vpcn-split-map    { position: relative !important; top: 0 !important; }
  #vpcn-leaflet-map  { height: 320px !important; }
  .vpcn-split-list   { max-height: none !important; }
}

@media (max-width: 600px) {
  .vpcn-coaches-title { font-size: 28px !important; }
  .vp-input-row       { grid-template-columns: 1fr; }
  .vpcn-account-header { flex-direction: column; text-align: center; }
  .vpcn-filter-bar    { flex-direction: column !important; }
}

/* ── Kaart markers & popups ─────────────────────────────────────────────── */
.vpcn-marker-wrap {
  width: 40px !important; height: 40px !important;
  background: none !important; border: none !important;
}
.vpcn-marker {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit;
  overflow: hidden;
}
.vpcn-marker--has-img {
  background: none !important;
  border-radius: 0;
}
.vpcn-marker--default {
  box-shadow: 0 3px 12px rgba(61,62,39,.35);
}
.vpcn-marker-initials {
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -.02em;
}
.vpcn-marker-img {
  width: 40px !important; height: 40px !important;
  max-width: 40px !important; max-height: 40px !important;
  object-fit: contain;
  display: block;
}
.vpcn-popup {
  font-family: inherit;
  padding: 6px 2px; min-width: 200px; text-align: center;
}
.vpcn-popup-photo {
  margin-bottom: 10px;
}
.vpcn-popup-photo img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
}
.vpcn-popup-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--vp-linen-light, #F2EEE6); color: var(--vp-text, #3D3E27);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; font-family: inherit;
  margin: 0 auto;
}
.vpcn-popup-name {
  font-weight: 700; font-size: 15px; color: #3D3E27; margin-bottom: 2px;
}
.vpcn-popup-city {
  font-size: 12px; color: #6B6750; margin-bottom: 4px;
}
.vpcn-popup-level {
  font-size: 11px; background: #F2EEE6; color: #AD7E3A;
  padding: 3px 10px; border-radius: 3px; font-weight: 600;
  margin-top: 6px; display: inline-block;
}
.vpcn-popup-tags {
  margin: 8px 0 10px;
}
.vpcn-popup-tag {
  font-size: 10px; background: #F2EEE6; color: #3D3E27;
  padding: 2px 7px; border-radius: 2px; font-weight: 500;
  display: inline-block; margin: 1px;
}
.vpcn-popup-btn {
  display: block !important; background: #3D3E27 !important; color: #DBD2BF !important;
  padding: 10px 16px !important; border-radius: 4px !important;
  font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important;
  text-align: center !important; letter-spacing: .01em;
  margin-top: 10px; border: none !important;
  font-family: var(--font-body) !important;
}
.vpcn-popup-btn:hover { background: #1A1B10 !important; color: #DBD2BF !important; }
.leaflet-popup-content .vpcn-popup-btn { color: #DBD2BF !important; }
.leaflet-popup-content { font-family: var(--font-body) !important; }
.leaflet-popup-content a { color: #3D3E27; }
.leaflet-popup-content a.vpcn-popup-btn { color: #DBD2BF !important; }

/* List card avatar centered */
.vpcn-list-avatar {
  display: flex; align-items: center; justify-content: center;
}


/* ══════════════════════════════════════════════════════════════════════════
   Coach Detail — Editorial profile
   ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════
   Coach Detail — Editorial profile
   Alle secties gebruiken var(--container-max-width) als boxed breedte.
   Secties met achtergrondkleur breken uit via de full-bleed truc.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Shared boxed container ── */
.cd-boxed {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

/* ── Full bleed: achtergrond volle breedte, content boxed ── */
.cd-full {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}
.cd-full > .cd-boxed {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

/* ── Hero ── */
.cd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  gap: 64px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.cd-hero-photo {
  position: relative;
  background: var(--vp-linen-light, #F2EEE6);
  overflow: hidden;
  border-radius: 4px;
  align-self: start;
  aspect-ratio: 4/5;
}
.cd-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}
.cd-hero-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: min(20vw, 240px);
  font-weight: 400;
  color: #C4BAA6;
  letter-spacing: -0.04em;
  user-select: none;
}
.cd-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 64px;
}
.cd-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.cd-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #AD7E3A;
}
.cd-hero-label span {
  font-size: 14px;
  font-weight: 500;
  color: #AD7E3A;
  letter-spacing: .03em;
}
.cd-hero-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1A1B10;
  margin-bottom: 16px;
}
.cd-hero-person {
  font-size: 17px;
  color: #8A8272;
  margin-bottom: 40px;
}
.cd-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #6B6750;
  max-width: 420px;
  margin-bottom: 40px;
}
.cd-hero-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cd-tag {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #3D3E27;
  background: #F2F1EC;
}
.cd-tag-badge {
  background: #3D3E27;
  color: #DBD2BF;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cd-tag-badge svg { width: 14px; height: 14px; }
.cd-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--vp-bronze, #AD7E3A);
  color: #fff;
  padding: 18px 36px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 60px;
  letter-spacing: .01em;
  transition: background .2s;
  width: fit-content;
}
.cd-hero-cta:hover { background: var(--vp-bronze-dark, #8E6529); color: #fff; }
.cd-hero-cta svg { width: 18px; height: 18px; }

/* ── Details bar ── */
.cd-details {
  border-top: 1px solid #E4DDD3;
  border-bottom: 1px solid #E4DDD3;
}
.cd-details .cd-boxed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cd-detail-item {
  padding: 40px 36px;
  border-right: 1px solid #E4DDD3;
}
.cd-detail-item:first-child { padding-left: 0; }
.cd-detail-item:last-child { border-right: none; padding-right: 0; }
.cd-detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #8A8272;
  margin-bottom: 10px;
}
.cd-detail-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #1A1B10;
  line-height: 1.3;
}
.cd-detail-value a {
  color: #1A1B10;
  text-decoration: none;
  border-bottom: 1px solid #E4DDD3;
  transition: border-color .2s;
}
.cd-detail-value a:hover { border-color: #AD7E3A; }
.cd-detail-value small {
  display: block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #8A8272;
  margin-top: 4px;
}

/* ── Bio ── */
.cd-bio {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid #E4DDD3;
}
.cd-bio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.cd-bio-label span {
  font-size: 14px;
  font-weight: 500;
  color: #AD7E3A;
  letter-spacing: .03em;
}
.cd-bio-quote {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: #3D3E27;
  letter-spacing: -0.01em;
}
.cd-bio-right {
  padding-top: 48px;
}
.cd-bio-text {
  font-size: 17px;
  line-height: 2;
  color: #6B6750;
}
.cd-bio-text p { margin-bottom: 24px; }
.cd-bio-text p:last-child { margin: 0; }
.cd-bio-text strong { color: #3D3E27; }
.cd-bio-text ul { padding-left: 20px; margin-bottom: 24px; }
.cd-bio-text li { margin-bottom: 8px; }

/* ── Contact ── */
.cd-contact {
  background: #F2F1EC;
}
.cd-contact .cd-boxed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.cd-contact-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #8A8272;
  margin-bottom: 20px;
}
.cd-contact-rows { display: flex; flex-direction: column; gap: 14px; }
.cd-contact-row {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: #3D3E27; line-height: 1.6;
  text-decoration: none; transition: color .15s;
}
.cd-contact-row svg { width: 18px; height: 18px; color: #AD7E3A; flex-shrink: 0; margin-top: 3px; }
a.cd-contact-row:hover { color: #AD7E3A; }

/* ── CTA ── */
.cd-cta {
  background: #1A1B10;
  text-align: center;
}
.cd-cta .cd-boxed {
  padding-top: 100px;
  padding-bottom: 100px;
}
.cd-cta-label {
  font-size: 14px;
  font-weight: 500;
  color: #AD7E3A;
  letter-spacing: .03em;
  margin-bottom: 24px;
}
.cd-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: #DBD2BF;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cd-cta-sub {
  font-size: 16px;
  color: #8A8272;
  margin-bottom: 48px;
}
.cd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--vp-bronze, #AD7E3A);
  color: #fff;
  padding: 20px 44px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 60px;
  transition: background .2s, transform .15s;
}
.cd-cta-btn:hover { background: var(--vp-bronze-dark, #8E6529); transform: translateY(-2px); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cd-boxed { padding-left: 24px; padding-right: 24px; }
  .cd-hero { grid-template-columns: 1fr; min-height: auto; gap: 32px; }
  .cd-hero-photo { max-width: 400px; aspect-ratio: 4/5; }
  .cd-hero-name { font-size: 36px; }
  .cd-bio { grid-template-columns: 1fr; gap: 40px; }
  .cd-bio-right { padding-top: 0; }
  .cd-bio-quote { font-size: 24px; }
  .cd-cta-title { font-size: 32px; }
}
@media (max-width: 600px) {
  .cd-boxed { padding-left: 16px; padding-right: 16px; }
  .cd-hero-name { font-size: 28px; }
  .cd-detail-item { border-right: none; border-bottom: 1px solid #E4DDD3; padding-left: 0; padding-right: 0; }
  .cd-detail-item:last-child { border-bottom: none; }
}
/* ── Pagination ── */
.vpcn-pagination {
  display: flex; gap: 4px; justify-content: center;
  padding: 20px 0 8px; flex-wrap: wrap;
}
.vpcn-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  font-size: 14px; font-weight: 500;
  color: #6B6750; background: #F2F1EC;
  border: none; border-radius: 4px;
  cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s;
}
.vpcn-page-btn:hover { background: #E4DDD3; color: #3D3E27; }
.vpcn-page-active { background: #3D3E27; color: #DBD2BF; }
.vpcn-page-active:hover { background: #3D3E27; color: #DBD2BF; }
.vpcn-results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
.vpcn-results-right { display: flex; align-items: center; gap: 8px; }
.vpcn-view-toggle { display: none; gap: 2px; }
.vpcn-view-btn {
  width: 36px; height: 36px; border: 1px solid #E4DDD3; background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #8A8272; transition: all .15s;
}
.vpcn-view-btn:first-child { border-radius: 4px 0 0 4px; }
.vpcn-view-btn:last-child { border-radius: 0 4px 4px 0; }
.vpcn-view-btn--active { background: #3D3E27; color: #DBD2BF; border-color: #3D3E27; }

@media (max-width: 768px) {
  .vpcn-view-toggle { display: flex; }
  .vpcn-split-layout { display: block; }
  .vpcn-split-list { display: none; }
  .vpcn-split-map { width: 100%; }
  .vpcn-split-layout.vpcn-view--list .vpcn-split-list { display: block; }
  .vpcn-split-layout.vpcn-view--list .vpcn-split-map { display: none; }
  .vpcn-split-layout.vpcn-view--map .vpcn-split-list { display: none; }
  .vpcn-split-layout.vpcn-view--map .vpcn-split-map { display: block; }
  #vpcn-leaflet-map { min-height: 60vh; }
  .vpcn-filter-bar { flex-direction: column; }
  .vpcn-filter-group { min-width: 100% !important; }
  #vpcn-per-page { display: none; }
  .vpcn-marker-wrap { width: 32px !important; height: 32px !important; }
  .vpcn-marker { width: 32px; height: 32px; }
  .vpcn-marker-img { width: 32px !important; height: 32px !important; max-width: 32px !important; max-height: 32px !important; }
  .vpcn-marker-initials { font-size: 10px; }
}
