.card .btn.dropdown-toggle#dropdownMenuLink2{
    background-color: var(--eb-palette-emerald-600, #059669);
}

.card-body .newTableAll tr td{
    font-weight:400;
}
.label.label-inline {
    font-weight: bold;
}
.label-recr {
    font-size: var(--eb-fs-xs);
}

/* Navigation wizard*/

.body-wizard.recruitement-wizard {
    background-color: var(--bkg-color1);
}

/* Couleur de l'état d'une étape (pastilles de la liste, ronds du suivi) :
   jetons du thème. Les anciennes teintes (--bkg-color77, --txt-color29…)
   valaient #252525 en sombre, et `:root.dark .label.label-inline` (couleur du
   texte en !important, color-scheme.css) repeignait le libellé en blanc :
   « Une action est requise » y perdait son orange, « Mail vérifié » son vert.
   En clair, l'orange #f3b02e sur crème se lisait mal (1,9:1). */
.wizard-round.pending-step .wizard-number,
.label.label-inline.pending-step,
:root.dark .label.label-inline.pending-step {
    color: var(--eb-text-secondary) !important;
}
.wizard-round.validated-step .wizard-number,
.label.label-inline.validated-step,
:root.dark .label.label-inline.validated-step {
    color: var(--eb-success-hover) !important;
}
.wizard-round.sent-step .wizard-number,
.label.label-inline.sent-step,
:root.dark .label.label-inline.sent-step {
    color: var(--eb-warning-hover) !important;
}
.wizard-round.rejected-step .wizard-number,
.label.label-inline.rejected-step,
:root.dark .label.label-inline.rejected-step {
    color: var(--eb-danger-hover) !important;
}

.wizard-round.pending-step, .label.label-inline.pending-step {
    background-color: var(--eb-bg);
}
.wizard-round.validated-step, .label.label-inline.validated-step {
    background-color: var(--eb-success-light);
}
.wizard-round.rejected-step, .label.label-inline.rejected-step {
    background-color: var(--eb-danger-bg);
}
.wizard-round.sent-step, .label.label-inline.sent-step {
    background-color: var(--eb-warning-light);
}
/* Étape ouverte : teinte de l'accent, comme l'onglet actif au-dessus. */
.wizard-one-step.selected-step {
    background-color: var(--eb-primary-light);
    border-radius: var(--eb-radius-sm);
}
.wizard-one-step.selected-step .step-title {
    color: var(--eb-primary);
}
.wizard-one-step.selected-step .step-sub-title {
    color: var(--eb-text-secondary);
}
@media (hover: hover){.wizard-left div a::hover{
    text-decoration: none;
}}
.wizard-big-text {
    font-weight: bold;
    font-size: var(--eb-fs-lead, 18px);
}
.wizard-right > *, .wizard-left > * {
    text-align: left;
}

@media (hover: hover){.wizard .wizard-left a:hover{
    text-decoration: none;
}}

.false-input {
    width: 100%;
    background-color: var(--bkg-color1);
    font-weight: 400;
    line-height: 1.5;
    font-size: var(--eb-fs-rem-lg, 1rem);
    height: auto;
    padding: 10px;
    box-shadow: none;
    border-radius: var(--eb-radius-xs, 4px);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.wizard input.timepicker {
    height: 36px;
    border: 0;
}
/* Propositions de rendez-vous : `size=10` / `size=5` ne compensent pas le
   padding du thème — les placeholders sortaient rognés (« DD.MM.YYY »,
   « HH:MN »), donc illisibles pour un champ qui attend un format précis. */
.wizard input.datepicker {
    min-width: 8.5rem;
}
.wizard input.timepicker {
    min-width: 5.5rem;
}

/* Autocomplétion adresses */
.addresses-dropdown {
    position: relative;
    display: inline-block;
    min-width: 150px;
}
.addresses-dropdown #addresses {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 1;
    background-color: var(--eb-palette-slate-100, #f1f5f9);
}
.addresses-dropdown #addresses a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
}
@media (hover: hover){.addresses-dropdown #addresses a:hover{
    background-color: var(--eb-palette-slate-200, #e2e8f0); cursor: pointer;
}}
.addresses-dropdown #address:focus + #addresses{
    display: block;
}
@media (hover: hover){.addresses-dropdown:hover #addresses{
    display: block;
}}

/*Dropzone*/
#dropzone.dropzone{
    min-height:auto;
    padding:0;
}
#dropzone .dz-preview, #dropzone .dz-details{
    height: 70px;
    width: 70px;
    padding: 2px;
}
#dropzone .dz-preview{
    margin:0;
}
#dropzone .dz-image{
    height: 70px;
    width: 70px;
}
#dropzone .dz-size, #dropzone .dz-filename{
    font-size: small;
}

/* Volet échange avec les responsables */
#div_resp_chat_lateral, #div_recap_lateral{
    position:fixed;
    display:none;
    top:0%;
    right:0%;
    z-index:1049;
    height:100%;
}
#div_resp_chat_lateral h6:first-child, #div_recap_lateral h6:first-child{
    text-align: left;
    margin-left:3%;
}
#div_recap_lateral .collapse-menu2 {
    position: fixed;
    bottom: 0px;
    background: var(--bkg-color1);
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--txt-color10);
    cursor: pointer;
    border-right: 1px var(--bor-color17) solid;
    text-align: left;
    padding-left: 12px;
}
#div_resp_chat_lateral nav, #div_recap_lateral nav, #div_recap_lateral .collapse-menu2{
    width: 300px;
}
#div_resp_chat_lateral .send-msg{
    display: none;
}
#div_resp_chat_lateral nav .div-scroll, #div_recap_lateral nav .div-scroll{
    padding-top:23%;
}

/* Le récapitulatif reste lisible sur téléphone, y compris les longues
   adresses et les réponses libres. Le pied reste hors de la zone défilante. */
