/* ============ 2026年放假安排 - 列表特有样式 ============ */

.holiday-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.holiday-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    transition: all 0.2s;
}

.holiday-item:hover {
    border-color: #8b5cf6;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

.holiday-item.next-holiday {
    background: #fffbeb;
    border-color: #fcd34d;
}

.holiday-item.is-past {
    opacity: 0.5;
}

.holiday-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.holiday-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.holiday-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.holiday-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.holiday-days {
    background: #ede9fe;
    color: #7c3aed;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.holiday-status {
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.holiday-status.status-upcoming {
    background: #dbeafe;
    color: #2563eb;
}

.holiday-status.status-ongoing {
    background: #dcfce7;
    color: #16a34a;
    animation: pulse-status 1.5s ease-in-out infinite;
}

.holiday-status.status-past {
    background: #f3f4f6;
    color: #9ca3af;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.holiday-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.holiday-date {
    font-size: 13px;
    color: #6b7280;
}

.holiday-note {
    font-size: 13px;
    color: #ef4444;
}

.holiday-countdown {
    text-align: right;
    flex-shrink: 0;
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ef4444;
    line-height: 1.2;
}

.holiday-item.is-past .countdown-number {
    color: #9ca3af;
}

.countdown-text {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
}

/* 响应式 */
@media (max-width: 768px) {
    .holiday-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .holiday-countdown {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .holiday-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
