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

:root {
  --green:      #22c55e;
  --green-dark: #16a34a;
  --green-dim:  #dcfce7;
  --black:      #111827;
  --gray-900:   #1f2937;
  --gray-700:   #374151;
  --gray-500:   #6b7280;
  --gray-200:   #e5e7eb;
  --gray-100:   #f3f4f6;
  --white:      #ffffff;
  --sidebar-w:  240px;
  --radius:     10px;
  --shadow:     0 1px 4px rgba(0,0,0,.08);
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--gray-100);
  color: var(--gray-700);
  height: 100vh;
  overflow: hidden;
}

/* ── LOGIN ── */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1a2e1a 100%);
}

.login-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.login-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-logo img { max-width: 180px; height: auto; }

.logo-fallback, .logo-fallback-sidebar {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.login-logo .logo-fallback { justify-content: center; }

.logo-global  { font-size: 1.6rem; font-weight: 900; color: var(--black); letter-spacing: -1px; }
.logo-remote  { font-size: 1rem;   font-weight: 700; color: var(--green); letter-spacing: 4px; }

.login-card h2      { font-size: 1.3rem; font-weight: 700; color: var(--black); text-align: center; margin-bottom: .25rem; }
.login-sub          { text-align: center; color: var(--gray-500); font-size: .9rem; margin-bottom: 1.75rem; }

.form-group         { margin-bottom: 1rem; }
.form-group label   { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: .95rem;
  outline: none;
  transition: border .2s;
  background: var(--white);
  color: var(--gray-700);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.login-error { color: #ef4444; font-size: .85rem; margin-bottom: .75rem; min-height: 1rem; }

.auth-forgot {
  text-align: center;
  margin-top: .85rem;
  font-size: .82rem;
}
.auth-forgot a {
  color: var(--green-dark);
  text-decoration: none;
}
.auth-forgot a:hover { text-decoration: underline; }

.auth-toggle {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .85rem;
  color: var(--gray-500);
}
.auth-toggle a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
  margin-left: .35rem;
}
.auth-toggle a:hover { text-decoration: underline; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: .7rem 1.25rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-full { width: 100%; }

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  padding: .65rem 1.1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.btn-secondary:hover { background: var(--gray-100); }

/* ── APP SHELL ── */
.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--black);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
}


.sidebar-logo {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-logo img { max-width: 140px; height: auto; }
.logo-fallback-sidebar { align-items: baseline; gap: 4px; }
.sidebar .logo-global { font-size: 1.1rem; }
.sidebar .logo-remote { font-size: .7rem; }

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.25rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  border-radius: 0;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.nav-item:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.nav-item.active {
  background: rgba(34,197,94,.12);
  color: var(--green);
  border-left-color: var(--green);
}
.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.nav-icon svg { width: 100%; height: 100%; }

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 1;
  min-width: 0;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.user-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-role {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
}

.logout-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: color .2s;
  padding: 0;
}
.logout-btn:hover { color: #ef4444; }
.logout-btn svg { width: 100%; height: 100%; }

/* ── MAIN CONTENT ── */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

/* ── PAGE HEADER ── */
.page-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--green);
}
.page-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
}
.page-header p {
  color: var(--gray-500);
  font-size: .9rem;
  margin-top: .2rem;
}

/* ── STAT CARDS ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.stat-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  margin-bottom: .5rem;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.stat-sub {
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: .3rem;
}
.stat-card.accent { background: var(--green); }
.stat-card.accent .stat-label,
.stat-card.accent .stat-value,
.stat-card.accent .stat-sub { color: var(--white); }

/* ── FUNNEL ── */
.funnel-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.25rem;
}

