/* =========================================================================
   CSS DU TUNNEL DE RÉSERVATION
   rendezvous/rendez-vous.php, rendez-vous-2.php, rendez-vous-3.php, reservation.php
   (css.css pour la base commune, css-v1.css pour le reste — css-v2.css ne sert
   plus à ces 4 pages, qui chargent ce fichier à la place)
   ========================================================================= */

/* -------------------------------------------------------------------------
   RENDEZ-VOUS.PHP (choix de la prestation)
   ------------------------------------------------------------------------- */

/* Fil d'Ariane du tunnel (1. Prestation / 2. Créneau / 3. Coordonnées /
   4. Validation) — repris sur rendez-vous.php (étape 1 active) et
   rendez-vous-3.php (étapes 1-2 complétées, étape 3 active). Pas encore sur
   rendez-vous-2.php (étape 2), mise en page plus complexe, à voir plus tard. */
.rdv-stepper {
    display: flex;
    justify-content: space-between;
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    position: relative;
}

.rdv-stepper::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: var(--border, #e4ddd3);
    z-index: 0;
}

.rdv-stepper__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.rdv-stepper__bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--card-bg, #fffaf5);
    border: 2px solid var(--border, #e4ddd3);
    color: #aaa;
    font-weight: bold;
    font-size: 0.9rem;
}

.rdv-stepper__label {
    font-size: 0.75rem;
    color: #aaa;
    text-align: center;
}

.rdv-stepper__step.is-active .rdv-stepper__bullet {
    background: var(--p-violet);
    border-color: var(--p-violet);
    color: #fff;
}

.rdv-stepper__step.is-active .rdv-stepper__label {
    color: var(--p-violet);
    font-weight: bold;
}

.rdv-stepper__step.is-completed .rdv-stepper__bullet {
    background: var(--p-glycine2);
    border-color: var(--p-glycine2);
    color: #fff;
}

.rdv-stepper__step.is-completed .rdv-stepper__label {
    color: var(--p-glycine2);
}

/* Du h2 "Votre Rendez-Vous" jusqu'à la fin de la zone de choix — uniquement
   desktop/tablette, pas sur mobile. */
@media (min-width: 768px) {
    .rdv-encadre {
        max-width: 520px;
        margin: 0 auto;
        padding: 25px 20px;
        border-radius: var(--radius, 14px);
        background-color: var(--p-blanc-30p);
    }
}

div.prestations {
    width: 90%;
    margin: auto;
    max-width: 1000px;
}

@media screen and (max-width: 767px) {
    div.prestations {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }
}

.rdv-intro-text {
    max-width: 600px;
    margin: 0 auto 25px;
    text-align: center;
}

.rdv-center {
    text-align: center;
}

