#calendar {
    max-width: 1100px;
    margin: 50px auto;
}

/* Custom Booking Page Styles */
.booking-header-section {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.booking-title-area h4 {
    font-size: 28px;
    font-weight: 800;
    color: #2e1e13;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.booking-title-area h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #efbb20;
    border-radius: 2px;
}

.booking-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.booking-alert-link {
    color: #d9534f;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(217, 83, 79, 0.3);
    transition: all 0.3s ease;
}

.booking-alert-link:hover {
    color: #c9302c;
    border-bottom-color: #c9302c;
}

/* Modern Card for Instructions */
.card-instruction {
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
    border: none;
    border-radius: 15px;
    color: white;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(17, 153, 142, 0.2);
    transition: transform 0.3s ease;
}

.card-instruction:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(17, 153, 142, 0.3);
}

.card-instruction::before {
    content: "\f073"; /* FontAwesome Calendar Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 120px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.card-instruction h3 {
    color: white;
    font-weight: 800;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-instruction h5 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}

.highlight-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* Form Styling */
.booking-form-area {
    margin-top: 40px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border: 1px dashed #ddd;
}

.booking-form-label {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

/* Select2 Customization Override */
.select2-container .select2-selection--single {
    height: 50px !important;
    border-radius: 12px !important;
    padding: 10px 15px !important;
    border: 2px solid #e0e0e0 !important;
    transition: all 0.3s ease;
}

.select2-container--classic .select2-selection--single:focus,
.select2-container--open .select2-selection--single {
    border-color: #efbb20 !important;
    box-shadow: 0 0 0 0.2rem rgba(239, 187, 32, 0.25) !important;
}

.select2-selection__rendered {
    margin-top: 2px !important;
    font-size: 16px !important;
    font-weight: 600;
    color: #333 !important;
}

.select2-selection__arrow {
    top: 12px !important;
    right: 10px !important;
}

/* Alert Styling */
.custom-alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    margin-top: 30px;
}

.custom-alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.custom-alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}

/* Modern Warning Alert */
.modern-alert-warning {
    background: #fff3cd;
    border: none;
    border-left: 5px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ========================================
   MEDIUM PRIORITY RESPONSIVE FIXES
   Added: 2025-11-30
   ======================================== */

/* FIX #9: Booking Calendar Mobile Optimization */
@media only screen and (max-width: 991px) {
    #calendar {
        max-width: 100%;
        margin: 30px auto;
    }

    .booking-header-section {
        padding: 30px 20px;
    }

    .booking-title-area h4 {
        font-size: 24px;
    }
}

@media only screen and (max-width: 767px) {
    #calendar {
        margin: 20px auto;
    }

    .booking-header-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .booking-title-area h4 {
        font-size: 22px;
    }

    .booking-subtitle {
        font-size: 14px;
    }

    .card-instruction {
        padding: 20px;
        margin-bottom: 20px;
    }

    .card-instruction h3 {
        font-size: 18px;
    }

    .card-instruction h5 {
        font-size: 14px;
    }

    /* FullCalendar Mobile Fixes */
    .fc-toolbar {
        flex-direction: column !important;
        gap: 10px;
    }

    .fc-toolbar-chunk {
        width: 100%;
        text-align: center;
    }

    .fc-button {
        padding: 10px 15px !important;
        font-size: 14px !important;
        min-width: 44px;
        min-height: 44px;
    }

    .fc-daygrid-day {
        min-height: 60px;
    }

    .fc-daygrid-day-number {
        font-size: 16px;
        padding: 8px;
    }

    .fc-event {
        font-size: 12px;
        padding: 4px;
    }

    .fc-col-header-cell {
        font-size: 13px;
        padding: 8px 4px;
    }

    .fc-toolbar-title {
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 480px) {
    .booking-title-area h4 {
        font-size: 20px;
    }

    .fc-toolbar-title {
        font-size: 16px !important;
    }

    .fc-button {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    .fc-daygrid-day-number {
        font-size: 14px;
    }
}

/* FIX: Select2 Responsive Width */
@media only screen and (max-width: 767px) {
    .select2-container {
        width: 100% !important;
    }
}
