:root {
  --primary: #185FA5;
  --primary-light: #E6F1FB;
  --primary-dark: #0C447C;
  --green: #1D9E75;
  --green-light: #E1F5EE;
  --green-dark: #085041;
  --green-btn: #0F6E56;
  --orange: #BA7517;
  --orange-light: #FAEEDA;
  --orange-dark: #633806;
  --red: #E24B4A;
  --red-light: #FAECE7;
  --red-dark: #712B13;
  --red-mid: #993C1D;
  --gray-50: #f9f9f9;
  --gray-100: #f5f5f5;
  --gray-200: #eee;
  --gray-300: #ddd;
  --gray-500: #888;
  --gray-800: #222;
  --white: #fff;
  --border: 1px solid #eee;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  font-size: 14px;
}

a { text-decoration: none; color: inherit; }

/* ===== TOPBAR ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
}
.logo span { color: var(--green); }

.topbar-search {
  flex: 1;
  max-width: 320px;
  margin: 0 24px;
}
.topbar-search input {
  width: 100%;
  font-size: 12px;
  padding: 7px 12px;
  border: var(--border);
  border-radius: var(--radius-md);
  font-family: Arial, sans-serif;
}
.topbar-search input:focus { outline: none; border-color: var(--primary); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  background: var(--primary-light);
  color: var(--primary-dark);
  flex-shrink: 0;
}
.avatar-lg {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.notif-btn {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}
.notif-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* ===== LAYOUT DASHBOARD ===== */
.body-layout {
  display: flex;
  min-height: calc(100vh - 57px);
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 200px;
  border-right: var(--border);
  padding: 16px 0;
  flex-shrink: 0;
  background: var(--white);
}

.sidebar-profile {
  padding: 0 16px 12px;
}
.sidebar-profile-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
}
.sidebar-profile-sub {
  font-size: 11px;
  color: var(--gray-500);
}

.sid-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 16px;
}

.sid-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-500);
  padding: 0 16px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
}

.sid-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  text-decoration: none;
}
.sid-item:hover { background: var(--gray-100); }
.sid-item.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 500;
}
.sid-item.active-green {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 500;
}
.sid-item.active-red {
  background: var(--red-light);
  color: var(--red-dark);
  font-weight: 500;
}

.sid-badge {
  margin-left: auto;
  font-size: 10px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  padding: 1px 7px;
}
.sid-badge-red { background: var(--red); }
.sid-badge-green { background: var(--green); }

.profile-bar-wrap {
  margin-top: 8px;
}
.profile-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-size: 10px;
  color: var(--gray-500);
}
.profile-bar-label span:last-child { color: var(--primary); font-weight: 500; }
.profile-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--gray-100);
}
.profile-bar-fill {
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
}

/* ===== MAIN CONTENT ===== */
.main {
  flex: 1;
  padding: 20px;
  background: #f8f8f8;
  overflow: auto;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.page-title { font-size: 17px; font-weight: 500; }
.page-sub { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* ===== METRICS ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.metric {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: var(--border);
}
.metric-label { font-size: 10px; color: var(--gray-500); margin-bottom: 4px; }
.metric-val { font-size: 20px; font-weight: 500; }
.metric-sub { font-size: 9px; color: var(--gray-500); margin-top: 2px; }
.metric-val.blue { color: var(--primary); }
.metric-val.green { color: var(--green); }
.metric-val.orange { color: var(--orange); }
.metric-val.red { color: var(--red); }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: var(--border);
  padding: 14px;
  margin-bottom: 12px;
}
.card:last-child { margin-bottom: 0; }
.card-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-title a {
  font-size: 10px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 400;
}
.card-title-green a { color: var(--green-btn); }

/* ===== CANDIDATURE ITEMS ===== */
.cand-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cand-item:last-child { border-bottom: none; }

.cand-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.cand-info { flex: 1; min-width: 0; }
.cand-name { font-size: 11px; font-weight: 500; }
.cand-meta { font-size: 9px; color: var(--gray-500); }
.cand-title { font-size: 12px; font-weight: 500; }
.cand-company { font-size: 10px; color: var(--gray-500); }

/* ===== SCORE BADGES ===== */
.score-pill {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 7px;
  flex-shrink: 0;
}
.score-pill.high { background: var(--primary-light); color: var(--primary-dark); }
.score-pill.mid { background: var(--green-light); color: var(--green-dark); }
.score-pill.low { background: var(--orange-light); color: var(--orange-dark); }

.score-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  flex-shrink: 0;
}
.score-circle .sc-num { font-size: 13px; font-weight: 500; line-height: 1; }
.score-circle .sc-pct { font-size: 8px; line-height: 1; margin-top: 1px; }
.score-circle.primary {
  border-color: var(--primary);
  background: var(--primary-light);
}
.score-circle.primary .sc-num { color: var(--primary-dark); }
.score-circle.primary .sc-pct { color: var(--primary); }
.score-circle.green {
  border-color: var(--green);
  background: var(--green-light);
}
.score-circle.green .sc-num { color: var(--green-dark); }
.score-circle.green .sc-pct { color: var(--green); }
.score-circle.orange {
  border-color: var(--orange);
  background: var(--orange-light);
}
.score-circle.orange .sc-num { color: var(--orange-dark); }
.score-circle.orange .sc-pct { color: var(--orange); }

