
.schedule-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.schedule-filters {
    margin-bottom: 30px;
}

.filter-tabs {
    display: flex; 
    gap: 5px;  
    margin-bottom: 10px;
}

.filter-tab {
    padding: 7px 12px;
    border-radius: 25px;
    background: transparent;
    color: #1B1B1B;
    border: 1px solid #EBEBEB;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px; 
    line-height: 24px; 
    white-space: nowrap;
}

.filter-tab.active, .filter-tab:hover {
    background: #95B0DD;
    color: #FFFFFF;
    border-color: #95B0DD;
}

.filter-dropdowns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.filter-dropdowns__item{
    grid-column: span 1;
    position: relative;
}
.filter-dropdowns__item:before{
    content: '';
    z-index: 2;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('../assets/icons/arrow-down.svg');
    background-repeat: no-repeat;
    background-size: contain;
}
.filter-dropdown { 
    font-weight: 400; 
    font-size: 16px; 
    line-height: 24px; 
    border: 1px solid #EBEBEB; 
    padding: 11px 16px; 
    border-radius: 8px;
    background: white; 
    width: 100%;
    position: relative;
    z-index: 1;
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none;
    outline: none!important;
}
.filter-dropdown.has-filter{
    background: #95B0DD;
    color: white;
    border-color: #95B0DD;
}
.filter-dropdown.has-filter + .filter-dropdowns__item:before{
    filter: invert(1);
}
.level-filter {
    background: #a8b5ff;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.close-filter {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-filter:hover {
    background: rgba(255, 255, 255, 0.2);
}

.week-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.week-nav-btn {
    outline: none;
    background: none;
    border: none; 
    cursor: pointer; 
    transition: background 0.3s ease;
    width: 24px; 
    height: 24px;
    line-height: 1;
    padding: 0;
    display: block;
} 
.week-nav-btn svg{
    width: 100%;
    height: auto;
}
.week-nav-btn:hover svg path{
    stroke: #95B0DD;
}
.week-range { 
    text-align: center;
    color: #1B1B1B;
    font-weight: 400; 
    font-size: 16px; 
    line-height: 24px; 
}

.schedule-table {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    gap: 10px;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.schedule-row {
    display: contents;
}

.schedule-header-row .day-column,
.time-column {
    background: transparent;
    padding: 10px;
    font-weight: 600;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: #1b1b1b; 
}
.time-column{
    width: 80px;
    padding-left: 0;
    padding-right: 0;
}
 

.day-column {
    background: transparent; 
    padding: 0px;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.day-column:empty {
    background: #fafafa;
}

.course-card {
    border-radius: 16px;
    padding: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 172px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
 
.course-time {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
}

.course-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    padding-bottom: 12px;
    margin-bottom: 12px; 
    flex-grow: 1;
    border-bottom: 1px solid #FFFFFF3D;
}

.course-details {
    font-size: 11px;
    opacity: 0.85;
}

.course-details > div {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 24px;
    color: white;
}

.course-details > div:last-child {
    margin-bottom: 0;
}

.course-details span {
    opacity: 0.6;
}
 
.course-card.green {
    background: #024555;
}
.course-card.orange {
    background: #FF5738;
}
.course-card.green-light{
    background: #CBE3CB;
}  
.course-card.pink {
    background: #FFABCF;
}
.course-card.yellow{
    background: #EDBA3D;
} 
.course-card.blue {
    background: #95B0DD;
}

/* Time slot styling */
.time-column .time-label {
    writing-mode: horizontal-tb;
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

/* Empty state */
.schedule-table .day-column:empty::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Loading state */
.schedule-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-size: 16px;
    color: #666;
}

.schedule-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #a8b5ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

.schedule-container{
    width: 100%;
    overflow: auto;
}

.schedule-grid{
    width: 1360px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

 

/* Responsive Design */
 
@media (max-width: 767px) {
    .filter-dropdowns{
        display: none;
    }
 
    .filter-tab{
        font-size: 14px;
        line-height: 20px;
    }

    .schedule-header h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    } 
} 
 