.tracking-menu-wrapper {
    background-color: #2A52F3;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    z-index: 500;
}


.details-section {
    position: sticky;
    --brand-blue: #000981;
    /*background-color: #fff;*/
    padding: 1.5rem;
    z-index: 11;
}



.tracking-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
}

.tracking-input {
    flex-grow: 1;
    border: none;
    padding-left: 5px !important;
    padding-right: 5px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    width: 508px;
    height: 100%;
    font-size: 1.3rem !important;
    color: #000981;
    font-family: "NexaBold", sans-serif;
    text-align: center;
    justify-content: center;
    outline: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 10px;
}


.tracking-box {
    margin-top: 2rem;
    border: 1px solid #000981;
    border-radius: 12px;
    background-color: white;
}

.tracking-input::placeholder {
    color: #000098130;
}

.input_buscar_tracking {
    padding: 5px !important;
}


.demo-container {
    padding: 4rem;
}


.track-button {
    background-color: #000981;
    color: white;
    border: none;
    padding: 9px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: "NexaBold", sans-serif;
    margin-left: -10px;
    transition: background-color 0.3s ease;
}

.track-button:hover {
    background-color: #000981;
}

/* Ruta UIO >> GYE */
.route-display {
    border: 1px solid #000981;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    font-size: 3rem;
    margin: 1.5rem auto;
    display: inline-block;
    color: #000981;
    font-family: "NexaBlack", sans-serif;
}

.status-banner {
    background-color: #000981;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    padding: 1.1rem 1rem 0.8rem 1rem;
    margin-top: 1rem;
    font-size: 1.5rem;
    font-family: "NexaBlack", sans-serif;
}

.status-banner-texto {
    background-color: var(--brand-dark-blue);
    color: white;
    font-weight: 300;
    font-family: "NexaBook", sans-serif;
}

.buttonrastreo {
    font-size: 18px;
    font-family: "NexaBook", sans-serif;
    padding: 5px 5px;
    border-radius: 50%;
    font-weight: 400;
    border: 0;
    position: relative;
    xz-index: 1;
    transition: 0.2s ease;
    background-color: #FFF;
}

.button-ratreo {
    background-color: #000981;
    color: white;
    border: none;
    padding: 9px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: "NexaBold", sans-serif;
    margin-left: -7px;
    transition: background-color 0.3s ease;
}

.button-ratreo:active {
    background-color: #000981 !important;
    color: white;
}

.button-ratreo:hover {
    background-color: #000981 !important;
    color: white;
}

.button-ratreo:focus-visible {
    background-color: #000981 !important;
    color: white;
}

/* =========================
   ESTILO BARRA DE PROGRESO
   ========================= */
.status-icons {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* distribuye columnas */
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Línea de progreso */
.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background-color: #2A52F3;
    width: 0%;
    /* inicia vacía */
    z-index: 1;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}


.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    /* 👈 mantiene el ícono centrado */
    border-radius: 50%;
    background-color: #e6e6e6;
    /* gris por defecto */
    color: var(--icon-color, #444);
    font-size: 1.75rem;
    position: relative;
    /* necesario para z-index */
    z-index: 2;
    /* íconos siempre encima de la línea */
}




.status-icon img {
    /*width: 40px;*/
    height: 45px;
}

/* Estado activo (azul) */
.status-icon.activo {
    background-color: #2A52F3;
    color: white;
}

/* Estado alternativo (rojo) */
.status-icon.is-active {
    background-color: #d5303e;
    color: white;
}

/* =========================
	   AJUSTES PARA SECCIÓN RASTREO
	   ========================= */
.status-icons {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 50px;
    height: 15px;
    width: 0%;
    background: #2A52F3;
    z-index: 1;
}

.info-box {
    border: 1px solid var(--brand-blue);
    height: 100%;
    /* Asegura que todas las cajas en una fila tengan la misma altura */
    border-radius: 20px !important;
    font-family: "NexaXBold", sans-serif;
    background-color: white;
}

.info-box1 {
    border: 1px solid var(--brand-blue);
    height: 100vh;
    /* Asegura que todas las cajas en una fila tengan la misma altura */
    border-radius: 20px !important;
    background-color: white;
}