#div_recap_lateral {
    width: min(440px, 100vw);
    max-width: 100%;
}
#div_recap_lateral nav.navbar-lateral {
    position: relative;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0;
    height: 100%;
    height: 100dvh;
    background: var(--eb-surface, #fff);
    border-left: 1px solid var(--eb-border, #e2e8f0);
    box-shadow: -8px 0 32px color-mix(in srgb, var(--eb-palette-slate-900, #0f172a) 12%, transparent);
}
#div_recap_lateral nav .div-scroll {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 24px !important;
}
#div_recap_lateral h6:first-child {
    margin: 0;
    font-size: var(--eb-fs-rem-lead, 1.125rem);
}
#div_recap_lateral .collapse-menu2 {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 76px;
    padding: 14px 24px !important;
    padding-bottom: max(14px, env(safe-area-inset-bottom)) !important;
    line-height: normal;
    border-top: 1px solid var(--eb-border, #e2e8f0);
}
#div_recap_lateral .collapse-menu2 .btn {
    flex: 1 1 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.eb-recr-recap-fields > div {
    align-items: flex-start !important;
    text-align: left !important;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--eb-border, #e2e8f0);
}
.eb-recr-recap-fields > div:last-child { border-bottom: 0; }
.eb-recr-recap-fields label,
.eb-recr-recap-fields p {
    max-width: 100%;
    margin: 0;
    text-align: left !important;
    white-space: normal;
    overflow-wrap: anywhere;
}
.eb-recr-recap-fields label { color: var(--eb-text-secondary, #64748b); font-size: var(--eb-fs-rem-base, 0.8125rem); }
.eb-recr-recap-fields p { color: var(--eb-text, #17202e); font-size: var(--eb-fs-rem-lg, 1rem); line-height: 1.5; }

.eb-recr-mobile-status { display: none; }
.eb-recr-payment-label { display: none; }
@media (max-width: 767.98px) {
    .eb-recr-mobile-status {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 12px 0;
    }
    .eb-recr-mobile-status label {
        flex: 0 0 auto;
        margin: 0;
        font-size: var(--eb-fs-rem-md, 0.875rem);
        color: var(--eb-text-secondary, #64748b);
    }
    .eb-recr-mobile-status select {
        appearance: auto;
        min-width: 0;
        min-height: 44px;
        flex: 1 1 auto;
        font-size: var(--eb-fs-rem-lg, 1rem);
    }
    body .table-responsive.eb-recr-payment-history > table.table,
    .eb-recr-payment-history tbody {
        display: block;
        width: 100%;
        min-width: 0;
        border: 0;
        box-shadow: none;
    }
    .eb-recr-payment-history thead { display: none; }
    .eb-recr-payment-history tbody tr {
        display: block;
        padding: 12px;
        border: 1px solid var(--eb-border, #e2e8f0);
        border-radius: var(--eb-radius-md, 10px);
        margin-bottom: 10px;
        background: var(--eb-surface, #fff);
    }
    .eb-recr-payment-history tbody tr:last-child { margin-bottom: 0; }
    body .eb-recr-payment-history table.table tbody td {
        display: grid;
        grid-template-columns: minmax(96px, 32%) minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        min-width: 0;
        padding: 6px 0 !important;
        border: 0 !important;
        text-align: left;
    }
    .eb-recr-payment-history .eb-recr-payment-label {
        display: block;
        color: var(--eb-text-secondary, #64748b);
        font-size: var(--eb-fs-rem-base, 0.8125rem);
    }
    .eb-recr-payment-history .eb-recr-payment-value {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: left;
    }
    .eb-recr-payment-history .eb-recr-payment-amount { font-weight: 700; }
    .eb-recr-payment-action {
        max-width: 100%;
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
.navtop-hover-keep {
    border-radius: var(--eb-radius-xs, 4px);
    text-decoration: none;
    color: var(--txt-color11);
    font-size: var(--eb-fs-lead, 18px);
}
#a_resp_chat.size_animation:not(.navtop-hover-keep), .unread-message-icon, .wizard-round.sent-step.shake-step, .label.label-inline.shake-step {
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    -moz-animation: shakeme 3s infinite;
    -o-animation: shakeme 3s infinite;
    -webkit-animation: shakeme 3s infinite;
    animation: shakeme 3s infinite;
}
.label.label-inline.shake-step {
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    -moz-animation: shakeme2 3s infinite;
    -o-animation: shakeme2 3s infinite;
    -webkit-animation: shakeme2 3s infinite;
    animation: shakeme2 3s infinite;
}
@media (hover: hover){#a_resp_chat.size_animation:hover{
    border-radius: var(--eb-radius-xs, 4px);
    text-decoration: none;
    font-size: var(--eb-fs-lead, 18px);
}}
.navbar-lateral-panel {
    height: 100%;
    box-shadow: 0px 0px 28px 0px var(--sha-color4);  
}

@media (max-width: 920px) {
    .navbar-lateral-panel.pdevice {
      height: 100%;
      /* width: 285px; */
      overflow-x: hidden;
      overflow-y: auto;
      left: -270px;
    }
}
/* @media (max-width: 769px) {
    .navbar-lateral-panel {
      margin-left: 0px;
    }
}
@media (min-width: 992px) {
    .navbar-lateral-panel {
      width: 220px;
    }
} */
@keyframes shakeme {
    0% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
    5% {
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -ms-transform: scale(0.7);
        -o-transform: scale(0.7);
    }
    10% {
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -ms-transform: scale(1.5);
        -o-transform: scale(1.5);
    }
    15% {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
    }
    20% {
        -webkit-transform: scale(1.65);
        -moz-transform: scale(1.65);
        -ms-transform: scale(1.65);
        -o-transform: scale(1.65);
        color: var(--txt-color11);

    }
    30% {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
    }
}
@keyframes shakeme2 {
    0% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
    5% {
        -webkit-transform: scale(0.9);
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -o-transform: scale(0.9);
    }
    10% {
        -webkit-transform: scale(1.15);
        -moz-transform: scale(1.15);
        -ms-transform: scale(1.15);
        -o-transform: scale(1.15);
    }
    15% {
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -o-transform: scale(1.05);
    }
    20% {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -ms-transform: scale(1.2);
        -o-transform: scale(1.2);

    }
    30% {
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -o-transform: scale(1.05);
    }
}
.seen {
    background-color: var(--bkg-color28);
}
i.fa.fa-check.seen.check-header, i.fa.fa-check.not-seen.check-header {
    font-size: var(--eb-fs-xl, 20px);
}
a#link-check{
    border:none !important;
    box-shadow: none !important;
}

/*Vue liste*/
.stats-container{
    width:220px;
    min-width:150px;
}
.stats-container .text-left{
    height:unset;
    width:unset;
}
.stats-container .counter{
    font-size:var(--eb-fs-display, 32px);
    line-height:1;
}
.stats-wrapper .stats-container:first-child{
    border-radius:var(--eb-radius-md, 10px) 0px 0px var(--eb-radius-md, 10px);
    -webkit-border-radius:10px 0px 0px 10px;
    -moz-border-radius:10px 0px 0px 10px;
    -ms-border-radius:10px 0px 0px 10px;
    -o-border-radius:10px 0px 0px 10px;
}
.stats-wrapper .stats-container:last-child{
    border-radius:0px var(--eb-radius-md, 10px) var(--eb-radius-md, 10px) 0px;
    -webkit-border-radius:0px 10px 10px 0px;
    -moz-border-radius:0px 10px 10px 0px;
    -ms-border-radius:0px 10px 10px 0px;
    -o-border-radius:0px 10px 10px 0px;
}
.stats-blue, .stats-orange, .stats-green{
    border-radius: var(--eb-radius-sm, 8px);
    padding: 15px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stats-blue{
    background-color: var(--bkg-color33);
}
.stats-blue .counter, .stats-blue i.fa, .stats-blue .stats-title{
    color: var(--txt-color24) !important;
}
.stats-orange{
    background-color: var(--bkg-color77);
}
.stats-orange .counter, .stats-orange i.fa, .stats-orange .stats-title{
    color: var(--txt-color29) !important;
}
.stats-green{
    background-color: var(--bkg-color61);
    color: var(--txt-color28) !important;
}
.stats-green .counter, .stats-green i.fa, .stats-green .stats-title{
    color: var(--txt-color28) !important;
}
.modal-header h5.modal-title{
    width: 100%;
}

/* Vue pipeline : voir le bloc « PIPELINE (refonte du 20/11/2026) » en fin de fichier. */

/* =========================================================================
   Fiche candidat (vue superviseur)
   ========================================================================= */

/* Les 2 colonnes s'alignent d'elles-mêmes : remplace le script qui forçait
   `.wizard.row` à la hauteur du viewport (700 px de blanc sur grand écran). */
.recruitement-wizard .wizard.row {
    align-items: stretch;
}

/* En-tête candidat : photo + identité + contact, alignés à gauche comme le
   reste de la colonne. Le nom seul, centré, ne disait ni depuis quand la
   candidature existe ni comment joindre la personne. */
.eb-recr-candidate-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid var(--eb-border, #e2e8f0);
    margin-bottom: 1rem;
    /* `.wizard-right` est un flex column en align-items:center : sans ces deux
       règles, le bandeau se réduit à la largeur de son contenu et se centre,
       donc ni son bord gauche ni son filet ne tombent sur ceux du formulaire
       en dessous (qui, lui, est en w-100). */
    align-self: stretch;
    width: 100%;
}
.eb-recr-candidate-photo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex: 0 0 auto;
    background: var(--bkg-color12, #eef2f7);
}
.eb-recr-candidate-id {
    min-width: 0;
}
.eb-recr-candidate-id .h5 {
    display: block;
    margin-bottom: .25rem;
}
.eb-recr-candidate-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    font-size: var(--eb-fs-rem-base, 0.8125rem);
    color: var(--txt-color3, #64748b);
}
.eb-recr-candidate-meta a {
    color: inherit;
}
.eb-recr-candidate-meta i {
    opacity: .7;
    margin-right: .2rem;
}
@media (max-width: 575.98px) {
    .eb-recr-candidate-head {
        flex-direction: column;
        text-align: center;
        gap: .5rem;
    }
    .eb-recr-candidate-meta {
        justify-content: center;
    }
}

/* Candidature sans étape : phrase d'explication sous le bloc de navigation. */
.eb-recr-nav-hint {
    margin: .75rem .5rem 0;
    font-size: var(--eb-fs-rem-base, 0.8125rem);
    color: var(--txt-color3, #64748b);
}

/* --- Formulaire sans étape : le pipeline rendait une page vide --- */
.eb-pipe-noflow {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--eb-text-secondary, #64748b);
}
.eb-pipe-noflow i {
    font-size: var(--eb-fs-rem-display, 2rem);
    opacity: .35;
}
@media (max-width: 992px) {
    #supervisor-view.body-wizard.recruitement-wizard .wizard.row{
        overflow: visible !important;
        display: block;
    }
}
#recr-register-btn {
    background-color: var(--bkg-color6);
}
@media (hover: hover){#recr-register-btn:hover{
    background-color: var(--bs-btn-hover-bg);
}}
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: -30px;
}
.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--eb-palette-black, #000000);
}
.separator:not(:empty)::before {
    margin-right: .25em;
}
.separator:not(:empty)::after {
    margin-left: .25em;
}

.step-btn {
    min-width: 180px;
}

.input-group-text.ombre_btn.sous_niveau_button {
    border-color:currentcolor currentcolor black;
    border-style: none none solid;
    border-width: medium medium 2px;
    border-image: none 100% / 1 / 0 stretch;
    border-radius: 0px;
}

.custom-form {
    width:100%;

}

#scrollingDiv {
    max-height: 75vh;
    overflow-y: scroll;
    width: 100%;
}
div:has(#scrollingDiv){
    padding-right: 0px !important;
}

/* Réordonnancement champs (jQuery UI sortable sur tbody, js/forms.js) :
   poignée dans sa propre colonne, nom aligné à gauche, champ d'un groupe en
   retrait sous son intertitre, groupe sur fond distinct. */
#form_options tbody td:first-child,
#form_options thead th:first-child {
    color: var(--eb-text-secondary, #6c757d);
    text-align: center;
    padding-left: 4px !important;
    padding-right: 4px !important;
}
#form_options .drag-handle {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: grab;
}
#form_options td.rf-opt-title { text-align: left !important; }
#form_options tr.rf-option-in-group td.rf-opt-title { padding-left: 34px !important; }
#form_options tr.rf-group-row td { font-weight: 600; background-color: var(--eb-surface-muted, #f4f6fb) !important; }
#form_options tbody tr { cursor: grab; }

/* Stepper édition formulaire (Configuration / Paramétrage fusionnés) */
.form-config-recrutement-card .recrutement-form-stepper {
    position: relative;
    z-index: 2;
}
.form-config-recrutement-card .recrutement-form-stepper .stepper-item.recrutement-step-active .stepper-icon {
    box-shadow: 0 0 0 2px var(--txt-color26);
}

/* #9906 — Carrousel visuel des rendez-vous automatiques */
.eb-rdv-track {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px;
}
.eb-rdv-card {
    min-width: 160px;
    flex: 0 0 auto;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    margin: 0;
}
@media (hover: hover){.eb-rdv-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--eb-palette-black, #000000) 12%, transparent) !important;
}}
.eb-rdv-card .eb-rdv-date { font-size: var(--eb-fs-rem-lg, 1rem); }
.eb-rdv-card .eb-rdv-hour { font-size: var(--eb-fs-rem-title, 1.5rem); }


/* #9906 — Layout type login.php pour la page formulaire (image à gauche) */
.eb-form-split { min-height: 100vh; }
.eb-form-split-img {
    background-size: cover;
    background-position: center;
    min-height: 40vh;
}
@media (min-width: 992px) {
    .eb-form-split-img { min-height: 100vh; }
}

/* #10253 — Supervisor view (Liste) : alignement du contenu avec #menu.mc-tabs-bar.
   La barre de tabs principale (mc-tabs-bar) a margin: 0 16px → contenu visible
   à parent+16px. Le supervisor view enchaîne plusieurs container-fluid + row
   imbriqués et une <ul class='nav m-3 ...stats-container-new'> (m-3 = 1rem).
   Cumul des décalages → tuiles "à traiter / En cours / ..." à parent+28px, et
   toolbar à parent+~31px, soit ~12-15px à droite de la barre des tabs. */
.recrutement-supervisor-view.container-fluid {
    /* Padding 16px pour coller au margin: 0 16px de mc-tabs-bar. */
    padding-left: 16px;
    padding-right: 16px;
}
.recrutement-supervisor-view > .row {
    /* Annule la negative margin -0.75rem du .row : on veut les enfants
       à l'intérieur du padding 16px et pas qui débordent. */
    margin-left: 0;
    margin-right: 0;
}
.recrutement-supervisor-view .stats-container-new {
    /* La fonction globale write_stats_containers_group impose `m-3` (1rem)
       sur tous les côtés. On retire le côté horizontal pour que la ligne
       de stats soit flush avec le parent (et donc avec mc-tabs-bar). */
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* Le parent .row est display:flex donc une simple width:100% ne suffit
       pas — l'UL hérite d'un flex:0 0 auto et reste à sa largeur de contenu
       (somme des tuiles + gaps, ~54px avant le bord droit du bloc tabs).
       flex:1 1 auto force l'UL à s'étendre sur toute la largeur du row,
       et les tuiles (flex:1 1 0) se répartissent l'espace supplémentaire. */
    flex: 1 1 auto;
    min-width: 0;
}
.recrutement-supervisor-view > #toolbar.container-fluid {
    /* Le toolbar est un container-fluid imbriqué : on retire son padding
       horizontal pour rester aligné sur le bord du parent. */
    padding-left: 0;
    padding-right: 0;
}
body.eb-has-topbar-v2 .recrutement-supervisor-table .fixed-table-toolbar {
    /* Global eBrigade applique `body.eb-has-topbar-v2 .fixed-table-toolbar
       { padding: 4px 16px !important }` mais une autre règle (vraisemblablement
       dans bootstrap-table.min.css) écrase `padding-right:0 !important`. La
       search, justify-content:flex-end, va donc jusqu'au bord droit du wrapper
       (~16px au-delà du bord droit du bloc stats / mc-tabs-bar). On reprend
       le sélecteur `body.eb-has-topbar-v2 ...` pour matcher la spécificité
       du global avec en plus notre classe scope (= specificity 0,3,1) et on
       force padding-right:16px. */
    padding-right: 16px !important;
}
.recrutement-supervisor-table .fixed-table-toolbar .search {
    /* La toolbar bootstrap-table est display:flex avec .search en dernier
       enfant et flex:1 1 auto → le wrapper s'étend (~1180px) mais l'input
       (300px) reste collé à GAUCHE du wrapper, donc visuellement à côté du
       column-picker au lieu d'être à droite du tableau.
       justify-content:flex-end aligne l'input sur le bord droit du wrapper
       (= bord droit du toolbar = bord droit du tableau).
       Note : on cible .recrutement-supervisor-table (classe ajoutée via
       BootstrapTablePerso::setClassDiv) au lieu de .recrutement-supervisor-view
       parce que bootstrap-table.js sort le wrapper de table de notre <div>
       et le re-rend en sibling — la chaîne ancêtre est cassée à l'exécution. */
    justify-content: flex-end;
}

/* #10253 — Paramétrage Recrutement : alignement des cards avec #menu.mc-tabs-bar.
   Le row a déjà son negative-margin qui colle au bord du form (lui-même
   aligné avec mc-tabs-bar), mais col-sm-6 ajoute un padding gutter de 0.75rem
   qui décale le bord visible des cards (gauche de la 1ère, droite de la dernière)
   de ~15px par rapport au bloc des tabs. On annule ce padding extérieur.
   Gutter intérieur conservé (1rem) pour garder un espace propre entre les 2 cards. */
.recrutement-params-row {
    --bs-gutter-x: 1rem;
}
.recrutement-params-row > [class*='col-']:first-child {
    padding-left: 0;
}
.recrutement-params-row > [class*='col-']:last-child {
    padding-right: 0;
}
@media (max-width: 1399.98px) {
    /* Paramétrage : les deux colonnes s'empilent sous 1400 px (col-xxl,
       module.class.php) — toutes deux sans gouttière, sinon la première
       garderait 8 px à droite et la seconde 8 px à gauche. */
    .recrutement-params-row > .col-xxl-4,
    .recrutement-params-row > .col-xxl-8 {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (max-width: 575.98px) {
    /* En stacked (xs), on supprime les paddings horizontaux pour
       que toutes les cards soient flush avec le bloc tabs. */
    .recrutement-params-row > [class*='col-'] {
        padding-left: 0;
        padding-right: 0;
    }
}

/* #10253 — Dark mode pour la card "Motifs de refus" dans l'édition de
   formulaire. dashboard-modern.css applique
   `body.eb-has-topbar-v2 .table thead th { background:#E2E8F0 !important; ... }`
   sans variante dark → en thème sombre on a un thead clair (presque blanc)
   sur un fond de card sombre, avec un texte gris foncé peu lisible. On
   re-cible la même règle scopée à `.form-motifs-recrutement-card` et on
   utilise les variables CSS eBrigade pour suivre le thème.
   Note : on ne touche PAS au fix global pour éviter toute régression sur
   les ~100 autres tables de l'app qui peuvent dépendre de cet aspect clair
   (ex : pages exports/print, vues legacy). */
html.dark .form-motifs-recrutement-card table thead th {
    /* Note sur les variables eBrigade en dark mode :
       --txt-color6 = #d20019 (rouge, à éviter pour du texte d'en-tête)
       --txt-color3 = #a7a7a7 (gris muted, parfait pour des en-têtes)
       --bor-color12 = #303030 (bordure sombre)
       Les hex fallbacks correspondent au schéma slate de dashboard-modern.css. */
    background: var(--eb-palette-slate-800, #1e293b) !important;
    color: var(--txt-color3, #94a3b8) !important;
    border-bottom: 1px solid var(--bor-color12, #334155) !important;
}
html.dark .form-motifs-recrutement-card .card-body {
    /* La règle Bootstrap `.table { color: var(--bs-table-color); }` met
       le texte du tableau à #212529 (noir) en dark mode → invisible sur
       fond sombre. On force la couleur de texte de la card pour que les
       lignes vides / textes hors `.form-control` restent lisibles. */
    color: var(--txt-color3, #e2e8f0);
}
html.dark .form-motifs-recrutement-card table {
    color: var(--txt-color3, #e2e8f0) !important;
}
/* #12099 — Paramétrage d'un formulaire (editForm) : grille de réglages commune.
   Avant, chaque card composait ses lignes à sa façon (largeurs de colonne
   implicites, interrupteurs tantôt collés au libellé tantôt en float:right,
   aides en 3 markups différents) → aucun alignement d'une card à l'autre.
   Toutes les lignes passent désormais par settingRow() / settingSwitch(). */
.eb-recr-settings > tbody > tr > td {
    padding: .4rem 0;
    vertical-align: middle;
}
.eb-recr-settings > tbody > tr > td.eb-recr-label {
    width: 40%;
    padding-right: 1rem;
    vertical-align: top;
    padding-top: .75rem;
}
.eb-recr-settings > tbody > tr > td.eb-recr-control {
    width: 60%;
}
/* Ligne « pleine largeur » : libellé au-dessus du contrôle (éditeurs, textarea
   longs) — un label à gauche laisserait le contrôle trop étroit. */
.eb-recr-settings > tbody > tr > td.eb-recr-stacked > label {
    display: block;
    margin-bottom: .35rem;
}
.eb-recr-settings label {
    margin-bottom: 0;
}
/* Interrupteur : aligné sur le début de la colonne contrôle, comme les inputs.
   (les moyens de paiement utilisaient float:right → 2 alignements distincts) */
.eb-recr-switch {
    float: none;
    margin: 0;
    font-size: var(--eb-fs-base, 13px);
    line-height: 12px;
}
/* Précision sous un contrôle. Reste lisible en thème sombre (--txt-color3). */
.eb-recr-hint {
    display: block;
    margin-top: .3rem;
    color: var(--txt-color3, #64748b);
    font-size: var(--eb-fs-rem-sm, 0.75rem);
    line-height: 1.35;
}
.eb-recr-sublabel {
    display: block;
    margin-bottom: .2rem;
    color: var(--txt-color3, #64748b);
}
/* Les 2 selects empilés d'Avant / Après recrutement. */
.eb-recr-stackfields {
    display: flex;
    flex-direction: column;
}
.eb-recr-narrow {
    max-width: 120px;
}
/* Sous-bloc d'une card (ex : Don dans « Cotisation et paiement »). */
.eb-recr-subsection {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--eb-border, #e2e8f0);
}
.eb-recr-subtitle {
    font-weight: 600;
    margin-bottom: .25rem;
}
/* Picto devant chaque moyen de paiement (carte Paiement). */
.eb-recr-pm-ico {
    width: 1.25em;
    margin-right: .5rem;
    text-align: center;
    color: var(--txt-color3, #64748b);
}
/* Bloc flouté « module désactivé » dans une card : un peu d'air autour. */
.eb-recr-settings + .eb-mod-off, .card-body > .eb-mod-off { margin: -4px; padding: 4px; }
/* État vide d'une card sans tableau (Rendez-vous automatique sans créneau). */
.eb-recr-empty {
    color: var(--txt-color3, #64748b);
    font-size: var(--eb-fs-rem-md, 0.875rem);
    padding: .5rem 0;
}
@media (max-width: 767.98px) {
    /* En colonne étroite, libellé au-dessus du contrôle : 40/60 rendrait les
       champs inutilisables. */
    .eb-recr-settings > tbody > tr > td.eb-recr-label,
    .eb-recr-settings > tbody > tr > td.eb-recr-control {
        display: block;
        width: 100%;
        padding-right: 0;
    }
    .eb-recr-settings > tbody > tr > td.eb-recr-label {
        padding-top: .5rem;
        padding-bottom: .2rem;
    }
}

/* =========================================================================
   #12099bis — Paramétrage d'un formulaire : bandeau d'identité + onglets.
   La page empilait 12 cards de même poids sur ~3 700 px, sans jamais dire
   quel formulaire on éditait.
   ========================================================================= */

/* --- Bandeau d'identité (réutilise .eb-hero de dashboard-modern.css) -----
   Pas d'align-items ici : .eb-hero centre déjà en desktop et repasse en
   flex-start sous 768 px. Le redéfinir cassait l'alignement mobile. */
.eb-recr-hero-title {
    font-size: var(--eb-fs-rem-lg, 1rem);
    line-height: 1.3;
}
.eb-recr-hero-untitled {
    font-style: italic;
    opacity: .7;
}
.eb-recr-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .35rem;
}
.eb-recr-hero-badges .label {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: var(--eb-fs-xs, 11px);
    font-weight: 600;
    padding: 2px 9px;
    border-radius: var(--eb-radius-pill, 999px);
}
.eb-recr-badge-on {
    background: color-mix(in srgb, var(--eb-success, #16a34a) 14%, transparent);
    color: var(--eb-success, #16a34a);
}
.eb-recr-badge-off {
    background: color-mix(in srgb, var(--eb-warning, #f59e0b) 16%, transparent);
    color: var(--eb-warning, #b45309);
}
.eb-recr-badge-neutral {
    background: var(--eb-surface-hover, #eef2f7);
    color: var(--eb-text-secondary, #64748b);
}
.eb-recr-hero-link {
    flex-shrink: 0;
    white-space: nowrap;
}
.eb-recr-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    flex-shrink: 0;
}
.eb-recr-hero-publish {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}

/* --- Barre d'onglets ----------------------------------------------------
   Le conteneur reprend les classes de sous-onglets du produit
   (.table-nav.table-tabs.sub-tabs) : styles, scroll horizontal mobile et
   auto-init tab-scroll sont hérités, rien de custom à maintenir ici. */
.eb-recr-tabs {
    margin-bottom: 1rem;
}
.eb-recr-tabs .nav-link {
    white-space: nowrap;
}
/* Le premier bloc d'un onglet colle sinon à la barre. */
.tab-content > .tab-pane > .recrutement-params-row:first-child {
    margin-top: .25rem;
}

/* ==========================================================================
   Organisation ▸ Module ▸ Recrutement — responsables d'étapes
   --------------------------------------------------------------------------
   Refonte du 28/11/2026 : chaque formulaire est un parcours vertical (une
   pastille numérotée par étape, reliées par un trait), les personnes sont
   des pastilles avec photo, « + Ajouter » ouvre une fenêtre de choix
   (.ebrs-swal). Rien ne recharge la page (js/responsables_etapes.js).
   Tout est préfixé par `.eb-recrut` (ou `.ebrs-swal` pour la fenêtre) : la
   feuille reste dans le <head> pendant toute la session SPA.
   ========================================================================== */
.eb-recrut .eb-notice { margin-bottom: 12px; }
.eb-recrut .eb-recrut-card { margin-bottom: 14px; }
.eb-recrut .eb-recrut-card .card-header i.fa-route { color: var(--eb-primary); margin-right: 4px; }
.eb-recrut .ebrs-orphan { font-weight: 400; opacity: .6; font-size: var(--eb-fs-sm, 12px); }

/* Jauge « étapes pourvues » dans l'en-tête de la carte */
.eb-recrut .ebrs-gauge { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); }
.eb-recrut .ebrs-gauge__bar { width: 72px; height: 6px; border-radius: var(--eb-radius-pill, 999px); background: var(--eb-border); overflow: hidden; }
.eb-recrut .ebrs-gauge__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--eb-success); transition: width .4s ease; }
.eb-recrut .ebrs-gauge.is-partial .ebrs-gauge__bar > span { background: var(--eb-warning); }
.eb-recrut .ebrs-gauge__txt b { color: var(--eb-text); font-weight: 700; }

/* Parcours : liste ordonnée, trait vertical derrière les pastilles */
.eb-recrut .ebrs-flow { list-style: none; margin: 0; padding: 2px 0; counter-reset: none; }
.eb-recrut .ebrs-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 0 14px 0;
}
.eb-recrut .ebrs-step:last-child { padding-bottom: 0; }
.eb-recrut .ebrs-step::before {
    content: "";
    position: absolute;
    left: 15px; top: 32px; bottom: 0;
    width: 2px;
    background: var(--eb-border);
}
.eb-recrut .ebrs-step:last-child::before { display: none; }

.ebrs-step__dot {
    position: relative; z-index: 1;
    flex: 0 0 auto;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: var(--eb-fs-base, 13px); font-weight: 700;
    background: var(--eb-primary);
    color: var(--eb-on-fill, #fff);
    box-shadow: 0 0 0 4px var(--eb-surface);
}
.eb-recrut .ebrs-step.is-inherited .ebrs-step__dot { background: var(--eb-surface); color: var(--eb-text-secondary); border: 2px dashed var(--eb-border); }
.eb-recrut .ebrs-step.is-empty .ebrs-step__dot { background: var(--eb-warning-light); color: var(--eb-warning); border: 2px solid var(--eb-warning); }

.eb-recrut .ebrs-step__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px 16px;
    padding: 8px 12px;
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-md, 10px);
    background: var(--eb-surface);
    transition: border-color .2s, box-shadow .2s, background-color .6s;
}
.eb-recrut .ebrs-step.is-empty .ebrs-step__main { border-style: dashed; border-color: var(--eb-warning); }
.eb-recrut .ebrs-step.is-fresh .ebrs-step__main { background: var(--eb-primary-light); }
.eb-recrut .ebrs-step__label {
    flex: 0 0 220px;
    font-size: var(--eb-fs-base, 13px); font-weight: 600;
    color: var(--eb-text);
    overflow-wrap: anywhere;
}
.eb-recrut .ebrs-step__people { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Pastille d'une personne */
.eb-recrut .ebrs-chip {
    display: inline-flex; align-items: center; gap: 8px;
    max-width: 100%;
    padding: 3px 6px 3px 3px;
    border-radius: var(--eb-radius-pill, 999px);
    background: var(--eb-surface-hover);
    border: 1px solid var(--eb-border);
    transition: opacity .25s, transform .25s;
}
.eb-recrut .ebrs-chip.is-leaving { opacity: .35; transform: scale(.96); pointer-events: none; }
.eb-recrut .ebrs-chip img, .eb-recrut .ebrs-chip .ebrs-chip__av { width: 28px !important; height: 28px !important; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.eb-recrut .ebrs-chip__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; padding-right: 2px; }
.eb-recrut .ebrs-chip__name { font-size: var(--eb-fs-sm, 12px); font-weight: 600; color: var(--eb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-recrut .ebrs-chip .ebrs-chip__name a { color: inherit !important; text-decoration: none; }
.eb-recrut .ebrs-chip__name a:hover { color: var(--eb-primary); }
.eb-recrut .ebrs-chip__org { font-size: var(--eb-fs-2xs, 10px); color: var(--eb-text-secondary); white-space: nowrap; }
.eb-recrut .ebrs-chip__mail, .eb-recrut .ebrs-chip__del {
    width: 24px; height: 24px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%;
    background: transparent; color: var(--eb-text-muted);
    font-size: var(--eb-fs-sm, 12px); cursor: pointer;
    transition: background-color .15s, color .15s;
}
.eb-recrut .ebrs-chip__mail:hover { background: var(--eb-primary-light); color: var(--eb-primary); }
.eb-recrut .ebrs-chip__del:hover { background: var(--eb-danger-light); color: var(--eb-danger); }
.eb-recrut .ebrs-chip.is-inherited { background: transparent; border-style: dashed; }
/* Ordinateur : message et retrait n'apparaissent qu'au survol de la pastille */
@media (hover: hover) {
    .eb-recrut .ebrs-chip__mail, .eb-recrut .ebrs-chip__del { width: 0; opacity: 0; margin-left: -4px; transition: width .15s, opacity .15s, margin .15s, background-color .15s, color .15s; }
    .eb-recrut .ebrs-chip:hover .ebrs-chip__mail, .eb-recrut .ebrs-chip:hover .ebrs-chip__del,
    .eb-recrut .ebrs-chip:focus-within .ebrs-chip__mail, .eb-recrut .ebrs-chip:focus-within .ebrs-chip__del { width: 24px; opacity: 1; margin-left: 0; }
}
.eb-recrut .ebrs-chip.is-inherited .ebrs-chip__name { color: var(--eb-text-secondary); font-weight: 500; }
.eb-recrut .ebrs-chip.is-inherited img { filter: grayscale(1); opacity: .8; }

.eb-recrut .ebrs-nobody { display: inline-flex; align-items: center; gap: 6px; font-size: var(--eb-fs-sm, 12px); font-weight: 600; color: var(--eb-warning); }

/* Bouton « + Ajouter » : pastille pointillée, au bout des personnes */
.eb-recrut .ebrs-add {
    display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 12px;
    border: 1.5px dashed var(--eb-primary);
    border-radius: var(--eb-radius-pill, 999px);
    background: transparent;
    color: var(--eb-primary);
    font-size: var(--eb-fs-sm, 12px); font-weight: 600;
    cursor: pointer;
    transition: background-color .15s;
}
.eb-recrut .ebrs-add:hover { background: var(--eb-primary-light); }
.eb-recrut .ebrs-add.eb-btn-bloque { border-color: var(--eb-border); color: var(--eb-text-muted); }

/* Formulaires supprimés, repliés en bas */
.eb-recrut .ebrs-old { margin-top: 4px; }
.eb-recrut .ebrs-old > summary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; margin-bottom: 10px;
    border-radius: var(--eb-radius-pill, 999px);
    font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary);
    cursor: pointer; list-style: none;
    background: var(--eb-surface-hover);
}
.eb-recrut .ebrs-old > summary::-webkit-details-marker { display: none; }
.eb-recrut .ebrs-old__n { font-weight: 700; color: var(--eb-text); }

@media (max-width: 767.98px) {
    .eb-recrut .ebrs-step__main { flex-direction: column; align-items: stretch; gap: 8px; }
    .eb-recrut .ebrs-step__label { flex: 0 0 auto; }
    .eb-recrut .ebrs-gauge__bar { width: 48px; }
}

/* ── Fenêtre de choix ─────────────────────────────────────────────────── */
.ebrs-swal.swal3-popup { padding: 18px 0 16px; border-radius: var(--eb-radius-lg, 16px); }
.ebrs-swal .ebrs-swal__body { margin: 0; padding: 0; text-align: left; overflow: visible; }
.ebrs-swal .ebrs-pick { display: flex; flex-direction: column; gap: 10px; }
.ebrs-swal .ebrs-pick__head { display: flex; align-items: center; gap: 10px; padding: 0 44px 0 18px; }
.ebrs-swal .ebrs-step__dot { width: 28px; height: 28px; font-size: var(--eb-fs-sm, 12px); box-shadow: none; }
.ebrs-swal .ebrs-pick__title { font-size: var(--eb-fs-lg, 16px); font-weight: 700; color: var(--eb-text); }
.ebrs-swal .ebrs-pick__search { position: relative; margin: 0 18px; }
.ebrs-swal .ebrs-pick__search i { position: absolute; z-index: 1; pointer-events: none; left: 12px; top: 50%; transform: translateY(-50%); color: var(--eb-text-muted); font-size: var(--eb-fs-base, 13px); }
.ebrs-swal .ebrs-pick__q {
    width: 100%; height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid var(--eb-border); border-radius: var(--eb-radius-md, 10px);
    background: var(--eb-surface); color: var(--eb-text);
    font-size: var(--eb-fs-md, 14px); outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.ebrs-swal .ebrs-pick__q:focus { border-color: var(--eb-primary); box-shadow: 0 0 0 3px var(--eb-primary-light); }
.ebrs-swal .ebrs-pick__filters { display: flex; align-items: center; gap: 10px; margin: 0 18px; flex-wrap: wrap; }
.ebrs-swal .ebrs-pick__filters:not(:has(:not([hidden]))) { display: none; }
.ebrs-swal .ebrs-pick__org {
    min-width: 150px; max-width: 60%; height: 32px;
    padding: 0 10px;
    border: 1px solid var(--eb-border); border-radius: var(--eb-radius-sm, 8px);
    background-color: var(--eb-surface); color: var(--eb-text);
    font-size: var(--eb-fs-sm, 12px); font-weight: 600; cursor: pointer;
}
.ebrs-swal .ebrs-pick__sub { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); cursor: pointer; }
.ebrs-swal .ebrs-pick__sub[hidden], .ebrs-swal .ebrs-pick__org[hidden] { display: none; }
.ebrs-swal .ebrs-pick__sub .form-check-input { margin: 0; }
.ebrs-swal .ebrs-pick__list {
    max-height: min(52vh, 420px);
    overflow-y: auto;
    padding: 2px 10px;
    border-top: 1px solid var(--eb-border);
    border-bottom: 1px solid var(--eb-border);
    transition: opacity .2s;
}
.ebrs-swal .ebrs-pick__list.is-loading { opacity: .5; }
.ebrs-swal .ebrs-pick__row {
    width: 100%;
    display: flex; align-items: center; gap: 12px;
    padding: 7px 8px;
    border: 0; border-radius: var(--eb-radius-md, 10px);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s;
}
.ebrs-swal .ebrs-pick__row[hidden] { display: none; }
.ebrs-swal .ebrs-pick__row:hover { background: var(--eb-surface-hover); }
.ebrs-swal .ebrs-pick__row img { width: 36px !important; height: 36px !important; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.ebrs-swal .ebrs-pick__who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ebrs-swal .ebrs-pick__name { font-size: var(--eb-fs-base, 13px); font-weight: 600; color: var(--eb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebrs-swal .ebrs-pick__code { font-size: var(--eb-fs-xs, 11px); color: var(--eb-text-secondary); }
.ebrs-swal .ebrs-pick__tick {
    width: 24px; height: 24px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--eb-border);
    color: transparent; font-size: var(--eb-fs-xs, 11px);
    transition: all .18s;
}
.ebrs-swal .ebrs-pick__row.is-on .ebrs-pick__tick { background: var(--eb-primary); border-color: var(--eb-primary); color: var(--eb-on-fill, #fff); transform: scale(1.06); }
.ebrs-swal .ebrs-pick__row.is-on .ebrs-pick__name { color: var(--eb-primary); }
.ebrs-swal .ebrs-pick__row.is-busy { opacity: .6; pointer-events: none; }
.ebrs-swal .ebrs-pick__empty, .ebrs-swal .ebrs-pick__loading {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 28px 10px;
    color: var(--eb-text-muted); font-size: var(--eb-fs-base, 13px);
}
.ebrs-swal .ebrs-pick__empty i { font-size: var(--eb-fs-xl, 20px); }
.ebrs-swal .swal3-actions { margin: 14px 18px 0; justify-content: flex-end; }

/* =====================================================================
   Prise de rendez-vous facon Calendly (#12520)

   Remplace .eb-rdv-carousel, qui alignait horizontalement les N premiers
   creneaux du catalogue sans mois ni navigation. Les couleurs viennent des
   jetons globaux : ils basculent deja en theme sombre, aucune regle
   dupliquee sous :root.dark n'est necessaire ici.
   ===================================================================== */
.eb-booking { display: block; width: 100%; }
.eb-bk { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
@media (max-width: 767.98px) { .eb-bk { grid-template-columns: 1fr; gap: 18px; } }

.eb-bk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.eb-bk-month { font-weight: 600; text-transform: capitalize; }
.eb-bk-nav { display: flex; gap: 6px; }
.eb-bk-nav button {
    width: 30px; height: 30px; border-radius: var(--eb-radius-sm, 8px); line-height: 1;
    border: 1px solid var(--eb-border); background: var(--eb-surface);
    color: var(--eb-text); cursor: pointer; font-size: var(--eb-fs-md, 14px);
}
.eb-bk-nav button:disabled { opacity: .35; cursor: default; }

.eb-bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.eb-bk-dow {
    text-align: center; font-size: var(--eb-fs-xs, 11px); text-transform: uppercase;
    letter-spacing: .04em; color: var(--eb-text-secondary); padding-bottom: 4px;
}
.eb-bk-day {
    aspect-ratio: 1 / 1; border: 1px solid transparent; border-radius: var(--eb-radius-sm, 8px);
    background: transparent; color: var(--eb-text-muted); font-size: var(--eb-fs-md, 14px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 0; cursor: default; font-variant-numeric: tabular-nums;
}
.eb-bk-pip { width: 4px; height: 4px; border-radius: 50%; background: transparent; display: block; }
.eb-bk-out { visibility: hidden; }
.eb-bk-free {
    background: var(--eb-primary-light); color: var(--eb-primary);
    font-weight: 600; cursor: pointer;
}
.eb-bk-free .eb-bk-pip { background: var(--eb-primary); }
@media (hover: hover) { .eb-bk-free:hover { border-color: var(--eb-primary); } }
.eb-bk-full { color: var(--eb-text-muted); }
.eb-bk-full .eb-bk-pip { background: var(--eb-text-muted); }
.eb-bk-today { box-shadow: inset 0 0 0 1px var(--eb-border); }
.eb-bk-sel, .eb-bk-free.eb-bk-sel {
    background: var(--eb-primary); color: var(--eb-palette-white, #ffffff); border-color: var(--eb-primary);
}
.eb-bk-sel .eb-bk-pip { background: color-mix(in srgb, var(--eb-palette-white, #ffffff) 85%, transparent); }

.eb-bk-legend {
    display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px;
    font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary);
}
.eb-bk-legend span { display: flex; align-items: center; gap: 6px; }
.eb-bk-legend i { width: 9px; height: 9px; border-radius: var(--eb-radius-2xs, 2px); display: inline-block; }
.eb-bk-dot-free { background: var(--eb-primary); }
.eb-bk-dot-full { background: var(--eb-text-muted); }

.eb-bk-slots { border-left: 1px solid var(--eb-border); padding-left: 24px; }
@media (max-width: 820px) {
    .eb-bk-slots { border-left: 0; padding-left: 0; border-top: 1px solid var(--eb-border); padding-top: 18px; }
}
.eb-bk-daytitle { font-weight: 600; margin: 0 0 2px; text-transform: capitalize; }
.eb-bk-daysub { font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); margin: 0 0 12px; }
.eb-bk-list { display: flex; flex-direction: column; gap: 7px; max-height: 340px; overflow-y: auto; }
.eb-bk-slot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border: 1px solid var(--eb-primary-dim); border-radius: var(--eb-radius-sm, 8px);
    background: var(--eb-surface); color: var(--eb-primary);
    font-size: var(--eb-fs-md, 14px); font-weight: 600; padding: 10px 14px; cursor: pointer;
    text-align: left; font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
    .eb-bk-slot:hover { background: var(--eb-primary); border-color: var(--eb-primary); color: var(--eb-palette-white, #ffffff); }
}
.eb-bk-slot.eb-bk-picked {
    background: var(--eb-primary); border-color: var(--eb-primary); color: var(--eb-palette-white, #ffffff);
}
.eb-bk-who { font-weight: 400; font-size: var(--eb-fs-xs, 11px); opacity: .78; }
.eb-bk-taken {
    border-color: var(--eb-border); color: var(--eb-text-muted);
    background: var(--eb-bg); cursor: default;
}
.eb-bk-empty, .eb-bk-loading {
    border: 1px dashed var(--eb-border); border-radius: var(--eb-radius-sm, 8px); padding: 16px;
    font-size: var(--eb-fs-base, 13px); color: var(--eb-text-secondary);
}
.eb-bk-loading { border-style: solid; text-align: center; }

/* Recapitulatif du rendez-vous deja pose, cote candidat */
.eb-rdv-booked {
    border: 1px solid var(--eb-success); background: var(--eb-success-light);
    border-radius: var(--eb-radius-md, 10px); padding: 16px; display: flex; flex-direction: column; gap: 4px;
}
.eb-rdv-booked .eb-rdv-when { font-size: var(--eb-fs-lg, 16px); font-weight: 600; text-transform: capitalize; }
.eb-rdv-booked .eb-rdv-meta { font-size: var(--eb-fs-base, 13px); color: var(--eb-text-secondary); }
.eb-rdv-booked .eb-rdv-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* =====================================================================
   Grille de disponibilite hebdomadaire (parametrage)
   ===================================================================== */
.eb-av-wrap { overflow-x: auto; }
.eb-av-grid {
    display: grid; grid-template-columns: 56px repeat(7, minmax(52px, 1fr));
    gap: 2px; min-width: 480px; -webkit-user-select: none; user-select: none;
}
.eb-av-hd {
    text-align: center; font-size: var(--eb-fs-xs, 11px); text-transform: uppercase;
    letter-spacing: .05em; color: var(--eb-text-secondary); padding-bottom: 6px;
}
.eb-av-tm {
    font-size: var(--eb-fs-2xs, 10px); color: var(--eb-text-muted); text-align: right;
    padding-right: 7px; line-height: 1; transform: translateY(-4px);
    font-variant-numeric: tabular-nums;
}
.eb-av-cell {
    height: 15px; border-radius: var(--eb-radius-2xs, 2px); background: var(--eb-bg);
    border: 0; padding: 0; cursor: pointer;
}
@media (hover: hover) { .eb-av-cell:hover { background: var(--eb-primary-dim); } }
.eb-av-cell[data-on="1"] { background: var(--eb-primary); }
.eb-av-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.eb-av-stat {
    background: var(--eb-bg); border: 1px solid var(--eb-border); border-radius: var(--eb-radius-sm, 8px);
    padding: 10px 14px; min-width: 128px; flex: 1 1 128px;
}
.eb-av-stat b { display: block; font-size: var(--eb-fs-xl, 20px); line-height: 1.15; font-variant-numeric: tabular-nums; }
.eb-av-stat span {
    display: block; font-size: var(--eb-fs-2xs, 10px); text-transform: uppercase;
    letter-spacing: .05em; color: var(--eb-text-secondary); margin-top: 3px;
}
.eb-av-stat.eb-av-hero { background: var(--eb-primary-light); border-color: var(--eb-primary-dim); }
.eb-av-stat.eb-av-hero b { color: var(--eb-primary); }
.eb-av-summary { margin-top: 12px; font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); line-height: 1.8; }

/* =========================================================================
   Revue des écrans (24/10/2026) : Liste, Pipeline, Rendez-vous, Annulation
   et suivi d'un candidat.
   ========================================================================= */

/* --- Liste des candidatures -------------------------------------------------
   Six colonnes égales (194 px à 1 440 px) : « DATE DE CANDIDAT… » coupé et les
   étapes rognées à droite (« 2 - Entretien de motivatio »). Les dates prennent
   la largeur de leur en-tête, l'étape prend le reste. Classes posées par
   data-class (module.class.php) : les <td> n'ont pas de data-field. */
@media (min-width: 768px) {
    /* En-têtes : 4 px de marge au lieu de 2 × 16 px, libellé entier. */
    :is(#candidatures, #meetings, #cancelations) thead th {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    :is(#candidatures, #meetings, #cancelations) thead th .th-inner {
        padding-left: 8px !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    #candidatures :is(th, td).eb-recr-c-form { width: 14% !important; }
    #candidatures :is(th, td).eb-recr-c-cand { width: 18% !important; }
    #candidatures :is(th, td).eb-recr-c-pay { width: 12% !important; }
    #meetings :is(th, td).eb-recr-c-count { width: 110px !important; }
}
/* Grand écran : en-têtes sur une ligne, l'étape la plus longue tient. */
@media (min-width: 1400px) {
    #candidatures thead th:not(.eb-col-button) .th-inner {
        white-space: nowrap !important;
    }
    #candidatures :is(th, td).eb-recr-c-date { width: 156px !important; }
    #candidatures :is(th, td).eb-recr-c-depot { width: 172px !important; }
    #meetings :is(th, td).eb-recr-c-date { width: 172px !important; }
}
/* Écran moyen : en-têtes sur deux lignes (« DATE DE / CANDIDATURE ») et dates
   plus étroites, pour laisser la place à l'étape ; sous 1 200 px, boutons sur
   deux rangs. */
@media (min-width: 768px) and (max-width: 1399.98px) {
    /* Retour à la ligne entre les mots (ou à la française dans un mot),
       jamais « FORMUL / AIRE ». */
    :is(#candidatures, #meetings) thead th .th-inner {
        white-space: normal !important;
        line-height: 1.25 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: auto;
    }
    #candidatures :is(th, td).eb-recr-c-date { width: 112px !important; }
    #candidatures :is(th, td).eb-recr-c-depot { width: 126px !important; }
    #meetings :is(th, td).eb-recr-c-date { width: 126px !important; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    #candidatures thead th .th-inner {
        padding-left: 4px !important;
    }
    #candidatures :is(th, td).eb-recr-c-date { width: 108px !important; }
    #candidatures :is(th, td).eb-recr-c-depot { width: 118px !important; }
    #candidatures :is(th, td).eb-recr-c-form { width: 13% !important; }
    #candidatures :is(th, td).eb-recr-c-cand { width: 16% !important; }
    #candidatures :is(th, td).eb-recr-c-btn { width: 126px !important; }
    #candidatures td.eb-recr-c-btn > .d-flex {
        flex-wrap: wrap;
        justify-content: flex-end !important;
        row-gap: 4px;
    }
}
/* Texte sur deux lignes (« Devenir sapeur-pompier / volontaire ») : les
   lignes se touchaient. */
:is(#candidatures, #meetings, #cancelations) > tbody > tr > td {
    line-height: 1.35;
}
#candidatures td.eb-recr-c-cand a,
#candidatures .card-view-field-candidate .card-view-value a {
    font-weight: 600;
}
/* Pastilles d'étape : une par ligne, alignées à gauche, libellé entier (sur
   deux lignes s'il le faut) au lieu d'une ligne qui sort de la cellule. */
#candidatures .label.label-inline {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
    vertical-align: top;
    padding-left: 8px;
    padding-right: 8px;
}
/* `display: table` : une pastille par ligne, à la largeur de son libellé
   (d-inline-block est en !important ; la carte du téléphone les étirait à
   toute la largeur, cf. `.table.cards tr .label.label-inline`). */
#candidatures td.eb-recr-c-step .label.label-inline,
#candidatures .card-view-field-step .label.label-inline {
    display: table !important;
    width: auto !important;
    margin: 1px 0 !important;
}
#candidatures .card-view-field-candidate .label.label-inline {
    width: auto !important;
}
#candidatures td.eb-recr-c-cand .label.label-inline,
#candidatures .card-view-field-candidate .label.label-inline {
    margin: 2px 0 0 !important;
}

/* --- Suivi d'un candidat -----------------------------------------------------
   La colonne des étapes faisait 120 px par étape (rond de 50 px, marges de
   16 + 24 px, titre à 19 px) : au téléphone, 650 px d'étapes avant le nom du
   candidat. Même contenu, resserré — et de même dans l'espace du candidat
   (candidat.php), où les ronds rétrécissaient quand le titre passait à la
   ligne : les titres ne tombaient plus les uns sous les autres. */
.recruitement-wizard .wizard-one-step {
    margin: 0 0 4px;
    padding: 8px !important;
}
.recruitement-wizard .wizard-round {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin-right: 12px;
}
.recruitement-wizard .wizard-round.pending-step {
    box-shadow: inset 0 0 0 1px var(--eb-border);
}
.recruitement-wizard .wizard-number {
    font-size: var(--eb-fs-lg);
    margin: 0;
}
/* Titre en couleur de texte : en sombre, toutes les étapes étaient en bleu,
   l'étape ouverte ne se distinguait plus des autres. */
.recruitement-wizard .step-title {
    font-size: var(--eb-fs-lg);
    font-weight: 600;
    line-height: 1.3;
    color: var(--eb-text);
}
.recruitement-wizard .wizard-one-step.selected-step .step-title {
    color: var(--eb-primary);
}
.recruitement-wizard .step-sub-title {
    margin: 2px 0 0;
    font-size: var(--eb-fs-base);
    line-height: 1.35;
    color: var(--eb-text-secondary);
}
#supervisor-view .wizard-right-content {
    margin-top: 0;
}
/* Pictogramme à côté du titre « Résumé de la demande », et non au-dessus. */
.eb-recr-wizard-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.eb-recr-wizard-title h1 {
    margin: 0;
}
.eb-recr-wizard-title i {
    color: var(--eb-text-secondary);
}
/* Consigne de l'étape (« Le candidat choisit lui-même son créneau… ») : gris
   clair sur gris, à peine lisible. */
#supervisor-view .wizard-subtitle {
    color: var(--eb-text-secondary);
}
/* « La demande sera traitée par » : l'organisation qui reçoit la candidature,
   pas un champ grisé. */
#supervisor-view .false-input {
    color: var(--eb-text);
}
/* Onglet Annulation : candidat dont le nom n'a pas été gardé. */
.eb-recr-muted {
    color: var(--eb-text-muted);
}

/* =========================================================================
   Espace du candidat (candidat.php) — revue du 28/10/2026
   ========================================================================= */
/* Pas de menu latéral ici : la barre du haut gardait la place des 240 px du
   menu (bande vide à gauche), et le bloc du compte, plus haut qu'elle, sortait
   par le haut (« UITEST Candidat » coupé). */
.navbar.fixed-top.eb-recr-candidate-nav {
    left: 0 !important;
    width: 100% !important;
}
.eb-recr-candidate-nav #navbar-top,
.eb-recr-candidate-nav #navbar-top .nav-top,
.eb-recr-candidate-nav .user-div {
    height: 50px;
    align-items: center;
}
.eb-recr-candidate-nav .user-div {
    display: flex;
    gap: var(--eb-space-2);
}
.eb-recr-candidate-nav .user-infos .name {
    margin: 0;
}
/* Sous 992 px, la barre se repliait sans bouton pour la rouvrir : le candidat
   n'avait plus ni son compte ni « Se déconnecter » au téléphone. */
@media (max-width: 991.98px) {
    .eb-recr-candidate-nav #navbar-top {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        justify-content: flex-end;
    }
    .eb-recr-candidate-nav .user-infos {
        max-width: 40vw;
    }
    .eb-recr-candidate-nav .user-infos .name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Intitulé d'un groupe de questions (« Votre situation ») : en 23 px gras, il
   dépassait le titre de la page. Même intitulé que dans le formulaire public. */
.eb-recr-group-title {
    margin: var(--eb-space-5) 0 var(--eb-space-3);
    padding-bottom: var(--eb-space-2);
    border-bottom: 1px solid var(--eb-border);
    font-size: var(--eb-fs-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--eb-text-secondary);
}
/* Initiales du compte : 56 px dans une barre de 50 px, elles en débordaient. */
.eb-recr-candidate-nav .user-picture {
    display: flex;
    align-items: center;
}
.eb-recr-candidate-nav .user-picture img {
    width: 38px !important;   /* 56 px posés en style sur l'image */
    height: 38px !important;
}

/* Champs du candidat : 36, 38 et 46 px de haut selon le champ, à la suite.
   Tous à la hauteur des champs du produit, indicatif du numéro compris. */
.recruitement-wizard:not(#supervisor-view) .wizard-right-content input:is(.form-control, .datepicker, #address, #P_EMAIL),
.recruitement-wizard:not(#supervisor-view) .wizard-right-content .bootstrap-select > .btn {
    height: var(--eb-control-h);
    min-height: var(--eb-control-h);
    padding-top: 0;
    padding-bottom: 0;
}
.recruitement-wizard:not(#supervisor-view) .wizard-right-content .dropdown-ind-flag .input-group-text {
    display: flex;
    align-items: center;
    height: var(--eb-control-h);
}

/* ================================================================
   PARAMÉTRAGE › FORMULAIRES : une carte par formulaire (19/11/2026)
   Remplace le bootstrap-table #forms (colonnes centrées, description
   enroulée sur 7 lignes, étoile sans légende).
   ================================================================ */
.eb-recr-forms-tools {
  display: flex;
  align-items: center;
  gap: var(--eb-space-2);
  margin-left: auto;
}
.eb-recr-forms-search { position: relative; }
.eb-recr-forms-search i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--eb-text-muted);
  font-size: var(--eb-fs-sm);
}
.eb-recr-forms-search .form-control { padding-left: 30px; width: 220px; }

.eb-recr-forms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--eb-space-3);
}

.eb-recr-fc {
  display: flex;
  flex-direction: column;
  gap: var(--eb-space-2);
  min-width: 0;
  background: var(--eb-surface);
  border: 1px solid var(--eb-border);
  border-left: 4px solid var(--eb-success);
  border-radius: var(--eb-radius-md);
  padding: var(--eb-space-3) var(--eb-space-4);
  text-align: left;
}
.eb-recr-fc.is-suspendu { border-left-color: var(--eb-warning); }

.eb-recr-fc-tete {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--eb-space-2);
}
/* !important : dashboard-modern.css pose `.card-body a:not(.btn){color:var(--eb-primary)!important}`. */
.eb-recr-forms a.eb-recr-fc-titre {
  font-weight: 600;
  font-size: var(--eb-fs-base);
  color: var(--eb-text) !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.eb-recr-forms a.eb-recr-fc-titre:hover { color: var(--eb-primary) !important; text-decoration: none; }
.eb-recr-fc-sans-titre { color: var(--eb-text-muted); font-style: italic; }

.eb-recr-fc-etoile {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 2px 4px;
  color: var(--eb-text-muted);
  font-size: var(--eb-fs-base);
  line-height: 1;
  cursor: pointer;
}
.eb-recr-fc-etoile:hover,
.eb-recr-fc-etoile.is-on { color: var(--eb-warning); }

.eb-recr-fc-pastilles { display: flex; flex-wrap: wrap; gap: var(--eb-space-1); }
.eb-recr-fc-statut {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--eb-radius-pill, 999px);
  font-size: var(--eb-fs-xs, 12px);
  font-weight: 600;
}
.eb-recr-fc-statut.is-on  { background: var(--eb-success-light); color: var(--eb-success); }
.eb-recr-fc-statut.is-off { background: var(--eb-warning-light); color: var(--eb-warning); }

.eb-recr-fc-desc {
  margin: 0;
  color: var(--eb-text-secondary);
  font-size: var(--eb-fs-sm);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eb-recr-fc-desc-vide { color: var(--eb-text-muted); font-style: italic; }

.eb-recr-fc-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--eb-text-muted);
  font-size: var(--eb-fs-sm);
}
.eb-recr-fc-defaut {
  padding: 2px 8px;
  border-radius: var(--eb-radius-pill, 999px);
  background: var(--eb-warning-light);
  color: var(--eb-text-secondary);
  font-size: var(--eb-fs-xs, 12px);
}
.eb-recr-fc-defaut i { color: var(--eb-warning); }

.eb-recr-fc-pied {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--eb-space-2);
  margin-top: auto;
  padding-top: var(--eb-space-2);
  border-top: 1px solid var(--eb-border);
}
.eb-recr-fc-pied-droite { margin-left: auto; display: inline-flex; gap: var(--eb-space-1); }
.eb-recr-fc-pied .eb-recr-fc-suppr:hover { color: var(--eb-danger) !important; }

.eb-recr-fc-aucun,
.eb-recr-fc-vide {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--eb-text-muted);
  font-size: var(--eb-fs-sm);
}

@media (max-width: 575.98px) {
  .eb-recr-forms-search .form-control { width: 150px; }
}

/* =========================================================================
   PIPELINE (refonte du 20/11/2026)
   Une colonne par étape, teinte qui glisse du bleu de l'accent au vert d'une
   étape à l'autre (--eb-pipe-k, posé par displayColumn()), cartes candidat
   avec avatar, état lisible d'un coup d'œil (à traiter / au tour du candidat
   / à venir) et ancienneté à l'étape. Tout en jetons --eb-* : clair et
   sombre suivent le thème de l'instance.
   ========================================================================= */
.eb-pipe-summary,
.eb-pipe-board {
    text-align: left;           /* le conteneur parent est en align=center */
}
.eb-pipe-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}
.eb-pipe-sum .eb-pipe-dot { margin-top: 0; }
.eb-pipe-sum {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-pill, 999px);
    background: var(--eb-surface, #fff);
    color: var(--eb-text-secondary, #64748b);
    font-size: var(--eb-fs-sm, .8rem);
    white-space: nowrap;
}
.eb-pipe-sum b {
    color: var(--eb-text, #0f172a);
    font-weight: 700;
}
.eb-pipe-sum > .fa-solid {
    color: var(--eb-text-muted, #94a3b8);
}
.eb-pipe-sum--action {
    border-color: color-mix(in srgb, var(--eb-warning, #f59e0b) 45%, transparent);
    background: color-mix(in srgb, var(--eb-warning, #f59e0b) 10%, var(--eb-surface, #fff));
}
.eb-pipe-sum--action.is-zero {
    border-color: var(--eb-border, #e2e8f0);
    background: var(--eb-surface, #fff);
}

/* Pastille d'état, partagée par la synthèse et les cartes. */
.eb-pipe-dot {
    flex: 0 0 auto;
    display: inline-block;
    margin-top: .3em;           /* calée sur la 1re ligne d'un libellé sur deux */
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--eb-text-muted, #94a3b8);
}
.eb-pipe-sum--action .eb-pipe-dot,
.eb-pipe-card--action .eb-pipe-dot {
    background: var(--eb-warning, #f59e0b);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--eb-warning, #f59e0b) 22%, transparent);
}
.eb-pipe-sum--action.is-zero .eb-pipe-dot {
    background: var(--eb-text-muted, #94a3b8);
    box-shadow: none;
}
.eb-pipe-sum--waiting .eb-pipe-dot,
.eb-pipe-card--waiting .eb-pipe-dot {
    /* Bleu fixe et non l'accent du thème : sur une instance au thème rouge,
       « au tour du candidat » avait l'air d'une alerte. */
    background: var(--eb-palette-blue-500, #3b82f6);
}

/* --- Tableau ------------------------------------------------------------- */
.eb-pipe-row {
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-padding: 2px;
}
.eb-pipe-col {
    --eb-pipe-k: 0;
    --eb-pipe-accent: color-mix(in oklab,
        var(--eb-success, #16a34a) calc(var(--eb-pipe-k) * 100%),
        var(--eb-primary, #2563eb));
    position: relative;
    flex: 1 1 0;
    min-width: 260px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    /* À mi-chemin entre la carte et le fond : en sombre, --eb-surface-muted
       vaut exactement le fond de page et la colonne s'y fondait. */
    background: color-mix(in srgb, var(--eb-surface, #fff) 55%, var(--eb-surface-muted, #f8fafc));
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-lg, 14px);
    overflow: hidden;
    transition: background-color .15s ease, border-color .15s ease;
}
/* Filet de couleur de l'étape en haut de colonne. */
.eb-pipe-col::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--eb-pipe-accent);
}

/* --- En-tête de colonne -------------------------------------------------- */
.eb-pipe-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 14px 12px;
    /* Deux lignes de titre + « n à traiter » : même hauteur pour toutes les
       colonnes, les premières cartes tombent sur la même ligne. */
    min-height: 88px;
}
.eb-pipe-head .eb-pipe-step,
.eb-pipe-head .eb-pipe-count {
    margin-top: 1px;
}
.eb-pipe-step {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--eb-pipe-accent);
    color: var(--eb-palette-white, #ffffff);
    font-size: var(--eb-fs-sm, 12px);
    font-weight: 700;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--eb-pipe-accent) 16%, transparent);
}
.eb-pipe-headtxt {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.eb-pipe-title {
    color: var(--eb-text, #0f172a);
    font-weight: 600;
    font-size: var(--eb-fs-rem-md, 0.875rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.eb-pipe-todo {
    color: var(--eb-warning-hover, #b45309);
    font-size: var(--eb-fs-xs, .72rem);
    font-weight: 600;
}
.eb-pipe-count {
    flex: 0 0 auto;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: var(--eb-radius-pill, 999px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--eb-pipe-accent) 14%, transparent);
    color: var(--eb-pipe-accent);
    font-size: var(--eb-fs-rem-base, 0.8125rem);
    font-weight: 700;
}

/* --- Corps de colonne ---------------------------------------------------- */
.eb-pipe-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px 12px;
    min-height: 140px;          /* zone de dépôt même quand la colonne est vide */
}
.eb-pipe-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 18px 12px;
    border: 1px dashed var(--eb-border, #cbd5e1);
    border-radius: var(--eb-radius-md, 10px);
    color: var(--eb-text-muted, #94a3b8);
    font-size: var(--eb-fs-rem-base, 0.8125rem);
    text-align: center;
}
.eb-pipe-empty i {
    font-size: var(--eb-fs-rem-xl, 1.25rem);
    opacity: .7;
}

/* --- Carte candidat ------------------------------------------------------ */
.eb-pipe-card {
    position: relative;
    background: var(--eb-surface, #fff);
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-md, 10px);
    box-shadow: var(--eb-shadow-sm, 0 1px 2px rgba(15,23,42,.05));
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
/* Liseré d'état à gauche : les dossiers à traiter ressortent de la colonne. */
.eb-pipe-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: transparent;
}
.eb-pipe-card--action::before {
    background: var(--eb-warning, #f59e0b);
}
@media (hover: hover) {
    .eb-pipe-card:hover {
        border-color: color-mix(in srgb, var(--eb-pipe-accent) 55%, var(--eb-border, #e2e8f0));
        box-shadow: var(--eb-shadow-md, 0 6px 16px rgba(15,23,42,.10));
        transform: translateY(-1px);
    }
}
.eb-pipe-link {
    display: block;
    padding: 12px 30px 10px 14px;
    color: inherit;
    text-decoration: none;
}
.eb-pipe-link:hover,
.eb-pipe-link:focus {
    color: inherit;
    text-decoration: none;
}
.eb-pipe-link:focus-visible {
    outline: 2px solid var(--eb-primary, #2563eb);
    outline-offset: -2px;
    border-radius: var(--eb-radius-md, 10px);
}
.eb-pipe-top {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.eb-pipe-avatar {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.eb-pipe-id {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.eb-pipe-name {
    color: var(--eb-text, #0f172a);
    font-weight: 600;
    font-size: var(--eb-fs-rem-md, 0.875rem);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eb-pipe-status {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--eb-text-secondary, #64748b);
    font-size: var(--eb-fs-xs, .74rem);
    line-height: 1.3;
}
.eb-pipe-card--action .eb-pipe-status {
    color: var(--eb-warning-hover, #b45309);
    font-weight: 600;
}
.eb-pipe-age {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--eb-border, #eef2f7);
    color: var(--eb-text-muted, #94a3b8);
    font-size: var(--eb-fs-xs, .72rem);
}
.eb-pipe-age--late {
    color: var(--eb-danger, #dc2626);
    font-weight: 600;
}

/* --- Poignée de glisser-déposer ------------------------------------------ */
.eb-pipe-grip {
    position: absolute;
    top: 10px;
    right: 6px;
    z-index: 1;
    width: 20px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--eb-radius-sm, 8px);
    color: var(--eb-text-muted, #94a3b8);
    cursor: grab;
    /* Visible en permanence, en retrait : une poignée révélée au seul survol
       n'est pas découvrable — et n'existe pas du tout au doigt. */
    opacity: .4;
    transition: opacity .12s ease, background-color .12s ease;
    touch-action: none;
}
.eb-pipe-grip:focus-visible { opacity: 1; }
@media (hover: hover) {
    .eb-pipe-card:hover .eb-pipe-grip { opacity: 1; }
    .eb-pipe-grip:hover { background: var(--eb-surface-muted, #f1f5f9); }
}
.eb-pipe-grip:active { cursor: grabbing; }

/* --- États de glisser (SortableJS) --------------------------------------- */
.eb-pipe-ghost {
    opacity: .5;
    border-style: dashed;
    border-color: var(--eb-pipe-accent);
    background: color-mix(in srgb, var(--eb-pipe-accent) 8%, var(--eb-surface, #fff));
    box-shadow: none;
}
.eb-pipe-chosen { border-color: var(--eb-pipe-accent); }
.eb-pipe-drag {
    box-shadow: 0 14px 30px color-mix(in srgb, var(--eb-palette-slate-900, #0f172a) 22%, transparent);
    transform: rotate(1.5deg);
}
/* Pendant un glisser, chaque colonne se signale comme cible. */
.eb-pipe-dragging .eb-pipe-col {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--eb-pipe-accent) 45%, var(--eb-border, #e2e8f0));
}
.eb-pipe-dragging .eb-pipe-col:hover {
    background: color-mix(in srgb, var(--eb-pipe-accent) 7%, var(--eb-surface-muted, #f8fafc));
}
/* Enregistrement en cours : la carte est posée mais pas encore confirmée. */
.eb-pipe-saving {
    opacity: .55;
    pointer-events: none;
}

/* --- Téléphone : une colonne presque pleine largeur, calée au défilement --- */
@media (max-width: 767.98px) {
    .eb-pipe-row {
        scroll-snap-type: x mandatory;
        gap: 12px;
    }
    .eb-pipe-col {
        flex: 0 0 84%;
        min-width: 0;
        max-width: none;
        scroll-snap-align: start;
    }
    .eb-pipe-summary { gap: 6px; }
    /* Une colonne à l'écran à la fois : pas de hauteur commune à tenir. */
    .eb-pipe-head { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .eb-pipe-card, .eb-pipe-col { transition: none; }
    .eb-pipe-card:hover { transform: none; }
}

/* #12938 lot 5 — fuseau horaire signalé au candidat dont l'appareil diffère */
.eb-bk-tz { font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); margin: 0 0 8px; }
/* #12938 lot 5 — page « gérer mon rendez-vous » du mail : sous-titres sous le titre de la carte */
.eb-rdv-gerer-titre { font-size: var(--eb-fs-rem-lg, 1rem); font-weight: 600; margin: 22px 0 10px; }
/* #12938 passe UI — récapitulatif : pictogrammes alignés, bouton de visio */
.eb-rdv-booked .eb-rdv-when::first-letter { text-transform: uppercase; }
.eb-rdv-booked .eb-rdv-when { text-transform: none; }
.eb-rdv-booked .eb-rdv-meta i { width: 16px; text-align: center; margin-right: 4px; opacity: .75; }

/* =====================================================================
   #12938 passe UI — modale « Disponibilités » : deux colonnes, sections
   ===================================================================== */
.eb-rdv-modale { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.45fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .eb-rdv-modale { grid-template-columns: 1fr; gap: 8px; } }
.eb-rdv-section {
    display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; padding-bottom: 6px;
    font-size: var(--eb-fs-base, 13px); font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
    color: var(--eb-text-secondary); border-bottom: 1px solid var(--eb-border);
}
.eb-rdv-section i { color: var(--eb-primary, #2563eb); }
.eb-rdv-col-horaires > .eb-rdv-section:first-child { margin-top: 0; }
.eb-rdv-actif {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border: 1px solid var(--eb-border); border-radius: var(--eb-radius-md, 10px); background: var(--eb-bg, #f8fafc);
}
.eb-rdv-actif label b { display: block; font-weight: 600; }
.eb-rdv-actif label small { display: block; color: var(--eb-text-secondary); font-size: var(--eb-fs-sm, 12px); }
.eb-rdv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 10px; }
.eb-rdv-duo .form-label { margin-bottom: 4px; }
.eb-rdv-pile { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.eb-rdv-aide { font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); margin: 0 0 10px; }
.eb-rdv-aide-inline { font-weight: 400; font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); margin-left: 6px; }
.eb-rdv-perso td { font-size: var(--eb-fs-sm, 12px); vertical-align: middle; }
.eb-rdv-perso .eb-rdv-perso-nom { white-space: nowrap; font-weight: 600; }
.eb-rdv-peintre { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary); }
.eb-rdv-peintre select { max-width: 240px; }
.eb-rdv-fermer { display: flex; gap: 6px; }
.eb-rdv-fermer input.form-control { max-width: 200px; }
.eb-rdv-regler { width: 1%; white-space: nowrap; }
/* Passe UI — écran d'une étape : accès direct aux disponibilités */
.eb-rdv-etape-dispo { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; }
.eb-rdv-etape-dispo small { color: var(--eb-text-secondary); font-size: var(--eb-fs-sm, 12px); }

/* =========================================================================
   COULEUR D'ÉTAPE ET SUIVI (21/11/2026)
   Chaque étape a sa teinte (ModuleRecrutement::stepHueClass) : la colonne
   du pipeline et la pastille de la liste la partagent, on retrouve d'une
   vue à l'autre OÙ est chaque candidat. Huit teintes hors vert / orange /
   rouge, réservés à l'ÉTAT (validé, action requise, refusé) porté par le
   point et la barre de segments.
   ========================================================================= */
.eb-step-hue-1 { --eb-step-c: #2563eb; }
.eb-step-hue-2 { --eb-step-c: #9333ea; }
.eb-step-hue-3 { --eb-step-c: #0891b2; }
.eb-step-hue-4 { --eb-step-c: #db2777; }
.eb-step-hue-5 { --eb-step-c: #4f46e5; }
.eb-step-hue-6 { --eb-step-c: #0d9488; }
.eb-step-hue-7 { --eb-step-c: #c026d3; }
.eb-step-hue-8 { --eb-step-c: #0369a1; }
:root.dark .eb-step-hue-1 { --eb-step-c: #60a5fa; }
:root.dark .eb-step-hue-2 { --eb-step-c: #c084fc; }
:root.dark .eb-step-hue-3 { --eb-step-c: #22d3ee; }
:root.dark .eb-step-hue-4 { --eb-step-c: #f472b6; }
:root.dark .eb-step-hue-5 { --eb-step-c: #818cf8; }
:root.dark .eb-step-hue-6 { --eb-step-c: #2dd4bf; }
:root.dark .eb-step-hue-7 { --eb-step-c: #e879f9; }
:root.dark .eb-step-hue-8 { --eb-step-c: #38bdf8; }

/* Pipeline : la teinte de l'étape remplace le dégradé bleu → vert, qui
   finissait en vert — la couleur de « validé ». */
.eb-pipe-col[class*="eb-step-hue-"] { --eb-pipe-accent: var(--eb-step-c); }
.eb-pipe-col[class*="eb-step-hue-"] .eb-pipe-head {
    background: linear-gradient(180deg, color-mix(in srgb, var(--eb-step-c) 9%, transparent), transparent);
}
.eb-pipe-col[class*="eb-step-hue-"] .eb-pipe-card:not(.eb-pipe-card--action)::before {
    background: color-mix(in srgb, var(--eb-step-c) 55%, transparent);
}

/* --- Suivi d'une candidature (colonne Étape de la liste) ---------------- */
.eb-recr-track {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 150px;
    max-width: 260px;
    text-align: left;
}
/* Teinte par défaut seulement sans classe d'étape : posée sur .eb-recr-pill,
   elle écrasait .eb-step-hue-N (même spécificité, règle plus loin). */
.eb-recr-pill:not([class*="eb-step-hue-"]) { --eb-step-c: var(--eb-text-secondary, #64748b); }
.eb-recr-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 3px 10px 3px 3px;
    border-radius: var(--eb-radius-pill, 999px);
    background: color-mix(in srgb, var(--eb-step-c) 13%, var(--eb-surface, #fff));
    border: 1px solid color-mix(in srgb, var(--eb-step-c) 35%, transparent);
    color: color-mix(in srgb, var(--eb-step-c) 80%, var(--eb-text, #0f172a));
    font-size: var(--eb-fs-sm, .8rem);
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
    animation: eb-recr-pop .35s cubic-bezier(.2, .9, .3, 1.3) both;
}
.eb-recr-pill-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--eb-step-c);
    color: var(--eb-palette-white, #ffffff);
    font-size: var(--eb-fs-xs, 11px);
    font-weight: 700;
}
.eb-recr-pill.is-done {
    --eb-step-c: var(--eb-success, #16a34a);
    padding-left: 10px;
}
.eb-recr-pill.is-rejected {
    border-color: color-mix(in srgb, var(--eb-danger, #dc2626) 55%, transparent);
    text-decoration: line-through;
    text-decoration-color: color-mix(in srgb, var(--eb-danger, #dc2626) 60%, transparent);
}
/* Le recruteur doit agir : halo qui respire, sans secouer le texte. */
.eb-recr-pill.is-pulsing { animation: eb-recr-pop .35s cubic-bezier(.2, .9, .3, 1.3) both, eb-recr-halo 2.4s ease-out .4s infinite; }

.eb-recr-track-line {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.eb-recr-track-bar {
    flex: 1 1 auto;
    display: flex;
    gap: 3px;
    min-width: 80px;
}
.eb-recr-seg {
    flex: 1 1 0;
    height: 6px;
    border-radius: var(--eb-radius-xs, 4px);
    background: var(--eb-border, #e2e8f0);
    transform-origin: left center;
    animation: eb-recr-fill .45s ease-out both;
}
.eb-recr-seg:nth-child(2) { animation-delay: .07s; }
.eb-recr-seg:nth-child(3) { animation-delay: .14s; }
.eb-recr-seg:nth-child(4) { animation-delay: .21s; }
.eb-recr-seg:nth-child(5) { animation-delay: .28s; }
.eb-recr-seg:nth-child(6) { animation-delay: .35s; }
.eb-recr-seg:nth-child(n+7) { animation-delay: .42s; }
.eb-recr-seg.is-done     { background: var(--eb-success, #16a34a); }
.eb-recr-seg.is-action   { background: var(--eb-warning, #f59e0b); }
.eb-recr-seg.is-wait     { background: var(--eb-palette-blue-500, #3b82f6); }
.eb-recr-seg.is-rejected { background: var(--eb-danger, #dc2626); }
.eb-recr-seg.is-current {
    height: 8px;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--eb-text, #0f172a) 12%, transparent);
}
.eb-recr-seg.is-current.is-upcoming { background: var(--eb-text-muted, #94a3b8); }
.eb-recr-track-count {
    flex: 0 0 auto;
    font-size: var(--eb-fs-xs, 11px);
    font-weight: 700;
    color: var(--eb-text-muted, #94a3b8);
    font-variant-numeric: tabular-nums;
}
.eb-recr-track-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--eb-fs-sm, 12px);
    color: var(--eb-text-secondary, #64748b);
    line-height: 1.25;
}
.eb-recr-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--eb-text-muted, #94a3b8);
}
.eb-recr-track-state.is-action   .eb-recr-dot { background: var(--eb-warning, #f59e0b); }
.eb-recr-track-state.is-wait     .eb-recr-dot { background: var(--eb-palette-blue-500, #3b82f6); }
.eb-recr-track-state.is-rejected .eb-recr-dot { background: var(--eb-danger, #dc2626); }
.eb-recr-track-state.is-action { color: var(--eb-warning-hover, #b45309); font-weight: 600; }
.eb-recr-track-state.is-rejected { color: var(--eb-danger-hover, #b91c1c); }

/* --- Animations d'entrée ------------------------------------------------- */
/* Bascule Liste / Pipeline par le signet : le contenu arrive en fondu. */
/* `backwards` et non `both` : un `transform` figé par l'animation écraserait
   ensuite celui du survol des cartes. */
.eb-recr-view { animation: eb-recr-in .28s ease-out backwards; }
/* Colonnes puis cartes du pipeline, en cascade. */
.eb-pipe-row > .eb-pipe-col { animation: eb-recr-rise .4s cubic-bezier(.2, .8, .2, 1) backwards; }
.eb-pipe-row > .eb-pipe-col:nth-child(2) { animation-delay: .06s; }
.eb-pipe-row > .eb-pipe-col:nth-child(3) { animation-delay: .12s; }
.eb-pipe-row > .eb-pipe-col:nth-child(4) { animation-delay: .18s; }
.eb-pipe-row > .eb-pipe-col:nth-child(5) { animation-delay: .24s; }
.eb-pipe-row > .eb-pipe-col:nth-child(n+6) { animation-delay: .3s; }
.eb-pipe-body > .eb-pipe-card { animation: eb-recr-rise .35s ease-out .2s backwards; }
.eb-pipe-body > .eb-pipe-card:nth-child(2) { animation-delay: .25s; }
.eb-pipe-body > .eb-pipe-card:nth-child(3) { animation-delay: .3s; }
.eb-pipe-body > .eb-pipe-card:nth-child(n+4) { animation-delay: .35s; }
/* Carte déposée dans une autre étape : elle prend un instant la couleur de
   sa nouvelle colonne (classe posée par pipeline-dnd.js). */
.eb-pipe-card.eb-pipe-landed { animation: eb-recr-landed .9s ease-out; }
.eb-pipe-count.eb-pipe-bump { animation: eb-recr-bump .45s ease-out; }

@keyframes eb-recr-in    { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes eb-recr-rise  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes eb-recr-pop   { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes eb-recr-fill  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes eb-recr-halo  {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--eb-warning, #f59e0b) 45%, transparent); }
    70%  { box-shadow: 0 0 0 7px color-mix(in srgb, var(--eb-warning, #f59e0b) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes eb-recr-landed {
    0%   { box-shadow: 0 0 0 3px var(--eb-pipe-accent, #2563eb); background: color-mix(in srgb, var(--eb-pipe-accent, #2563eb) 14%, var(--eb-surface, #fff)); }
    100% { box-shadow: var(--eb-shadow-sm, 0 1px 2px rgba(15,23,42,.05)); background: var(--eb-surface, #fff); }
}
@keyframes eb-recr-bump  { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
    .eb-recr-view, .eb-recr-pill, .eb-recr-pill.is-pulsing, .eb-recr-seg,
    .eb-pipe-row > .eb-pipe-col, .eb-pipe-body > .eb-pipe-card,
    .eb-pipe-card.eb-pipe-landed, .eb-pipe-count.eb-pipe-bump { animation: none; }
}

/* =========================================================================
   MARGES ET ALIGNEMENTS — onglet Candidats (passe du 21/11/2026)
   Une seule règle : tout part du bord de la barre d'onglets (#menu), 16 px
   entre deux blocs, 12 px à l'intérieur d'une barre d'outils.
   ========================================================================= */

/* Liste — tuiles de stats : dashboard-modern.css pose `margin: -15px
   !important` sur `.container-fluid > .row`, les tuiles débordaient de 15 px
   de chaque côté de la barre d'onglets et du tableau. Sa spécificité vaut
   (1,10,1) à cause de ses :not() : l'id doublé (2,…) l'emporte sans dépendre
   de l'ordre des feuilles. Marge haute retirée (le #menu porte déjà ses
   16 px), basse ramenée à 16 px (32 avant le filtre). */
#space-left#space-left .recrutement-supervisor-view.container-fluid > .row,
.recrutement-supervisor-view.container-fluid > .row {
    margin: 0 0 16px !important;
}
.recrutement-supervisor-view .stats-container-new {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.recrutement-supervisor-view .stats-container-new > .nav-item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.recrutement-supervisor-view .stats-container-new > .nav-item:first-child { padding-left: 0 !important; }
.recrutement-supervisor-view .stats-container-new > .nav-item:not(:has(~ .nav-item)) { padding-right: 0 !important; }
/* Barre de filtres de la liste : pas de marge propre, le tableau suit à 12 px. */
.recrutement-supervisor-table .fixed-table-toolbar {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.recrutement-supervisor-table .fixed-table-container { margin-top: 12px !important; }
/* Cellules : même marge intérieure partout (la 1re colonne avait 8 px en
   haut, les autres 12) — textes alignés sur la même ligne. */
#candidatures tbody td { padding: 12px 8px !important; vertical-align: middle; }
#candidatures tbody td.eb-recr-c-form { padding-left: 12px !important; }
.eb-recr-track { gap: 4px; max-width: none; }

/* Pipeline — barre du formulaire et synthèse : 12 px entre les deux, 16 px
   avant les colonnes ; plus de padding haut (le #menu porte ses 16 px). */
.eb-recr-view > #toolbar {
    padding: 0 !important;
    margin: 0 0 12px !important;
}
.eb-recr-view .eb-pipe-summary { margin: 0 0 16px; }
/* Colonnes au bord exact de la barre d'onglets (2 px de retrait avant). */
.eb-pipe-row { padding: 0 0 10px; }

/* En-têtes de colonne à la hauteur du plus haut, et pas davantage : les 88 px
   réservés en dur pour un titre sur deux lignes laissaient ~30 px vides au-
   dessus des cartes quand les titres tiennent sur une ligne. subgrid aligne
   les en-têtes entre eux sans hauteur imposée (repli : l'ancien min-height). */
@supports (grid-template-rows: subgrid) {
    .eb-pipe-row {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: auto 1fr;
        grid-auto-columns: minmax(260px, 360px);
        justify-content: start;
    }
    .eb-pipe-row > .eb-pipe-col {
        display: grid;
        grid-row: span 2;
        grid-template-rows: subgrid;
        row-gap: 0;
        min-width: 0;
        max-width: none;
    }
    .eb-pipe-head { min-height: 0; padding: 14px 14px 12px; }
    @media (max-width: 767.98px) {
        .eb-pipe-row { grid-auto-columns: 84%; }
    }
}
/* Titre d'étape centré sur sa pastille (il flottait au-dessus quand il tient
   sur une ligne) ; le compteur suit. */
.eb-pipe-head { align-items: center; }
.eb-pipe-head .eb-pipe-step,
.eb-pipe-head .eb-pipe-count { margin-top: 0; }
/* Sélecteur de formulaire : à la largeur de son libellé (180 px fixes
   coupaient « 3 - Animateurs ét… »), borné à la largeur de l'écran. */
.eb-recr-view #toolbar .bootstrap-select,
.recrutement-supervisor-view #toolbar .bootstrap-select {
    width: auto !important;
    min-width: 180px;
    max-width: 100%;
}
/* État sur une ligne (« En cours de traitement par le candidat » passait à
   la ligne et grandissait la rangée) ; libellé entier au survol (title). */
.eb-recr-track-state { max-width: 100%; min-width: 0; }
.eb-recr-track-state-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* La barre de filtres porte ses bords à 0 : les 16 px de padding-right posés
   plus haut (contre une règle de bootstrap-table) laissaient la recherche
   16 px en retrait du tableau au téléphone. */
body.eb-has-topbar-v2 .recrutement-supervisor-table .fixed-table-toolbar {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Pipeline : le <div align=center> parent centrait le sélecteur de
   formulaire au téléphone, seul élément centré de l'écran. */
.eb-recr-view.container-fluid { padding-top: 0 !important; text-align: left; }
.eb-recr-view > #toolbar { justify-content: flex-start; text-align: left; }
@media (max-width: 767.98px) {
    /* Le #menu n'a pas de marge basse au téléphone : 16 px comme la liste. */
    .eb-recr-view > #toolbar { margin-top: 16px !important; }
    .eb-recr-view > #toolbar .bootstrap-select { width: 100% !important; }
}

/* =========================================================================
   Fenêtre « Cotisation et paiements » (ex-« Historique de paiement »)
   Synthèse (annoncé / encaissé), règlements, puis actions — au lieu d'un
   bouton HelloAsso en tête et d'un bandeau bleu « aucune cotisation ».
   ========================================================================= */
.eb-recr-pay { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.eb-recr-pay > p { margin: 0; }
.eb-recr-pay-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.eb-recr-pay-kpi {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 14px;
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-md, 10px);
    background: var(--eb-surface-muted, #f8fafc);
}
.eb-recr-pay-kpi-label { font-size: var(--eb-fs-sm, 12px); font-weight: 600; color: var(--eb-text-secondary, #64748b); text-transform: uppercase; letter-spacing: .03em; }
.eb-recr-pay-kpi-value { font-size: var(--eb-fs-lead, 18px); font-weight: 700; color: var(--eb-text, #0f172a); }
.eb-recr-pay-kpi-sub { font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-muted, #94a3b8); }
.eb-recr-pay-none { color: var(--eb-text-muted, #94a3b8); font-weight: 600; }
.eb-recr-pay-empty {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1px dashed var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-md, 10px);
    color: var(--eb-text-secondary, #64748b);
}
.eb-recr-pay-empty i { font-size: var(--eb-fs-xl, 20px); color: var(--eb-text-muted, #94a3b8); }
.eb-recr-pay-empty p { margin: 0; }
.eb-recr-pay-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.eb-recr-pay-actions .btn { display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================================
   FICHE CANDIDAT — recruteur (#supervisor-view) et espace du candidat
   Deux cartes côte à côte : le parcours (stepper relié, couleur de l'étape,
   état) et le contenu de l'étape. La colonne de gauche suit le défilement
   (sticky) au lieu d'une marge animée en jQuery ; plus de colonne blanche
   étirée sur toute la hauteur.
   ========================================================================= */
.eb-recr-backbar { margin: 0 0 16px; text-align: left; }
.eb-recr-back { display: inline-flex; align-items: center; gap: 8px; }

.recruitement-wizard .wizard.row {
    --bs-gutter-x: 0;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    background: transparent;
}
.recruitement-wizard .wizard.row > .wizard-left,
.recruitement-wizard .wizard.row > .wizard-right {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}
.recruitement-wizard .wizard-left {
    position: sticky;
    top: 72px;
    background: var(--eb-surface, #fff) !important;
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-lg, 14px);
    box-shadow: var(--eb-shadow-sm, 0 1px 2px rgba(15,23,42,.05));
    overflow: hidden;
}
.recruitement-wizard .wizard.row > .wizard-right {
    background: var(--eb-surface, #fff) !important;
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-lg, 14px);
    box-shadow: var(--eb-shadow-sm, 0 1px 2px rgba(15,23,42,.05));
    padding: 20px 24px 24px !important;
    align-items: stretch !important;
    text-align: left;
    min-height: 320px !important;
}
#scrollingDiv.eb-wz { max-height: none; overflow: visible; }

/* En-tête du parcours : n/N validées + barre de segments. */
.eb-wz-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid var(--eb-border, #e2e8f0);
    background: color-mix(in srgb, var(--eb-surface-muted, #f8fafc) 70%, var(--eb-surface, #fff));
}
.eb-wz-head-title { font-weight: 700; font-size: var(--eb-fs-md, 14px); color: var(--eb-text, #0f172a); }
.eb-wz-head-count { font-size: var(--eb-fs-sm, 12px); font-weight: 600; color: var(--eb-text-secondary, #64748b); }
.eb-wz-head-bar { grid-column: 1 / -1; }

/* Étapes reliées par un fil vertical. */
.eb-wz-steps { padding: 8px; }
.eb-wz-steps > a { display: block; text-decoration: none !important; color: inherit; }
.recruitement-wizard .eb-wz-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 10px 10px !important;
    border-radius: var(--eb-radius-md, 10px);
    transition: background-color .15s ease;
}
.recruitement-wizard .eb-wz-step .wizard-round {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    margin: 0 !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.recruitement-wizard .eb-wz-step .wizard-number { font-size: var(--eb-fs-md, 14px); font-weight: 700; line-height: 1; }
/* Fil entre deux pastilles : du bas d'une pastille au haut de la suivante. */
.eb-wz-steps > :not(:last-child) .eb-wz-step::after,
.eb-wz-steps > .eb-wz-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 44px;
    bottom: -10px;
    width: 2px;
    background: var(--eb-border, #e2e8f0);
}
.eb-wz-steps > :not(:last-child) .eb-wz-step.is-done::after,
.eb-wz-steps > :not(:last-child) .eb-wz-step.is-form::after { background: color-mix(in srgb, var(--eb-success, #16a34a) 55%, transparent); }

/* Couleurs : la pastille prend la couleur de l'étape ; validée = vert plein
   avec coche, refusée = rouge avec croix, à venir = contour gris. */
.recruitement-wizard .eb-wz-step .wizard-round[class*="eb-step-hue-"] {
    background: color-mix(in srgb, var(--eb-step-c) 14%, var(--eb-surface, #fff)) !important;
    box-shadow: inset 0 0 0 2px var(--eb-step-c) !important;
}
.recruitement-wizard .eb-wz-step .wizard-round[class*="eb-step-hue-"] .wizard-number { color: var(--eb-step-c) !important; }
.recruitement-wizard .eb-wz-step.is-done .wizard-round,
.recruitement-wizard .eb-wz-step.is-form .wizard-round {
    background: var(--eb-success, #16a34a) !important;
    box-shadow: none !important;
}
.recruitement-wizard .eb-wz-step.is-done .wizard-number,
.recruitement-wizard .eb-wz-step.is-form .wizard-number { color: var(--eb-palette-white, #ffffff) !important; }
.recruitement-wizard .eb-wz-step.is-rejected .wizard-round {
    background: var(--eb-danger, #dc2626) !important;
    box-shadow: none !important;
}
.recruitement-wizard .eb-wz-step.is-rejected .wizard-number { color: var(--eb-palette-white, #ffffff) !important; }
.recruitement-wizard .eb-wz-step.is-upcoming .wizard-round {
    background: var(--eb-surface, #fff) !important;
    box-shadow: inset 0 0 0 2px var(--eb-border, #e2e8f0) !important;
}
.recruitement-wizard .eb-wz-step.is-upcoming .wizard-number { color: var(--eb-text-muted, #94a3b8) !important; }
.recruitement-wizard .eb-wz-step.is-action .wizard-round {
    animation: eb-recr-halo 2.4s ease-out infinite;
}
.recruitement-wizard .eb-wz-step.is-locked { opacity: .7; }

/* Textes de l'étape. */
.recruitement-wizard .eb-wz-step .wizard-nav-text { min-width: 0; }
.recruitement-wizard .eb-wz-step .step-title { margin: 0; font-size: var(--eb-fs-md, 14px); font-weight: 600; line-height: 1.3; color: var(--eb-text, #0f172a); }
.recruitement-wizard .eb-wz-step .step-sub-title { margin: 2px 0 0; font-size: var(--eb-fs-sm, 12px); line-height: 1.35; color: var(--eb-text-secondary, #64748b); }
.recruitement-wizard .eb-wz-step.is-action .step-sub-title { color: var(--eb-warning-hover, #b45309); font-weight: 600; }
.recruitement-wizard .eb-wz-step.is-rejected .step-sub-title { color: var(--eb-danger-hover, #b91c1c); }

/* Étape ouverte : fond de l'accent et filet à gauche. */
.recruitement-wizard .eb-wz-step.selected-step {
    background: var(--eb-primary-light, #eef2ff) !important;
    box-shadow: inset 3px 0 0 var(--eb-primary, #4f46e5);
}
.recruitement-wizard .eb-wz-step.selected-step .step-title { color: var(--eb-primary, #4f46e5) !important; }
@media (hover: hover) {
    .eb-wz-steps > a:hover .eb-wz-step:not(.selected-step) { background: var(--eb-surface-hover, #f1f5f9); }
}

/* Contenu : l'en-tête du candidat ouvre la carte, le titre d'étape suit. */
.recruitement-wizard .eb-recr-candidate-head { padding: 0 0 16px; margin-bottom: 16px; }
.recruitement-wizard .wizard-right-content h1,
.recruitement-wizard .wizard-right-content .wizard-title { text-align: left; }

/* Téléphone / tablette : le parcours passe au-dessus, non collant. */
@media (max-width: 991.98px) {
    .recruitement-wizard .wizard.row { grid-template-columns: minmax(0, 1fr); }
    .recruitement-wizard .wizard-left { position: static; }
    .recruitement-wizard .wizard.row > .wizard-right { padding: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .recruitement-wizard .eb-wz-step.is-action .wizard-round { animation: none; }
}
/* En-tête d'étape (recruteur) et intertitres du contenu. */
.eb-wz-content-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; }
.eb-wz-content-title { display: inline-flex; align-items: center; gap: 10px; margin: 0 !important; }
.eb-wz-content-title .eb-recr-pill-num { width: 28px; height: 28px; font-size: var(--eb-fs-base, 13px); }
.eb-wz-section { font-size: var(--eb-fs-base, 13px); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--eb-text-secondary, #64748b); margin: 20px 0 10px; }
.eb-wz-empty {
    display: flex; align-items: center; gap: 10px;
    margin: 12px 0 0; padding: 14px 16px;
    border: 1px dashed var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-md, 10px);
    color: var(--eb-text-secondary, #64748b);
}
.eb-wz-empty i { font-size: var(--eb-fs-lead, 18px); color: var(--eb-success, #16a34a); }
.eb-wz-empty.is-wait i { color: var(--eb-palette-blue-500, #3b82f6); }
.eb-recr-pill-num:not([class*="eb-step-hue-"]) { background: var(--eb-text-secondary, #64748b); }

/* =========================================================================
   Panneau « Récapitulatif » (liste des candidats)
   Voile + panneau qui glisse depuis la droite ; en-tête fixe avec la croix,
   sous la barre du haut et le bandeau d'usurpation éventuel ; blocs
   « Coordonnées » et « Réponses » en lignes libellé / valeur.
   ========================================================================= */
#div_recap_lateral {
    position: fixed; inset: 0; z-index: 1060;
    width: auto !important; max-width: none !important; height: auto;
    display: block;
}
#div_recap_lateral .eb-recap-veil {
    position: absolute; inset: 0;
    background: color-mix(in srgb, var(--eb-palette-slate-900, #0f172a) 35%, transparent);
    opacity: 0; transition: opacity .2s ease;
}
#div_recap_lateral nav.eb-recap-panel {
    position: absolute !important; top: 0; right: 0; bottom: 0;
    width: min(440px, 100vw) !important; height: auto !important;
    transform: translateX(100%); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
    display: flex; flex-direction: column;
    padding: 0 !important;
}
#div_recap_lateral.is-open .eb-recap-veil { opacity: 1; }
#div_recap_lateral.is-open nav.eb-recap-panel { transform: none; }
/* Le signet Liste / Pipeline passait par-dessus le panneau. */
body:has(#div_recap_lateral) .eb-view-bookmark { display: none !important; }

.eb-recap-head {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px;
    padding-top: max(16px, env(safe-area-inset-top));
    border-bottom: 1px solid var(--eb-border, #e2e8f0);
}
.eb-recap-head h2 { margin: 0; font-size: var(--eb-fs-lg, 16px); font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--eb-text, #0f172a); }
.eb-recap-head h2 i { color: var(--eb-text-secondary, #64748b); }
.eb-recap-close {
    width: 36px; height: 36px; border-radius: 50%;
    border: 0; background: transparent; color: var(--eb-text-secondary, #64748b);
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--eb-fs-lead, 18px);
}
@media (hover: hover) { .eb-recap-close:hover { background: var(--eb-surface-hover, #f1f5f9); color: var(--eb-text, #0f172a); } }
#div_recap_lateral nav .div-scroll.eb-recap-body { padding: 20px !important; overflow-y: auto; }

.eb-recap-who { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.eb-recap-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.eb-recap-who-id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eb-recap-name { font-size: var(--eb-fs-lg, 16px); font-weight: 700; color: var(--eb-text, #0f172a); }
.eb-recap-form { font-size: var(--eb-fs-base, 13px); color: var(--eb-text-secondary, #64748b); }

.eb-recap-section { margin: 0 0 20px; }
.eb-recap-section h3 {
    margin: 0 0 6px; font-size: var(--eb-fs-sm, 12px); font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--eb-text-secondary, #64748b);
}
.eb-recap-dl { margin: 0; border: 1px solid var(--eb-border, #e2e8f0); border-radius: var(--eb-radius-md, 10px); overflow: hidden; }
.eb-recap-row {
    display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid var(--eb-border, #e2e8f0);
}
.eb-recap-dl > .eb-recap-row:first-child,
.eb-recap-dl > .eb-recap-group:first-child + .eb-recap-row { border-top: 0; }
.eb-recap-row dt { margin: 0; font-size: var(--eb-fs-base, 13px); font-weight: 500; color: var(--eb-text-secondary, #64748b); }
.eb-recap-row dd { margin: 0; font-size: var(--eb-fs-md, 14px); color: var(--eb-text, #0f172a); overflow-wrap: anywhere; }
.eb-recap-row dd a { color: var(--eb-primary, #4f46e5); }
.eb-recap-group {
    padding: 8px 14px; font-size: var(--eb-fs-sm, 12px); font-weight: 700;
    background: var(--eb-surface-muted, #f8fafc); color: var(--eb-text, #0f172a);
    border-top: 1px solid var(--eb-border, #e2e8f0);
}
.eb-recap-dl > .eb-recap-group:first-child { border-top: 0; }
.eb-recap-none { color: var(--eb-text-muted, #94a3b8); }
.eb-recap-yes { color: var(--eb-success-hover, #15803d); font-weight: 600; }
.eb-recap-no { color: var(--eb-text-secondary, #64748b); }
#div_recap_lateral .collapse-menu2 { gap: 8px !important; }
@media (max-width: 575.98px) {
    .eb-recap-row { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    #div_recap_lateral .eb-recap-veil, #div_recap_lateral nav.eb-recap-panel { transition: none; }
}
/* La bulle de l'assistant (z-index 9998) couvrait « Ouvrir la fiche ». */
body:has(#div_recap_lateral) #iaWidgetBtn { display: none !important; }

/* =========================================================================
   Messages : un fil de conversation (recruteur : fenêtre ; candidat : volet)
   ========================================================================= */
.eb-chat-wrap { max-height: 60vh; overflow-y: auto; padding: 4px 2px; text-align: left; }
.eb-chat { display: flex; flex-direction: column; gap: 12px; }
.eb-chat-item { display: flex; align-items: flex-end; gap: 8px; max-width: 88%; }
.eb-chat-item.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.eb-chat-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.eb-chat-bubble {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 10px 14px; text-align: left;
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius, 12px) var(--eb-radius, 12px) var(--eb-radius, 12px) var(--eb-radius-xs, 4px);
    background: var(--eb-surface, #fff);
    color: var(--eb-text, #0f172a);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.eb-chat-item.is-mine .eb-chat-bubble {
    border-radius: var(--eb-radius, 12px) var(--eb-radius, 12px) var(--eb-radius-xs, 4px) var(--eb-radius, 12px);
    background: var(--eb-primary-light, #eef2ff);
    border-color: color-mix(in srgb, var(--eb-primary, #4f46e5) 25%, transparent);
}
@media (hover: hover) { .eb-chat-bubble:hover { border-color: var(--eb-primary, #4f46e5); box-shadow: 0 2px 8px color-mix(in srgb, var(--eb-palette-slate-900, #0f172a) 8%, transparent); } }
.eb-chat-meta { font-size: var(--eb-fs-sm, 12px); color: var(--eb-text-secondary, #64748b); }
.eb-chat-meta strong { color: var(--eb-text, #0f172a); font-weight: 600; }
.eb-chat-object { font-size: var(--eb-fs-md, 14px); line-height: 1.4; overflow-wrap: anywhere; }
.eb-chat-item.is-unread .eb-chat-bubble { border-color: var(--eb-warning, #f59e0b); }
.eb-chat-new {
    font-size: var(--eb-fs-xs, 11px); font-weight: 700; padding: 1px 8px; border-radius: var(--eb-radius-pill, 999px);
    background: color-mix(in srgb, var(--eb-warning, #f59e0b) 18%, transparent);
    color: var(--eb-warning-hover, #b45309);
}
.eb-chat-empty { text-align: center; padding: 32px 16px; color: var(--eb-text-secondary, #64748b); }
.eb-chat-empty i { font-size: var(--eb-fs-display, 32px); color: var(--eb-text-muted, #94a3b8); }
.eb-chat-empty p { margin: 6px 0 0; }
.eb-chat-empty-title { font-weight: 600; color: var(--eb-text, #0f172a); margin-top: 10px !important; }
.eb-chat-compose { display: flex; justify-content: flex-end; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--eb-border, #e2e8f0); }
.eb-chat-compose .btn { display: inline-flex; align-items: center; gap: 8px; }
.eb-chat-panel-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.eb-chat-panel-head h2 { margin: 0; font-size: var(--eb-fs-lg, 16px); font-weight: 700; display: flex; align-items: center; gap: 8px; }
#div_resp_chat_lateral .eb-chat-item { max-width: 100%; }

.eb-chat-text { font-size: var(--eb-fs-base, 13px); line-height: 1.45; color: var(--eb-text-secondary, #475569); overflow-wrap: anywhere; }

/* =========================================================================
   ESPACE DU CANDIDAT (candidat.php)
   Fond doux, largeur bornée et centrée, accueil qui dit où l'on en est.
   ========================================================================= */
body:has(.eb-recr-cand-space) { background: var(--eb-bg, #f4f6fb) !important; }
.body-wizard.recruitement-wizard.eb-recr-cand-space {
    max-width: 1120px;
    margin: 0 auto;
    padding: 84px 24px 120px;
    background: transparent !important;
}
.eb-recr-cand-hello { margin: 0 0 20px; text-align: left; }
.eb-recr-cand-hello h1 { margin: 0 0 4px; font-size: var(--eb-fs-title, 24px); font-weight: 700; color: var(--eb-text, #0f172a); }
.eb-recr-cand-form { margin: 0 0 12px; color: var(--eb-text-secondary, #64748b); }
.eb-recr-cand-next { margin: 0; }
.eb-recr-cand-next > * {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: var(--eb-radius-md, 10px);
    font-weight: 600; text-decoration: none !important;
}
.eb-recr-cand-next .is-action { background: color-mix(in srgb, var(--eb-warning, #f59e0b) 14%, var(--eb-surface, #fff)); color: var(--eb-warning-hover, #b45309); border: 1px solid color-mix(in srgb, var(--eb-warning, #f59e0b) 40%, transparent); }
.eb-recr-cand-next .is-wait { background: color-mix(in srgb, var(--eb-palette-blue-500, #3b82f6) 10%, var(--eb-surface, #fff)); color: var(--eb-palette-blue-700, #1d4ed8); border: 1px solid color-mix(in srgb, var(--eb-palette-blue-500, #3b82f6) 30%, transparent); }
.eb-recr-cand-next .is-done { background: var(--eb-success-light, #dcfce7); color: var(--eb-success-hover, #15803d); }
.eb-recr-cand-next .is-rejected { background: var(--eb-surface-muted, #f8fafc); color: var(--eb-text-secondary, #64748b); border: 1px solid var(--eb-border, #e2e8f0); }
/* Contenu de l'étape en haut de sa carte, pas centré verticalement. */
.recruitement-wizard .wizard.row > .wizard-right { justify-content: flex-start !important; }
.recruitement-wizard .wizard-right-content { width: 100%; text-align: left; }
@media (max-width: 767.98px) {
    .body-wizard.recruitement-wizard.eb-recr-cand-space { padding: 72px 12px 120px; }
    .eb-recr-cand-hello h1 { font-size: var(--eb-fs-xl, 20px); }
}
/* Espace candidat : même fond sur html (une bande plus foncée apparaissait
   sous le contenu), contenu d'étape collé en haut de sa carte, barre
   d'action en pastille compacte comme côté recruteur. */
html:has(.eb-recr-cand-space) { background: var(--eb-bg, #f4f6fb) !important; }
.eb-recr-cand-space .wizard-right-content { margin-top: 0 !important; }
body:has(.eb-recr-cand-space) #band-container .ebf-band-pill {
    width: auto !important;
    max-width: max-content;
    padding-left: 8px !important;
    padding-right: 8px !important;
}
/* …et le corps couvre toute la fenêtre (le fond de html, d'une autre teinte,
   apparaissait sous une page courte). */
body:has(.eb-recr-cand-space) { min-height: 100vh; }

/* Espace candidat — textes à la taille du produit (28/11/2026) : le titre
   d'étape (24 px), sa description (18 px), « Pièces à joindre » (21 px) et
   chaque pièce (20 px) écrasaient l'écran au téléphone. */
.eb-recr-cand-space .wizard-right-content .wizard-subtitle {
    font-size: var(--eb-fs-md, 15px) !important;
    line-height: 1.5;
    color: var(--eb-text-secondary, #475569);
    margin: 0 0 4px;
}
.eb-recr-cand-space .eb-wz-content-title { font-size: var(--eb-fs-xl, 20px) !important; font-weight: 700; line-height: 1.25; }
.eb-recr-cand-space .wizard-right-content h5 {
    font-size: var(--eb-fs-md, 14px);
    font-weight: 600;
    margin: 0;
    color: var(--eb-text, #0f172a);
}
.eb-recr-cand-space .eb-wz-docs { gap: 12px !important; }
.eb-recr-cand-space .eb-wz-docs > div { margin-top: 0 !important; }
.eb-recr-cand-space .eb-wz-docs ul { margin: 0; padding-left: 18px; font-size: var(--eb-fs-sm, 12px); }
.eb-recr-cand-space .eb-wz-docs ul:empty { display: none; }
/* Bouton d'envoi : son texte aussi au téléphone (une coche seule ne dit
   pas ce qu'elle fait). */
body:has(.eb-recr-cand-space) #band-container .btn .hide_mobile { display: inline !important; }
.eb-wz--cand .eb-wz-chev { display: none; }
@media (max-width: 991.98px) {
    /* Parcours replié sur l'étape affichée ; l'en-tête (n/N + barre) le
       déplie. Moins de défilement avant d'arriver à ce qu'il faut faire. */
    .eb-wz--cand .eb-wz-head { cursor: pointer; }
    .eb-wz--cand .eb-wz-chev { display: inline-block; margin-left: 6px; font-size: var(--eb-fs-xs, 11px); color: var(--eb-text-secondary, #64748b); transition: transform .2s; }
    .eb-wz--cand.is-open .eb-wz-chev { transform: rotate(180deg); }
    .eb-wz--cand:not(.is-open) .eb-wz-steps > :not(:has(.selected-step)):not(.selected-step) { display: none; }
    .eb-wz--cand:not(.is-open) .eb-wz-steps .eb-wz-step::before,
    .eb-wz--cand:not(.is-open) .eb-wz-steps .eb-wz-step::after { display: none; }
    .eb-recr-cand-hello { margin-bottom: 14px; }
    .eb-recr-cand-hello h1 { font-size: var(--eb-fs-xl, 20px); }
    .eb-recr-cand-space .eb-wz-content-title { font-size: var(--eb-fs-lead, 18px) !important; }
    .body-wizard.recruitement-wizard.eb-recr-cand-space { padding-top: 64px; }
    .eb-recr-cand-form { margin-bottom: 10px; font-size: var(--eb-fs-md, 14px); }
    .eb-recr-cand-space .wizard.row { row-gap: 12px; }
}

/* =========================================================================
   Étape rendez-vous — le recruteur propose des créneaux
   ========================================================================= */
.eb-mt-intro {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 4px 0 16px; padding: 12px 14px;
    background: var(--eb-primary-light, #eef2ff);
    border-radius: var(--eb-radius-md, 10px);
    color: var(--eb-text, #0f172a); font-size: var(--eb-fs-md, 14px); text-align: left;
}
.eb-mt-intro i { color: var(--eb-primary, #4f46e5); margin-top: 2px; }
.eb-mt-slots { display: flex; flex-direction: column; gap: 10px; }
.eb-mt-slot {
    display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--eb-border, #e2e8f0);
    border-radius: var(--eb-radius-md, 10px);
    background: var(--eb-surface, #fff);
}
.eb-mt-slot-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: var(--eb-fs-md, 14px); text-align: left; }
.eb-mt-slot-num {
    width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--eb-primary, #4f46e5); color: var(--eb-palette-white, #ffffff); font-size: var(--eb-fs-sm, 12px); font-weight: 700;
}
.eb-mt-optional { font-weight: 400; color: var(--eb-text-muted, #94a3b8); font-size: var(--eb-fs-sm, 12px); }
.eb-mt-slot-fields { min-width: 0; }
.eb-mt-slot-row { display: grid; grid-template-columns: 150px 110px minmax(0, 1fr); gap: 8px; align-items: center; }
.eb-mt-slot-row > div { min-width: 0; }
.eb-mt-slot-row input { width: 100% !important; margin: 0 !important; }
.eb-mt-slot-row .bootstrap-select { width: 100% !important; }
.eb-mt-place { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.eb-mt-field label { display: block; margin: 0 0 4px; font-weight: 600; font-size: var(--eb-fs-base, 13px); }
.eb-mt-toggle {
    display: flex; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer;
    padding: 12px 14px; border: 1px solid var(--eb-border, #e2e8f0); border-radius: var(--eb-radius-md, 10px);
}
.eb-mt-toggle .switch { flex: 0 0 auto; margin: 2px 0 0; }
.eb-mt-toggle small { color: var(--eb-text-secondary, #64748b); }
@media (max-width: 767.98px) {
    .eb-mt-slot { grid-template-columns: 1fr; gap: 8px; }
    .eb-mt-slot-row { grid-template-columns: 1fr 100px; }
    .eb-mt-slot-row > div:last-child { grid-column: 1 / -1; }
}
.eb-mt-slot { grid-template-columns: 200px 1fr; }
.eb-mt-slot-num { flex: 0 0 auto; }
.eb-mt-slot-label { flex-wrap: wrap; row-gap: 0; }
.eb-mt-slot-row .bootstrap-select,
.eb-mt-slot-row .bootstrap-select > .dropdown-toggle { width: 100% !important; max-width: none !important; }
@media (max-width: 767.98px) { .eb-mt-slot { grid-template-columns: 1fr; } }
.eb-mt-waiting { align-items: flex-start; }
.eb-mt-waiting p { margin: 0; color: var(--eb-text, #0f172a); }
.eb-mt-proposed { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: var(--eb-fs-base, 13px); color: var(--eb-text-secondary, #475569); }
.eb-mt-proposed i { color: var(--eb-primary, #4f46e5); margin-right: 4px; }

/* Choix d'un créneau par le candidat : cartes cliquables. */
.eb-rdv-track { justify-content: flex-start !important; }
.eb-rdv-card {
    min-width: 150px !important;
    border: 2px solid var(--eb-border, #e2e8f0) !important;
    border-radius: var(--eb-radius-md, 12px) !important;
    box-shadow: none !important;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
@media (hover: hover) { .eb-rdv-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px color-mix(in srgb, var(--eb-palette-slate-900, #0f172a) 10%, transparent) !important; } }
.eb-rdv-card:has(input:checked) {
    border-color: var(--eb-primary, #4f46e5) !important;
    background: var(--eb-primary-light, #eef2ff);
}
.eb-rdv-card .eb-rdv-date { font-size: var(--eb-fs-md, 14px); }
.eb-rdv-card .eb-rdv-hour { font-size: var(--eb-fs-xl, 20px); font-weight: 700; color: var(--eb-text, #0f172a) !important; }
.eb-rdv-place { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; color: var(--eb-text-secondary, #475569); font-size: var(--eb-fs-md, 14px); text-align: left; }
.eb-rdv-place i { width: 16px; color: var(--eb-primary, #4f46e5); }
.eb-rdv-card .eb-rdv-date { white-space: nowrap; }
.eb-rdv-card .eb-rdv-day { display: block; font-weight: 500; font-size: var(--eb-fs-sm, 12px); text-transform: capitalize; color: var(--eb-text-secondary, #64748b); }
/* module_aide.css définit aussi .eb-rdv-date (feuillet de 56 × 62 px) : la
   date de la carte y était coupée (« 24-11- / 2026 »). */
.eb-rdv-card .eb-rdv-date {
    display: block; width: auto; height: auto; overflow: visible;
    background: none; border: 0; border-radius: 0;
}
/* Rendez-vous retenu : lignes libellé / valeur, comme le récapitulatif. */
table.eb-rdv-table { width: 100%; margin: 8px 0 0; border: 1px solid var(--eb-border, #e2e8f0); border-radius: var(--eb-radius-md, 10px); border-collapse: separate; border-spacing: 0; overflow: hidden; }
table.eb-rdv-table td { padding: 10px 14px !important; border: 0 !important; border-top: 1px solid var(--eb-border, #e2e8f0) !important; font-size: var(--eb-fs-md, 14px); text-align: left; background: var(--eb-surface, #fff); }
table.eb-rdv-table tr:first-child td { border-top: 0 !important; }
table.eb-rdv-table td:first-child { width: 34%; color: var(--eb-text-secondary, #64748b); font-weight: 500; }

/* Paramétrage › Accès et sécurité : l'alerte « solde SMS » mettait côte à
   côte texte, lien et bouton dans une colonne de 300 px — un mot par ligne.
   Le texte prend la ligne, lien et bouton passent dessous. */
.eb-recr-settings .eb-recr-control > .alert {
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
}
.eb-recr-settings .eb-recr-control > .alert > span:first-child { flex: 1 1 100%; }

/* Paramétrage › Étapes : numéro à la couleur de l'étape, ce que l'étape
   demande en pastilles, candidats en cours. */
#form_steps :is(th, td).eb-step-c-num { width: 64px; }
#form_steps :is(th, td).eb-step-c-here { width: 150px; }
#form_steps :is(th, td).eb-step-c-btn { width: 110px; }
.eb-steps-form { font-weight: 500; color: var(--eb-text-secondary, #64748b); }
.eb-step-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eb-step-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: var(--eb-radius-pill, 999px); font-size: var(--eb-fs-sm, 12px); font-weight: 500;
    background: var(--eb-primary-light, #eef2ff); color: var(--eb-primary, #4f46e5);
}
.eb-step-chip.is-plain { background: var(--eb-surface-muted, #f1f5f9); color: var(--eb-text-secondary, #64748b); }
.eb-step-here {
    display: inline-flex; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--eb-radius-pill, 999px);
    align-items: center; justify-content: center; font-weight: 700; font-size: var(--eb-fs-sm, 12px);
    background: color-mix(in srgb, var(--eb-warning, #f59e0b) 16%, transparent); color: var(--eb-warning-hover, #b45309);
}
#form_steps :is(th, td).eb-step-c-num { width: 84px !important; }
#form_steps :is(th, td).eb-step-c-here { width: 190px !important; }
#form_steps thead th .th-inner { white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; }
/* La grille héritait d'une hauteur d'écran (règle globale de .wizard) : au
   téléphone, ses deux rangées se partageaient 100vh et un grand vide
   séparait le parcours du contenu. */
.recruitement-wizard .wizard.row { height: auto !important; min-height: 0 !important; align-content: start; }
