/* 节假日安排工具页 */

.anpai-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: #f0f4ff;
    border-radius: 10px;
}

.anpai-summary-item {
    text-align: center;
}

.anpai-summary-num {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    font-family: 'Fira Code', monospace;
    line-height: 1.2;
}

.anpai-summary-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.2rem;
}

.anpai-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.anpai-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.anpai-table th {
    background: #f8f9fb;
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap;
}

.anpai-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    vertical-align: middle;
}

.anpai-table tbody tr:last-child td {
    border-bottom: none;
}

.highlight-row td {
    background: #fafcff;
}

.holiday-icon {
    margin-right: 0.3rem;
}

.days-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: #e8edf5;
    color: #555;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}

.days-badge.days-mid {
    background: #dbeafe;
    color: #2563eb;
}

.days-badge.days-long {
    background: #2563eb;
    color: #fff;
}

.no-work {
    color: #bbb;
}

.work-day {
    color: #e67e22;
    font-size: 0.85rem;
}

.anpai-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #888;
    padding: 0.6rem 0.8rem;
    background: #fffbf0;
    border-left: 3px solid #fbbf24;
    border-radius: 4px;
}

/* 详细卡片 */
.detail-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.detail-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.detail-card-body {
    padding: 1rem 1.2rem;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.8;
}

.detail-workday {
    margin-top: 0.5rem;
    color: #e67e22;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    background: #fef9ec;
    border-radius: 6px;
    display: inline-block;
}

@media (max-width: 600px) {
    .anpai-summary {
        gap: 1rem;
    }
    .anpai-summary-num {
        font-size: 1.6rem;
    }
    .anpai-table th,
    .anpai-table td {
        padding: 0.6rem 0.7rem;
        font-size: 0.82rem;
    }
}
