
    .schedule-container {
        max-width: 100%;
        padding: 30px 20px;
        font-family: 'Segoe UI', Arial, sans-serif;
    }
    .direction-card {
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 40px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        border: 1px solid #e0e0e0;
    }
    .direction-card.reverse {
        background: #fafbfc;
    }
    .direction-title {
        text-align: center;
        color: #005278;
        font-size: 20px;
        margin-bottom: 5px;
    }
    .train-number {
        text-align: center;
        color: #cc0000;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .direction-period {
        text-align: center;
        color: #666;
        font-size: 12px;
        margin-bottom: 25px;
    }
    .route-row {
        margin-bottom: 20px;
        background: #f8f9fa;
        border-radius: 16px;
        padding: 15px;
    }
    .row-label {
        font-size: 12px;
        font-weight: bold;
        color: #cc0000;
        margin-bottom: 12px;
        padding-left: 10px;
    }
    .route-line {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
    }
    .station {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: white;
        padding: 8px 12px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 70px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin: 5px 0px;
    }
    .station:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0, 82, 120, 0.2);
        background: #e8f0f5;
    }
    .station.major {
    background: #00527824;
    border: 1px solid #005278;
}
    .dot {
        width: 8px;
        height: 8px;
        background: #005278;
        border-radius: 50%;
        margin-bottom: 5px;
    }
    .dot.start, .dot.end {
        width: 12px;
        height: 12px;
        background: #cc0000;
    }
    .dot.major {
    width: 10px;
    height: 10px;
    background: #005278;
}
    .name {
        font-weight: bold;
        font-size: 13px;
        color: #222;
        white-space: nowrap;
    }
    .time {
        font-size: 11px;
        color: #005278;
        font-weight: 600;
    }
    .stop {
        font-size: 12px;
        color: #cc0000;
    }
    .arrow {
        font-size: 12px;
        color: #005278;
        font-weight: 700;
    }
    .arrow.dashed {
        color: #e67e22;
    }
    .dist {
        font-size: 12px;
        color: #888;
        white-space: nowrap;
    }
    .dist.border {
        color: #e67e22;
        font-weight: bold;
    }
    .route-footer {
        margin-top: 20px;
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .total-time {
        font-size: 13px;
        color: #005278;
        margin-bottom: 8px;
    }
    .schedule-info {
        font-size: 11px;
        color: #666;
        background: #f8f9fa;
        padding: 10px;
        border-radius: 8px;
        line-height: 1.5;
    }
    @media (max-width: 768px) {
        .route-line { gap: 2px; }
        .station { padding: 5px 8px; min-width: 55px; }
        .name { font-size: 10px; }
        .time { font-size: 9px; }
        .stop { font-size: 7px; }
        .arrow { font-size: 10px; }
        .dist { font-size: 7px; }
    }
/* Карточки поездов для Гюмри */
.train-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.train-card.express {
    background: linear-gradient(135deg, #ffffff, #fff);
    border-left: 4px solid #e20001;
}

.train-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.train-name {
    font-size: 16px;
    color: #005278;
    margin: 0;
}

.train-duration {
    font-size: 12px;
    color: #cc0000;
    font-weight: bold;
}

.train-route {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.train-direction {
    flex: 1;
    min-width: 200px;
}

.train-direction-title {
    font-size: 13px;
    font-weight: bold;
    color: #005278;
    margin-bottom: 10px;
}

.train-stations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.train-station {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.train-station:hover {
    transform: translateX(5px);
    background: #f0f0f0;
    border-radius: 8px;
    padding-left: 8px;
}

.train-dot {
    width: 8px;
    height: 8px;
    background: #005278;
    border-radius: 50%;
}

.train-dot.start, .train-dot.end {
    width: 12px;
    height: 12px;
    background: #cc0000;
}

.train-station-name {
    font-weight: 600;
    font-size: 13px;
    color: #222;
    width: 80px;
}

.train-station-time {
    font-size: 12px;
    color: #005278;
    font-weight: 600;
    width: 50px;
}

.train-station-stop {
    font-size: 10px;
    color: #cc0000;
}

.train-arrow-small {
    color: #005278;
    font-size: 14px;
    margin-left: 24px;
}

@media (max-width: 768px) {
    .train-route {
        flex-direction: column;
        gap: 20px;
    }
    .train-station-name {
        width: 70px;
        font-size: 12px;
    }
    .train-station-time {
        font-size: 11px;
    }
}