.funnel-bars {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.funnel-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.funnel-label {
  width: 130px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  flex-shrink: 0;
}
.funnel-bar-wrap {
  flex: 1;
  background: var(--gray-100);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}
.funnel-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width .5s ease;
}
.funnel-count {
  width: 36px;
  text-align: right;
  font-size: .9rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

/* ── VACATURES TABLE ── */
.table-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

table {
  width: 100%;
  border-collapse: collapse;
}
thead th {
  padding: .75rem 1.5rem;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  text-align: left;
  background: var(--gray-100);
}
tbody tr {
  border-top: 1px solid var(--gray-200);
  transition: background .15s;
}
tbody tr:hover { background: var(--gray-100); }
tbody td {
  padding: .9rem 1.5rem;
  font-size: .9rem;
  color: var(--gray-700);
}

.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-green  { background: var(--green-dim); color: var(--green-dark); }
.badge-gray   { background: var(--gray-200);  color: var(--gray-500); }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-orange { background: #ffedd5; color: #ea580c; }
.badge-red    { background: #fee2e2; color: #dc2626; }

.link-btn {
  background: none;
  border: none;
  color: var(--green-dark);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.link-btn:hover { color: var(--green); }

/* ── PROFIEL ── */
.profiel-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.profiel-avatar-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.profiel-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profiel-avatar-info h2 { font-size: 1.15rem; font-weight: 700; color: var(--black); }
.profiel-avatar-info p  { font-size: .85rem; color: var(--gray-500); }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.info-row:last-child { border-bottom: none; }
.info-key   { font-size: .82rem; color: var(--gray-500); font-weight: 500; }
.info-value { font-size: .9rem;  color: var(--black);    font-weight: 600; }

/* ── NIEUWE VACATURE FORM ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 620px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row-3 {
  grid-template-columns: 1fr 1fr auto;
}
.form-row-3 .form-group:last-child select { min-width: 110px; }
.form-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* ── JOB BOARD GRID ── */
.vac-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.vac-count {
  font-size: .9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border: 1px solid var(--gray-200);
  transition: box-shadow .2s, border-color .2s;
}
.job-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  border-color: var(--green);
}

.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.job-card-logo {
  max-height: 36px;
  max-width: 100px;
  object-fit: contain;
}
.job-card-logo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-dim);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-card-titel {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.job-card-bedrijf {
  font-size: .82rem;
  color: var(--gray-500);
  margin-top: -.4rem;
}

.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .78rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-weight: 500;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--gray-500);
  padding-top: .5rem;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}
.job-card-sol {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.job-card-btn {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: .65rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  text-align: center;
}
.job-card-btn:hover { background: var(--gray-900); }

/* ── SCORE FILTER ── */
.score-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.score-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-left: auto;
}
.score-filter-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--black);
}
.score-filter-input-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.score-filter-input {
  width: 72px;
  padding: .4rem .6rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  outline: none;
}
.score-filter-input:focus { border-color: var(--green); }
.score-filter-hint { font-size: .82rem; color: var(--gray-500); }

/* ── SOLLICITANTEN RIJEN ── */
.sol-rij { margin-bottom: 1.5rem; }

.sol-rij-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  border-radius: 8px 8px 0 0;
  font-size: .85rem;
  font-weight: 700;
}
.sol-rij-icoon { font-size: .75rem; }
.sol-rij-titel { flex: 1; }
.sol-rij-count {
  background: rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .1rem .55rem;
  font-size: .78rem;
}

