/**
 * @file schedule.css
 * @purpose 专家出诊表
 * @author 重庆嘉华医院
 * @datetime 2026-11-09 10:27:00
 * @description 专家出诊表样式。
 */

/* 出诊说明 */
.schedule-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.schedule-intro__lead {
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
    margin: 0;
}

/* 表格滚动容器 */
.schedule-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.schedule-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.schedule-table thead th {
    background: linear-gradient(135deg, #00B4D8 0%, #0077A8 100%);
    color: #fff;
    font-weight: 600;
    padding: 14px 10px;
    text-align: center;
    white-space: nowrap;
}

.schedule-table tbody td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #eef2f6;
    color: #475569;
    white-space: nowrap;
}

.schedule-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.schedule-table tbody tr:hover {
    background: #eff9fc;
}

.schedule-table .schedule-dept {
    font-weight: 600;
    color: #1e293b;
}

.schedule-table .schedule-name {
    font-weight: 500;
    color: #1e293b;
}

.schedule-table .schedule-title {
    color: #00B4D8;
}

/* 出诊状态 */
.schedule-cell {
    display: inline-block;
    min-width: 44px;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 12px;
}

.schedule-cell--am {
    color: #0b7a43;
    background: rgba(16, 185, 129, 0.12);
}

.schedule-cell--pm {
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
}

.schedule-cell--full {
    color: #fff;
    background: #00B4D8;
}

.schedule-cell--off {
    color: #cbd5e1;
}

/* 图例 */
.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 40px;
}

.schedule-legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}

.schedule-legend__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.schedule-legend__dot--am { background: rgba(16, 185, 129, 0.5); }
.schedule-legend__dot--pm { background: rgba(245, 158, 11, 0.5); }
.schedule-legend__dot--full { background: #00B4D8; }

/* 温馨提示 */
.schedule-note {
    padding: 24px 30px;
    background: #eff6ff;
    border-left: 4px solid #00B4D8;
    border-radius: 0 10px 10px 0;
}

.schedule-note h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.schedule-note ul {
    margin: 0;
    padding-left: 20px;
}

.schedule-note li {
    font-size: 14px;
    color: #475569;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .page-banner__title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .schedule-legend {
        gap: 12px;
    }
}
