/* ── Inscription landing (split diagonal avocat / établissement) ───────── */



.inscription-landing {
    min-height: calc(100vh - 140px);
    /*background: linear-gradient(105deg, #f3f1f6 50%, #5b2e8c 50.05%);*/
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-image: url("../images-custom/bg-inscription-fNO_esr.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.inscription-flashes {
    padding: 1rem 1.5rem 0;
}

.inscription-landing__inner {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16rem;
    width: 100%;
    padding: 4rem 1.5rem;
}

.inscription-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /*padding: 2rem 3rem;*/
    /*max-width: 480px;*/
    padding: 2rem 0;
    max-width: 411px;
    width: 100%;
}

.inscription-panel--people {
    color: #1a1a1a;
    justify-self: end;
}

.inscription-panel--enterprise {
    color: #fff;
    justify-self: start;
}

.inscription-panel__title {
    font-size: calc(28 * var(--rem));
    font-weight: 300;
    margin: 0 0 2rem;
}

/* Forms */
.inscription-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inscription-form label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .35rem;
}

.inscription-form select,
.inscription-form input[type="text"],
.inscription-form input[type="time"],
.inscription-form input[type="email"],
.inscription-form input[type="tel"],
.inscription-form textarea,
.inscription-form select,
.inscription-form input[type="date"] {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #d5d2da;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    color: #1a1a1a;
    box-sizing: border-box;
}

.modal-box form label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .35rem;
}

.modal-box form select,
.modal-box form input[type="text"],
.modal-box form input[type="time"],
.modal-box form input[type="email"],
.modal-box form input[type="tel"],
.modal-box form textarea,
.modal-box form select,
.modal-box form input[type="date"] {
    width: auto;
    padding: 4px 12px;
    border: 1px solid #d5d2da;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    color: #1a1a1a;
    box-sizing: border-box;
}

.inscription-panel--enterprise .inscription-form label {
    color: #fff;
}

.inscription-form input:focus {
    outline: 2px solid var(--color-featured);
    outline-offset: 1px;
    border-color: transparent;
}

/* Boutons */
.inscription-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, background-color .15s;
    white-space: nowrap;
    text-decoration: none;
}

.inscription-btn--cta,
.inscription-btn--submit {
    background: var(--color-featured);
    color: #fff;
    width: 100%;
}

.inscription-btn--cta:disabled {
    opacity: .75;
    cursor: not-allowed;
}

.inscription-btn:hover:not(:disabled) {
    opacity: .88;
}

/* Séparateur OU */
.inscription-separator {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.5rem 0;
    color: #8a8596;
    font-size: .85rem;
    letter-spacing: .1em;
}

.inscription-separator::before,
.inscription-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d5d2da;
}

/* Lien "Déjà inscrit" */
.inscription-login-link {
    margin-top: 1.5rem;
    font-size: .95rem;
}

.inscription-login-link a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.inscription-panel--enterprise .inscription-login-link a {
    color: #fff;
}

/* Assistance page (CNBF/code lookup failed) */
.inscription-assistance {
    min-height: calc(100vh - 140px);
    background: #f3f1f6;
    padding: 4rem 1.5rem;
}

.inscription-assistance__inner {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
}

.inscription-assistance__inner h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.inscription-assistance__hint {
    margin: 1rem 0 1.5rem;
    color: #666;
}

