/* Student schedule controls: timezone and week navigation share one row. */
.student-calendar .sp-student-calendar-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 0 20px !important;
}

.student-calendar .sp-student-calendar-controls .sp-calendar-timezone {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.student-calendar .sp-student-calendar-controls .student-calendar-nav {
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
}

@media (max-width: 1180px) {
    .student-calendar .sp-student-calendar-controls {
        align-items: flex-start !important;
        flex-wrap: wrap !important;
    }

    .student-calendar .sp-student-calendar-controls .student-calendar-nav {
        flex-basis: 100% !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 760px) {
    .student-calendar .sp-student-calendar-controls {
        gap: 12px !important;
    }

    .student-calendar .sp-student-calendar-controls .sp-calendar-timezone {
        width: 100% !important;
    }
}