/* Estilo para los títulos dentro de las cajas */
.info-box .box-title {
    font-family: "NexaXBlack", sans-serif;
    color: #000981;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Estilo para la lista de registro */
.info-box .registro-list {
    list-style-type: none;
    font-weight: 700;
    color: #000981;
    font-family: "NexaXBold", sans-serif;
    margin: 0;
    padding: 0;
}

.info-box .registro-list li {
    padding-bottom: 0.75rem;
    font-size: 0.9rem;
}

.info-box .registro-list strong {
    font-family: "NexaXBold", sans-serif;
    font-weight: 400;
    color: #000981;
}

/* Estilo para los párrafos de contenido en Origen/Destino */
.info-box .content-item {
    font-size: 0.9rem;
    font-family: "NexaBlack", sans-serif;
    font-weight: bold;
    color: #000981;
    margin-bottom: 1rem;
}

/* Estilo para el rótulo (ej: "Dirección", "E-mail") */
.info-box .content-item .item-label {
    display: block;
    color: #7a7a7a;
    font-size: 0.85rem;
}

.info-box .content-item strong {
    font-weight: 700;
    font-family: "NexaBook", sans-serif;
    font-size: 18px;
    color: #000981;
}

.info-box .content-item span {
    font-weight: 300;
    font-size: 18px;
    font-family: "NexaBook", sans-serif;
    color: #000981;
}

.popup-container {
  position: relative;
  display: inline-block; /* Asegura que el contenedor solo ocupe el espacio del botón */
}

/* El texto del popup - oculto por defecto */
.popup-container .popup-text {
  visibility: hidden;
  opacity: 0;
  width: 450px;
  background-color: #000981; /* Color oscuro como el de Bulma */
  color: #fff;
  font-size: 16px;
  font-family: "NexaBook", sans-serif;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  xz-index: 1;
  bottom: 125%; /* Posiciónalo arriba del botón */
  left: 50%;
  transform: translateX(-50%); /* Truco para centrarlo perfectamente */
  transition: opacity 0.3s;
}

/* Una flechita para el popup */
.popup-container .popup-text::after {
  content: "";
  position: absolute;
  top: 100%; /* En la parte de abajo del popup */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #363636 transparent transparent transparent;
}

/* Muestra el popup cuando pasas el mouse sobre el contenedor */
.popup-container:hover .popup-text {
  visibility: visible;
  opacity: 1;
}

.button .icon:first-child:not(:last-child) {
    margin-inline-end: 0px !important;
    margin-inline-start: 0px !important;
    color: #000981;
    font-family: "NexaBook", sans-serif;
}



@media screen and (min-width: 1024px) {
    .container {
        max-width: 860px;
    }
}

@media screen and (max-width: 768px) {

    .demo-container {
        padding: 0.5rem !important;

    }

    .status-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .rastreob {
        border-radius: 30px;
        padding: 1rem 1.5rem 0.2rem 1.5rem;
    }

    .rastreob-titulo {
    color: #000981;
    margin-top: 10px;
    }

    .status-icon img {
    /* width: 40px; */
    height: 25px;
    }

    .tracking-menu-wrapper {
    background-color: #000981;
    display: flex;
    margin-left: 0rem;
    margin-right: 0rem;
    justify-content: flex-start;
    padding: 5px 0 5px 0;
    bottom: 0px;
    border-radius: 15px;
    align-items: center;
    flex-direction: column;
}

.input_buscar_tracking {
    padding: 7px 5px 2px 5px !important;
}

.tracking-input {
    flex-grow: 1;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 330px;
    font-size: 1.3rem;
    color: #000981;
    font-family: "NexaBold", sans-serif;
    text-align: center;
    justify-content: center;
    outline: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.button-ratreo {
    background-color: #000981;
    color: white;
    display: flex;
    border: none;
    padding: 0px 0px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: "NexaBold", sans-serif;
    margin-top: 10px;
    margin-bottom: 0px;
    transition: background-color 0.3s ease;
}

.button-ratreo-movil {
    background-color: #000981;
    color: white;
    display: flex;
    border: none;
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: "NexaBold", sans-serif;
    margin-top: 15px;
    margin-bottom: 0px;
    transition: background-color 0.3s ease;
}

    .column {
       
        align-items: normal !important;
        padding: 0.4rem;
        text-align: -webkit-center;
        font-size: 0.6rem;
        align-items: anchor-center;
    
    }

    .route-display {
    border: 1px solid #000981;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    margin: auto;
    display: inline-block;
    color: #000981;
    font-family: "NexaBlack", sans-serif;
}


.status-banner {
    background-color: #000981;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    padding: 1.1rem 1rem 0.8rem 1rem;
    margin-top: 1rem;
    font-size: 1rem;
    font-family: "NexaBlack", sans-serif;
} 

.status-icons {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.tracking-box {
    
    margin: 10px;
}



}


@media screen and (max-width: 440px) {


.tracking-input {
    
    width: 390px;
    
}

}



@media screen and (max-width: 430px) {


.tracking-input {
    
    width: 380px;
    
}

}

@media screen and (max-width: 420px) {


.tracking-input {
    
    width: 370px;
    
}

}

@media screen and (max-width: 414px) {


.tracking-input {
    
    width: 360px;
    
}

}

@media screen and (max-width: 400px) {


.tracking-input {
    
    width: 350px;
    
}

}

@media screen and (max-width: 390px) {


.tracking-input {
    
    width: 340px;
    
}

}


@media screen and (max-width: 375px) {


.tracking-input {
    
    width: 330px;
    
}

}

@media screen and (max-width: 360px) {


.tracking-input {
    
    width: 315px;
}

}
