/* Fix per scorrimento nei modal Bootstrap */

/* Abilita scroll sulla finestra modale */
.modal {
    overflow-y: auto !important;
    z-index: 9999999 !important;
}

/* Backdrop del modal deve stare sotto il modal ma sopra l'header */
.modal-backdrop {
    z-index: 9999998 !important;
}

/* Fix per modal con tabs (modal_offerta.php) */
.modal-body .tab-content {
    overflow: visible;
}

/* Fix per form-group spacing nei modal */
.modal-body .form-group {
    margin-bottom: 1rem;
}

/* Padding per evitare che il contenuto tocchi i bordi */
.modal-body {
    padding: 1.5rem;
}

/* Fix specifico per modal con step (modal_prenota.php) */
.booking-step {
    min-height: auto !important;
}

/* Scrollbar personalizzata per browser Webkit */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}