.stepper-form.this-form{
    & > *{
        margin-bottom: 1rem;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .inscription-landing {
        background: none;
    }

    .inscription-landing__inner {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .inscription-panel {
        padding: 3rem 1.5rem;
        max-width: none;
        justify-self: stretch;
    }

    .inscription-panel--people {
        background: #f3f1f6;
    }

    .inscription-panel--enterprise {
        background: #5b2e8c;
    }
}


/* ── Stepper header (tunnel inscription) ────────────────────────────────── */

.stepper-header {
    background: #fff;
    border-bottom: 1px solid #eceaef;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.stepper-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 1.5rem;
    min-height: 88px;
}

.stepper-header__logo {
    flex-shrink: 0;
    min-width: 0;
}

.stepper-header__steps {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.stepper-header__back {
    color: #1a1a1a;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
    transition: opacity .15s;
}

.stepper-header__back:hover {
    opacity: .65;
}

.stepper-header__back-close {
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 400;
}

/* ── Stepper core ──────────────────────────────────────────────────────── */

.stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 720px;
}

.stepper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    text-align: center;
    padding: 0 .25rem;
    min-width: 0;
}

.stepper__bubble {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #c2bfc9;
    border: 1px solid #d5d2da;
    background: #fff;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.stepper__label {
    margin-top: .55rem;
    font-size: .72rem;
    color: #6b6878;
    max-width: 140px;
    line-height: 1.25;
}

/* État courant : bulle noire pleine + label accentué */
.stepper__item.is-current .stepper__bubble {
    background: var(--color-featured);
    border-color: var(--color-featured);
    color: #fff;
}

.stepper__item.is-current .stepper__label {
    color: #1a1a1a;
    font-weight: 600;
}

/* Étapes déjà validées */
.stepper__item.is-done .stepper__bubble {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    opacity: .55;
}

/* Ligne de liaison entre chaque bulle */
.stepper__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 17px;
    left: calc(50% + 17px);
    width: calc(100% - 34px);
    height: 1px;
    background: #d5d2da;
    z-index: 0;
}

/* Responsive ≤ 900 px : labels masqués, bulles plus serrées */
@media (max-width: 900px) {
    .stepper-header__inner {
        gap: 1rem;
        padding: .75rem 1rem;
        min-height: 64px;
    }

    .stepper__label {
        display: none;
    }

    .stepper__item:not(:last-child)::after {
        top: 17px;
    }
}

@media (max-width: 540px) {
    .stepper-header__back {
        font-size: 0;
    }

    .stepper-header__back-close {
        font-size: 1.4rem;
    }
}

/* ── Stepper body / form (step 01) ─────────────────────────────────────── */

/* Sticky-footer pattern : la nav reste en bas de page (pas du viewport).
   Quand le contenu remplit l'écran elle suit le flux, sinon `margin-top:auto`
   la pousse au bas du viewport via la chaîne flex parente. */
body.inscription-stepper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.stepper-body {
    padding: 3rem 0 0;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stepper-body > .w-full,
.stepper-body > .stepper-search {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stepper-form {
    max-width: 520px;
    padding: 0 1.25rem;
}

/* ── Bandeau de navigation en bas de page ──────────────────────────────── */
.footer-stem-nav {
    margin-top: auto;            /* pousse vers le bas si contenu court */
    width: 100%;
    background-color: #F6F4F9;
    padding: 1.5rem 1.25rem 1.75rem;
    position: relative;
    @media  (min-width: 768px) {
        &::before {
            content: '';
            display: block;
            background-image: url("../images-custom/footer-stepper-left-XLYkwPW.svg");
            background-repeat: no-repeat;
            background-position: center;
            position: absolute;
            top: -110px;
            left: -1.25rem;
            width: 88px;
            height: 194px;
        }

        &::after {
            content: '';
            display: block;
            background-image: url("../images-custom/footer-stepper-right-hDnuExL.svg");
            background-repeat: no-repeat;
            background-position: center;
            position: absolute;
            top: -90px;
            right: -1.25rem;
            width: 154px;
            height: 147px;
        }
    }
}

.footer-stem-nav .stepper-form__nav {
    margin-top: 0;
}

.footer-stem-nav .stepper-form__hint,
.footer-stem-nav .stepper-form__hint--center {
    margin-top: .6rem;
    margin-bottom: 0;
}

.stepper-form__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 .75rem;
    line-height: 1.3;
}

.stepper-form__required {
    font-size: .8rem;
    color: #8a8596;
    margin: 0 0 1.5rem;
}

.stepper-form__form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    flex: 1;
}

.stepper-form__form label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .3rem;
    color: #1a1a1a;
}

.stepper-form__form input[type="text"],
.stepper-form__form input[type="time"],
.stepper-form__form input[type="email"],
.stepper-form__form input[type="tel"],
.stepper-form__form select,
.stepper-form__form input[type="password"],
.stepper-form__form input[type="number"] {
    width: 100%;
    padding: .7rem .9rem;
    border: 1px solid #d5d2da;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    color: #1a1a1a;
    box-sizing: border-box;
}

