/* SafeHire Portal — huisstijl navy / teal / gold */
.sh-portal {
  --sh-navy: #0B1D3A;
  --sh-teal: #0FA5A0;
  --sh-teal-light: #E6F7F6;
  --sh-gold: #D4A853;
  --sh-gold-light: #FFF8E7;
  --sh-gray-50: #F8F9FB;
  --sh-gray-100: #EEF1F5;
  --sh-gray-200: #D8DDE6;
  --sh-gray-400: #8892A5;
  --sh-gray-600: #4A5568;
  --sh-green: #16A34A;
  --sh-green-light: #ECFDF5;
  --sh-orange: #EA7B2D;
  --sh-orange-light: #FFF7ED;
  --sh-red: #DC2626;
  --sh-red-light: #FEF2F2;
  --sh-blue: #2563EB;
  --sh-blue-light: #EFF6FF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2D3748;
}
.sh-portal h1, .sh-portal h2, .sh-portal h3 { font-family: 'Space Grotesk', sans-serif; color: var(--sh-navy); }
.sh-mono { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.sh-muted { color: var(--sh-gray-400); }
.sh-italic { font-style: italic; }
.sh-gold { color: var(--sh-gold); font-weight: 600; }
.sh-orange { color: var(--sh-orange); }

/* Nav */
.sh-nav {
  display: flex; align-items: center; gap: 4px;
  background: var(--sh-navy);
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sh-nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--sh-gold);
  font-weight: 700;
  margin-right: 16px;
}
.sh-nav-item {
  color: #B0B8C9;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}
.sh-nav-item:hover { color: #fff; }
.sh-nav-item.sh-active { background: rgba(255,255,255,0.1); color: #fff; }
.sh-nav-user { margin-left: auto; color: #B0B8C9; font-size: 13px; }

/* Titels */
.sh-title { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.sh-subtitle { color: var(--sh-gray-400); font-size: 13px; margin: 0 0 20px; }
.sh-page-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; gap: 16px; flex-wrap: wrap; }

/* Cards */
.sh-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(11,29,58,0.08);
  margin-bottom: 20px;
  overflow: hidden;
}
.sh-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--sh-gray-100);
}
.sh-card-header h3 { margin: 0; font-size: 15px; }
.sh-pad { padding: 20px; }
.sh-pad h3 { margin-top: 0; }
.sh-empty { padding: 32px 20px; text-align: center; color: var(--sh-gray-400); }
.sh-login-card { padding: 40px; text-align: center; max-width: 420px; margin: 40px auto; }

/* Stats */
.sh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.sh-stat {
  background: #fff; border-radius: 10px; padding: 18px;
  box-shadow: 0 1px 3px rgba(11,29,58,0.08);
  display: flex; flex-direction: column; gap: 6px;
}
.sh-stat-label { font-size: 12px; color: var(--sh-gray-400); font-weight: 500; }
.sh-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--sh-navy); }

/* Tabel */
.sh-table { width: 100%; border-collapse: collapse; }
.sh-table th {
  text-align: left; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--sh-gray-400);
  padding: 10px 16px;
  background: var(--sh-gray-50);
  border-bottom: 1px solid var(--sh-gray-100);
}
.sh-table td { padding: 12px 16px; border-bottom: 1px solid var(--sh-gray-100); font-size: 13px; vertical-align: middle; }
.sh-table tr:last-child td { border-bottom: none; }
.sh-name { font-weight: 600; color: var(--sh-navy); }

/* Badges */
.sh-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.sh-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.sh-badge-green { background: var(--sh-green-light); color: var(--sh-green); }
.sh-badge-green::before { background: var(--sh-green); }
.sh-badge-orange { background: var(--sh-orange-light); color: var(--sh-orange); }
.sh-badge-orange::before { background: var(--sh-orange); }
.sh-badge-blue { background: var(--sh-blue-light); color: var(--sh-blue); }
.sh-badge-blue::before { background: var(--sh-blue); }
.sh-badge-red { background: var(--sh-red-light); color: var(--sh-red); }
.sh-badge-red::before { background: var(--sh-red); }
.sh-badge-gray { background: var(--sh-gray-100); color: var(--sh-gray-600); }
.sh-badge-gray::before { background: var(--sh-gray-400); }

.sh-sector {
  display: inline-block; padding: 2px 8px;
  background: var(--sh-navy); color: var(--sh-gold);
  font-size: 11px; font-weight: 600; border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
}

/* Knoppen */
.sh-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 6px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.sh-btn-primary { background: var(--sh-teal); color: #fff !important; }
.sh-btn-primary:hover { background: #0D908C; }
.sh-btn-secondary { background: #fff; color: var(--sh-navy) !important; border: 1px solid var(--sh-gray-200); }
.sh-btn-secondary:hover { background: var(--sh-gray-50); }
.sh-btn-danger { background: var(--sh-red-light); color: var(--sh-red) !important; }
.sh-btn-sm { padding: 5px 12px; font-size: 12px; }
.sh-btn-lg { padding: 12px 32px; font-size: 14px; }

/* Formulier */
.sh-form { padding: 24px; }
.sh-form-section { font-size: 16px; margin: 24px 0 16px; padding-top: 20px; border-top: 1px solid var(--sh-gray-100); }
.sh-form-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.sh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sh-form-group { margin-bottom: 16px; }
.sh-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--sh-navy); margin-bottom: 6px; }
.sh-form-group input[type="text"],
.sh-form-group input[type="email"],
.sh-form-group input[type="date"],
.sh-form-group select,
.sh-form-group textarea {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--sh-gray-200); border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 13px;
  box-sizing: border-box; background: #fff;
}
.sh-form-group input:focus, .sh-form-group select:focus, .sh-form-group textarea:focus {
  outline: none; border-color: var(--sh-teal);
  box-shadow: 0 0 0 3px rgba(15,165,160,0.12);
}
.sh-color { width: 60px; height: 40px; padding: 2px; border: 1px solid var(--sh-gray-200); border-radius: 6px; cursor: pointer; }
.sh-hint { font-size: 12px; color: var(--sh-gray-400); margin-bottom: 8px; }

