.infoList {
    position: relative;
    transition: all 0.3s ease;
}

/* 过去的日程样式 */
.infoList.is-past {
    opacity: 0.5;
    filter: grayscale(100%);
}

.infoList.is-past::after {
    content: '終了';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #666;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
}

/* 当前日程样式 */
.infoList.is-today {
    position: relative;
    border: 2px solid #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.2);
}

.infoList.is-today::after {
    content: '本日';
    position: absolute;
    top: 25px;
    right: 10px;
    background: #ff69b4;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 即将到来的日程样式 */
.infoList.is-upcoming {
    position: relative;
}

.infoList.is-upcoming::after {
    content: '開催予定';
    position: absolute;
    top: 25px;
    right: 10px;
    background: #4CAF50;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
}

/* 即将开始的活动样式 */
.infoList.is-upcoming-soon {
    position: relative;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.infoList.is-upcoming-soon::after {
    content: '開催間近';
    position: absolute;
    top: 25px;
    right: 10px;
    background: linear-gradient(45deg, #ffd700, #ffa500);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
    animation: upcomingSoonPulse 2s infinite;
}

@keyframes upcomingSoonPulse {
    0% {
        background: linear-gradient(45deg, #ffd700, #ffa500);
    }
    50% {
        background: linear-gradient(45deg, #ffa500, #ffd700);
    }
    100% {
        background: linear-gradient(45deg, #ffd700, #ffa500);
    }
}

/* 错误状态样式 */
.schedule-error {
    position: relative;
    border: 1px solid #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.schedule-error-message {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    z-index: 1;
}

/* 添加控制台调试样式 */
.debug-info {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    z-index: 9999;
}

/* 仅在开发环境显示 */
.debug .debug-info {
    display: block;
}

/* 添加折叠按钮样式 */
.past-events-toggle {
    width: 100%;
    padding: 10px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.past-events-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.past-events-toggle i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.past-events-toggle.active i {
    transform: rotate(180deg);
}

/* 过去活动容器 */
.past-events-container {
    display: none;
}

.past-events-container.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 