@media (max-width: 991.98px) {
    /* Calendar section hidden by default on mobile */
    .calendar-section {
        display: none;
        width: 100% !important;
    }

    .calendar-section.show {
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        background: white;
        padding: 0;
        display: flex;
        flex-direction: column;
        height: calc(100vh - 120px);
        overflow: hidden;
    }

    .calendar-container {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }

    .calendar-widget {
        flex: 1;
        min-height: 0;
        padding: 0.5rem;
        overflow: hidden;
    }

    #calendar {
        height: 100%;
        min-height: 0;
    }

}
