/* Modal Content
.modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

Modal Header
.modal-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    border-bottom: none !important;
    position: relative !important;
}

.modal-title {
    font-size: 26px !important;
    font-weight: bold !important;
    color: black !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
}

.close {
    font-size: 30px !important;
    font-weight: bold !important;
    color: #333 !important;
    opacity: 1 !important;
    cursor: pointer !important;
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
}

.close:hover {
    color: red !important;
    transform: scale(1.2) !important;
}

Form Fields
.form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
}

Labels
label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

Input Fields
input[type="date"],
select,
input[type="text"] {
    width: 100%;
    height: 40px;
}

Grid Layout
.form-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

Adjusting Column Width
.form-group {
    flex-grow: 1;
}

Align Adults, Children, and Rooms in One Row on Mobile
@media (max-width: 576px) {
    .date-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .form-group {
        flex: 1;
        text-align: center;
    }

    .modal-content {
        padding: 15px;
        width: 100%;
    }
}

Promo Code
#promoCode {
    width: 100%;
    border: 1px solid #aaa;
    background-color: #fff;
}

Modal Footer
.modal-footer {
    border-top: none;
    text-align: center;
}

Book Now Button
.book-now-btn {
    background-color: #007bff;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    margin-top: 15px;
}

.book-now-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
} */

/* Modal Content */
.modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 85vh; /* Reduce overall height */
    overflow-y: auto; /* Add scrolling if needed */
    margin: 15% auto 0; /* Add margin to top to push form down */
}

/* Modal Header */
.modal-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 15px !important; /* Reduced padding */
    border-bottom: none !important;
    position: relative !important;
}

.modal-title {
    font-size: 24px !important; /* Slightly smaller title */
    font-weight: bold !important;
    color: black !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
}

.close {
    font-size: 28px !important; /* Slightly smaller close button */
    font-weight: bold !important;
    color: #333 !important;
    opacity: 1 !important;
    cursor: pointer !important;
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
}

.close:hover {
    color: red !important;
    transform: scale(1.2) !important;
}

/* Form Fields */
.form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 8px; /* Reduced padding */
    font-size: 14px;
}

/* Labels */
label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 3px; /* Reduced margin */
}

/* Input Fields */
input[type="date"],
select,
input[type="text"] {
    width: 100%;
    height: 36px; /* Reduced height */
}

/* Grid Layout */
.form-row {
    display: flex;
    gap: 8px; /* Reduced gap */
    justify-content: space-between;
    margin-bottom: 10px; /* Add space between rows */
}

/* Adjusting Column Width */
.form-group {
    flex-grow: 1;
    margin-bottom: 10px; /* Reduced margin */
}

/* Align Adults, Children, and Rooms in One Row on Mobile */
@media (max-width: 576px) {
    .modal-content {
        padding: 12px; /* Further reduced padding for mobile */
        width: 100%;
        margin: 20% auto 0; /* Further push down on smaller screens */
        max-height: 75vh; /* Make even shorter on mobile */
    }
    
    .date-row {
        display: flex;
        flex-direction: column;
        gap: 8px; /* Reduced gap */
    }

    .form-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 8px; /* Reduced gap */
    }

    .form-group {
        flex: 1;
        text-align: center;
        margin-bottom: 8px; /* Reduced margin */
    }
    
    /* Make the modal header smaller on mobile */
    .modal-header {
        padding: 10px !important;
    }
    
    .modal-title {
        font-size: 22px !important;
    }
}

/* Very small screens */
@media (max-height: 640px) {
    .modal-content {
        margin: 10% auto 0; /* Less margin for very small screens */
        max-height: 80vh;
    }
}

/* Promo Code */
#promoCode {
    width: 100%;
    border: 1px solid #aaa;
    background-color: #fff;
    height: 36px; /* Match other input heights */
}

/* Modal Footer */
.modal-footer {
    border-top: none;
    text-align: center;
    padding: 10px 0; /* Added padding but kept it minimal */
}

/* Book Now Button */
.book-now-btn {
    background-color: #007bff;
    color: white;
    font-size: 16px; /* Slightly smaller font */
    padding: 8px 16px; /* Reduced padding */
    border: none;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    margin-top: 12px; /* Reduced margin */
}

.book-now-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}