/* 我的課表面板 */

.schedule-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.45);
}

.schedule-card {
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: var(--parchment);
    border: 2px solid var(--brown-dark);
    clip-path: var(--pixel-corners-large);
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 2px solid var(--brown-light);
}

.schedule-title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--brown-dark);
}

.schedule-close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--brown-dark);
    padding: 0 4px;
}

.schedule-close:hover {
    color: var(--orange-dark);
}

.schedule-body {
    overflow-y: auto;
    padding: 16px 18px;
    color: var(--brown-dark);
}

.schedule-summary {
    margin: 0 0 12px;
    font-weight: 600;
}

.schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.schedule-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--brown-light);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-course-name {
    font-weight: 500;
}

.schedule-course-meta {
    flex-shrink: 0;
    font-size: 0.82rem;
    opacity: 0.75;
}

.schedule-notice {
    margin: 12px 0 0;
    font-size: 0.8rem;
    opacity: 0.72;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .schedule-item {
        flex-direction: column;
        gap: 2px;
    }
}
