
.schedule-wrapper {
    max-width: 1260px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ── card container ── */
.schedule-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    padding: 24px 20px 20px 20px;
    transition: box-shadow 0.25s ease;
}

.schedule-card:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.schedule-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
    padding-left: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-card .card-title .badge {
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 12px;
    border-radius: 30px;
    letter-spacing: 0.2px;
}

/* ── table ── */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 14px;
    overflow: hidden;
}

.schedule-table thead th {
    background: #1e293b;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}

.schedule-table thead th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #e9edf2;
    vertical-align: middle;
    color: #1e293b;
    background-color: #ffffff;

}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

/* alternating row colours */
.schedule-table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* time column – subtle highlight */
.schedule-table tbody td:first-child {
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    background-color: #f1f5f9;
    border-right: 1px solid #e9edf2;
}

.schedule-table tbody tr:nth-child(even) td:first-child {
    background-color: #eef2f6;
}

/* empty cells – keep them clean */
.schedule-table tbody td:empty::before {
    content: "\00a0";
}

/* ── text styles inside cells ── */
.cell-lecture {
    color: #4f46e5;
    font-weight: 500;
}

.cell-defense {
    color: #b45309;
    font-weight: 500;
}

.cell-highlight {
    font-weight: 500;
}

/* small tag for "Лекция" */
.lecture-tag {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 600;
    padding: 1px 10px;
    border-radius: 30px;
    letter-spacing: 0.2px;
}

/* ── responsive ── */
@media (max-width: 800px) {
    .schedule-card {
        padding: 16px 12px 12px 12px;
    }

    .schedule-table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .schedule-table thead th,
    .schedule-table tbody td {
        padding: 10px 12px;
    }

    .schedule-table thead th {
        font-size: 11px;
    }

    .schedule-card .card-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }

    .schedule-wrapper {
        gap: 32px;
    }

    .schedule-table {
        font-size: 11px;
    }

    .schedule-table thead th,
    .schedule-table tbody td {
        padding: 8px 8px;
    }

    .schedule-table thead th {
        font-size: 10px;
    }
}

/* ── print-friendly ── */
@media print {
    body {
        background: #fff;
        padding: 20px;
    }
    .schedule-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
        margin-bottom: 24px;
    }
    .schedule-table thead th {
        background: #333 !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .schedule-table tbody td:first-child {
        background: #f1f5f9 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .schedule-table tbody tr:nth-child(even) td {
        background-color: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .schedule-table tbody tr:nth-child(even) td:first-child {
        background-color: #eef2f6 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }


}