.stepper-form__form .ts-wrapper.js-address-autocomplete.added.single > .ts-control{
    &::after{
        content: unset;
    }
}
.stepper-form__form .ts-wrapper.js-address-autocomplete.added.single.has-options.focus.input-active.dropdown-active > .ts-control,
.stepper-form__form .ts-wrapper.js-address-autocomplete.added.single.full.has-items.input-hidden > .ts-control{
    &::after{
        border-color: grey transparent transparent;
        border-style: solid;
        border-width: 5px 5px 0;
        content: " ";
        display: block;
        height: 0;
        margin-top: -3px;
        position: absolute;
        top: 50%;
        width: 0;
    }
}

.stepper-form__form input[readonly] {
    background: #f8f7fa;
    color: #6b6878;
}

.stepper-form__form input:focus {
    outline: 2px solid var(--color-featured);
    outline-offset: 1px;
    border-color: transparent;
}

.stepper-form__form .form-help,
.stepper-form__form small {
    display: block;
    font-size: .75rem;
    color: #8a8596;
    margin-top: .25rem;
}

.stepper-form__address {
    border: 0;
    padding: 0;
    margin: .5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.stepper-form__address > legend {
    font-size: .95rem;
    font-weight: 600;
    color: #1a1a1a;
    padding: 0;
    margin-bottom: .25rem;
}

.stepper-form__checkboxes {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-top: .5rem;
}

.stepper-form__checkboxes .form-check,
.stepper-form__checkboxes div:has(> input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    flex-wrap: wrap;
}

.stepper-form__checkboxes input[type="checkbox"] {
    margin-top: .15rem;
    width: 18px;
    height: 18px;
    accent-color: #1a1a1a;
    flex-shrink: 0;
}

.stepper-form__checkboxes label {
    font-size: .82rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0;
    color: #1a1a1a;
}

.stepper-form__submit {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.stepper-form__submit .inscription-btn--submit {
    max-width: 280px;
}

.stepper-form__hint {
    font-size: .78rem;
    color: #8a8596;
    margin: 0;
    max-width: 320px;
}

/* Règles mot de passe (enterprise step 01) */
.stepper-form__password-rules {
    list-style: none;
    margin: -.25rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem .75rem;
    font-size: .78rem;
    color: #8a8596;
    &:not(.pt-2){
        padding: 0;
    }
}

.stepper-form__password-rules li::before {
    content: "✕ ";
    color: var(--color-featured);
    font-weight: 700;
    margin-right: .2rem;
}

.stepper-form__password-rules li.ok {
    color: var(--color-good, #16a34a);
}

.stepper-form__password-rules li.ok::before {
    content: "✓ ";
    color: var(--color-good, #16a34a);
}

/* ── Inversion visuelle : case à cocher à gauche du label ─────────────── */
.stepper-form__checkboxes input[type="checkbox"] {
    order: 1;
}

.stepper-form__checkboxes label {
    order: 2;
    flex: 1;
}

/* ── Erreurs de formulaire ─────────────────────────────────────────────── */
.stepper-form__form ul:not(.stepper-form__password-rules) {
    list-style: none;
    margin: .35rem 0 0;
    padding: 0;
    font-size: .8rem;
    color: #dc2626;
    font-weight: 500;
    flex: 0 0 100%;
}

.stepper-form__form ul:not(.stepper-form__password-rules) li {
    padding-left: 1.2em;
    position: relative;
    line-height: 1.4;
}

.stepper-form__form ul:not(.stepper-form__password-rules) li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

.stepper-form__form input[aria-invalid="true"],
.stepper-form__form input.is-invalid {
    border-color: #dc2626 !important;
}

.stepper-form__form input[aria-invalid="true"]:focus {
    outline-color: #dc2626;
}

/* ── Step 02 : intro + navigation précédent / suivant ─────────────────── */
.stepper-form__intro {
    font-size: .95rem;
    color: #6b6878;
    margin: 0 0 2rem;
    line-height: 1.5;
}

.stepper-form__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.inscription-btn--prev {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #d5d2da;
    padding: .85rem 1.75rem;
    text-decoration: none;
    font-weight: 500;
}

.inscription-btn--prev:hover:not(:disabled) {
    background: #f8f7fa;
    opacity: 1;
}

.stepper-form__nav .inscription-btn--submit {
    width: auto;
    padding: .85rem 2rem;
}

.stepper-form__hint--center {
    margin: 1.25rem auto 0;
    text-align: center;
    max-width: 360px;
}

/* ── Toggle « voir le mot de passe » ──────────────────────────────────── */
.stepper-form__password-wrapper {
    position: relative;
    display: block;
}

.stepper-form__password-wrapper > input[type="password"],
.stepper-form__password-wrapper > input[type="text"] {
    padding-right: 2.75rem;
}

.stepper-form__password-toggle {
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #8a8596;
    border-radius: 4px;
    transition: color .15s, background-color .15s;
}

.stepper-form__password-toggle:hover {
    color: #1a1a1a;
    background: #f3f1f6;
}

.stepper-form__password-toggle:focus-visible {
    outline: 2px solid var(--color-featured);
    outline-offset: 1px;
    color: #1a1a1a;
}

.stepper-form__password-toggle .pw-eye--hide {
    display: none;
}

.stepper-form__password-toggle.is-showing .pw-eye--show {
    display: none;
}

.stepper-form__password-toggle.is-showing .pw-eye--hide {
    display: inline-block;
}

/* ── Step 03 People - disponibilités ───────────────────────────────────── */
.stepper-availabilities {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: .5rem;
}

.stepper-availability-row__date {
    font-size: .95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 .75rem;
}

.stepper-availability-row__label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: .6rem;
}

.stepper-availability-choices {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stepper-availability-choice {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-size: .95rem;
    color: #1a1a1a;
    font-weight: 400;
}

.stepper-availability-choice input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #1a1a1a;
    margin: 0;
}

/* ── Step 02 Enterprise - interventions ─────────────────────────────────── */

/* Empty-state callout orange */
.inscription-callout {
    border-left: 4px solid var(--color-featured);
    background: #fff4ee;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.inscription-callout__title {
    font-weight: 700;
    margin: 0 0 .35rem;
    font-size: .95rem;
    color: #1a1a1a;
}

.inscription-callout__message {
    font-size: .9rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.45;
}

/* Liste des interventions */
.stepper-interventions {
    margin: 1.5rem 0;
}

.stepper-interventions__label {
    font-size: .95rem;
    font-weight: 600;
    margin: 0 0 .75rem;
    color: #1a1a1a;
}

.stepper-intervention-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: .85rem .25rem;
    border-bottom: 1px solid #eceaef;
    flex-wrap: wrap;
}

.stepper-intervention-row:last-child {
    border-bottom: none;
}

.stepper-intervention-row__field {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: 1;
    min-width: 0;
}

.stepper-intervention-row__field-label {
    font-size: .8rem;
    color: #6b6878;
    font-weight: 500;
}

.stepper-intervention-row__field-value {
    font-size: .95rem;
    color: #1a1a1a;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.stepper-intervention-row__delete {
    margin-left: auto;
    display: flex;
}

.stepper-intervention-row__delete button {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b6878;
    padding: .25rem;
    border-radius: 4px;
    display: inline-flex;
    transition: color .15s, background-color .15s;
}

.stepper-intervention-row__delete button:hover {
    color: #dc2626;
    background: #fee2e2;
}

/* Bouton "+ Ajouter" (style lien-bouton) */
.inscription-btn--add {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 0;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    list-style: none;
}

.inscription-btn--add::-webkit-details-marker {
    display: none;
}

.inscription-btn--add > span[aria-hidden="true"] {
    display: inline-flex;
    /*align-items: center;*/
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Formulaire inline "Ajouter un créneau" */
.stepper-intervention-add {
    margin: 1rem 0 .5rem;
    & .add-intervention{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.stepper-intervention-add__form {
    margin-top: 1rem;
    padding: 1.25rem;
    background: #f8f7fa;
    border-radius: 8px;
}

.stepper-intervention-add__form .inscription-btn--submit {
    max-width: 260px;
    margin-top: .5rem;
}

/* ── Steps de recherche (people step 4 + enterprise step 3) ────────────── */

.stepper-body--wide {
    padding: 2.5rem 1.5rem 4rem;
}

/* Sur les steps wide, .footer-stem-nav est un sibling de .stepper-search (sorti
   de la colonne 960px pour faire pleine largeur). Les `margin: -…` négatives
   neutralisent le padding de .stepper-body--wide (1.5rem L/R + 4rem bottom) pour
   que le bandeau touche les bords du viewport et le bas de la section. */
.stepper-body--wide2 > .footer-stem-nav {
    margin-top: 3rem;
}

.stepper-search {
    max-width: 960px;
}

.stepper-search__profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    background: #f8f7fa;
    border-radius: 8px;
    padding: .75rem 1rem;
    margin: 1.5rem 0 1rem;
}

.stepper-search__profile-label {
    font-size: .85rem;
    color: #6b6878;
    margin-right: .25rem;
}

.stepper-search__profile-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .75rem;
    background: #fff;
    border: 1px solid #eceaef;
    border-radius: 999px;
    font-size: .85rem;
    color: #1a1a1a;
}

.stepper-search__section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1.5rem 0 1rem;
}

.stepper-search__empty {
    padding: 2rem;
    text-align: center;
    background: #f8f7fa;
    border-radius: 8px;
    color: #6b6878;
    font-size: .95rem;
}

/* Slots déclarés par l'établissement (step 3 enterprise) */
.stepper-search__slots {
    background: #f8f7fa;
    border-radius: 8px;
    margin: 1rem 0 1.5rem;
    width: 100%;
    display: inline-block;
    max-width: 546px;
    padding-bottom: 12px;
}

.stepper-search__slots-title {
    font-size: .9rem;
    font-weight: 600;
    margin: 0 0 .5rem;
    background: #1a1a1a;
    color: #fff;
    padding: .5rem .75rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.stepper-search__slots-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.stepper-search__slots-table td {
    padding: .4rem .75rem;
}

.stepper-search__slots-table td:first-child {
    font-weight: 600;
    width: 80px;
}

.stepper-search__slots-table td:nth-child(2) {
    color: #6b6878;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* Liste cards (schools for people / people rows for enterprise) */
.stepper-search__list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 2rem;
}

.search-card {
    background: #f8f7fa;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.search-card__header {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .75rem;
}

.search-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.search-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.search-card__chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    color: #6b6878;
}

.search-card__link {
    font-size: .85rem;
    text-decoration: underline;
    color: #1a1a1a;
    align-self: flex-start;
}

.search-card__link:hover {
    opacity: .75;
}

.search-card__slots {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.search-card__slots thead th {
    background: #fff;
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #8a8596;
    letter-spacing: .05em;
    text-align: left;
    padding: .5rem .75rem;
    border-bottom: 1px solid #eceaef;
}

.search-card__slots tbody td {
    padding: .6rem .75rem;
    border-bottom: 1px solid #f3f1f6;
    vertical-align: middle;
}

.search-card__slots tbody tr:last-child td {
    border-bottom: none;
}

.search-card__slots tbody td:first-child {
    font-weight: 600;
}

.search-card__slots tbody td:nth-child(2) {
    color: #6b6878;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.search-card__slot-action {
    text-align: right;
}

.search-card__empty {
    color: #6b6878;
    font-size: .9rem;
    margin: 0;
}

.search-card__sent {
    color: #16a34a;
    font-weight: 600;
    font-size: .85rem;
}

/* Liste personnes (enterprise step 3) */
.stepper-search__people-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.search-person-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem .25rem;
    border-bottom: 1px solid #eceaef;
    flex-wrap: wrap;
}

.search-person-row:last-child {
    border-bottom: none;
}

.search-person-row__name {
    flex: 1;
    min-width: 180px;
    font-weight: 600;
    color: #1a1a1a;
}

.search-person-row__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.search-person-row__action {
    margin-left: auto;
}

/* Bouton "compact" (taille réduite pour listes) */
.inscription-btn--compact {
    padding: .4rem 1rem;
    font-size: .85rem;
    width: auto;
}

/* .search-map / .modal-backdrop / .modal-box base : moved to app.css.
   Stepper keeps the .modal-box__* extensions below to layer on top. */

.modal-box__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #1a1a1a;
}

.modal-box__slot-info {
    background: #f8f7fa;
    border-radius: 6px;
    padding: .75rem 1rem;
    font-size: .9rem;
    margin: .75rem 0;
    line-height: 1.4;
}

.modal-box__slot-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: .75rem 0 1rem;
}