/* ===== STATUS BADGES ===== */
.badge-statut {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.badge-attente { background: var(--orange-light); color: var(--orange-dark); }
.badge-acceptee { background: var(--green-light); color: var(--green-dark); }
.badge-refusee { background: var(--red-light); color: var(--red-dark); }

.badge-verifie {
  font-size: 9px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 8px;
  padding: 1px 6px;
}
.badge-attente-verif {
  font-size: 9px;
  background: var(--orange-light);
  color: var(--orange-dark);
  border-radius: 8px;
  padding: 1px 6px;
}
.badge-admin {
  font-size: 10px;
  background: var(--red-light);
  color: var(--red-dark);
  border-radius: 8px;
  padding: 3px 9px;
  font-weight: 500;
}

/* ===== TAGS ===== */
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--gray-100);
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
}
.tag.match {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: #5DCAA5;
}
.tag.no-match {
  background: var(--red-light);
  color: var(--red-dark);
  border-color: #F0997B;
}

/* ===== BUTTONS ===== */
.btn {
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity .15s;
}
.btn:hover { opacity: .88; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary { background: var(--primary); color: white; padding: 8px 18px; font-size: 13px; }
.btn-secondary { background: transparent; color: var(--primary); border: 1px solid var(--primary); padding: 8px 18px; font-size: 13px; }
.btn-green { background: var(--green-btn); color: white; padding: 8px 18px; font-size: 13px; }
.btn-white { background: white; color: var(--primary); padding: 9px 20px; font-size: 13px; }
.btn-outline-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,.4); padding: 9px 20px; font-size: 13px; }

.btn-sm { padding: 4px 10px; font-size: 11px; border-radius: var(--radius-sm); }
.btn-xs { padding: 3px 7px; font-size: 9px; border-radius: 5px; }