/* Checks selectie */
.sh-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-check {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--sh-gray-200); border-radius: 6px;
  cursor: pointer; font-size: 13px; user-select: none;
  font-weight: 400 !important;
}
.sh-check:has(input:checked) {
  border-color: var(--sh-teal);
  background: var(--sh-teal-light);
  color: var(--sh-teal); font-weight: 600 !important;
}
.sh-package { display: flex; flex-wrap: wrap; gap: 8px; min-height: 24px; }
.sh-package-item {
  padding: 6px 12px;
  background: var(--sh-teal-light); color: var(--sh-teal);
  border-radius: 6px; font-size: 13px; font-weight: 600;
}

/* Voortgang */
.sh-progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--sh-navy); }
.sh-progress { height: 8px; background: var(--sh-gray-100); border-radius: 4px; overflow: hidden; }
.sh-progress-fill { height: 100%; background: var(--sh-teal); border-radius: 4px; transition: width 0.3s; }

/* Callout */
.sh-callout {
  background: var(--sh-gold-light);
  border: 1px solid var(--sh-gold);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--sh-navy);
  margin: 16px 0 20px;
}

/* Notices */
.sh-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; font-weight: 500; }
.sh-notice-success { background: var(--sh-green-light); color: var(--sh-green); border: 1px solid #BBE9CE; }
.sh-notice-warning { background: var(--sh-orange-light); color: var(--sh-orange); border: 1px solid #F6D3B3; }

/* Filters */
.sh-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.sh-filter {
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  color: var(--sh-gray-600); background: #fff;
  border: 1px solid var(--sh-gray-200);
  text-decoration: none;
}
.sh-filter.sh-active { background: var(--sh-navy); color: #fff; border-color: var(--sh-navy); }

/* Log */
.sh-log { list-style: none; padding: 0; margin: 0; }
.sh-log li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--sh-gray-100);
  font-size: 13px; flex-wrap: wrap;
}
.sh-log li:last-child { border-bottom: none; }
.sh-log-meta { color: var(--sh-gray-400); }

.sh-decision { border-left: 4px solid var(--sh-gold); }
.sh-cancel-form { margin-bottom: 20px; }

/* Responsive */
@media (max-width: 640px) {
  .sh-form-row { grid-template-columns: 1fr; }
  .sh-nav-user { display: none; }
}

/* Upload formulier kandidaat */
.sh-upload-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sh-upload-form input[type="file"] { font-size: 12px; max-width: 220px; }
.sh-actions-row { margin-bottom: 20px; }

/* Publieke navigatiebalk */
.sh-topnav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: var(--sh-navy);
  border-radius: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap; gap: 12px;
}
.sh-topnav-logo {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--sh-gold); font-weight: 700; font-size: 20px;
  text-decoration: none; letter-spacing: -0.3px;
}
.sh-topnav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sh-topnav-link {
  color: #E6EAF2; text-decoration: none;
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
}
.sh-topnav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.sh-topnav-user { color: #B0B8C9; font-size: 13px; margin-right: 4px; }

/* Hero */
.sh-hero { text-align: center; padding: 40px 20px 32px; }
.sh-hero-title { font-size: 32px; font-weight: 700; margin: 0 0 8px; }
.sh-hero-sub { color: var(--sh-gray-400); font-size: 16px; margin: 0 0 20px; }

/* Twee ingangen */
.sh-entry-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 720px; margin: 0 auto 40px;
}
.sh-entry-card {
  background: #fff; border-radius: 12px; padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(11,29,58,0.08);
  text-align: center; border: 1px solid var(--sh-gray-100);
}
.sh-entry-icon { font-size: 40px; margin-bottom: 12px; }
.sh-entry-card h3 { font-size: 20px; margin: 0 0 8px; }
.sh-entry-card p { margin: 0 0 20px; font-size: 14px; }

/* Statusbanners kandidaatportaal */
.sh-status-banner {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--sh-gray-100);
}
.sh-status-banner strong { display: inline; }
.sh-status-done { background: var(--sh-green-light); color: #166534; }
.sh-status-progress { background: var(--sh-blue-light); color: #1E40AF; }
.sh-status-waiting { background: var(--sh-orange-light); color: #9A3412; }

/* Correctie-opmerking bij kandidaatcheck */
.sh-correction-note {
  margin-top: 6px;
  padding: 8px 12px;
  background: var(--sh-red-light);
  border-left: 3px solid var(--sh-red);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  color: #9A1B1B;
}

/* Toestemmingsbox intake */
.sh-consent-box {
  background: var(--sh-gray-50);
  border: 1px solid var(--sh-gray-200);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 13px;
}

/* Antwoordenlijst (admin) */
.sh-answers { margin: 8px 0; }
.sh-answers dt { font-weight: 600; font-size: 13px; margin-top: 8px; color: var(--sh-navy); }
.sh-answers dd { margin: 2px 0 0; font-size: 13px; color: var(--sh-gray-600); }

/* Optionele check uitgeschakeld (zit al in branchepakket) */
.sh-check-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--sh-gray-50);
}
.sh-check-tag { font-size: 11px; color: var(--sh-gray-400); font-style: italic; }
