/* ===== Recrutement hub & candidatures ===== */
.recrutement-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 960px;
  padding-bottom: 20px;
  min-height: 0;
}

.recrutement-view[hidden] {
  display: none !important;
}

.recrutement-view.is-active {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: candViewIn 0.38s ease both;
}

.recrutement-hero {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(72, 200, 140, 0.16), transparent 55%),
    radial-gradient(100% 80% at 100% 0%, rgba(47, 111, 237, 0.1), transparent 50%),
    rgba(0, 0, 0, 0.28);
  animation: candRise 0.45s ease both;
}

.recrutement-kicker {
  margin: 0 0 6px;
  color: #9ff0c4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recrutement-hero h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

.recrutement-lead {
  margin: 0;
  color: #c5cad2;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 58ch;
}

.recrutement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recrutement-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  animation: candRise 0.45s ease both;
}

.recrutement-card:nth-child(1) { animation-delay: 0.05s; }
.recrutement-card:nth-child(2) { animation-delay: 0.1s; }
.recrutement-card:nth-child(3) { animation-delay: 0.15s; }
.recrutement-card:nth-child(4) { animation-delay: 0.2s; }

.recrutement-card:hover {
  border-color: rgba(72, 200, 140, 0.45);
  background: rgba(72, 200, 140, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.recrutement-card:focus-visible {
  outline: 2px solid rgba(72, 200, 140, 0.7);
  outline-offset: 2px;
}

.recrutement-card-ico {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(72, 200, 140, 0.14);
  border: 1px solid rgba(72, 200, 140, 0.28);
  color: #9ff0c4;
  transition: transform 0.2s ease;
}

.recrutement-card:hover .recrutement-card-ico {
  transform: scale(1.08) rotate(-4deg);
}

.recrutement-card-ico svg {
  width: 20px;
  height: 20px;
}

.recrutement-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #eef2f6;
}

.recrutement-card-desc {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #b0b7c0;
}

.recrutement-back {
  align-self: flex-start;
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d8dde4;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 2px;
}

.recrutement-back:hover {
  border-color: rgba(72, 200, 140, 0.4);
  background: rgba(72, 200, 140, 0.1);
  color: #c8f5dc;
}

.recrutement-form-head {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.recrutement-form-head[hidden] {
  display: none !important;
}

.recrutement-form-head .recrutement-kicker {
  margin-bottom: 4px;
}

.recrutement-form-head h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.recrutement-form-head p {
  margin: 0;
  color: #b8c0c8;
  font-size: 0.92rem;
}

.recrutement-form-body {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.18);
  min-height: 160px;
}

.recrutement-placeholder {
  margin: 0;
  color: #9aa3ad;
  font-size: 0.95rem;
}

.recrutement-status {
  margin-top: 4px;
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.recrutement-status.is-open {
  color: #9ff0c4;
  background: rgba(72, 200, 140, 0.14);
  border: 1px solid rgba(72, 200, 140, 0.3);
}

.recrutement-status.is-closed {
  color: #ffb0b0;
  background: rgba(232, 90, 90, 0.1);
  border: 1px solid rgba(232, 90, 90, 0.28);
}

.recrutement-card.is-closed-type {
  opacity: 0.72;
}

.recrutement-closed-banner {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(232, 90, 90, 0.4);
  background: rgba(232, 90, 90, 0.12);
  color: #ffc9c9;
}

.recrutement-closed-banner[hidden] {
  display: none !important;
}

.recrutement-closed-banner strong {
  display: block;
  margin-bottom: 4px;
  color: #ffd0d0;
  font-size: 0.95rem;
}

.recrutement-closed-banner p {
  margin: 0;
  color: #ffc9c9;
  font-size: 0.88rem;
  line-height: 1.4;
}

.req {
  color: #ff8f8f;
  font-style: normal;
  font-weight: 800;
}

.cand-file-hint {
  display: block;
  margin-top: 6px;
  color: #8b939c;
  font-size: 0.8rem;
  font-style: normal;
}

.cand-field input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

.cand-project-files {
  display: grid;
  gap: 8px;
}

.cand-project-file {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #c8f5dc;
  text-decoration: none;
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cand-project-file.is-image:hover,
.cand-project-file:hover {
  border-color: rgba(72, 200, 140, 0.4);
  background: rgba(72, 200, 140, 0.08);
}

.cand-project-file img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
}

.cand-project-file.is-missing {
  color: #9aa3ad;
}

.cand-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.cand-steps span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(72, 200, 140, 0.25);
  background: rgba(72, 200, 140, 0.08);
  color: #b8f0d0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.candidature-form {
  display: grid;
  gap: 14px;
}

.cand-section {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cand-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(72, 200, 140, 0.85), rgba(72, 200, 140, 0.15));
}

