/* ── Reiki Booking — Styles ───────────────────────────────────────────────── */

.mls-booking {
    max-width: 480px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Étapes ─────────────────────────────────────────────────────────────────── */
.mls-step {
    animation: rb-fade .3s ease;
}
@keyframes rb-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mls-step h3 {
    margin-bottom: 16px;
    color: #2c5f4a;
    font-size: 1.2em;
}

/* ── Navigation du calendrier ───────────────────────────────────────────────── */
.mls-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.mls-month-label {
    font-weight: bold;
    font-size: 1.1em;
    color: #2c5f4a;
    text-transform: capitalize;
}
.mls-calendar-nav button {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 1em;
    color: #555;
}
.mls-calendar-nav button:hover {
    background: #f0f7f4;
    border-color: #2c5f4a;
}

/* ── Grille du calendrier ───────────────────────────────────────────────────── */
.mls-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.mls-day-header {
    text-align: center;
    font-size: 0.75em;
    color: #888;
    padding: 4px 0;
    font-weight: bold;
    text-transform: uppercase;
}
.mls-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: default;
    border: 1px solid transparent;
}
.mls-day.available {
    background: #e8f5ee;
    color: #2c5f4a;
    cursor: pointer;
    font-weight: bold;
    border-color: #b2d8c4;
}
.mls-day.available:hover {
    background: #2c5f4a;
    color: white;
}
.mls-day.unavailable {
    color: #ccc;
}
.mls-day.empty {
    background: none;
    border: none;
}

/* ── Créneaux horaires ──────────────────────────────────────────────────────── */
.mls-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 20px;
}
.mls-slot {
    padding: 10px 18px;
    background: #e8f5ee;
    border: 1px solid #b2d8c4;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #2c5f4a;
    transition: all .2s;
}
.mls-slot:hover {
    background: #2c5f4a;
    color: white;
}
.mls-selected-date {
    color: #555;
    font-style: italic;
    margin-bottom: 8px;
}

/* ── Formulaire ─────────────────────────────────────────────────────────────── */
.mls-recap {
    background: #f0f7f4;
    border-left: 3px solid #2c5f4a;
    padding: 8px 12px;
    margin-bottom: 16px;
    color: #2c5f4a;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
}
.mls-field {
    display: block;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color .2s;
}
.mls-field:focus {
    outline: none;
    border-color: #2c5f4a;
    box-shadow: 0 0 0 2px rgba(44,95,74,.15);
}

/* ── Boutons ─────────────────────────────────────────────────────────────────── */
#rb-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: #2c5f4a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 8px;
    transition: background .2s;
}
#rb-submit:hover  { background: #1e4434; }
#rb-submit:disabled { background: #aaa; cursor: not-allowed; }

