/* ===========================
   YRG Railway Tools
=========================== */

.yrg-result-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    margin-top:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.yrg-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #eee;
    padding-bottom:20px;
    margin-bottom:25px;
}

.yrg-header h2{
    margin:0;
    font-size:32px;
    color:#1e3a8a;
}

.yrg-status{
    background:#16a34a;
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-weight:700;
}

.yrg-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:35px;
}

.yrg-grid div{
    background:#f8fafc;
    padding:18px;
    border-radius:14px;
}

.yrg-grid strong{
    color:#666;
    font-size:13px;
}

.yrg-route{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    margin:40px 0;
    font-size:22px;
    font-weight:bold;
}

.yrg-route h3{
    margin:0;
    color:#2563eb;
}

.yrg-passenger{
    margin-top:20px;
    background:#f9fbff;
    border-left:5px solid #2563eb;
    border-radius:14px;
    padding:20px;
}

.yrg-passenger h3{
    margin-top:0;
}

@media(max-width:768px){

.yrg-grid{
grid-template-columns:1fr 1fr;
}

.yrg-route{
flex-direction:column;
gap:10px;
}

}

/* Status Badges */

.yrg-badge-green{
    background:#16a34a;
}

.yrg-badge-orange{
    background:#f59e0b;
}

.yrg-badge-red{
    background:#dc2626;
}

.yrg-badge-blue{
    background:#2563eb;
}

/* Route Card */

.yrg-route-card{

display:flex;

align-items:center;

justify-content:space-between;

margin:40px 0;

}

.yrg-station{

width:120px;

text-align:center;

}

.yrg-code{

font-size:28px;

font-weight:700;

color:#1d4ed8;

display:block;

}

.yrg-line{

flex:1;

display:flex;

align-items:center;

justify-content:center;

position:relative;

}

.yrg-track{

position:absolute;

width:100%;

height:4px;

background:#dbeafe;

border-radius:100px;

}

.yrg-line span{

position:relative;

background:#fff;

padding:0 15px;

font-size:28px;

}