.rij-boven  { background: #dcfce7; color: #15803d; }
.rij-gelijk { background: #dbeafe; color: #1d4ed8; }
.rij-onder  { background: #fee2e2; color: #b91c1c; }
.rij-geen   { background: var(--gray-200); color: var(--gray-500); }

.sol-rij-leeg {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 1rem 1.5rem;
  font-size: .85rem;
  color: var(--gray-500);
  font-style: italic;
}

.sol-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: .75rem;
}

.sol-card {
  background: var(--white);
  border-radius: 8px;
  padding: .85rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border: 1px solid var(--gray-200);
}
.sol-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sol-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-card-score {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
}
.sol-card-score.leeg { color: var(--gray-500); font-size: .85rem; }
.sol-card-naam  { font-size: .88rem; font-weight: 700; color: var(--black); }
.sol-card-email { font-size: .75rem; color: var(--gray-500); }
.sol-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .4rem;
  border-top: 1px solid var(--gray-200);
}
.sol-card-datum { font-size: .72rem; color: var(--gray-500); }

/* ── SOLLICITANTEN ── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  background: none;
  border: none;
  margin-bottom: 1.25rem;
  padding: 0;
}
.back-btn:hover { color: var(--black); }
.back-btn svg { width: 16px; height: 16px; }

.fase-badge { font-size: .8rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }
.fase-gesolliciteerd { background:#dbeafe; color:#1d4ed8; }
.fase-review         { background:#fef9c3; color:#a16207; }
.fase-interview      { background:#ffedd5; color:#ea580c; }
.fase-aangeboden     { background:#f3e8ff; color:#7c3aed; }
.fase-aangenomen     { background:#dcfce7; color:#16a34a; }
.fase-afgewezen      { background:#fee2e2; color:#dc2626; }

.score-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  background: var(--green-dim);
  color: var(--green-dark);
}
.score-dot.empty { background: var(--gray-100); color: var(--gray-500); font-size: .7rem; }

/* ── PROFIEL ── */
.profiel-banner {
  background: var(--black);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.profiel-avatar-lg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--green);
}
.profiel-banner-naam {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.profiel-banner-sub {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-top: .15rem;
}
.profiel-banner-meta {
  margin-left: auto;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

.profiel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profiel-card-eq {
  display: flex;
  flex-direction: column;
  box-shadow: none;
  border-radius: 0;
  padding: 1.75rem 1.25rem;
}
.profiel-card-eq:first-child {
  border-right: 1px solid var(--gray-200);
  padding-right: 1.5rem;
}
.profiel-card-eq:last-child {
  padding-left: 1.5rem;
}
.profiel-card-eq form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-section-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray-200);
}

.input-disabled {
  background: var(--gray-100) !important;
  color: var(--gray-500) !important;
  cursor: not-allowed;
}

.wachtwoord-eisen {
  background: var(--gray-100);
  border-radius: 8px;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
}
.eisen-titel {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.wachtwoord-eisen ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.wachtwoord-eisen li {
  font-size: .82rem;
  color: var(--gray-500);
  padding-left: 1.2rem;
  position: relative;
}
.wachtwoord-eisen li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-size: .75rem;
}
.wachtwoord-eisen li.eis-ok { color: var(--green-dark); }
.wachtwoord-eisen li.eis-ok::before { content: '✓'; color: var(--green); }

.wachtwoord-error {
  color: #ef4444;
  font-size: .85rem;
  margin-bottom: .75rem;
  min-height: 1rem;
}

/* ── JOB BOARD WEERGAVE ── */
.jb-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 1.25rem;
}

/* Tweekoloms layout */
.jb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

/* ── Linker kolom ── */
.jb-main { display: flex; flex-direction: column; gap: 1.25rem; }

/* Hero */
.jb-hero {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
.jb-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.jb-logo {
  height: 52px;
  max-width: 160px;
  object-fit: contain;
}
.jb-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--green-dim);
  color: var(--green-dark);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jb-bedrijf {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}