.modal-box__slot-option {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #f8f7fa;
    border-radius: 6px;
    cursor: pointer;
    font-size: .95rem;
}

.modal-box__slot-option input[type="radio"] {
    accent-color: #1a1a1a;
    width: 18px;
    height: 18px;
    margin: 0;
}

.modal-box__slot-option:has(input:checked) {
    background: #fff4ee;
    outline: 1px solid var(--color-featured);
}

.modal-box__note {
    font-size: .85rem;
    color: #6b6878;
    margin: .75rem 0 0;
}

.modal-box__error {
    color: #dc2626;
    font-size: .85rem;
    margin: .5rem 0 0;
}

.modal-box__actions {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.modal-box__actions .inscription-btn {
    width: auto;
    padding: .7rem 1.4rem;
}

/* .modal-close-btn (base + hover) + #map-area + .map-slots-panel* + #map-slots-panel-body
   moved to app.css. The body padding/font-size for stepper context is reapplied below. */
.map-tiles-simple {
    filter: grayscale(1) contrast(.75) brightness(1.08) opacity(.78);
}
#map-slots-panel-body {
    padding: .75rem;
    font-size: .85rem;
}

#map-slots-panel-body .search-card__slots {
    font-size: .8rem;
}

#map-slots-panel-body .search-card__slots th,
#map-slots-panel-body .search-card__slots td {
    padding: .35rem .5rem;
}