.btn-accept { background: var(--green-btn); color: white; }
.btn-reject { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn-danger { background: var(--red-mid); color: white; }

.btn-full { width: 100%; justify-content: center; padding: 11px; font-size: 13px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 12px; }
.form-label {
  font-size: 11px;
  color: var(--gray-500);
  margin-bottom: 4px;
  display: block;
}
.form-control {
  width: 100%;
  font-size: 13px;
  padding: 9px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: Arial, sans-serif;
  background: white;
}
.form-control:focus { outline: none; border-color: var(--primary); }
.form-control-sm { font-size: 12px; padding: 8px 10px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ===== FLASH MESSAGES ===== */
.flash-container { padding: 0 20px; margin-top: 10px; }
.flash {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-success { background: var(--green-light); color: var(--green-dark); border: 1px solid #5DCAA5; }
.flash-error { background: var(--red-light); color: var(--red-dark); border: 1px solid #F0997B; }
.flash-warning { background: var(--orange-light); color: var(--orange-dark); border: 1px solid #E8B86A; }
.flash-info { background: var(--primary-light); color: var(--primary-dark); border: 1px solid #8EC5F0; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.breadcrumb a { color: var(--primary); }

/* ===== OFFER CARDS (liste offres) ===== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.offer-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: border-color .15s;
}
.offer-card:hover { border-color: #bbb; }
.offer-card.top-match { border-color: var(--primary); border-width: 1.5px; }

.offer-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.co-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  flex-shrink: 0;
}
.co-logo-lg {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
}

.co-name { font-size: 12px; color: #666; }
.offer-title { font-size: 14px; font-weight: 500; margin: 6px 0 3px; }
.offer-loc { font-size: 11px; color: var(--gray-500); }

.badge-top {
  font-size: 9px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  padding: 2px 7px;
  margin-left: 6px;
}

.match-bar {
  height: 3px;
  border-radius: 2px;
  background: var(--gray-100);
  margin: 8px 0 4px;
}
.match-fill { height: 3px; border-radius: 2px; }
.fill-primary { background: var(--primary); }
.fill-green { background: var(--green); }
.fill-orange { background: var(--orange); }

.match-detail {
  font-size: 10px;
  color: var(--gray-500);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.match-detail .ok { color: var(--primary); }
.match-detail .nok { color: var(--gray-500); }

.offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}
.offer-meta { display: flex; gap: 10px; }
.meta-item { font-size: 10px; color: var(--gray-500); }

/* ===== FILTER CHIPS ===== */
.filter-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.chip {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  color: #666;
  cursor: pointer;
  text-decoration: none;
}
.chip.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); font-weight: 500; }
.chip.clear { color: var(--red); border-color: #F09595; }

/* ===== MATCHING DETAIL BARS ===== */
.match-rows { display: flex; flex-direction: column; gap: 7px; }
.match-row { display: flex; align-items: center; gap: 10px; }
.match-row-label { font-size: 11px; color: var(--gray-500); width: 90px; flex-shrink: 0; }
.match-row-bar { flex: 1; height: 5px; border-radius: 3px; background: var(--gray-100); }
.match-row-fill { height: 5px; border-radius: 3px; }
.match-row-score { font-size: 11px; font-weight: 500; width: 36px; text-align: right; flex-shrink: 0; }

/* ===== RECO CARDS ===== */
.reco-card {
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--white);
  cursor: pointer;
}
.reco-bar { height: 3px; border-radius: 2px; background: var(--gray-100); margin: 6px 0; }
.reco-bar-fill { height: 3px; border-radius: 2px; }

/* ===== OFFRE ITEM (entreprise) ===== */
.offre-item {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.offre-item:last-child { border-bottom: none; }
.offre-statut {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 7px;
}
.offre-active { background: var(--green-light); color: var(--green-dark); }
.offre-fermee { background: var(--gray-100); color: #666; }

/* ===== STAT ROW (admin) ===== */
.stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 11px;
}
.stat-row:last-child { border-bottom: none; }
.stat-row-bar { width: 80px; height: 4px; border-radius: 2px; background: var(--gray-100); }
.stat-row-fill { height: 4px; border-radius: 2px; background: var(--primary); }

/* ===== ALERT BOX ===== */
.alert-box {
  padding: 8px 10px;
  border-radius: 7px;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
}
.alert-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-block;
}
.alert-red { background: var(--red-light); }
.alert-red .alert-dot { background: var(--red); }
.alert-orange { background: var(--orange-light); }
.alert-orange .alert-dot { background: var(--orange); }

/* ===== ENT ITEM (admin) ===== */
.ent-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
}
.ent-item:last-child { border-bottom: none; }
.ent-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 500;
  flex-shrink: 0;
}
.ent-name { font-size: 11px; font-weight: 500; }
.ent-meta { font-size: 9px; color: var(--gray-500); }

/* ===== USER ROW (admin) ===== */
.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 500;
  flex-shrink: 0;
}
.role-pill {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 8px;
}
.role-etudiant { background: var(--primary-light); color: var(--primary-dark); }
.role-entreprise { background: var(--green-light); color: var(--green-dark); }
.role-admin { background: var(--red-light); color: var(--red-dark); }

/* ===== LANDING PAGE ===== */
.sl-wrap { font-family: Arial, sans-serif; width: 100%; color: var(--gray-800); }

.sl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  border-bottom: var(--border);
  background: var(--white);
}
.sl-nav-links { display: flex; gap: 24px; align-items: center; }
.sl-nav-links a { font-size: 13px; color: #666; }

.sl-hero {
  padding: 56px 28px 48px;
  text-align: center;
  background: var(--white);
}
.sl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}
.sl-hero h1 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.sl-hero h1 em { font-style: normal; color: var(--primary); }
.sl-hero p {
  font-size: 14px;
  color: #666;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.sl-hero-cta { display: flex; gap: 12px; justify-content: center; }

.sl-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border);
  border-bottom: var(--border);
}
.sl-stat {
  padding: 20px;
  text-align: center;
  border-right: var(--border);
}
.sl-stat:last-child { border-right: none; }
.sl-stat-num { font-size: 24px; font-weight: 500; color: var(--primary); }
.sl-stat-label { font-size: 12px; color: #666; margin-top: 3px; }

.sl-section { padding: 40px 28px; }
.sl-section-title { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.sl-section-sub { font-size: 13px; color: #666; margin-bottom: 28px; }

.sl-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sl-feat {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: var(--border);
}
.sl-feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 16px;
}
.sl-feat h3 { font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.sl-feat p { font-size: 12px; color: #666; line-height: 1.55; }

.sl-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.sl-role { border-radius: var(--radius-lg); padding: 22px; border: var(--border); background: var(--white); }
.sl-role-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sl-role-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.sl-role h3 { font-size: 15px; font-weight: 500; }
.sl-role ul { list-style: none; }
.sl-role ul li { font-size: 12px; color: #666; padding: 5px 0; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 7px; }
.sl-role ul li:last-child { border-bottom: none; }

.sl-cta-strip {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin: 0 28px 32px;
}
.sl-cta-strip h2 { font-size: 18px; font-weight: 500; color: white; margin-bottom: 8px; }
.sl-cta-strip p { font-size: 13px; color: #B5D4F4; margin-bottom: 18px; }
.sl-cta-btns { display: flex; gap: 10px; justify-content: center; }

.sl-footer {
  padding: 16px 28px;
  border-top: var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sl-footer p { font-size: 12px; color: #666; }

/* ===== AUTH PAGE ===== */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-left {
  background: var(--primary);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-logo { font-size: 22px; font-weight: 500; color: white; }
.auth-logo span { color: #9FE1CB; }
.auth-hero { margin-top: 40px; }
.auth-hero h2 { font-size: 22px; font-weight: 500; color: white; line-height: 1.35; margin-bottom: 12px; }
.auth-hero p { font-size: 13px; color: #B5D4F4; line-height: 1.65; }
.auth-points { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.auth-point { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #B5D4F4; }
.auth-point-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 10px;
}
.auth-footer { font-size: 11px; color: #85B7EB; }

.auth-right {
  background: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-tabs { display: flex; border-bottom: var(--border); margin-bottom: 22px; }
.auth-tab {
  font-size: 14px;
  padding: 8px 20px;
  cursor: pointer;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
}
.auth-tab.active { color: var(--primary); font-weight: 500; border-bottom-color: var(--primary); }

.step-indicator { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.step-dot {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 500; flex-shrink: 0;
}
.step-dot.done { background: var(--primary); color: white; }
.step-dot.current { background: var(--primary-light); color: var(--primary-dark); border: 1.5px solid var(--primary); }
.step-dot.todo { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-300); }
.step-line { flex: 1; height: 1px; background: var(--gray-200); }
.step-line.done { background: var(--primary); }

.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.role-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
}
.role-card input[type=radio] { display: none; }
.role-card.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }

.cv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  background: var(--gray-50);
  border-radius: 7px;
  border: var(--border);
}
.cv-icon {
  width: 30px; height: 30px;
  background: var(--primary-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* ===== CONVENTION GREEN CARD ===== */
.convention-card {
  background: var(--green-light);
  border: 1px solid #5DCAA5;
  border-radius: var(--radius-lg);
  padding: 14px;
}

/* ===== FEEDBACK BOX ===== */
.feedback-box {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 10px;
}
.feedback-box:last-child { border-bottom: none; }
.fb-avatar {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 500; flex-shrink: 0;
}
.fb-text { font-size: 11px; color: #666; font-style: italic; line-height: 1.5; margin-top: 4px; }

/* ===== MISSING FEEDBACK ALERT (entreprise) ===== */
.feedback-alert {
  border: 1px solid #F0997B;
  background: var(--red-light);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 12px;
}
.feedback-alert-title { font-size: 13px; font-weight: 500; margin-bottom: 10px; color: var(--red-dark); }
.feedback-alert-items { display: flex; gap: 10px; flex-wrap: wrap; }
.feedback-alert-item {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid #F0997B;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== BAR CHART (entreprise) ===== */
.bar-chart { display: flex; gap: 5px; align-items: flex-end; height: 70px; padding-top: 6px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.bar-val { font-size: 9px; color: var(--gray-500); }
.bar-block { border-radius: 2px 2px 0 0; width: 100%; background: #B5D4F4; }
.bar-block.active { background: var(--primary); }
.bar-lbl { font-size: 9px; color: var(--gray-500); }

/* ===== DETAIL OFFRE ===== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
}
.detail-sticky { position: sticky; top: 16px; }

.offer-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.offer-meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.meta-icon { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gray-500); }

.missions-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.missions-list li {
  font-size: 12px;
  color: #666;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.missions-list li::before { content: "›"; position: absolute; left: 0; color: var(--primary); }

.apply-panel { background: var(--white); border-radius: var(--radius-lg); border: var(--border); padding: 16px; margin-bottom: 12px; }
.apply-title { font-size: 14px; font-weight: 500; margin-bottom: 12px; }

.company-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 11px;
}
.company-detail-row:last-child { border-bottom: none; }
.cdl { color: var(--gray-500); }

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 420px;
  width: 90%;
}
.modal-title { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.modal-actions { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; }

/* ===== MISC ===== */
.divider { height: 1px; background: var(--gray-200); margin: 14px 0; }
.section-title { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 11px; }
.text-xs { font-size: 10px; }

.topbar-verified {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  background: var(--gray-100);
  border-radius: 7px;
  border: var(--border);
  font-size: 12px;
}

.profil-missing-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #666;
  padding: 5px 8px;
  background: var(--gray-50);
  border-radius: 6px;
  cursor: pointer;
}
.missing-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  display: inline-block;
}

.competence-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.comp-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  cursor: pointer;
}
.comp-chip input { display: none; }
.comp-chip.checked { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }

@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .sl-features { grid-template-columns: 1fr; }
  .sl-roles { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}