.jb-titel {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.jb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.jb-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.jb-pill-loc  { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.jb-pill-type { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.jb-pill-sal  { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.job-tag-sal  { background: #fef9c3; color: #854d0e; }

.euro-icoon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.euro-icoon-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: var(--green-dark);
}

/* Content secties */
.jb-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
}
.jb-section-titel {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.jb-section-titel::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--green);
  border-radius: 2px;
}

/* Tekst opmaak */
.jb-tekst { color: var(--gray-700); font-size: .92rem; line-height: 1.8; }
.jb-alinea { margin-bottom: .75rem; }
.jb-alinea-kop { font-weight: 700; color: var(--black); margin: 1.1rem 0 .4rem; }
.jb-lijst {
  list-style: none;
  padding: 0;
  margin: .5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.jb-lijst li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .92rem;
}
.jb-lijst li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: .55em;
}

/* Over bedrijf */
.jb-over-logo {
  height: 32px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ── Rechter sidebar ── */
.jb-sidebar { position: sticky; top: 1.5rem; }
.jb-sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.jb-sidebar-titel {
  background: var(--black);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .85rem 1.25rem;
}
.jb-detail-row {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.jb-detail-row:last-child { border-bottom: none; }
.jb-detail-icon {
  color: var(--green-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.jb-detail-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  margin-bottom: .2rem;
}
.jb-detail-val {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--black);
}

/* ── VACATURE EDITOR ── */
.editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1rem 1.5rem;
  gap: 1rem;
  margin-bottom: 0;
}
.editor-topbar-left {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.editor-logo {
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.editor-bedrijf {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.editor-subtitel {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.editor-topbar-actions {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.editor-topbar-actions .btn-secondary {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.editor-topbar-actions .btn-secondary:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.editor-topbar-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.editor-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.editor-col-details {
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.editor-col-tekst {
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.editor-section {
  background: var(--white);
}
.editor-section + .editor-section {
  border-top: 1px solid var(--gray-200);
}
.editor-col-tekst .editor-section {
  border-top: none;
  border-bottom: 1px solid var(--gray-200);
}

.editor-section-header {
  padding: .7rem 1.25rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-500);
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.editor-section-header::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: .9em;
  background: var(--green);
  border-radius: 2px;
}

.editor-section-body {
  padding: 1rem 1.25rem;
}
.editor-col-tekst .editor-section-body {
  padding: .75rem 1rem;
}

.editor-textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: .75rem .9rem;
  font-size: .9rem;
  font-family: inherit;
  line-height: 1.7;
  color: var(--gray-700);
  resize: vertical;
  outline: none;
  transition: border-color .2s;
  background: var(--white);
}
.editor-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}

.editor-tip {
  font-size: .75rem;
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: 6px;
  padding: .4rem .7rem;
  margin-bottom: .6rem;
  border-left: 3px solid var(--green);
}

/* ── LOGO UPLOAD ── */
.logo-upload-area {
  border: 2px dashed var(--gray-200);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: border-color .2s, background .2s;
  background: var(--gray-100);
}
.logo-upload-area:hover { border-color: var(--green); background: var(--green-dim); }
.logo-preview-leeg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--gray-500);
  font-size: .82rem;
}
.logo-preview-img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
}
.logo-hint {
  font-size: .75rem;
  color: var(--gray-500);
  margin-top: .4rem;
}

/* ── VACATURE BEDRIJF HEADER ── */
.vac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray-200);
}
.vac-bedrijf-titel {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
}
.vac-bedrijf-logo {
  max-height: 72px;
  max-width: 200px;
  object-fit: contain;
}
.vac-logo-placeholder {
  width: 80px;
  height: 40px;
  border: 2px dashed var(--gray-200);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--gray-500);
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--green); color: var(--green-dark); }
.filter-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* ── ANALYSE ── */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.chart-wide { grid-column: 1 / -1; }
.chart-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.chart-card canvas { max-height: 280px; }

/* ── SOLLICITANT KAART EXTRA ── */
.sol-card { cursor: pointer; }
.sol-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.10); transform: translateY(-1px); border-color: var(--green); }
.sol-card-suit { margin-bottom: .35rem; }
.sol-suit-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
}
.sol-suit-ok { background: #dcfce7; color: #15803d; }
.sol-suit-no { background: #fee2e2; color: #b91c1c; }

/* ── SOLLICITANT DETAIL PAGINA ── */
.sd-page {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sd-header {
  padding: 1.75rem 2rem 1.25rem;
  background: linear-gradient(135deg, #1a2e1a 0%, #0f172a 100%);
  color: var(--white);
}
.sd-header-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem; }
.sd-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: var(--white); flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.2);
}
.sd-header-info { flex: 1; min-width: 0; }
.sd-header-info h2 { font-size: 1.45rem; font-weight: 800; color: var(--white); margin: 0 0 .25rem; }
.sd-header-info p  { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0 0 .5rem; }
.sd-header-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.sd-tag {
  display: inline-block; padding: .2rem .6rem; background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85); border-radius: 999px; font-size: .73rem; font-weight: 600;
}
.sd-score-big {
  text-align: center; padding: .85rem 1.25rem; background: rgba(34,197,94,.15);
  border-radius: 12px; border: 1px solid rgba(34,197,94,.3); flex-shrink: 0;
}
.sd-score-num { font-size: 2rem; font-weight: 900; color: #4ade80; line-height: 1; }
.sd-score-lbl { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; margin-top: .2rem; }

.sd-fase-row { display: flex; align-items: center; gap: .75rem; }
.sd-fase-label { font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 600; }
.sd-fase-select {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); padding: .35rem .7rem; border-radius: 6px; font-size: .85rem;
  font-weight: 600; cursor: pointer; outline: none;
}
.sd-fase-select option { color: var(--gray-700); background: var(--white); }

