/* ==============================
ORIGEN DESTINO
============================== */

.origen-destino-card{
padding:20px;
border-radius:10px;
border:1px solid #eee;
}

.od-header{
display:flex;
align-items:center;
gap:10px;
margin-bottom:10px;
}

.od-header i{
font-size:22px;
color:#770068;
}

.od-header h5{
margin:0;
font-weight:600;
}

.od-body{
padding-left:32px;
}

.od-compact{
font-size:14px;
}

.od-row{
display:flex;
align-items:center;
gap:6px;
margin-bottom:4px;
}

.od-key{
font-weight:600;
min-width:75px;
}

.od-city{
font-size:15px;
color:#686868;
margin-top:6px;
}

.btn-eye{
color:#550055;
background:#fff;
padding:2px 6px;
line-height:1;
}

/* ==============================
TIMELINE HORIZONTAL
============================== */

.timeline-horizontal{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    margin-top:40px;
    position:relative;
}

.timeline-step{
    flex:1;
    text-align:center;
    position:relative;
}

/* línea base (pendiente) */

.timeline-step::before{
    content:'';
    position:absolute;
    top:22px;
    left:-50%;
    width:100%;
    height:3px;
    background:#d6d6d6;
    border-radius:3px;
    z-index:0;
}

/* primer paso no dibuja línea hacia atrás */

.timeline-step:first-child::before{
    display:none;
}

/* línea completada */

.timeline-completed::before{
    background:#7a1b7a;
}

/* icono */

.timeline-icon{
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    font-size:20px;
    position:relative;
    z-index:2;
}

/* estado completado */

.timeline-done{
    background:#7a1b7a;
    color:white;
}

/* estado pendiente */

.timeline-pending{
    background:#d6d6d6;
    color:#444;
}

.timeline-title{
    font-weight:600;
    margin-top:10px;
    font-size:13px;
}

.timeline-date{
    font-size:12px;
    color:#777;
}


/* ==============================
TIMELINE VERTICAL
============================== */

.timeline-vertical{
    margin-top:20px;
}

/* fila */

.timeline-row{
    display:flex;
    align-items:center;
    gap:15px;
    padding:18px 0;
    border-bottom:1px solid #e6e6e6;
}

/* quitar línea del último */

.timeline-row:last-child{
    border-bottom:none;
}

/* icono */

.timeline-icon{
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:16px;
}

/* texto */

.timeline-status{
    font-weight:600;
}

.timeline-date{
    font-size:13px;
    color:#666;
}


/* ==============================
RESPONSIVE
============================== */

@media(max-width:768px){

    /* en móvil usamos solo el historial vertical */

    .timeline-horizontal{
        display:none;
    }

}

.timeline-row{
    display:flex;
    align-items:center;
    gap:15px;
    padding:18px 0;
    border-bottom:1px solid #e6e6e6;
}

.timeline-body{
    flex:1;
}

.timeline-actions{
    min-width:90px;
    text-align:right;
}

#imagesCarousel img{
    max-height: 700px;
    max-width: 100%;
    width: auto;
    margin: auto;
    border-radius: 10px;
    object-fit: contain;
    box-shadow:0 4px 20px rgba(0,0,0,0.15);
}

.modal-body{
    background:#f8f9fa;
}

/* panel superior */

.info-envio-box{
background:#f7f3f8;
border-radius:10px;
padding:20px;
align-items:center;
}

/* columnas */

.info-col{
padding:10px 25px;
}

/* titulo */

.info-title{
font-weight:600;
margin-bottom:12px;
color:#6b1e6b;
}

/* items */

.info-item{
display:flex;
align-items:center;
gap:8px;
margin-bottom:8px;
font-size:14px;
color:#444;
}

.info-item i{
font-size:18px;
color:#7c2a7a;
}

/* logo operador */

.operator-box{
display:flex;
align-items:center;
justify-content:center;
}

.operator-logo{
max-height:60px;
max-width:180px;
object-fit:contain;
}