.driverScheduleCell, .driverScheduleHeaderCell {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px;
    position: relative; /* Для позиционирования содержимого */
}

.driverScheduleImageContainer {
    display: flex; /* Включаем flexbox для контейнера */
    justify-content: center; /* Центрируем картинки по горизонтали */
    align-items: center; /* Центрируем картинки по вертикали */
    gap: 5px; /* Расстояние между картинками */
    height: 100%; /* Контейнер занимает всю высоту ячейки */
}

.driverScheduleImageContainer img {
    max-height: 20px; /* Ограничиваем высоту картинок */
    width: auto; /* Сохраняем пропорции */
}

.stationHasBranches {
    font-weight: bold;
}

.scheduleRemarks {
    width: 10%;
}

.driverScheduleHeader, .driverScheduleRow {
    text-align: center;
    border: 1px solid black;
    border-collapse: collapse;
}

.driverScheduleHeader {
    font-weight: bold;
    font-size: 1.2em;
}

.blink
{
    background-color: gray;
}

.station-schedule-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.metro-schedule-control--hidden {
    display: none;
}

.metro-schedule-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.metro-schedule-control label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.metro-schedule-control select {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #cbd5f5;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.metro-schedule-control select:focus {
    outline: none;
    border-color: #22CDCB;
    box-shadow: 0 0 0 3px rgba(34, 205, 203, 0.2);
}

.station-schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.station-schedule-header h3 {
    margin: 0;
    font-size: 20px;
    color: #0f172a;
}

.station-schedule-header p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #64748b;
}

.station-schedule-date {
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.station-schedule-table-wrapper {
    overflow: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.station-schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 20px;
    color: #1e293b;
}

.station-schedule-table thead th {
    position: sticky;
    top: 0;
    background: #22CDCB;
    color: #f8fafc;
    font-weight: 600;
    padding: 12px;
}

.station-schedule-table tbody td {
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
}

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

.trip-schedule-table tbody tr {
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.trip-schedule-row--clickable {
    position: relative;
}

.trip-schedule-row--clickable:focus-visible {
    outline: 2px solid rgba(34, 205, 203, 0.6);
    outline-offset: -2px;
}

@media (hover: hover) {
    .station-schedule-table tbody tr:hover {
        background: rgba(34, 205, 203, 0.08);
    }

    .trip-schedule-table tbody tr:hover {
        background: rgba(34, 205, 203, 0.12);
        transform: translateY(-1px);
    }
}

.trip-time {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.trip-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.trip-meta--hint {
    color: #0ea5a3;
    font-weight: 600;
}

.station-schedule-empty {
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    text-align: center;
    font-size: 14px;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}
