.schedule-section {
    padding: 0 0 1.2rem 0;
    background: transparent;
    min-width: 600px;
}

.schedule-section h2, .schedule-section .section-title {
    text-align: center;
    font-size: 1.8em;
    margin: 30px 0 25px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    width: 100%;
    text-align: center;
    color: #e3fc02;
    text-shadow: 0 0 5px rgba(227, 252, 2, 0.7);
}

.schedule-section .section-title::before, .schedule-section .section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 2px;
    width: 25%;
    background: linear-gradient(90deg, transparent, #e3fc02, transparent);
}
.schedule-section .section-title::before {
    left: 0;
}
.schedule-section .section-title::after {
    right: 0;
}

.schedule-flex-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    align-items: center;
    margin: 0 auto;
}

.schedule-container {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem 2.5rem;
    padding: 0 0.5rem;
    margin: 0;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.schedule-card {
    background: #181818;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(227, 252, 2, 0.08);
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
    border: 1.2px solid #e3fc02;
    position: relative;
    overflow: hidden;
    font-size: 0.93em;
    max-width: 260px;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e3fc02;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(227, 252, 2, 0.15);
}

.schedule-card:hover::before {
    opacity: 1;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.time-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e3fc02;
    margin: 0 0 0.15rem 0;
    text-shadow: none;
}

.time-info p {
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
}

.calendar-btn {
    background: transparent;
    color: #e3fc02;
    border: 1.5px solid #e3fc02;
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.calendar-btn:hover {
    background: #e3fc02;
    color: #181818;
    transform: translateY(-2px) scale(1.08);
}

.calendar-btn i {
    font-size: 1.2rem;
}

.topic-section {
    margin: 0.5rem 0;
    padding: 0.7rem;
    background: #232323;
    border-radius: 6px;
    border: 1px solid #e3fc02;
}

.topic-section h4 {
    color: #ddd;
    font-size: 1rem;
    margin: 0 0 0 0;
    text-shadow: none;
}

.topic-section p {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.duration {
    line-height: 2rem;
    color: #e3fc02;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.duration::before {
    content: '⏱️';
    font-size: 1rem;
}

/* Collapsed state (handled by JS, but for smoothness) */
.schedule-container[style*='display: none'] {
    display: none !important;
}

.error-message {
    text-align: center;
    color: #e3fc02;
    padding: 2rem;
    background: #181818;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(227, 252, 2, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {

    .schedule-section h2 {
        color: #fff;
    }

    .schedule-card {
        background: #1a1a1a;
        border-color: rgba(153, 102, 204, 0.2);
    }

    .time-info h3 {
        color: #fff;
    }

    .time-info p {
        color: #ccc;
    }

    .topic-section {
        background: #2a2a2a;
        border-color: rgba(153, 102, 204, 0.2);
    }

    .topic-section h4 {
        color: #ccc;
    }

    .topic-section p {
        color: #ccc;
    }

    .duration {
        color: #999;
    }

    .error-message {
        background: #1a1a1a;
        color: #ff6b6b;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .schedule-section {
        min-width: 100%;
    }
    .schedule-container {
        grid-template-columns: 1fr !important;
        justify-items: center;
        justify-content: unset;
        padding: 0 1rem;
        max-width: 80%;
    }
    .section-title::before, .section-title::after {
        width: 20% !important;
    }
    .schedule-card {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .schedule-section h2 {
        font-size: 1.75rem;
    }

    .schedule-header {
        flex-direction: row !important;
        gap: 0.5rem;
        align-items: center !important;
    }

    .calendar-btn {
        width: auto !important;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    .time-info {
        flex: 1 1 auto;
    }
}

#toggle-schedule {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

#chevron-icon {
    font-size: 1em !important;
}

.schedule-section h2.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 25px 0;
    padding: 0;
} 