.sd-body { padding: 1.5rem 2rem 2rem; }
.sd-section { padding-bottom: 1.75rem; border-bottom: 1px solid var(--gray-200); margin-bottom: 1.75rem; }
.sd-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sd-section-titel { font-size: 1.05rem; font-weight: 800; color: var(--black); margin-bottom: 1rem; }

.sd-summary { background: var(--green-dim); border-left: 3px solid var(--green); padding: .85rem 1rem; border-radius: 0 8px 8px 0; font-size: .92rem; line-height: 1.6; color: var(--gray-700); margin-bottom: 1.25rem; }

.sd-scores { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; padding: 1rem; background: var(--gray-100); border-radius: 10px; }
.sd-score-row { display: flex; align-items: center; gap: .85rem; }
.sd-score-label { width: 130px; font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.sd-score-bar { flex: 1; height: 8px; background: var(--white); border-radius: 999px; overflow: hidden; }
.sd-score-fill { height: 100%; background: var(--green); border-radius: 999px; transition: width .5s; }
.sd-score-val { width: 60px; text-align: right; font-size: .85rem; font-weight: 700; color: var(--black); }

.sd-sub { font-size: .85rem; font-weight: 700; color: var(--gray-700); margin: 1rem 0 .5rem; }
.sd-sub2 { font-size: .8rem; color: var(--gray-500); }

.sd-lijst { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .4rem; }
.sd-lijst li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; color: var(--gray-700); padding-left: 0; }
.sd-lijst li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: .55em; }
.sd-lijst-gap li::before { background: #f59e0b; }
.sd-lijst-red li::before { background: #ef4444; }

.sd-advies { background: var(--gray-100); padding: .85rem 1rem; border-radius: 8px; font-size: .9rem; color: var(--gray-700); margin-top: .85rem; line-height: 1.55; }
.sd-advies-cand { background: #eff6ff; border-left: 3px solid #3b82f6; }

.sd-q { background: var(--gray-100); border-radius: 10px; padding: 1rem 1.15rem; margin-bottom: .85rem; }
.sd-q strong { display: block; font-size: .85rem; color: var(--green-dark); font-weight: 700; margin-bottom: .4rem; }
.sd-q p { font-size: .9rem; line-height: 1.65; color: var(--gray-700); margin: 0; }

.sd-info-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: .9rem; color: var(--gray-700); }
.sd-info-row a { color: var(--green-dark); font-weight: 600; text-decoration: none; }
.sd-info-row a:hover { text-decoration: underline; }

.sd-item { padding: .7rem .9rem; background: var(--gray-100); border-radius: 8px; margin-bottom: .55rem; font-size: .88rem; color: var(--gray-700); }
.sd-item strong { color: var(--black); font-weight: 700; }
.sd-item p { margin: .35rem 0 0; }

.sd-tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sd-tag-sm { padding: .25rem .65rem; background: var(--green-dim); color: var(--green-dark); border-radius: 999px; font-size: .78rem; font-weight: 600; }

.sd-empty { color: var(--gray-500); font-style: italic; font-size: .88rem; }

/* ── EMPTY STATES + WELKOMSTSCHERM ── */
.empty-state {
  background: var(--white);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px dashed var(--gray-200);
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; color: var(--black); margin-bottom: .5rem; }
.empty-state p { color: var(--gray-500); font-size: .95rem; line-height: 1.6; margin: 0 auto 1.5rem; max-width: 420px; }

.welcome-hero {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(22,163,74,.25);
}
.welcome-icon { font-size: 3.5rem; margin-bottom: .5rem; }
.welcome-hero h2 { font-size: 1.65rem; font-weight: 800; margin-bottom: .65rem; color: var(--white); }
.welcome-hero p { font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,.92); max-width: 520px; margin: 0 auto 1.75rem; }
.welcome-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.welcome-actions .btn-primary { background: var(--white); color: var(--green-dark); }
.welcome-actions .btn-primary:hover { background: rgba(255,255,255,.92); color: var(--green-dark); }
.welcome-actions .btn-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.welcome-actions .btn-secondary:hover { background: rgba(255,255,255,.1); color: var(--white); }

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.onboarding-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.onboarding-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .85rem;
}
.onboarding-card h3 { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: .35rem; }
.onboarding-card p { font-size: .85rem; color: var(--gray-500); line-height: 1.5; }

