#calendarModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    padding: 1rem !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
}

#calendarModal.hidden {
    display: none !important;
}

#calendarModal .modal-content {
    background: white !important;
    border-radius: 1rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    max-width: 56rem !important;
    width: 100% !important;
    height: 90vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

#calendarModal .calendar-section {
    flex-shrink: 0 !important;
}

#calendarModal .time-slots-section {
    flex-shrink: 0 !important;
    overflow: visible !important;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    #calendarModal {
        padding: 0.5rem !important;
    }
    
    #calendarModal .modal-content {
        height: 95vh !important;
        margin: 0.5rem !important;
    }
}
