@import "main.css";

.titulo-banner {
    font-size: 2.4em;
    font-weight: 600;
    text-align: right;
    color: #002A6F;
    margin-bottom: 200em;
}

.cambio-color {
    color: #ff6b00;
}

/*Seccion 1 Banner */

.seccion-1-rastreo{
    padding: 0 60px;
    background-image: url(../img/rastreo-360.jpg);
    background-position-x: center;
    background-position-y: top;
    background-size: auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 360px;
    width: 100%;
    display: flex; 
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.contenido-secc-1-rastreo {
    padding-top: 9.3rem;
}

.titulo-banner{
    font-weight: 700;
    font-size: 48px;
    color: #002A6F;
}

.breadcrumb{
    justify-content: center;
}

.breadcrumb-item a{
    text-decoration: none;
    color: #002A6F;
    font-weight: 600;
}

.breadcrumb-item a:hover{
    text-decoration: none;
    color: #004788;
}

@media (width > 1450px) {
    .seccion-1-rastreo{
        background-size: contain;
    }
 
}

@media all and (max-width: 1227px) {
    .titulo-banner {
        font-size: 1.7em;
        margin-right: 20px;
    }

    .contenido-secc-1-ayuda {
        margin-top: .2em;
    }

    .grid-secc-1-ayuda {
        margin: 1em 1em 0 1em;
        justify-content: center;
        text-align: center;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .grid-secc-1-ayuda img {
        margin-left: 0;
        padding-right: .6em;
        text-align: center;
        max-width: 99%;
    }
}

/* Seccion 2 Titulo */
.seccion-2-titulo{
    padding-top: 50px;
}

.titulo-divisor{
    margin-bottom: 20px;
}

.rastreo{
    font-size: 38px;
    font-weight: 600;
    color: #002A6F;
}

.divider {
    width: 400px;
    height: 5px;
    background-color: #FF6900;
    margin-top: 16px;
    border-radius: 2px;
}

.subtitulo{
    font-size: 22px;
    font-weight: 600;
    color: #002A6F;
    margin-bottom: 20px;
}

.seccion-2-titulo p{
    font-size: 16px;
    font-weight: 500;
    color: #002A6F;
}

#arrow {
    visibility: hidden;

}

.animated-arrow {
    animation: 2s arrow-an infinite ease;
    -webkit-animation: 2s arrow-an infinite ease;
}

@-webkit-keyframes arrow-an {

    0%,
    100% {
        transform: translateX(65px);
    }

    50% {
        transform: translateX(80px);
    }
}

@keyframes arrow-an {

    0%,
    100% {
        transform: translateX(65px);
    }

    50% {
        transform: translateX(80px);
    }
}

#arrow img {
    max-width: 1.1em;
}

.info-tema:hover {
    transition: .3s;
    border-radius: 1.5rem;
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1),
        -6px -6px 20px rgba(0, 0, 0, 0.1);
}

.info-tema:hover #h41 {
    transition: .3s;
    color: #ff6b00;
}


.info-tema:hover #arrow {
    transition: .3s;
    visibility: visible;
}

@media screen and (max-width: 1227px) {
    .temas-relevantes {
        display: flex;
        flex-direction: column;
        margin-left: .6em;
        justify-content: center;
        width: 90%;
    }

    .info-tema {
        margin-bottom: 1em;
        width: 100%;
    }

    .titulo-secc {
        text-align: center;
    }

    #arrow {
        visibility: visible;
    }
}

/* Seccion 3 Paqueterias */

.secc-paqueterias {
    width: 100%;
}

.contenedor-paqueterias {
    display: flex;
    justify-content: space-evenly;
}

.contenedor-paqueterias img {
    max-width: 11em;
}

.box-paqueteria:hover {
    transition: .3s;
    border-radius: 1rem;
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1),
        -6px -6px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

