/* 农历新年日期表格样式 */
.lunar-new-year-dates {
    background-color: #f9f5f0;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.lunar-new-year-dates h2 {
    color: #b22222;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid #b22222;
    padding-bottom: 0.5rem;
}

.lunar-new-year-dates .table-responsive {
    overflow-x: auto;
    max-height: 500px;
}

.lunar-new-year-dates table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lunar-new-year-dates thead {
    position: sticky;
    top: 0;
    background-color: #b22222;
    color: white;
    z-index: 10;
}

.lunar-new-year-dates thead th {
    padding: 0.75rem;
    text-align: center;
    font-weight: bold;
    border: 1px solid #d32f2f;
}

.lunar-new-year-dates tbody tr {
    transition: background-color 0.3s ease;
}

.lunar-new-year-dates tbody tr:nth-child(even) {
    background-color: #f8e6e6;
}

.lunar-new-year-dates tbody tr:hover {
    background-color: #ffebee;
}

.lunar-new-year-dates tbody td {
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.lunar-new-year-dates .note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .lunar-new-year-dates {
        padding: 1rem;
    }

    .lunar-new-year-dates h2 {
        font-size: 1.5rem;
    }

    .lunar-new-year-dates .table-responsive {
        max-height: 300px;
    }
}