/* ── MOBILE HEADER (alleen op mobiel) ── */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  padding: .75rem 1rem;
  align-items: center;
  gap: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hamburger-btn {
  background: transparent;
  border: none;
  color: var(--white);
  padding: .25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-header-logo .logo-global { color: var(--white); font-size: 1rem; font-weight: 900; letter-spacing: -.5px; }
.mobile-header-logo .logo-remote { color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: 3px; margin-left: 2px; }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 90;
  opacity: 0;
  transition: opacity .2s;
}
.sidebar-overlay-on { display: block; opacity: 1; }

/* ── MOBILE LAYOUT ── */
@media (max-width: 900px) {
  .app { flex-direction: column; height: auto; min-height: 100vh; }
  .mobile-header { display: flex; }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 0 0 30px rgba(0,0,0,.3);
  }
  .sidebar.sidebar-open { transform: translateX(0); }

  .main-content { padding: 1rem; }
  .page-header h1 { font-size: 1.3rem; }
  .page-header p { font-size: .85rem; }

  /* Grids stacken */
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .stat-card { padding: 1rem; }
  .stat-value { font-size: 1.5rem; }

  .charts-grid { grid-template-columns: 1fr; }
  .chart-wide { grid-column: 1; }

  .profiel-grid { grid-template-columns: 1fr; }
  .profiel-card-eq:first-child {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-right: 1.25rem;
  }
  .profiel-card-eq:last-child { padding-left: 1.25rem; padding-top: 1.5rem; }

  .editor-grid { grid-template-columns: 1fr; }
  .editor-col-details { border-right: none; border-bottom: 1px solid var(--gray-200); }

  .jb-layout { grid-template-columns: 1fr; }
  .jb-sidebar { position: relative; top: 0; }

  .job-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Tabellen → horizontaal scrollbaar */
  .table-section table, .iv-tabel {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Toolbar wrap */
  .sol-toolbar { flex-direction: column; align-items: stretch; }
  .sol-sort-select { width: 100%; }

  .form-row, .form-row-3 { grid-template-columns: 1fr; }

  .filter-bar, .score-filter-btns { flex-wrap: wrap; }

  /* Sollicitant detail */
  .sd-header { padding: 1.25rem 1.25rem 1rem; }
  .sd-header-row { flex-direction: column; align-items: flex-start; gap: .85rem; }
  .sd-score-big { align-self: stretch; }
  .sd-body { padding: 1.25rem; }
  .sd-fase-row { flex-wrap: wrap; }
  .sd-invite-btn, .sd-interview-info { margin-left: 0; margin-top: .5rem; width: 100%; }

  /* Editor topbar */
  .editor-topbar { flex-direction: column; align-items: stretch; gap: .75rem; padding: 1rem; }
  .editor-topbar-actions { justify-content: flex-end; }

  /* Welcome */
  .welcome-hero { padding: 2rem 1.25rem; }
  .welcome-hero h2 { font-size: 1.35rem; }
  .welcome-actions { flex-direction: column; }
  .welcome-actions button { width: 100%; }
  .onboarding-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .iv-stats { grid-template-columns: repeat(2, 1fr); }
  .vac-list-header { flex-direction: column; align-items: stretch; gap: .75rem; }
}