@media screen and (max-width:1227px) {
    .contenedor-paqueterias {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .box-paqueteria {
        text-align: center;
        margin-bottom: .8em;
    }
}

/* Seccion 4 Enlaces Rápidos */

.secc-enlaces {
    width: 100%;
}

.cont-enlaces {
    display: flex;
    justify-content: space-evenly;
    margin: -1em 0 0 4em;

}

.columna-enlaces {
    width: 50%;
}

.columna-enlaces a {
    text-decoration: none;
    color: #07326b;
    font-size: 1.2em;
}

.columna-enlaces a:hover {
    text-decoration: underline;
    color: #165fbe;
}

@media screen and (max-width: 1227px) {
    .cont-enlaces {
        display: flex;
        flex-direction: column;
    }
    .columna-enlaces {
        width: 90%;
    }
}

@media (max-width:769px) {
    .seccion-1-rastreo .div-flotante {
        padding: 1vh 1.5vw;
        font-size: small;
    }
    .seccion-1-rastreo .boton-flotante {
        font-size: small;
    }
}

.btn-primary[data-v-f2cce450] {
    color: #FF6900;
}

iframe {
    width: 100%;
    min-height: 50vh;
    overflow-x: visible;
}

.bg-footer {
    margin-top: 0rem;
}

/**************************************************** Timeline estilos ********************************** ************************ **/

.timeline {
    position: relative;
    padding-left: 0;
    margin: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 58px;
    width: 3px;
    background: #FF6B00;
    border-radius: 10px;
    z-index: 1;
}

.timeline-group {
    position: relative;
    padding-left: 78px;
    margin-bottom: 38px;
}

.timeline-group:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;

    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #FF6B00;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.timeline-dot i {
    font-size: 1.4rem;
    color: #FF6B00;
}

.timeline-group.active .timeline-dot {
    background: #FF6B00;
}

.timeline-group.active .timeline-dot i {
    color: #fff;
}

.timeline-group.active .timeline-dot::before {
    content: '';
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 107, 0, .18);
    animation: pulse-ring 3s infinite;
    z-index: -1;
}

.timeline-header {
    margin-bottom: 14px;
}

.timeline-main-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FF6B00;
}

.timeline-subevents {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-content {
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: .2s ease;
}

.timeline-content:hover {
    border-color: #FF6B00;
    transform: translateY(-1px);
}

.timeline-time {
    font-weight: 700;
    font-size: .82rem;
    color: #FF6B00;
}

.timeline-date {
    font-size: .78rem;
    color: #777;
    margin-bottom: 6px;
}

.timeline-title {
    font-size: .96rem;
    font-weight: 700;
    color: #111827;
}

.timeline-location {
    font-size: .82rem;
    color: #777;
    margin-top: 4px;
}

/** **************************************************************************************************************************************** **/
/* =========================================================
   BUSCADOR
========================================================= */

.rastreo-input-wrapper{
    width:100%;
    max-width:460px;
    margin-bottom:24px;
}

.tracking-group{
    display:flex;
    align-items:stretch;
    width:100%;
    border:1px solid #d7d7d7;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    transition:.2s ease;
}

.tracking-group:focus-within{
    border-color:#FF6B00;
    box-shadow:0 0 0 .15rem rgba(255,107,0,.12);
}

.tracking-textarea{
    flex:1;
    border:none !important;
    outline:none !important;
    box-shadow:none !important;
    resize:none;
    min-height:48px;
    max-height:70px;
    padding:12px 14px;
    font-size:.95rem;
    line-height:1.4;
    overflow-y:auto;
    overflow-x:hidden;
    background:#fff;
}

.tracking-btn{
    flex-shrink:0;
    border:none !important;
    background:#FF6B00 !important;
    color:#fff !important;
    padding:0 22px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:.95rem;
    font-weight:600;
    white-space:nowrap;
    transition:.2s ease;
}

.tracking-btn:hover{
    background:#d85b00 !important;
}

.tracking-helper-top{
    font-size:.95rem;
    color:#5f6368;
    margin-bottom:10px;
    font-weight: 500;
}

.tracking-helper-bottom{
    font-size:.82rem;
    color:#777;
    margin-top:8px;
    margin-bottom:0;
}
/** **************************************************************************************************************************************** **/

/* =========================================================
   Boton Copiar Link Y Badge de Tracking
========================================================= */
.btn-copiar-link{
    width:42px;
    height:42px;
    border-radius:12px;
    border:1px solid #ff8000;
    background:#FFF5EB;
    color:#FF6B00;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s ease;
}

.btn-copiar-link:hover{
    background:#FF6B00;
    color:#fff;
}

.gp-orange-bg{
    background:#FFF5EB !important;
}

.gp-border{
    border-color:#FF6B00 !important;
    border:2px solid #ff8000;
}

.gp-orange-text{
    color:#FF6B00 !important;
}

.rastreo-tracking-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 14px;
    border-radius:6px;
    background:#FFF5EB;
    border:1px solid #FF6B00;
    color:#FF6B00;
    font-weight:700;
    font-size:.85rem;
}

