/* CONTAINER BREEDTE */
.container-90 {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* PROGRESS */

#progress-bar {
    position: relative;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

#progress-filled {
    position: absolute;
    height: 100%;
    width: 0%;
    background: #00d26a;
    transition: width .6s ease;
}

#progress-train {
    position: absolute;
    top: -18px;
    transform: translateX(-50%);
    font-size: 20px;
    transition: left .6s ease;
}

/* STATIONS DOTS */

#progress-stations {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    gap: 10px;
    flex-wrap: wrap;
}

.progress-station {
    text-align: center;
    font-size: 12px;
    flex: 1;
    min-width: 80px;
}

.progress-station .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 4px;
}

/* TIMELINE */

.timeline-row {
    display: grid;
    grid-template-columns: 140px 1fr 120px 120px;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.timeline-cancelled {
    opacity: 0.5;
}

.strikethrough {
    text-decoration: line-through;
}

.small-text {
    font-size: 11px;
    opacity: 0.6;
}

/* DELAY COLORS */

.delay-good { color: #00a651; font-weight: 600; }
.delay-warn { color: #ff9800; font-weight: 600; }
.delay-bad  { color: #ff3e3e; font-weight: 600; }

/* TRAIN BETWEEN */

#train-between {
    margin-top: 10px;
    font-weight: 500;
}

/* REMARKS */

.remarks-box {
    background: #fff3cd;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
}

/* SAMENSTELLING */

.wagon-container {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    overflow-x: auto;
    padding: 10px 0;
}

.wagon img {
    height: 80px;
}

.wagon-number {
    font-size: 11px;
    text-align: center;
    margin-top: 4px;
}

/* LOADING */

.loading {
    padding: 20px;
    text-align: center;
    opacity: 0.7;
}
#refresh-bar {
    position: relative;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg,#4f46e5,#06b6d4);
    transition: width 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    border-radius: 2px;
    margin-bottom: 10px;
}

#refresh-bar.active {
    width: 100%;
    opacity: 1;
}
