/* =========================================
   PAGE WRAPPER
========================================= */

.flave-reservation-page {
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* =========================================
   CARTE PREMIUM — WRAPPER PRINCIPAL
========================================= */

.flave-reservation-wrapper {
    max-width: 650px;
    width: 100%;
    background: #ffffff;
    padding: 45px 50px;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

/* =========================================
   TITRE
========================================= */

.flave-title {
    font-size: 34px;
    font-weight: 800;
    color: #47387B;
    text-align: center;
    margin-bottom: 30px;
}

/* =========================================
   BOUTON RETOUR
========================================= */

.flave-back-home {
    display: inline-block;
    margin-top: 12px;
    margin-bottom: 28px;
    font-size: 16px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.flave-back-home:hover {
    color: #f5d77c;
}

/* =========================================
   FORMULAIRE PREMIUM
========================================= */

.flave-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Lignes */
.flave-row {
    display: flex;
    gap: 18px;
}

/* Champs */
.flave-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flave-field label {
    font-size: 14px;
    font-weight: 600;
    color: #47387B;
    opacity: 0.85;
}

/* Inputs premium */
.flave-field input,
.flave-field select,
.flave-field textarea {
    border-radius: 12px;
    border: 1px solid rgba(71,56,123,0.25);
    padding: 12px 14px;
    font-size: 15px;
    background: #ffffff;
    color: #47387B;
    transition: 0.25s ease;
    height: 44px;
}

.flave-field textarea {
    min-height: 90px;
}

/* Focus violet premium */
.flave-field input:focus,
.flave-field select:focus,
.flave-field textarea:focus {
    border-color: #7A6BD6;
    box-shadow: 0 0 0 3px rgba(122,107,214,0.25);
}

/* Placeholder */
.flave-field input::placeholder,
.flave-field textarea::placeholder {
    color: rgba(71,56,123,0.45);
}

/* =========================================
   BOUTON BEIGE + CANARD (SEXY, PREMIUM)
========================================= */

.flave-btn-duck,
.flave-btn-duck * {
    all: unset;
}

.flave-btn-duck {
    background: #D9C9A3FF !important;
    color: #47387B !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.15) !important;
    transition: 0.25s ease !important;
    border: none !important;
}

.flave-btn-duck:hover {
    background: #e4d7b7 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(0,0,0,0.22) !important;
}

.flave-duck-icon {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    display: block !important;
}

/* =========================================
   POPUP SEXY
========================================= */

.flave-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.flave-popup-content {
    background: #ffffff;
    padding: 40px 38px;
    border-radius: 26px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 28px 65px rgba(0,0,0,0.22);
    border: 1px solid rgba(0,0,0,0.05);
}

.flave-popup-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: #7A6BD6;
    margin-bottom: 14px;
}

.flave-popup-content p {
    font-size: 15px;
    color: #47387B;
    margin-bottom: 22px;
    line-height: 1.5;
    font-weight: 500;
}

.flave-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    background: #D9C9A3FF;
    color: #47387B;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.flave-btn:hover {
    background: #e4d7b7;
    transform: translateY(-2px);
}

/* =========================================
   ALERTES
========================================= */

.flave-alert-closed {
    background: #FFE5E5;
    color: #B80000;
    padding: 15px;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #B80000;
    font-weight: 600;
}

/* =========================================
   ICÔNE DATE
========================================= */

#date-picker {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2347387B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

/* =========================================
   RESPONSIVE — VERSION CORRECTE
========================================= */

/* TABLETTE */
@media (max-width: 900px) {

    .flave-reservation-wrapper {
        padding: 30px 26px;
        margin: 20px;
    }

    .flave-row {
        flex-direction: column;
        gap: 14px;
    }

    .flave-field {
        width: 100%;
    }

    .flave-field input,
    .flave-field select,
    .flave-field textarea {
        font-size: 15px;
        padding: 12px 14px;
        height: 44px;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    .flave-reservation-page {
        padding: 20px 12px;
    }

    .flave-reservation-wrapper {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .flave-title {
        font-size: 26px;
        margin-bottom: 22px;
    }

    .flave-field label {
        font-size: 13px;
    }

    .flave-field input,
    .flave-field select,
    .flave-field textarea {
        font-size: 14px;
        padding: 10px 12px;
        height: 42px;
    }

    .flave-btn-duck {
        width: 100%;
        font-size: 16px !important;
        padding: 14px 20px !important;
    }
}


/* FIX STRIPE — OBLIGATOIRE */
.stripe-field {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    height: auto !important;
}

.stripe-field iframe {
    width: 100% !important;
    height: 24px !important;
}