@media (max-width: 900px) {
    .rastreo-container {
        padding: 16px 4px;
    }
    .timeline {
        margin-left: 12px;
        padding-left: 4px;
    }
}

/** Estilos del spinner de carga **/
.pl {
 width: 12em;
 height: 12em;
}

.pl circle {
 transform-box: fill-box;
 transform-origin: 50% 50%;
}

.pl__ring1 {
 animation: ring1 4s 0s ease-in-out infinite;
}

.pl__ring2 {
 animation: ring2 4s 0.04s ease-in-out infinite;
}

.pl__ring3 {
 animation: ring3 4s 0.08s ease-in-out infinite;
}

.pl__ring4 {
 animation: ring4 4s 0.12s ease-in-out infinite;
}

.pl__ring5 {
 animation: ring5 4s 0.16s ease-in-out infinite;
}

.pl__ring6 {
 animation: ring6 4s 0.2s ease-in-out infinite;
}

#spinner-carga p {
    margin: 0;
    font-size: 1.2rem;
    color: #FF6B00;
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-align: center;
}

#spinner-carga {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255,255,255,0.8);
    justify-content: center;
    align-items: center;
    color: #FF6B00;
    flex-direction: column; /* <-- Esto es clave */
    text-align: center;
}
#spinner-carga .pl {
    margin-bottom: 16px;
}

/* Animations */
@keyframes ring1 {
 from {
  stroke-dashoffset: -376.237129776;
  transform: rotate(-0.25turn);
  animation-timing-function: ease-in;
 }

 23% {
  stroke-dashoffset: -94.247778;
  transform: rotate(1turn);
  animation-timing-function: ease-out;
 }

 46%, 50% {
  stroke-dashoffset: -376.237129776;
  transform: rotate(2.25turn);
  animation-timing-function: ease-in;
 }

 73% {
  stroke-dashoffset: -94.247778;
  transform: rotate(3.5turn);
  animation-timing-function: ease-out;
 }

 96%, to {
  stroke-dashoffset: -376.237129776;
  transform: rotate(4.75turn);
 }
}

@keyframes ring2 {
 from {
  stroke-dashoffset: -329.207488554;
  transform: rotate(-0.25turn);
  animation-timing-function: ease-in;
 }

 23% {
  stroke-dashoffset: -82.46680575;
  transform: rotate(1turn);
  animation-timing-function: ease-out;
 }

 46%, 50% {
  stroke-dashoffset: -329.207488554;
  transform: rotate(2.25turn);
  animation-timing-function: ease-in;
 }

 73% {
  stroke-dashoffset: -82.46680575;
  transform: rotate(3.5turn);
  animation-timing-function: ease-out;
 }

 96%, to {
  stroke-dashoffset: -329.207488554;
  transform: rotate(4.75turn);
 }
}

@keyframes ring3 {
 from {
  stroke-dashoffset: -288.4484661616;
  transform: rotate(-0.25turn);
  animation-timing-function: ease-in;
 }

 23% {
  stroke-dashoffset: -72.2566298;
  transform: rotate(1turn);
  animation-timing-function: ease-out;
 }

 46%, 50% {
  stroke-dashoffset: -288.4484661616;
  transform: rotate(2.25turn);
  animation-timing-function: ease-in;
 }

 73% {
  stroke-dashoffset: -72.2566298;
  transform: rotate(3.5turn);
  animation-timing-function: ease-out;
 }

 96%, to {
  stroke-dashoffset: -288.4484661616;
  transform: rotate(4.75turn);
 }
}

@keyframes ring4 {
 from {
  stroke-dashoffset: -253.9600625988;
  transform: rotate(-0.25turn);
  animation-timing-function: ease-in;
 }

 23% {
  stroke-dashoffset: -63.61725015;
  transform: rotate(1turn);
  animation-timing-function: ease-out;
 }

 46%, 50% {
  stroke-dashoffset: -253.9600625988;
  transform: rotate(2.25turn);
  animation-timing-function: ease-in;
 }

 73% {
  stroke-dashoffset: -63.61725015;
  transform: rotate(3.5turn);
  animation-timing-function: ease-out;
 }

 96%, to {
  stroke-dashoffset: -253.9600625988;
  transform: rotate(4.75turn);
 }
}

