#timetableApp {

}

[v-cloak] {
  display: none;
}

.timetable_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 15px;
}

.timetable_header h2 {
    font-size: 64px;
    letter-spacing: -4px;
    color: #202438;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.1;
}

@media(min-width: 1280px) {
    .timetable_header h2 {
        font-size: 100px;
    }
    .timetable_header h2:before {
        content: "";
        position: absolute;
        top: 30px;
        left: -70px;
        width: 69px;
        height: 77px;
        background-color: #004f95;
        mask: url(/wp-content/uploads/2025/04/big_heading_lines.svg) no-repeat center;
        -webkit-mask: url(/wp-content/uploads/2025/04/big_heading_lines.svg) no-repeat center;
        mask-size: contain;
        -webkit-mask-size: contain;
    }
}

.filter_field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 250px;
}

.filter_label {
    color: #202438;
    font-size: 14px;
    font-weight: 700;
}

.custom-select-wrapper.timetable-type-filter {
    position: relative;
    width: 100%;
}

.timetable-type-select {
    width: 100%;
    border: 1px solid #DBD7DF;
    background-color: #FFFFFF;
    color: #202438;
    font-size: 16px;
    padding: 14px 18px;
    min-height: 54px;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
}

.custom-select-wrapper.timetable-type-filter::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #202438;
    font-size: 12px;
    pointer-events: none;
}

.timetable_header .header_filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.days_button_wrapper_outer {
    position: relative;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #004f95;
    border-radius: 8px;
}

.days_button_wrapper_outer > button {
    position: absolute;
    background-color: transparent;
    top: 50%;
    border: none;
    width: 30px;
    transform: translateY(-50%);
    height: 30px;
}

.days_button_wrapper_outer > button svg {
    fill: #32a4b8;
}

.days_button_wrapper_outer button#prevBtn {
    position: absolute;
    left: 30px;
}

.days_button_wrapper_outer button#nextBtn {
    position: absolute;
    right: 30px;
}

.day_buttons_wrapper {
    
}

.day_slide {
    
}

.day_buttons_wrapper button {
    background-color: transparent;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 12px 16px;
    border: 2px solid transparent;
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
}

