@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;
}

/** Estilos de barra de progreso **/

.rounded-circle {
    box-shadow: 0 2px 8px rgba(13,48,195,0.08);
}
.bg-pxblue {
    background: #FF6B00 !important;
}
.text-pxblue {
    color: #334cad !important;
    font-size: 1.1rem;
}
.text-pxred {
    color: #fc4044 !important;
}
.fw-medium {
    font-weight: 500;
    font-size: 1.15rem;
}
.status-line {
    position: absolute;
    top: 28px;
    left: 100px;
    right: 100px;
    height: 4px;
    background: #FF6B00;
    z-index: 0;
}
.status-step {
    position: relative;
    z-index: 1;
    width: 20%;
}
.status-label {
    font-size: 0.80rem;
    color: #FF6B00;
    margin-top: 2px;
    display: block;
    font-weight: 500;
}
.status-line-segment {
    height: 4px;
    flex: 1 1 0;
    background: #949494;
    margin-bottom: 38px;
    z-index: 0;
    border-radius: 2px;
    margin-left: -10px;
    margin-right: -10px;
}
.rastreo-status .rounded-circle {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
}
.rastreo-status .status-step:not(:last-child) {
    margin-right: 0;
}
.rastreo-status .status-step {
    margin-bottom: 0;
}

/** Línea de tiempo vertical **/

.timeline {
    position: relative;
    margin-left: 32px;
    padding-left: 16px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 17px;
    width: 4px;
    height: 100%;
    background: #FF6B00;
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
    min-height: 48px;
}
.timeline-dot {
    position: absolute;
    left: -8px;
    top: 0;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 4px solid #FF6B00;
    border-radius: 50%;
    z-index: 2;
}
.timeline-item.active .timeline-dot {
    background: #FF6B00;
    border-color: #FF6B00;
}
.timeline-content {
    margin-left: 32px;
    font-size: 0.98rem;
    color: #FF6B00;
}
.timeline-time {
    font-weight: 600;
    font-size: 0.98rem;
    display: block;
}
.timeline-date {
    color: #666;
    font-size: 0.95rem;
    display: block;
}
.timeline-title {
    font-weight: 500;
    color: #07326b;
    font-size: 1rem;
    display: block;
}
.timeline-location {
    color: #666;
    font-size: 0.95rem;
    display: block;
}
.firma-box {
    text-align: center;
}
@media (max-width: 900px) {
    .rastreo-container {
        padding: 16px 4px;
    }
    .timeline {
        margin-left: 12px;
        padding-left: 4px;
    }
}
.rastreo-input-box {
    position: relative;
    width: 100%;
}
.rastreo-input {
    border-radius: 30px;
    height: 56px;
    font-size: 1.15rem;
    padding-right: 56px;
}
.rastreo-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: #fc4044;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(13,48,195,0.08);
    transition: background 0.2s;
    cursor: pointer;
    z-index: 2;
}
.rastreo-btn:hover {
    background: #FF6B00;
}
.rastreo-btn svg {
    vertical-align: middle;
}
@media (max-width: 900px) {
    .rastreo-box {
        padding: 12px 2px;
        max-width: 100%;
    }
    .input-group {
        max-width: 98vw;
    }
}

/** 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);
 }
 
}

/** Estilos para detalles del paquete **/

.detalles-paquete {
    display: none !important;
}

/* Mostrar solo cuando tenga la clase 'visible' */
.detalles-paquete.visible {
    display: flex !important;
}
.detalles-paquete {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detalles-seccion {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.detalles-titulo {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 16px;
    border-bottom: 3px solid #FF6B00;
    font-size: 1rem;
    color: #002A6F;
}

.detalles-titulo svg {
    flex-shrink: 0;
}

.detalles-contenido {
    padding: 10px 12px;
    gap: 8px;
}

.detalles-fila {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    min-height: 36px;
}

.detalles-fila:last-child {
    border-bottom: none;
    padding-bottom: 6px;
}

.detalles-label {
    flex: 0 0 34%;     
    font-size: 0.78rem;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding-right: 10px;
}

.detalles-valor {
    font-size: 0.95rem;
    color: #002A6F;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
    font-family: FedExSans, sans-serif !important;
}

@media (max-width: 768px) {
    .detalles-fila {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .detalles-valor {
        text-align: left;
    }

    .detalles-paquete {
        gap: 16px;
    }

    .detalles-contenido {
        padding: 12px;
    }
}