/* Live Status Specific Styling */
.status-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 1rem;
}

.train-tracker-panel {
    padding: 2rem;
}

.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.train-id {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.train-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    background: var(--secondary-orange-gradient);
    color: white;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 9px;
    width: 4px;
    background: #E5E9F0;
    border-radius: 2px;
}

/* Active part of the line */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 9px;
    width: 4px;
    height: 55%; /* Simulating progress */
    background: var(--primary-blue-gradient);
    border-radius: 2px;
    box-shadow: var(--shadow-glow-blue);
}

.station-node {
    position: relative;
    margin-bottom: 3rem;
}

.station-node:last-child {
    margin-bottom: 0;
}

.node-dot {
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 4px solid #E5E9F0;
    z-index: 2;
    transition: var(--transition);
}

.station-node.completed .node-dot {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
}

.station-node.active .node-dot {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 6px rgba(10, 132, 255, 0.2);
    animation: pulse 2s infinite;
}

.node-content {
    display: flex;
    justify-content: space-between;
}

.node-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.node-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.node-time {
    text-align: right;
    font-weight: 600;
}

.node-time .expected {
    display: block;
    font-size: 0.8rem;
    color: var(--text-orange);
}

/* Sidebar Info */
.info-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.speed-meter {
    text-align: center;
    padding: 2rem 0;
}

.speed-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.speed-unit {
    font-size: 1.2rem;
    color: var(--text-muted);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(10, 132, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(10, 132, 255, 0); }
}

@media (max-width: 900px) {
    .status-layout { grid-template-columns: 1fr; }
}