.day_buttons_wrapper button .day_label {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.day_buttons_wrapper button:hover {
    border-color: #fff;
}

.day_buttons_wrapper button.active {
    background-color: #32a4b8;
    border-color: #32a4b8;
    color: #fff;
}

.day_buttons_wrapper button:focus {
    outline: none;
}

.day_buttons_wrapper button .day_abbr {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.day_buttons_wrapper button .day_date {
    font-size: 14px;
    font-weight: 500;
}


.sessions_count_sessions_filter {
    background-color: #cccccc;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
}

.sessions_count_sessions_filter > span {
    color: #202438;
    line-height: 20px;
    font-weight: 700;
    font-size: 20px;
    text-align: left;
}

.timetable_container .no_sessions {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
}


.timetable_container .timetable_grid_wrapper .timetable_grid {
    padding: 15px 15px 0 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.timetable_container .timetable_grid_wrapper .timetable_grid .timetable_session {
    background-color: #ebecec;
    padding: 15px;
    position: relative;
    transition: opacity .3s ease;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
}

.timetable_session.unavailable span,
.timetable_session.unavailable h4,
.timetable_session.unavailable p,
.timetable_session.unavailable button {
    transition: all .3s ease;
    opacity: 0.5;
}

.timetable_session.unavailable:hover span,
.timetable_session.unavailable:hover svg,
.timetable_session.unavailable:hover h4,
.timetable_session.unavailable:hover p,
.timetable_session.unavailable:hover button {
    opacity: 1;
}

.timetable_session .session_header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.timetable_session .session_header .availability {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid #32a4b8;
    padding: 8px 10px;
    border-radius: 8px;
}

.timetable_session .session_header .availability.full {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.timetable_session .session_header .availability_pill {
    background-color: transparent;
    text-align: center;
    color: #202438;
    font-weight: 700;
    font-size: 14px;
    min-width: 80px;
    display: inline-block;
    line-height: 1;
}

.timetable_session .session_header .availability.full .availability_pill {
    color: #fff;
}

.timetable_session h4 {
    color: #202438;
    font-size: 20px;
    line-height: 20px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.timetable_session p {
    color: #202438;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    margin: 0 0 4px 0;
}

.timetable_session p:last-of-type {
    margin-bottom: 0;
}

.timetable_session .timetable_times {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #32a4b8;
    border-radius: 8px;
    padding: 8px 10px;
}

.timetable_session .timetable_times > div {
    line-height: 0;
}

.timetable_session .timetable_times svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    fill: #32a4b8;
}

.timetable_session .timetable_times span {
    color: #202438;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

.timetable_session .timetable_book {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
}

.timetable_session .timetable_book a {
    padding: 8px 10px;
}

.timetable_session .timetable_book button {
    padding: 7px 10px 7px 0px;
}

.timetable_session .timetable_book a {
    border: none;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    transition: all .3s ease;
    border-radius: 999px;
    text-decoration: none;
    background-color: #004f95;
    color: #fff;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timetable_session .timetable_book button {
    border: none;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    transition: all .3s ease;
    border-radius: 999px;
    text-decoration: none;
    background-color: transparent;
    color: #004f95;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.timetable_session .timetable_book a span ,
.timetable_session .timetable_book button span {
    line-height: 1;
}

.timetable_session .timetable_book a span svg {
    width: 15px;
    height: 15px;
    fill: #fff;
    margin-right: 5px;
}

.timetable_session .timetable_book button span svg {
    width: 15px;
    height: 15px;
    transition: all .3s ease;
    fill: #004f95;
    margin-right: 5px;
}

.timetable_session .timetable_book a:hover {
    background-color: rgb(58 152 145);
}

.timetable_session .timetable_book button:hover {
    color: rgb(58 152 145);
}

.timetable_session .timetable_book button:hover span svg {
    fill: rgb(58 152 145);
}

.modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}

.modal_content {
    background: white;
    padding: 2rem;
    width: 90%;
    max-width: 650px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border-radius: 12px;
    border-top: 6px solid #004f95;
}

@media( min-width: 700px ) {
    .modal_content {
        min-width: 600px;
    }
}

.modal_content h3 {
    margin: 0 1.5rem 16px 0;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid #32a4b8;
    color: #202438;
}

.modal_meta_bar {
    background-color: #004f95;
    border-radius: 8px;
    margin: 0 0 16px 0;
    padding: 12px 15px;
    text-align: left;
}

.modal_meta_bar span {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.modal_meta_label {
    font-weight: 800;
    margin-right: 5px;
}

.modal_meta_value {
    font-weight: 400;
    margin-right: 4px;
}

.modal_meta_divider {
    font-weight: 400;
    opacity: 0.6;
    margin: 0 4px;
}

.modal_description_section {
    margin-bottom: 16px;
}

.modal_description_section h4 {
    color: #202438;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.modal_description {
    color: #202438;
    line-height: 1.5;
    margin: 0;
}

.modal_book_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border: none;
    border-radius: 999px;
    background-color: #004f95;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-decoration: none;
    transition: all .3s ease;
}

.modal_book_link:hover {
    background-color: rgb(58 152 145);
}

.modal_close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: none;
    border: none;
    color: #202438;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color .3s ease;
}

.modal_close:hover {
    color: #004f95;
}

@media( min-width: 576px ) {

}

@media( min-width: 768px ) {
    .timetable_header {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    .timetable_header .header_filters {
        width: auto;
        justify-content: flex-start;
    }
    .timetable_container .timetable_grid_wrapper .timetable_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media( min-width: 992px ) {
    .day_buttons_wrapper {
        padding: 0;
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 15px;
    }
    .day_buttons_wrapper button {
        width: 100%;
    }
    .timetable_container .timetable_grid_wrapper .timetable_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Custom Multiselect Styles */
.custom-multiselect {
    position: relative;
    width: 100%;
}

.multiselect-selected {
    border: 1px solid #DBD7DF;
    background-color: #FFFFFF;
    padding: 14px 18px;
    min-height: 54px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: 8px;
}

.multiselect-selected:focus-visible {
    outline: 2px solid #004f95;
    outline-offset: 2px;
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.selected-tag {
    background-color: #202438;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.remove-tag {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.remove-tag:hover {
    color: #ffcccc;
}

.placeholder {
    color: #202438;
    font-size: 16px;
}

.dropdown-arrow {
    color: #202438;
    font-size: 12px;
    transition: transform 0.2s;
}

.multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #202438;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.multiselect-option {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #202438;
}

.multiselect-option:hover {
    background-color: #f5f5f5;
}

.multiselect-option.selected {
    background-color: #f0e6f5;
}

.multiselect-option input[type="checkbox"] {
    cursor: pointer;
}

