/* ============================================================
   INTERVIEWS — WIZARD
   ============================================================ */
.it-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  border-radius: 22px;
}

.it-wrap { padding: 22px; border-radius: 22px; }

.it-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.it-title h1 { margin: 0; font-size: 28px; letter-spacing: -0.02em; }
.it-sub { margin-top: 6px; font-size: 13px; opacity: 0.75; }

.it-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: rgba(224, 191, 255, 0.95);
  box-shadow: 0 8px 24px rgba(168,85,247,0.12);
}

.it-progress {
  width: 220px;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  overflow: hidden;
}

.it-progress i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(168,85,247,0.95), rgba(14,165,233,0.95));
  box-shadow: 0 0 16px rgba(168,85,247,0.4);
}

.it-grid2 {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 18px;
}

.it-candidate {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
}

.it-candidate h3 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.it-candidate .info-item {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 12px;
}

.it-candidate input, .it-candidate select {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}

.it-candidate input:focus, .it-candidate select:focus {
  border-color: rgba(168,85,247,0.40);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.12);
}

.it-table {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  width: 100%;
}

.it-headA {
  padding: 14px 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.it-headB {
  display: grid;
  grid-template-columns: 46px 1fr 70px 70px 1.2fr;
  gap: 10px;
  padding: 12px 16px;
  font-size: 12px;
  opacity: 0.75;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.it-row {
  display: grid;
  grid-template-columns: 46px 1fr 70px 70px 1.2fr;
  gap: 10px;
  padding: 12px 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.it-row:hover { background: rgba(255,255,255,0.03); }

.it-n {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.it-q { font-weight: 800; line-height: 1.3; font-size: 13px; }

.it-elim {
  display: inline-flex;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.28);
}

.it-pill {
  width: 44px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.it-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

.it-pill input { display: none; }

.it-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.it-pill:has(input:checked) {
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.12);
}

.it-pill:has(input:checked) .dot {
  background: linear-gradient(90deg, #a855f7, #0ea5e9);
  box-shadow: 0 0 14px rgba(168,85,247,0.4);
}

.it-ans {
  opacity: 0.85;
  font-size: 13px;
  line-height: 1.3;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px;
  border-radius: 12px;
}

.it-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .it-grid2 { grid-template-columns: 1fr; }
  .it-progress { width: 160px; }
  .it-headB, .it-row { grid-template-columns: 38px 1fr 58px 58px 1fr; }
}

@media (max-width: 640px) {
  .it-headB { display: none; }
  .it-row { grid-template-columns: 1fr; gap: 10px; }
  .it-n { width: 40px; height: 40px; }
  .it-ans { width: 100%; }
  .it-actions { justify-content: stretch; }
  .it-actions > * { flex: 1; }
}


/* ============================================================
   INTERVIEW EDITOR
   ============================================================ */
.pill-elim {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.28);
}

/* Boutons génériques dans .profile-card-full (éditeur) */
.profile-card-full button:not(.btn-primary-glow):not(.btn-revoker-outline):not(.btn-danger-outline):not(.btn-soft):not(.btn-danger):not(.q-btn):not(.btn-close-circle):not(.btn-close-large):not(.btn-add-action):not(.btn-copy) {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.profile-card-full button:not(.btn-primary-glow):not(.btn-revoker-outline):not(.btn-danger-outline):not(.btn-soft):not(.btn-danger):not(.q-btn):not(.btn-close-circle):not(.btn-close-large):not(.btn-add-action):not(.btn-copy):hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}


/* ============================================================
   FORMULAIRES ENTRETIEN (full page)
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid.one { grid-template-columns: 1fr; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 800;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  outline: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  font-family: inherit;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(168,85,247,0.45);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.12);
}

.inline-hint {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -4px;
}

.sheet-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}


/* ============================================================
   QUESTIONS LIST (éditeur)
   ============================================================ */
.q-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.q-row:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.13);
}

.q-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.q-btn {
  width: 42px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform var(--dur-2) var(--ease), background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}

.q-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.q-btn:active { transform: translateY(0); }

.q-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.q-btn-danger {
  border-color: rgba(244,63,94,0.45);
  color: var(--danger);
  background: rgba(244,63,94,0.08);
}

.q-btn-danger:hover {
  background: rgba(244,63,94,0.18);
  border-color: rgba(244,63,94,0.7);
  color: #fff;
}

@media (max-width: 720px) {
  .q-row { flex-direction: column; }
  .q-actions { flex-direction: row; justify-content: flex-end; }
  .q-btn { width: 46px; height: 46px; }
}