/* ── SPINNER (loading) ── */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .8s linear infinite;
  vertical-align: middle;
  margin-right: .15rem;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ── SOLLICITANTEN TOOLBAR ── */
.sol-toolbar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  align-items: center;
}
.sol-search-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.sol-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  pointer-events: none;
}
.sol-search-input {
  width: 100%;
  padding: .55rem .85rem .55rem 2.35rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9rem;
  outline: none;
  background: var(--white);
  color: var(--gray-700);
  transition: border-color .15s;
}
.sol-search-input:focus { border-color: var(--green); }
.sol-sort-select {
  padding: .55rem .85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
}
.sol-sort-select:focus { border-color: var(--green); }

/* ── VACATURE ACTIES MENU ── */
.job-card { position: relative; }
.job-card-closed { opacity: .65; }
.job-card-closed .job-card-titel { text-decoration: line-through; color: var(--gray-500); }

.vac-action-btn {
  background: var(--gray-100);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vac-action-btn:hover { background: var(--gray-200); color: var(--black); }

.vac-action-menu {
  position: absolute;
  top: 60px;
  right: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: .35rem;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
  min-width: 180px;
}
.vac-action-menu button {
  background: none;
  border: none;
  padding: .55rem .75rem;
  text-align: left;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.vac-action-menu button:hover { background: var(--gray-100); }
.vac-action-menu .vac-action-danger { color: #b91c1c; }
.vac-action-menu .vac-action-danger:hover { background: #fee2e2; }

/* ── SOL CARD INTERVIEW BADGE ── */
.sol-card-intv {
  font-size: .72rem;
  font-weight: 700;
  padding: .4rem .65rem;
  border-radius: 6px;
  margin: .5rem 0;
  text-align: center;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.sol-card-intv-ok { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.sol-card-intv-pending { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }

/* zorg dat fase + datum onderaan netjes uitlijnen */
.sol-card { display: flex; flex-direction: column; }
.sol-card-bottom { margin-top: auto; padding-top: .35rem; border-top: 1px solid var(--gray-200); }

/* ── INTERVIEWS OVERZICHT PAGINA ── */
.iv-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.iv-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}
.iv-stat-card.iv-stat-accent { background: var(--green); }
.iv-stat-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .4rem;
}
.iv-stat-card.iv-stat-accent .iv-stat-label { color: rgba(255,255,255,.85); }
.iv-stat-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.iv-stat-card.iv-stat-accent .iv-stat-val { color: var(--white); }

.iv-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.iv-block-header {
  padding: .8rem 1.25rem;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.iv-block-green  { background: #dcfce7; color: #15803d; }
.iv-block-yellow { background: #fef9c3; color: #854d0e; }
.iv-block-gray   { background: var(--gray-200); color: var(--gray-700); }
.iv-block-count {
  background: rgba(255,255,255,.5);
  border-radius: 999px;
  padding: .1rem .65rem;
  font-size: .8rem;
}

.iv-tabel { width: 100%; border-collapse: collapse; }
.iv-tabel thead th {
  padding: .65rem 1.25rem;
  font-size: .73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  text-align: left;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.iv-tabel tbody tr { border-bottom: 1px solid var(--gray-200); transition: background .12s; }
.iv-tabel tbody tr:hover { background: var(--gray-100); }
.iv-tabel tbody tr:last-child { border-bottom: none; }
.iv-tabel tbody td { padding: .85rem 1.25rem; font-size: .9rem; color: var(--gray-700); }

.iv-name-cell {
  display: flex; align-items: center; gap: .75rem;
}
.iv-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.iv-email { font-size: .78rem; color: var(--gray-500); }

.iv-status {
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}
.iv-ok { background: #dcfce7; color: #15803d; }
.iv-wait { background: #fef9c3; color: #854d0e; }
.iv-done { background: var(--gray-200); color: var(--gray-500); }

.iv-empty {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.iv-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.iv-empty h3 { font-size: 1.15rem; font-weight: 700; color: var(--black); margin-bottom: .4rem; }
.iv-empty p { color: var(--gray-500); font-size: .9rem; }

/* ── INTERVIEW UITNODIGING ── */
.sd-invite-btn {
  margin-left: 1rem;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: .5rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: background .15s;
}
.sd-invite-btn:hover { background: var(--green-dark); }

.sd-interview-info {
  margin-left: 1rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-size: .82rem;
  background: rgba(255,255,255,.1);
  color: var(--white);
  flex: 1;
  min-width: 200px;
}
.sd-interview-info strong { display: block; margin-bottom: .15rem; font-size: .88rem; }
.sd-interview-pending { background: rgba(234,179,8,.2); border: 1px solid rgba(234,179,8,.4); }
.sd-interview-confirmed { background: rgba(34,197,94,.2); border: 1px solid rgba(34,197,94,.4); }
.sd-interview-rejected { background: rgba(239,68,68,.2); border: 1px solid rgba(239,68,68,.4); }
.sd-mini-slots { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .35rem; }
.sd-mini-slot { font-size: .73rem; padding: .15rem .45rem; background: rgba(255,255,255,.15); border-radius: 4px; }

/* Interview modal */
.im-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.65); z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2rem; overflow-y: auto;
}
.im-modal {
  background: var(--white); max-width: 560px; width: 100%; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); padding: 2rem; position: relative;
}
.im-close {
  position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,.06);
  border: none; width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--gray-700);
}
.im-close:hover { background: rgba(0,0,0,.12); }
.im-titel { font-size: 1.3rem; font-weight: 800; color: var(--black); margin-bottom: .25rem; }
.im-sub { color: var(--gray-500); font-size: .9rem; margin-bottom: 1.5rem; }
.im-section { margin-bottom: 1.25rem; }
.im-label { display: block; font-size: .88rem; font-weight: 700; color: var(--black); margin-bottom: .5rem; }
.im-hint { font-weight: 500; color: var(--gray-500); font-size: .8rem; }
.im-select, .im-textarea {
  width: 100%; padding: .55rem .85rem; border: 1.5px solid var(--gray-200);
  border-radius: 8px; font-size: .92rem; font-family: inherit; outline: none;
  background: var(--white); color: var(--gray-700);
}
.im-select:focus, .im-textarea:focus { border-color: var(--green); }

.im-slot-row { display: flex; gap: .5rem; align-items: center; margin-bottom: .55rem; }
.im-slot-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--green-dim);
  color: var(--green-dark); font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.im-slot-date, .im-slot-time {
  padding: .45rem .7rem; border: 1.5px solid var(--gray-200); border-radius: 6px;
  font-size: .88rem; font-family: inherit; outline: none; background: var(--white);
}
.im-slot-date { flex: 1; }
.im-slot-time { width: 100px; }
.im-slot-date:focus, .im-slot-time:focus { border-color: var(--green); }
.im-slot-del {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gray-100);
  color: var(--gray-500); border: none; cursor: pointer; font-size: 1rem; font-weight: 700;
}
.im-slot-del:hover { background: #fee2e2; color: #b91c1c; }
.im-slot-del-placeholder { width: 28px; }

.im-add-btn {
  margin-top: .25rem; background: var(--gray-100); color: var(--gray-700);
  border: 1.5px dashed var(--gray-200); padding: .45rem 1rem; border-radius: 8px;
  font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.im-add-btn:hover:not(:disabled) { background: var(--green-dim); border-color: var(--green); color: var(--green-dark); }
.im-add-btn:disabled { opacity: .5; cursor: not-allowed; }

.im-error { color: #ef4444; font-size: .85rem; margin: -.5rem 0 .85rem; min-height: 1rem; }

.im-actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }

/* ── SUCCESS TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--black);
  color: var(--white);
  padding: .85rem 1.25rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s ease;
  z-index: 999;
}
.toast.show { transform: translateY(0); opacity: 1; }