#map-slots-panel-body .inscription-btn--compact {
    padding: .25rem .65rem;
    font-size: .75rem;
}

.map-slots-panel__empty,
.map-slots-panel__sent,
.map-slots-panel__intro {
    margin: 0 0 .5rem;
    font-size: .85rem;
    color: #6b6878;
}

.map-slots-panel__sent {
    text-align: center;
    padding: 1rem 0;
}

.map-slots-panel__picker {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.map-slots-panel__picker .modal-box__slot-option {
    padding: .5rem .75rem;
    font-size: .85rem;
}

.map-slots-panel__picker .inscription-btn--compact {
    width: 100%;
    margin-top: .25rem;
}

.map-slots-panel__error {
    color: #dc2626;
    font-size: .8rem;
    margin: .25rem 0 0;
    min-height: 1.2em;
}

/* Popup carte simplifié */
.map-popup-wrap .leaflet-popup-content {
    margin: 0;
    padding: 0;
    font-family: inherit;
}

.map-popup-wrap .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.map-popup {
    padding: .75rem 1rem;
    min-width: 180px;
}

.map-popup__title {
    font-weight: 700;
    font-size: .9rem;
    color: #1a1a1a;
    margin-bottom: .4rem;
}

.map-popup__link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-featured);
    font-size: .8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.map-popup__link:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    #map-area {
        /*flex-direction: column;*/
        height: 600px;
    }

    #map-area .search-map {
        height: 600px;
    }

    .map-slots-panel.is-open {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eceaef;
        max-height: 360px;
    }
}

/* ── Step 04 Enterprise - infos pratiques journalistes ─────────────────── */

.stepper-form__journalist-question {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: .5rem;
}

.stepper-form__journalist-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

.stepper-form__journalist-radios {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stepper-form__pdf-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem 0;
    color: #1a1a1a;
    text-decoration: none;
    font-size: .95rem;
    transition: opacity .15s;
}

.stepper-form__pdf-link strong {
    text-decoration: underline;
    font-weight: 600;
}

.stepper-form__pdf-link:hover {
    opacity: .7;
}
