/* schedule.css */

.schedule {
    grid-area: schedule;
    padding: 20px 0;
}

.schedule h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.schedule .subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.schedule .subtitle span {
    background: #e8f0fe;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #1a73e8;
}

.schedule-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.schedule-row.header {
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
}

.schedule-row.header .cell {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.schedule-row:hover {
    background: #f8f9fc;
}

.schedule-row.header:hover {
    background: #1a1a2e;
}

.cell {
    flex: 1;
    padding: 12px 10px;
    text-align: center;
}

.cell.day {
    flex: 0.6;
    font-weight: 700;
    color: #1a1a2e;
    background: #f8f9fc;
}

.schedule-row.header .cell.day {
    background: transparent;
    color: #fff;
}

/* Адаптив для телефонов */
@media (max-width: 767px) {
    .schedule {
        padding: 15px 10px;
    }

    .schedule h1 {
        font-size: 22px;
    }

    .schedule .subtitle {
        font-size: 14px;
    }

    .cell {
        padding: 8px 6px;
        font-size: 13px;
    }

    .cell.day {
        flex: 0.5;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cell {
        padding: 6px 4px;
        font-size: 11px;
    }

    .cell.day {
        flex: 0.4;
        font-size: 11px;
    }

    .schedule h1 {
        font-size: 18px;
    }

    .schedule .subtitle {
        font-size: 12px;
    }
}