/* --- Modal Background --- */
.sbs-booking-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.65);
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(3px);
}

/* --- Modal Content --- */
.sbs-booking-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    animation: slideDown 0.4s ease;
    font-family: 'Poppins', sans-serif;
}

/* --- Modal Animation --- */
@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Close Button --- */
.sbs-close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.sbs-close-modal:hover {
    color: #333;
}

/* --- Booking Button --- */
.sbs-availability-btn {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.sbs-availability-btn:hover {
    background-color: #005f8d;
}

/* --- Alerts / Info Box --- */
.sbs-booking-modal .alert {
    background-color: #e9f7fe;
    border-left: 5px solid #0073aa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.sbs-booking-modal .alert h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

/* --- Form Labels --- */
.sbs-booking-modal .form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
    display: block;
}

/* --- Form Inputs / Selects / Textareas --- */
.sbs-booking-modal .form-control,
.sbs-booking-modal .form-select,
.sbs-booking-modal textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border 0.3s, box-shadow 0.3s;
    margin-bottom: 15px; /* vertical spacing between fields */
}
.sbs-booking-modal .form-control:focus,
.sbs-booking-modal .form-select:focus,
.sbs-booking-modal textarea:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
    outline: none;
}

/* --- Checkbox Fields --- */
.sbs-booking-modal .form-check {
    margin-bottom: 15px;
}
.sbs-booking-modal .form-check-label {
    font-weight: 500;
    color: #444;
}

/* --- Grid Spacing for Columns --- */
.sbs-booking-modal .row.g-3 > .col-md-6 {
    margin-bottom: 15px; /* vertical space between two-column fields */
}

/* --- Submit Button --- */
.sbs-booking-modal .col-12.text-center {
    margin-top: 20px; /* spacing above button */
}
.sbs-booking-modal .btn-primary {
    background-color: #28a745;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: 0.3s;
    cursor: pointer;
}
.sbs-booking-modal .btn-primary:hover {
    background-color: #218838;
}

/* --- Responsive --- */
@media screen and (max-width: 480px) {
    .sbs-booking-modal-content {
        padding: 20px 15px;
    }
    .sbs-booking-modal .btn-primary,
    .sbs-availability-btn {
        width: 100%;
        font-size: 15px;
        padding: 10px 0;
    }
}

/* --- Optional: Smooth Focus / Hover on inputs --- */
.sbs-booking-modal .form-control:hover,
.sbs-booking-modal .form-select:hover,
.sbs-booking-modal textarea:hover {
    border-color: #0073aa;
}
