/* Bouton flottant de rÃ©servation */
.booking-floating-btn {
    position: fixed;
    bottom: 0;
    right: 24px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background-color: var(--accent, #C88C2A);
    color: white;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.booking-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: var(--accent, #B87A20);
    filter: brightness(0.9);
}

.booking-floating-btn:active {
    transform: translateY(0);
}

.booking-floating-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Overlay du modal */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal de rÃ©servation */
.booking-modal {
    /* min-width: 400px; */
    max-width: 402px;
    max-height: 90vh;
    background: #00000080;
    backdrop-filter: blur(12px);
    border-radius: 8px 8px 0 0;
    padding: 24px;
    position: relative;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    margin-right: 0;
    margin-bottom: 0;
}

.booking-modal-overlay.active .booking-modal {
    transform: translateY(0);
}

/* Bouton de fermeture */
.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
    z-index: 10;
}

.booking-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.booking-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Contenu du modal */
.booking-modal-content {
    width: 100%;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.booking-modal-content form {
    width: 100%;
}

/* Appliquer le style form-reservation dans le modal */
.booking-modal-content .form-reservation,
.booking-modal-content form {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    max-width: 100%;
}button#search_button {
    background: var(--accent);
}

/* S'assurer que les styles du formulaire sont conservÃ©s */
.booking-modal-content .date-reserv {
    flex-direction: column;
}

.booking-modal-content .icon-serch {
    background: #00000033;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    color: white;
    font-size: 13px;
    margin: 6px 0;
}

.booking-modal-content .icon-serch input {
    border: 0;
    padding: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
    min-width: 110px;
    background: transparent;
}

.booking-modal-content .icon-serch input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.booking-modal-content .label-input label {
    color: white;
    font-size: 13px;
    margin-bottom: 4px;
    display: block;
}

.booking-modal-content .prix-reserv {
    color: white;
}

.booking-modal-content .ancient-prix {
    font-size: 13px;
    line-height: 26px;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-floating-btn {
        bottom: 0px;
        right: 16px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .booking-floating-btn span {
        /* display: none; */
    }

    .booking-modal-overlay {
        align-items: flex-end;
        justify-content: center;
    }

    .booking-modal {
        max-width: 100%;
        border-radius: 8px 8px 0 0;
        padding: 24px;
        max-height: 95vh;
    }
}