@keyframes ring5 {
 from {
  stroke-dashoffset: -225.7422778656;
  transform: rotate(-0.25turn);
  animation-timing-function: ease-in;
 }

 23% {
  stroke-dashoffset: -56.5486668;
  transform: rotate(1turn);
  animation-timing-function: ease-out;
 }

 46%, 50% {
  stroke-dashoffset: -225.7422778656;
  transform: rotate(2.25turn);
  animation-timing-function: ease-in;
 }

 73% {
  stroke-dashoffset: -56.5486668;
  transform: rotate(3.5turn);
  animation-timing-function: ease-out;
 }

 96%, to {
  stroke-dashoffset: -225.7422778656;
  transform: rotate(4.75turn);
 }
}

@keyframes ring6 {
 from {
  stroke-dashoffset: -203.795111962;
  transform: rotate(-0.25turn);
  animation-timing-function: ease-in;
 }

 23% {
  stroke-dashoffset: -51.05087975;
  transform: rotate(1turn);
  animation-timing-function: ease-out;
 }

 46%, 50% {
  stroke-dashoffset: -203.795111962;
  transform: rotate(2.25turn);
  animation-timing-function: ease-in;
 }

 73% {
  stroke-dashoffset: -51.05087975;
  transform: rotate(3.5turn);
  animation-timing-function: ease-out;
 }

 96%, to {
  stroke-dashoffset: -203.795111962;
  transform: rotate(4.75turn);
 }
 
}

.card{
    border:1px solid #ededed;
    border-radius:14px;
    box-shadow:none;
    background:#fff;
    backdrop-filter:blur(10px);
}
.badge {
    font-size: 0.85rem;
    font-weight: 500;
}

#rastreo-esqueleto {
    max-width:1150px;
    margin: auto;
    padding: 30px 0;
    margin-top: 40px;
}

/* Selectores para datos dinámicos */
.rastreo-tracking,
.rastreo-referencia,
.rastreo-fecha,
.rastreo-sucursal,
.rastreo-origen-code,
.rastreo-origen-ciudad,
.rastreo-destino-code,
.rastreo-destino-ciudad,
.rastreo-forma-entrega,
.rastreo-entregado,
.rastreo-fecha-estimada,
.rastreo-servicio,
.rastreo-terminos,
.rastreo-manejo,
.rastreo-peso,
.rastreo-dimensiones,
.rastreo-piezas {
    color: #002A6F;
}

@media (max-width: 992px) {
    #rastreo-esqueleto {
        padding: 20px 10px;
    }
}

@media (max-width: 991px){


    .timeline-content{
        margin-left: 10px;
    }

    .card-body{
        padding:1rem !important;
    }

}

@keyframes pulse-ring{
    0%{
        transform:scale(.7);
        opacity:.8;
    }

    70%{
        transform:scale(1.4);
        opacity:0;
    }

    100%{
        opacity:0;
    }
}

@keyframes pulse{
    0%{
        box-shadow:0 0 0 0 rgba(235, 95, 15, 0.4);
    }

    70%{
        box-shadow:0 0 0 12px rgba(111,66,193,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(111,66,193,0);
    }
}

.card.border {
    border-color: #f1f1f1 !important;
    box-shadow: none;
}
body{
    background:#fafafa;
}

/* =========================================================
   MULTIRASTREO
========================================================= */

#tracking-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:20px 0;
    align-items:center;
}

.tracking-tag{
    padding:8px 16px !important;
    border-radius:999px !important;
    background:#f5f5f5 !important;
    border:1px solid #ddd !important;
    cursor:pointer;
    font-size:13px;
    font-weight:600;
    transition:all .2s ease;
    color:#444 !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.tracking-tag:hover{
    background:#ececec !important;
}

.tracking-tag.active{
    background:#ff6b00 !important;
    color:#fff !important;
    border-color:#ff6b00 !important;
    box-shadow:0 4px 10px rgba(255,107,0,.2);
}

/* =========================================================
   TIMELINE STATES
========================================================= */

.timeline-group{
    position:relative;
    padding-bottom:30px;
}



/* =========================================================
   COMPLETED
========================================================= */


/* .timeline-group.completed .timeline-dot{
    background:#ff6b00;
    border-color:#ff6b00;
    color:#fff;
}

.timeline-group.completed .timeline-dot i{
    color:#fff;
} */



/* =========================================================
   PENDING
========================================================= */

.timeline-group.pending::before{
    background:#d9d9d9;
}

.timeline-group.pending .timeline-dot{
    background:#f5f5f5;
    border-color:#d8d8d8;
}

.timeline-group.pending .timeline-dot i{
    color:#b5b5b5;
}

.timeline-group.pending .timeline-main-title{
    color:#a8a8a8;
}

.timeline-group.pending .timeline-content{
    opacity:.55;
}