.cand-section:hover {
  border-color: rgba(72, 200, 140, 0.28);
}

.cand-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cand-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(72, 200, 140, 0.35);
  background: rgba(72, 200, 140, 0.12);
  color: #9ff0c4;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cand-step-num.is-optional {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #c5cad2;
}

.cand-section h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #eef2f6;
}

.cand-section-sub {
  margin: 0;
  color: #9aa3ad;
  font-size: 0.86rem;
  line-height: 1.4;
}

.cand-hint {
  margin: -4px 0 0;
  color: #9aa3ad;
  font-size: 0.85rem;
}

.cand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cand-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cand-field {
  display: grid;
  gap: 6px;
}

.cand-field-full {
  grid-column: 1 / -1;
}

.cand-field span,
.cand-choice legend {
  font-size: 0.86rem;
  font-weight: 700;
  color: #c8cdd3;
}

.cand-field em {
  font-style: normal;
  font-weight: 500;
  color: #8b939c;
}

.cand-field input,
.cand-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #eef2f6;
  font: inherit;
  resize: vertical;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.cand-field input:hover,
.cand-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.cand-field input:focus,
.cand-field textarea:focus {
  outline: none;
  border-color: rgba(72, 200, 140, 0.6);
  box-shadow: 0 0 0 3px rgba(72, 200, 140, 0.12);
  background: rgba(0, 0, 0, 0.42);
}

.cand-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cand-check {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.cand-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cand-check span {
  display: inline-flex;
  padding: 9px 14px;
  transition: color 0.15s ease;
}

.cand-check:has(input:checked) {
  border-color: rgba(72, 200, 140, 0.5);
  background: rgba(72, 200, 140, 0.16);
  transform: translateY(-1px);
}

.cand-check:has(input:checked) span {
  color: #c8f5dc;
}

.cand-check:hover {
  border-color: rgba(72, 200, 140, 0.35);
}

.cand-choice {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 10px;
  transition: border-color 0.15s ease;
}

.cand-choice:hover {
  border-color: rgba(72, 200, 140, 0.28);
}

.cand-choice-row {
  display: flex;
  gap: 8px;
}

.cand-radio {
  flex: 1;
  display: inline-flex;
  cursor: pointer;
}

.cand-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cand-radio span {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.cand-radio:has(input:checked) span {
  border-color: rgba(72, 200, 140, 0.5);
  background: rgba(72, 200, 140, 0.16);
  color: #c8f5dc;
}

.cand-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(72, 200, 140, 0.22);
  background:
    linear-gradient(135deg, rgba(72, 200, 140, 0.1), rgba(0, 0, 0, 0.28));
}

.cand-submit {
  min-width: 220px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.cand-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.cand-form-msg {
  margin: 0;
  color: #ffb0b0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.cand-form-msg.is-ok {
  color: #9ff0c4;
}

.cand-anim {
  animation: candRise 0.48s ease both;
  transform: none;
}

.cand-anim-1 { animation-delay: 0.02s; }
.cand-anim-2 { animation-delay: 0.07s; }
.cand-anim-3 { animation-delay: 0.12s; }
.cand-anim-4 { animation-delay: 0.17s; }
.cand-anim-5 { animation-delay: 0.22s; }
.cand-anim-6 { animation-delay: 0.27s; }
.cand-anim-7 { animation-delay: 0.32s; }
.cand-anim-8 { animation-delay: 0.37s; }

@keyframes candRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes candViewIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Admin candidatures */
.cand-admin-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 980px;
  padding-bottom: 16px;
}

.cand-admin-toggles {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.cand-admin-toggles h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.cand-admin-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cand-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.cand-toggle-row strong {
  display: block;
  font-size: 0.95rem;
}

.cand-toggle-row span {
  font-size: 0.78rem;
  color: #9aa3ad;
}

.cand-toggle-btn {
  min-width: 96px;
}

.cand-admin-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cand-admin-type-tabs,
.cand-admin-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cand-admin-list {
  display: grid;
  gap: 10px;
}

.cand-admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.cand-admin-row strong {
  display: block;
  margin-bottom: 4px;
}

.cand-admin-row p {
  margin: 0;
  color: #a8b0b8;
  font-size: 0.85rem;
}

.cand-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cand-badge.is-pending {
  color: #ffe08a;
  background: rgba(240, 178, 50, 0.14);
  border: 1px solid rgba(240, 178, 50, 0.3);
}

.cand-badge.is-accepted {
  color: #9ff0c4;
  background: rgba(72, 200, 140, 0.14);
  border: 1px solid rgba(72, 200, 140, 0.3);
}

.cand-badge.is-entretien {
  color: #9ad7ff;
  background: rgba(56, 160, 230, 0.14);
  border: 1px solid rgba(56, 160, 230, 0.35);
}

.cand-entretien-search {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.cand-entretien-search .cand-field {
  margin: 0;
}

.cand-entretien-notes-block textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #eef2f6;
  font: inherit;
  resize: vertical;
}

.cand-admin-publish-bar[hidden],
.cand-entretien-search[hidden] {
  display: none !important;
}

.cand-rules-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(232, 70, 70, 0.75);
  background: rgba(160, 24, 24, 0.28);
  color: #ffd4d4;
  box-shadow: inset 0 0 0 1px rgba(255, 80, 80, 0.12);
}

.cand-rules-alert-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 120, 120, 0.55);
  background: rgba(255, 60, 60, 0.22);
  color: #ffb4b4;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.cand-rules-alert strong {
  display: block;
  margin-bottom: 4px;
  color: #ffecec;
  font-size: 0.92rem;
}

