/* ── Adalan brand ── */
body {
  font-family: 'Mulish', system-ui, sans-serif;
}

/* Navbar Adalan */
.adalan-nav {
  background-color: #1f175a;
}

/* Remap Tailwind indigo → Lucky Point #1f175a */
.bg-indigo-600, .bg-indigo-700 { background-color: #1f175a !important; }
.hover\:bg-indigo-700:hover    { background-color: #170f44 !important; }
.text-indigo-600, .text-indigo-700, .text-indigo-800 { color: #1f175a !important; }
.text-indigo-400, .text-indigo-200 { color: #f9a66b !important; }
.text-indigo-500 { color: rgba(31,23,90,.6) !important; }
.border-indigo-300, .border-indigo-200 { border-color: rgba(31,23,90,.25) !important; }
.bg-indigo-50   { background-color: rgba(31,23,90,.05) !important; }
.hover\:bg-indigo-50:hover  { background-color: rgba(31,23,90,.06) !important; }
.hover\:bg-indigo-100:hover { background-color: rgba(31,23,90,.1) !important; }
.focus\:ring-indigo-400:focus { --tw-ring-color: #1f175a !important; }

/* Navigation active */
.nav-btn { color: rgba(255,255,255,0.7); }
.nav-btn:hover,
.nav-btn.active { background: rgba(255,255,255,0.15); color: #fff; }

/* Pages */
.page { animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* Score badge */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.score-green  { background: #dcfce7; color: #16a34a; }
.score-yellow { background: #fef9c3; color: #ca8a04; }
.score-red    { background: #fee2e2; color: #dc2626; }

/* Candidate card hover */
.candidate-card {
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.candidate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,.10);
}

/* Skill tags */
.skill-tag {
  background: rgba(249,166,107,.18);
  color: #1f175a;
  border-radius: 9999px;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 600;
}

/* Score badge compact (dans les barres des cards) */
.score-badge-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: .7rem;
  font-weight: 700;
}

/* Curseur pointer sur les graphiques cliquables */
#chart-scores, #chart-gender, #chart-ao { cursor: pointer; }

/* Résumé tronqué à 3 lignes dans le tableau */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Score bar */
.score-bar-track {
  background: #e5e7eb;
  border-radius: 9999px;
  height: 8px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width .6s ease;
}
