/* ===== ZOEK SECTIE ===== */
.zoek-sectie {
  background: linear-gradient(135deg, var(--blauw) 0%, #243d7a 100%);
  padding: 48px 0;
}

.zoek-sectie h1 {
  color: var(--wit);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.zoek-sectie p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin-bottom: 24px;
}

.zoek-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--wit);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s;
  flex: 1;
  min-width: 120px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--oranje);
}

.filter-select option { background: var(--blauw); color: var(--wit); }

.zoek-sectie .checkbox-chip {
  border-color: rgba(255,255,255,0.3);
  color: var(--wit);
}
.zoek-sectie .checkbox-chip:hover { border-color: var(--oranje); }
.zoek-sectie .checkbox-chip input:checked + * { color: var(--wit); }

/* ===== RIJBEWIJS MULTI-SELECT DROPDOWN ===== */
.multi-select-wrap {
  position: relative;
  flex: 1;
  min-width: 120px;
}

.multi-select-knop {
  width: 100%;
  text-align: left;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 44px;
}

.multi-select-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100;
  background: #1a2f5e;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 8px;
  width: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.multi-select-optie {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}

.multi-select-optie:hover {
  background: rgba(255,255,255,0.1);
}

.multi-select-optie input[type="checkbox"] {
  accent-color: var(--oranje);
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== RESULTATEN ===== */
.resultaten-sectie {
  padding: 40px 0 80px;
  background: var(--lichtgrijs);
  min-height: 60vh;
}

.resultaat-info {
  font-size: 14px;
  color: var(--tekst-zacht);
  margin-bottom: 20px;
  font-weight: 600;
}

/* ===== VACATURE KAARTEN ===== */
#vacatures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.vacature-kaart {
  background: var(--wit);
  border: 2px solid var(--grijs);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s;
}

.vacature-kaart:hover {
  border-color: var(--oranje);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.vacature-kaart-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.vacature-logo {
  width: 44px;
  height: 44px;
  background: var(--lichtgrijs);
  color: var(--blauw);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vacature-logo svg { width: 22px; height: 22px; }

.vacature-bedrijf {
  font-size: 14px;
  font-weight: 700;
  color: var(--blauw);
}

.vacature-locatie {
  font-size: 12px;
  color: var(--tekst-zacht);
  margin-top: 2px;
}

.vacature-titel {
  font-size: 17px;
  font-weight: 700;
  color: var(--tekst);
  margin-bottom: 8px;
  line-height: 1.3;
}

.vacature-omschrijving {
  font-size: 13px;
  color: var(--tekst-zacht);
  line-height: 1.6;
  margin-bottom: 16px;
}

.vacature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag {
  background: var(--lichtgrijs);
  color: var(--tekst-zacht);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}

.tag-salaris {
  background: rgba(189,84,13,0.1);
  color: var(--oranje);
  font-weight: 700;
}

.match-balk-wrap {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 150px;
  height: 28px;
}

.match-balk {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right, #16a34a, #facc15, #dc2626);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.match-pijl {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid #1a2f5e;
  transform: translateX(-50%);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}

.match-pijl.match-pijl-eis-gemist {
  border-top-color: #dc2626;
}

.vacature-datum {
  font-size: 12px;
  color: var(--tekst-zacht);
  border-top: 1px solid var(--grijs);
  padding-top: 12px;
}

/* ===== VACATURE DETAIL ===== */
.vacature-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px 80px;
}

.vacature-detail-main { min-width: 0; }
.vacature-detail-sidebar { min-width: 0; }

.detail-kaart {
  background: var(--wit);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.detail-kaart h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blauw);
  margin-bottom: 16px;
}

.detail-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-header-info {
  min-width: 0;
}

.detail-logo {
  width: 64px;
  height: 64px;
  background: var(--lichtgrijs);
  color: var(--blauw);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-logo svg { width: 30px; height: 30px; }

.detail-bedrijfsnaam {
  font-size: 15px;
  color: var(--blauw);
  font-weight: 600;
  margin-bottom: 4px;
}

.detail-titel {
  font-size: 26px;
  font-weight: 800;
  color: var(--tekst);
  margin-bottom: 8px;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--tekst-zacht);
}

.detail-omschrijving {
  font-size: 15px;
  line-height: 1.8;
  color: var(--tekst);
  white-space: pre-line;
}

.deel-vacature {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--grijs);
}

.deel-vacature-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tekst-zacht);
  margin-right: 4px;
}

.deel-vacature a, .deel-vacature button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lichtgrijs);
  color: var(--blauw);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.deel-vacature a:hover, .deel-vacature button:hover { background: var(--oranje); color: var(--wit); }
.deel-vacature svg { width: 17px; height: 17px; }

.detail-info-rij {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--grijs);
  font-size: 14px;
}

.detail-info-rij:last-child { border-bottom: none; }
.detail-info-rij span:first-child { color: var(--tekst-zacht); }
.detail-info-rij span:last-child { font-weight: 600; }

.detail-chip-groep {
  margin-bottom: 14px;
}

.detail-chip-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tekst-zacht);
  margin-bottom: 8px;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-chip {
  background: var(--lichtgrijs);
  color: var(--blauw);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.detail-bedrijf-fotos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.detail-bedrijf-fotos img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

.detail-loonschaal-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
}

.detail-loonschaal-tabel th, .detail-loonschaal-tabel td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--grijs);
}

.detail-loonschaal-tabel th {
  color: var(--tekst-zacht);
  font-weight: 600;
  font-size: 13px;
}

.detail-loonschaal-hint {
  font-size: 12px;
  color: var(--tekst-zacht);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .vacature-detail-layout { grid-template-columns: 1fr; }
  .zoek-filters { flex-direction: column; }
}

@media (max-width: 600px) {
  .vacature-detail-layout { padding: 0 16px 60px; gap: 20px; }
  .detail-kaart { padding: 20px; }
  .detail-titel { font-size: 22px; }
}
