/* 放假时间安排表专用样式 */

/* 假期卡片样式 */
.holiday-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.holiday-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.holiday-card:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.holiday-card:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.holiday-card:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.holiday-card:nth-child(5) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.holiday-card:nth-child(6) { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.holiday-card:nth-child(7) { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.holiday-card:nth-child(8) { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }

/* 表单区域样式 */
.form-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.form-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* 结果区域样式 */
.result-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.result-section:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

/* 区域标题样式 */
.section-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    -webkit-text-fill-color: initial;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 按钮样式 */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.btn-secondary:hover {
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.4) !important;
}

/* 日历网格样式 */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    background: white;
    padding: 10px;
    text-align: center;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: #f5f5f5;
}

.calendar-day.today {
    background: #667eea;
    color: white;
    font-weight: bold;
}

.calendar-day.holiday {
    background: #43e97b;
    color: white;
    font-weight: bold;
}

.calendar-day.workday {
    background: #f5576c;
    color: white;
    font-weight: bold;
}

.calendar-day.other-month {
    background: #f5f5f5;
    color: #999;
}

.calendar-weekday {
    background: #667eea;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

/* 统计网格样式 */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.result-item {
    text-align: center;
}

.result-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.result-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

/* 输入操作区域 */
.input-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-label {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-section {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 1.1em;
    }

    .input-actions {
        flex-direction: column;
        gap: 10px;
    }

    .calendar-day {
        min-height: 50px;
        padding: 5px;
        font-size: 0.9em;
    }

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .result-value {
        font-size: 1em;
    }

    .result-label {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .calendar-day {
        min-height: 40px;
        padding: 3px;
        font-size: 0.8em;
    }

    .calendar-weekday {
        font-size: 12px;
        padding: 8px;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }
}