.cand-rules-alert p {
  margin: 0;
  color: #ffc9c9;
  font-size: 0.86rem;
  line-height: 1.45;
}

.cand-rules-alert em {
  font-style: normal;
  font-weight: 700;
  color: #fff0f0;
}

.cand-process-guide {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.22));
}

.cand-process-head {
  margin-bottom: 14px;
}

.cand-process-head h4 {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.cand-process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cand-process-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.cand-process-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(72, 200, 140, 0.45);
  background: rgba(72, 200, 140, 0.14);
  color: #9ff0c4;
  font-size: 0.82rem;
  font-weight: 800;
}

.cand-process-steps strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.cand-process-steps p {
  margin: 0;
  color: #9aa3ad;
  font-size: 0.86rem;
  line-height: 1.45;
}

.cand-published-section {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  animation: candRise 0.45s ease both;
}

.cand-published-section[hidden] {
  display: none !important;
}

.cand-published-head {
  margin-bottom: 12px;
}

.cand-published-head h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.cand-published-head p {
  margin: 0;
  color: #9aa3ad;
  font-size: 0.88rem;
}

.cand-published-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.cand-published-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.cand-published-card:hover {
  border-color: rgba(72, 200, 140, 0.4);
  background: rgba(72, 200, 140, 0.08);
  transform: translateY(-2px);
}

.cand-published-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cand-published-avatar.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 200, 140, 0.16);
  color: #9ff0c4;
  font-size: 0.85rem;
  font-weight: 800;
}

.cand-published-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cand-published-info strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cand-published-info span {
  font-size: 0.8rem;
  color: #9aa3ad;
}

.candidature-form[hidden] {
  display: none !important;
}

.cand-admin-publish-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(88, 101, 242, 0.3);
  background: rgba(88, 101, 242, 0.1);
}

.cand-admin-publish-bar p {
  margin: 0;
  color: #c8cdd8;
  font-size: 0.9rem;
  max-width: 52ch;
  line-height: 1.4;
}

.cand-public-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.cand-public-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.cand-public-avatar.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 200, 140, 0.16);
  color: #9ff0c4;
  font-size: 1.1rem;
  font-weight: 800;
}

.cand-public-profile strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.cand-public-profile p {
  margin: 0;
  color: #9aa3ad;
  font-size: 0.9rem;
}

.candidature-detail-card {
  width: min(720px, 94vw);
  max-height: min(82vh, 860px);
  display: flex;
  flex-direction: column;
}

.candidature-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.candidature-detail-head h3 {
  margin: 0 0 4px;
}

.candidature-detail-head p {
  margin: 0;
  color: #a8b0b8;
  font-size: 0.88rem;
}

.candidature-detail-body {
  overflow: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
  min-height: 0;
  flex: 1;
}

.cand-detail-block {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cand-detail-block h5 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ff0c4;
}

.cand-detail-block p {
  margin: 0;
  white-space: pre-wrap;
  color: #d5dae0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.candidature-detail-actions {
  margin-top: 14px;
}

@media (max-width: 720px) {
  .recrutement-grid,
  .cand-grid,
  .cand-grid-3,
  .cand-admin-toggle-grid {
    grid-template-columns: 1fr;
  }

  .recrutement-hero h3 {
    font-size: 1.3rem;
  }

  .cand-admin-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