.mls-back {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9em;
    padding: 0;
    margin-bottom: 16px;
    text-decoration: underline;
}
.mls-back:hover { color: #333; }

/* ── Messages ───────────────────────────────────────────────────────────────── */
.mls-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}
.mls-message.error   { background: #fdecea; color: #c0392b; display: block; }
.mls-message.success { background: #e8f5ee; color: #27ae60;  display: block; }

/* ── Confirmation ───────────────────────────────────────────────────────────── */
.mls-confirmation {
    text-align: center;
    padding: 30px 20px;
    background: #f0f7f4;
    border-radius: 10px;
}
.mls-confirmation h3 {
    font-size: 1.5em;
    color: #27ae60;
    margin-bottom: 12px;
}
.mls-confirm-recap {
    color: #2c5f4a;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 10px;
}

/* ── Loading ────────────────────────────────────────────────────────────────── */
.mls-loading {
    text-align: center;
    color: #888;
    padding: 20px;
    font-style: italic;
}

/* ── Bouton annulation inline ───────────────────────────────────────────────── */
.mls-cancel-block {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #d0e8db;
}
.mls-cancel-block p { color: #888; font-size: 0.9em; margin-bottom: 8px; }
.mls-btn-cancel-inline {
    background: none;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all .2s;
}
.mls-btn-cancel-inline:hover { background: #e74c3c; color: white; }
.mls-cancel-message { margin-top: 10px; padding: 10px; border-radius: 6px; display: none; font-size: 0.9em; }
.mls-cancel-message.error   { background: #fdecea; color: #c0392b; display: block; }
.mls-cancel-message.success { background: #e8f5ee; color: #27ae60;  display: block; }

/* ── Champs prénom/nom côte à côte ──────────────────────────────────────────── */
.mls-fields-name { display: flex; gap: 10px; }
.mls-fields-name .mls-field { flex: 1; }

/* ── Page annulation [reiki_annulation] ─────────────────────────────────────── */
.mls-annulation-box {
    max-width: 480px; margin: 0 auto; padding: 30px;
    background: #f9f9f9; border-radius: 10px; border: 1px solid #ddd;
}
.mls-annulation-box h3 { color: #2c5f4a; margin-bottom: 16px; }
.mls-annulation-recap {
    background: #f0f7f4; border-left: 3px solid #2c5f4a;
    padding: 12px 16px; margin: 16px 0; border-radius: 0 6px 6px 0; line-height: 1.8;
}
.mls-btn-confirm-cancel {
    display: inline-block; padding: 10px 20px; background: #e74c3c;
    color: white; border: none; border-radius: 6px; cursor: pointer;
    font-size: 1em; margin-right: 12px; transition: background .2s;
}
.mls-btn-confirm-cancel:hover { background: #c0392b; }
.mls-link-back { color: #888; font-size: 0.9em; text-decoration: underline; }
.mls-annulation-ok    { border-color: #27ae60; }
.mls-annulation-ok h3 { color: #27ae60; }
.mls-annulation-error { border-color: #e74c3c; }
.mls-annulation-error h3 { color: #e74c3c; }

/* ── Cartes praticiens (étape 3) ────────────────────────────────────────────── */
.mls-praticiens {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 20px;
}
.mls-praticien-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
    flex: 1;
    min-width: 160px;
}
.mls-praticien-card:hover {
    border-color: #2c5f4a;
    background: #f0f7f4;
}
.mls-praticien-card.selected {
    border-color: #2c5f4a;
    background: #e8f5ee;
}
.mls-praticien-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.mls-praticien-nom {
    font-weight: 600;
    font-size: 0.95em;
    color: #2d2d2d;
}

/* ── Carte "Sans préférence" ────────────────────────────────────────────────── */
.mls-praticien-sans-pref {
    border-style: dashed;
    border-color: #ccc;
    color: #888;
}
.mls-praticien-sans-pref .mls-praticien-nom {
    color: #888;
    font-style: italic;
}
.mls-praticien-sans-pref:hover {
    border-color: #aaa;
    background: #f5f5f5;
}

/* ── Titre personnalisé du calendrier ───────────────────────────────────────── */
.mls-booking-titre {
    font-size: 1.3em;
    font-weight: 700;
    color: #2c5f4a;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5ee;
}

/* ── Cartes prestations (étape 4) ───────────────────────────────────────────── */
.mls-prestations {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 20px;
}
.mls-prestation-card {
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
}
.mls-prestation-card:hover {
    border-color: #2c5f4a;
    background: #f0f7f4;
}
.mls-prestation-card.selected {
    border-color: #2c5f4a;
    background: #e8f5ee;
}
.mls-prestation-nom {
    font-weight: 700;
    font-size: 1em;
    color: #2d2d2d;
    margin-bottom: 4px;
}
.mls-prestation-desc {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 8px;
}
.mls-prestation-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mls-prestation-duree {
    font-size: 0.85em;
    color: #888;
}
.mls-prestation-prix {
    font-weight: 700;
    font-size: 1.05em;
    color: #2c5f4a;
}

/* ── Étape paiement (étape 6) ───────────────────────────────────────────────── */
.mls-paiement-choix {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 20px;
}
.mls-paiement-card {
    padding: 16px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
}
.mls-paiement-card:hover {
    border-color: #2c5f4a;
    background: #f0f7f4;
}
.mls-paiement-card.selected {
    border-color: #2c5f4a;
    background: #e8f5ee;
}
.mls-paiement-icone {
    font-size: 1.8em;
    margin-bottom: 6px;
}
.mls-paiement-label {
    font-weight: 700;
    font-size: 1em;
    color: #2d2d2d;
    margin-bottom: 4px;
}
.mls-paiement-desc {
    font-size: 0.85em;
    color: #888;
}

/* ── Navigation étape coordonnées (Retour à gauche, Suivant à droite) ─────── */
.mls-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}