.train-page .train-station-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 38px;
    font-weight: 600;
}

.train-station-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    background: #1f3a5f;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.train-tab-content {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 0;
    border-radius: 0 0 0.375rem 0.375rem;
    background: #fff;
}

.train-board-table {
    font-size: 0.925rem;
}

.train-board-table thead th {
    background: #f4f7f5;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #495057;
    white-space: nowrap;
}

.train-label {
    font-weight: 700;
    color: #1f3a5f;
    white-space: nowrap;
}

.train-time {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #1f6b4a;
}

.train-platform-changed {
    font-weight: 700;
    color: #b45309;
}

.train-delay-ok {
    color: #1f6b4a;
    font-weight: 600;
}

.train-delay-mild {
    color: #b45309;
    font-weight: 600;
}

.train-delay-late {
    color: #b42318;
    font-weight: 700;
}

.train-delay-early {
    color: #1f6b4a;
    font-weight: 600;
}

.train-row-done {
    opacity: 0.55;
}

.train-row-done .train-time {
    color: #6c757d;
}

#train-tabs .badge {
    font-weight: 600;
    vertical-align: text-top;
}

@media (max-width: 575px) {
    .train-board-table {
        font-size: 0.85rem;
    }
}