.rdv-select-prestation {
    width: 100%;
    max-width: 420px;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid var(--border, #e4ddd3);
    border-radius: var(--radius, 14px);
    background-color: var(--card-bg, #fffaf5);
    color: var(--p-violet);
    cursor: pointer;
}

.rdv-link-accent {
    color: var(--p-violet);
}

.rdv-footnote {
    text-align: center;
    margin-top: 10px;
}

/* -------------------------------------------------------------------------
   RENDEZ-VOUS-2.PHP (créneaux)
   ------------------------------------------------------------------------- */

/* Sur mobile, le bouton flottant (fixed, top:50px) chevauche le haut de page :
   on descend le titre/récap pour laisser la place. Classe partagée entre
   rendez-vous-2.php (h1) et rendez-vous-3.php (bloc .rdv_confirmation du
   récap) — distincte de .rdv-v2-titre (déjà utilisée ailleurs avec son
   propre style, 1.2rem/margin 20px). */
@media (max-width: 767px) {
    .rdv-mobile-titre {
        /*margin-top: 58px;*/
    }

    /* Sur rendez-vous-3.php, "div.rdv_confirmation { margin: auto; }" a une
       spécificité plus forte (élément + classe) que .rdv-mobile-titre seule
       et écrase margin-top. Ce sélecteur combiné est plus spécifique et
       reprend la main. */
    div.rdv_confirmation.rdv-mobile-titre {
        margin-top: 10px;
    }

    .rdv-mobile-h2 {
        margin-top: 5px;
        font-size: 1rem;
    }

    /* "Confirmer mon rendez-vous" (rendez-vous-3.php) : .btn est en display:inline-block
       sans contrainte de largeur (contrairement à "Modifier la date ou l'heure", qui
       est étiré par son parent .cta-buttons en flex column). Le texte ne pouvant pas
       se couper (input[type=submit]), il déborde de l'écran sur mobile. */
    .rdv3-btn-confirmer {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 12px 15px;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 768px) {
    .rdv-mobile-h2 {
        font-size: 1.25rem;
    }
}

/* Dupliqué depuis css-v2.css (classes encore utilisées par magnetisme/rendez-vous-2.php) */
.grille-tuiles {
    display: grid;
    /* auto-fit (pas un nombre de colonnes fixe) : .bloc-informations-pratiques est
       maintenant limité à 420px (cf. règle ci-dessous) quel que soit la largeur de
       l'écran, donc le nombre de colonnes doit dépendre de ce conteneur, pas du
       viewport comme le faisaient les anciens points de rupture à 900px/500px. */
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 15px;
    justify-content: center;
    margin: 20px auto 5px auto;
}

.tuile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tuile i {
    font-size: 1.2rem;
    color: #d4af37;
}

.tuile span {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #555;
}

@media (max-width:900px) {
    .grille-tuiles {
        grid-template-columns: repeat(2,minmax(150px,210px));
    }
}

@media (max-width:500px) {
    .grille-tuiles {
        grid-template-columns: repeat(2,minmax(150px,210px));
        gap: 10px;
    }

    .tuile {
        padding: 10px 5px;
    }

    .tuile span {
        font-size: 0.75rem;
    }
}

.rdv-select-prestation-form {
    margin: 0 auto 10px;
    max-width: 420px;
    width: 100%;
}

.rdv-select-wrapper {
    position: relative;
}

.rdv-select-prestation-v2 {
    font-size: 1em;
    width: 100%;
    padding: 10px 44px 10px 14px;
    font-weight: 400;
    text-align: center;
    border: 2px solid var(--p-glycine3);
    border-radius: 30px;
    background-color: var(--p-blanc-chaud);
    color: #333;
    cursor: pointer;
    /* Flèche native masquée : remplacée par l'icône fa-pen (.rdv-select-arrow ci-dessous). */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.rdv-select-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #333;
    /* Laisse passer le clic jusqu'au <select> dessous, qui occupe tout le wrapper. */
    pointer-events: none;
}

.rdv-slot-reserver-label {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
}

/* Le form par créneau ne doit pas interférer avec le flex de .rdv-slots-grid */
.rdv-slot-form {
    display: contents;
}

.rdv-note-italic {
    text-align: center;
    color: #555;
    font-style: italic;
    margin: 5px 15px;
}

.rdv-note-italic--top {
    padding-top: 20px;
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-2.php) */
.robot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-2.php) */
.rdv-v2-container {
    width: 90%;
    margin: 0 auto;
    padding: 20px 10px;
    max-width: 600px;
}

@media (min-width:600px) {
    .rdv-v2-container {
        padding: 10px;
    }
}

@media (min-width:768px) {
    .rdv-v2-container {
        margin: 0 auto;
        max-width: 800px;
    }
}

@media (min-width:768px) {
    .bloc-informations-pratiques {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (min-width:1200px) {
    .rdv-v2-container {
        margin: 0 auto;
        width: 90%;
        max-width: 1500px;
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

    .bloc-informations-pratiques {
        flex: 0 0 420px;
        max-width: 420px;
        margin: 0;
        top: 20px;
        background-color: rgba(255, 255, 255, 0.3);
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        border-radius: 21px;
    }

    /* La liste déroulante (prestation choisie) en position 1, à la place de
       l'ancien titre "Informations pratiques" */
    .bloc-informations-pratiques form {
        order: 1;
        margin-bottom: 20px;
    }

    .bloc-informations-pratiques .rdv-container-tuiles {
        order: 2;
        margin-bottom: 25px;
    }

    .bloc-informations-pratiques p {
        order: 3;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .bloc-creneaux-disponibles {
        flex: 1;
        background-color: rgba(255, 255, 255, 0.4);
        padding: 25px 20px;
        border-radius: 21px;
    }
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-2.php) */
.rdv-container-tuiles-jours {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}
.rdv-jour-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 270px;
    overflow: hidden;
    border: 1px solid #eee;
}
.rdv-jour-header {
    background: var(--p-blanc-chaud);
    color: #333;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Tuile repliée par défaut (accordéon) : le nom du jour + le compteur de créneaux
   restent visibles même repliés — c'est ce contraste "X dispos" / "Complet" qui porte
   l'effet de rareté de la grille, il ne doit jamais disparaître avec le repli. */
.rdv-jour-header--clickable {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    width: 100%; border: none; cursor: pointer; font-family: inherit;
}
.rdv-jour-header--complet { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0.75; }
.rdv-jour-nom { font-size: 1rem; }
.rdv-jour-compteur-ligne { display: flex; align-items: center; gap: 5px; }
.rdv-jour-compteur { font-size: 0.8rem; font-weight: normal; }
.rdv-jour-compteur--dispo { color: #777; font-weight: 600; }
.rdv-jour-compteur--complet { font-style: italic; }
.rdv-jour-chevron { font-size: 0.75rem; transition: transform 0.2s; }
.rdv-jour-header--ouvert .rdv-jour-chevron { transform: rotate(180deg); }

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-2.php) */
.rdv-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    justify-content: center;
    background: #fff;
}
.rdv-slots-grid[hidden] { display: none; }
.rdv-v2-slot-direct {
    display: block;
    font-size: 1rem;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #777;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
    text-align: center;
    min-width: 80px;
}
.rdv-v2-slot-direct:hover {
    background: var(--p-glycine3);
    color: white;
    border: 2px solid var(--p-glycine3);
    transform: translateY(-2px);
}

/* Filtre Matin/Après-midi/Après 17h, au-dessus des tuiles jour : même carte blanche
   arrondie que .rdv-jour-card et même en-tête que .rdv-jour-header, pour s'intégrer à
   l'ensemble plutôt que d'être un bandeau de boutons flottant isolé. */
.rdv-filtre-horaire {
    max-width: 600px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 12px;
}
@media (max-width:767px) {
    .rdv-filtre-horaire {
        width: 270px;
    }
}
.rdv-filtre-horaire .rdv-jour-header {
    cursor: default;
}
.rdv-filtre-horaire-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 10px 10px;
}
.rdv-filtre-btn {
    padding: 8px 16px;
    border: 1px solid var(--p-glycine2);
    border-radius: 999px;
    background: #fff;
    color: var(--p-glycine2);
    font-weight: 600;
    cursor: pointer;
}
.rdv-filtre-btn.is-active {
    background: var(--p-glycine2);
    color: #fff;
}

/* Retour à la ligne dans les tuiles : masqué par défaut (mobile, tuile
   compacte en une ligne), réaffiché en bloc dès que la tuile redevient une
   carte icône-au-dessus-du-texte (desktop/tablette). */
.tuile-sep {
    display: inline;
}
.tuile-sep::after {
    content: " ";
}
.tuile-sep--tiret::after {
    content: " — ";
}

@media (min-width: 768px) {
    .tuile-sep {
        display: block;
    }
    .tuile-sep::after {
        content: "";
    }
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-2.php) :
   mobile, tuiles compactes en ligne (icône à gauche, texte à droite) plutôt
   qu'en carte carrée, pour réduire la hauteur du bloc. */
@media (max-width:767px) {
    .grille-tuiles {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 15px auto;
    }

    .tuile {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 6px 10px;
        border: none;
        border-radius: 0;
        background: transparent;
        text-align: left;
        box-shadow: none;
    }

    .tuile span:last-child {
        text-align: left;
    }

    .svg-fa.rdv-fa svg {
        width: 1.8em;
        height: 1.8em;
        flex-shrink: 0;
    }
}

/* -------------------------------------------------------------------------
   RENDEZ-VOUS-3.PHP (formulaire de validation)
   ------------------------------------------------------------------------- */

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-3.php) */
div.rdv2 {
    margin: auto;
}

@media screen and (min-width:768px) {
    div.rdv2 {
        display: block;
        width: 80%;
        max-width: 700px;
        border-radius: 21px;
        padding-top: 20px;
        margin: 30px auto !important;
        background-color: rgba(255,255,255,0.3);
    }
}

@media screen and (max-width:720px) {
    div.rdv2 {
        margin-right: 10px;
        margin-left: 10px;
        padding-top: 10px;
        padding-bottom: 100px;
    }
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-3.php) */
div.rdv_confirmation {
    display: block;
}

@media screen and (min-width:768px) {
    div.rdv_confirmation {
        width: 80%;
        margin: auto;
    }
}

@media screen and (max-width:720px) {
    div.rdv_confirmation {
        width: 90%;
        max-width: 400px;
        margin: 0.75rem auto 0;
    }
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-3.php) */
div.rdv_formulaire {
    display: inline-block;
    position: relative;
    width: 80%;
    margin: auto;
    padding: 5px;
    max-width: 500px;
}

@media screen and (min-width:768px) {
    div.rdv_formulaire {
        display: inline-block;
        margin: auto;
    }
}

@media screen and (max-width:720px) {
    div.rdv_formulaire {
        display: inline-block;
        margin: auto;
    }
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-3.php) */
div.rdv_annonce {
    display: block;
    position: relative;
    margin-right: 5%;
    margin-left: 5%;
}

@media screen and (min-width:768px) {
    div.rdv_annonce {
        width: 80%;
        max-width: 500px;
        margin: auto;
        font-style: italic;
        font-size: 1em;
        color: #333;
    }
}

@media screen and (max-width:720px) {
    div.rdv_annonce {
        width: 80%;
        margin: auto;
        max-width: 16em;
        font-style: italic;
        font-size: 1em;
        color: #333;
    }
}

.rdv-annonce-small {
    font-size: 0.9rem;
}

/* Récap compact (prestation + créneau) : 2 lignes étiquette/valeur au lieu des
   anciens <p>/<br> empilés qui prenaient ~5 lignes de hauteur. */
.rdv-recap-line {
    margin: 0 0 16px;
    line-height: 1.4;
}

.rdv-recap-label {
    color: var(--muted, #777);
}

/* Exclusif à rendez-vous-3.php : inclut la taille desktop (1.1rem, ex-inline
   sur le bouton "Confirmer mon rendez-vous") + l'adaptation mobile (pleine
   largeur, texte non coupé). */
.rdv3-cta-buttons {
    padding-bottom: 40px;
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/rendez-vous-3.php) */
.form-row {
    margin-bottom: 0;
}
.guide-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1em;
    color: #333;
}
@media (max-width: 767px) {
    .guide-label {
        display: none;
    }
}
@media (min-width: 768px) {
    .mode-guide {
        display: table;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 15px;
    }

    .form-row {
        display: table-row;
    }

    .guide-label {
        display: table-cell;
        width: 30%;
        vertical-align: middle;
        text-align: left;
        padding-right: 25px;
        margin-bottom: 0;
    }

    .form-input {
        display: table-cell;
        width: 70%;
        vertical-align: middle;
    }

    .rdv_formulaire.mode-guide .box {
        width: 100%;
        max-width: 450px;
        margin: 0;
    }
}

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/sur-photo.php et
   magnetisme/rendez-vous-3.php), mais sans le "max-width: 16em" d'origine (≈256px) :
   ça bloquait les champs à une largeur minuscule sur smartphone, quelle que soit
   la taille réelle de l'écran. */
input[type='text'].box {
    width: 90%;
    height: 2.5rem;
    margin: auto;
    margin-bottom: 10px;
    padding: 0.8rem;
    font-family: var(--p-font-family);
    font-size: 1rem;
    border: 1px outset var(--p-glycine3);
    border-radius: 7px;
}

textarea.box {
    width: 90%;
    height: 7rem;
    margin: auto;
    padding: 0.8rem;
    font-family: var(--p-font-family);
    font-size: 1rem;
    border: 1px outset var(--p-glycine3);
    border-radius: 7px;
}

/* .rdv_formulaire est à 80% de l'écran (règle plus haut) : sur smartphone, ça
   grignotait deux fois la marge (80% du conteneur, puis 90% de ce 80% pour les
   champs). On élargit le conteneur pour que le 90% des champs se calcule sur
   une largeur d'écran presque complète. */
@media screen and (max-width:720px) {
    div.rdv_formulaire {
        width: 96%;
        max-width: none;
    }
}

.rdv3-btn-confirmer {
    font-size: 1.1rem;
}

/* -------------------------------------------------------------------------
   RESERVATION.PHP (écran de confirmation)
   ------------------------------------------------------------------------- */

/* Dupliqué depuis css-v2.css (encore utilisé par magnetisme/reservation.php) */
.rdvcltpris {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 90%;
    max-width: 480px;

    margin: 120px auto 60px auto;

    border: 2px solid var(--p-violet);
    border-radius: 20px;
    background-color: white;
    text-align: center;
    padding: 32px 28px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.rdvcltpris > div {
    font-weight: bold;
    color: var(--p-violet);
    width: 100%;
}

.rdvcltpris-titre {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--p-violet);
    margin: 0 0 16px;
}

.rdvcltpris-date {
    font-weight: normal;
    color: #444;
    line-height: 1.5;
    margin: 0 0 20px;
}

.rdvcltpris-date strong {
    color: var(--p-violet);
    font-size: 1.05em;
}

.rdvcltpris-sep {
    border: none;
    border-top: 1px solid #e5d9ee;
    margin: 20px 0;
}

.rdvcltpris-lieu {
    font-weight: normal;
    color: #555;
    line-height: 1.5;
    margin: 0 0 16px;
}

.rdvcltpris-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    background-color: var(--p-violet);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: opacity 0.2s ease;
}

.rdvcltpris-btn:hover {
    opacity: 0.85;
}

@media (max-width: 480px) {
    .rdvcltpris {
        width: 94%;
        margin: 30px auto;
        padding: 24px 18px;
    }

    .rdvcltpris-titre {
        font-size: 1.05em;
    }
}

.rdv-lien-recup {
    color: #703083;
    text-decoration: underline;
}

/* =========================================================================
   ANCIEN CONTENU DE CE FICHIER (vestige non utilisé, conservé par précaution)
   Styles d'une ancienne UI en modal plein écran (étapes lieu/prestation/
   calendrier/formulaire dans une seule page). Plus aucune page active ne
   produit ce balisage (.rdv-modal-wrapper, .lieu-label, .rdv-progression,
   .select-rdv, etc.) — vérifié le 2026-10-26 : les 3 fichiers qui linkaient
   encore ce fichier (magnetisme/select.php, magnetisme/connexion/register.php,
   app/ad/ad_factures.php) n'utilisent aucun de ces sélecteurs en pratique.

--- Styles pour l'effet Modale (PC) / Épuré (Mobile) ---

1. NOUVEAU WRAPPER (Gère la position fixe et le fond assombri sur PC)
@media (min-width: 768px) {
    .rdv-modal-wrapper {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .rdv-container {
        max-width: 90%;
        width: 800px;
        height: 90vh;
        background-color: white;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        position: relative;
        scroll-behavior: smooth;
        font-family: 'Questrial', sans-serif;
        color: var(--txt);
    }
    .rdv.main-title { display: none; }
    .main::before { display: none; }
}

@media (max-width: 767px) {
    .rdv-container {
        padding: 10px;
        width: 100%;
        position: relative;
        scroll-behavior: smooth;
        font-family: 'Questrial', sans-serif;
    }
    .rdv-modal-wrapper { display: block; position: static; }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5em;
    color: #888;
    text-decoration: none;
    line-height: 1;
    z-index: 1002;
    padding: 5px;
    transition: color 0.3s;
}
.close-btn:hover {
    color: var(--p-glycine2);
}

.rdv-progression {
    display: flex;
    justify-content: space-around;
    padding: 15px 30px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid #ddd;
    margin: 0 -30px 20px -30px;
}

@media (max-width: 767px) {
    .rdv-progression {
        margin: 0 -10px 15px -10px;
        padding: 10px;
        font-size: 0.9em;
    }
}

.rdv-progression .etape {
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    font-weight: bold;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}

.rdv-progression .etape.active {
    border-bottom-color: var(--p-glycine2);
    color: var(--p-glycine2);
}

.rdv-progression .etape.completed {
    color: var(--p-violet);
    border-bottom-color: var(--p-violet);
}

.selection-lieu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px auto;
}

.lieu-option { display: none; }

.lieu-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #fcfcfc;
    min-height: 140px;
}

.lieu-label:hover {
    border-color: var(--p-violet);
}

.lieu-option:checked + .lieu-label {
    border-color: var(--p-violet);
    background-color: var(--p-glycine2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(141, 86, 148, 0.2);
}

.lieu-label .fa {
    display: block;
    font-size: 2.5em;
    margin-bottom: 12px;
    color: var(--p-glycine2);
    transition: color 0.2s;
}

.lieu-option:checked + .lieu-label .fa {
    color: white;
}

.lieu-label small {
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.85em;
}

.select-rdv-container { margin: 20px auto; max-width: 500px; }
.select-rdv {
    width: 100%; padding: 15px; font-size: 1.05em;
    border: 2px solid #ddd; border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%238d5694%22%20d%3D%22M287%2C197.8L158.2%2C69c-3.2-3.2-7.8-5-12.4-5c-4.6%2C0-9.2%2C1.8-12.4%2C5L5.4%2C197.8c-7.2%2C7.2-7.2%2C18.8%2C0%2C26c3.6%2C3.6%2C8.3%2C5.4%2C13%2C5.4c4.6%2C0%2C9.4-1.8%2C13-5.4L146.9%2C101c3.2-3.2%2C7.8-5%2C12.4-5c4.6%2C0%2C9.2%2C1.8%2C12.4%2C5l115.5%2C115.5c7.2%2C7.2%2C18.8%2C7.2%2C26%2C0C294.2%2C216.6%2C294.2%2C205%2C287%2C197.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat; background-position: right 15px center; background-size: 12px;
}
.select-rdv:focus { border-color: var(--p-glycine2); outline: none; }

.rdv_rappel {
    background-color: var(--p-violet);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    border-left: 5px solid var(--p-glycine2);
}
.rdv_rappel strong { color: var(--p-violet); }

.rdv_tableau_colonne {
    flex: 1;
    min-width: 23%;
    border: 1px solid #eee;
    border-radius: 4px;
    background: white;
}
.rdv_tableau_cellule_date {
    background-color: #f9f9f9;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    color: var(--p-violet);
}
.rdv-link.js-rdv-slot {
    display: block;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    color: var(--txt);
    transition: all 0.2s;
    border-bottom: 1px solid #f5f5f5;
}
.rdv-link.js-rdv-slot:hover {
    background-color: var(--p-glycine2);
    color: white;
}
.rdv-link.rdv-pris {
    background-color: #fafafa;
    color: #ccc;
    cursor: not-allowed;
}

.btn_nav {
    padding: 10px 18px;
    border: 1px solid var(--p-glycine2);
    border-radius: 5px;
    background: white;
    color: var(--p-violet);
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}
.btn_nav:hover {
    background: var(--p-violet);
    transform: translateY(-1px);
}

.reserver {
    background-color: var(--p-glycine2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s;
    width: 100%;
    margin-top: 15px;
}
.reserver:hover {
    background-color: var(--p-violet);
}

.box {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}
.box:focus {
    border-color: var(--p-glycine2);
    outline: none;
    box-shadow: 0 0 5px var(--p-violet);
}

label.robot img {
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
    cursor: pointer;
}
*/
