/*==========================

HEADER

==========================*/



.gst-page-header{



    margin:25px 0;



}



.gst-page-header h2{



    font-size:32px;



    color:#0b2d5c;



    margin:0;



    font-weight:700;



}



.gst-page-header p{



    color:#777;



    margin-top:8px;



    font-size:16px;



}



/* ==========================================

   GIANESHOP TRACKING V2

========================================== */



.gst-v2{



    max-width:1100px;

    margin:50px auto;

    padding:20px;



    font-family:Arial, Helvetica, sans-serif;



}



.gst-v2-hero{



    text-align:center;



    margin-bottom:40px;



}



.gst-v2-logo{



    font-size:70px;



    margin-bottom:15px;



}



.gst-v2-hero h1{



    font-size:42px;



    margin-bottom:10px;



    color:#0b5ed7;



}



.gst-v2-hero p{



    color:#777;



    font-size:18px;



}



/* ==========================================

BUSCADOR

========================================== */



.gst-v2-search{



    margin:40px 0;



}



.gst-v2-search form{



    display:flex;



    gap:15px;



}



.gst-v2-search input{



    flex:1;



    padding:18px;



    border-radius:12px;



    border:1px solid #ddd;



    font-size:18px;



}



.gst-v2-search button{



    padding:18px 35px;



    border:none;



    border-radius:12px;



    background:#0b5ed7;



    color:white;



    font-size:17px;



    cursor:pointer;



    transition:.3s;



}



.gst-v2-search button:hover{



    background:#084298;



}

/* ==========================================

CARD

========================================== */



.gst-v2-card{



    background:white;



    border-radius:20px;



    padding:35px;



    box-shadow:0 15px 40px rgba(0,0,0,.08);



}



.gst-v2-card-header{



    display:flex;



    align-items:center;



    gap:20px;



    margin-bottom:35px;



}



.gst-v2-icon{



    width:70px;



    height:70px;



    border-radius:50%;



    background:#eef5ff;



    display:flex;



    justify-content:center;



    align-items:center;



    font-size:35px;



}



.gst-v2-grid{



    display:grid;



    grid-template-columns:1fr 1fr;



    gap:25px;



}



.gst-v2-item{



    background:#f8f9fa;



    border-radius:15px;



    padding:20px;



}



.gst-v2-item label{



    display:block;



    color:#777;



    margin-bottom:10px;



}



.gst-v2-item strong{



    font-size:20px;



}



.gst-status-green{



    color:#198754;



}

.gst-v2-container{

    max-width:1100px;

    margin:40px auto;

    padding:20px;

}



.gst-search-card{

    background:#fff;

    border-radius:12px;

    padding:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}



.gst-search-row{

    display:flex;

    gap:15px;

    margin-top:20px;

}



.gst-search-row input{

    flex:1;

    padding:14px;

    font-size:16px;

    border:1px solid #ddd;

    border-radius:8px;

}



.gst-search-row button{

    padding:14px 30px;

    background:#0057ff;

    color:#fff;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:16px;

}



.gst-search-row button:hover{

    background:#003fc2;

}



.gst-error{

    margin-top:25px;

    padding:15px;

    background:#ffecec;

    border-left:4px solid #d60000;

    color:#b00000;

    border-radius:6px;

}

.gst-progress{



display:flex;



justify-content:space-between;



align-items:center;



margin:50px 0;



position:relative;



}

.gst-progress::before{
    content:none !important;
    display:none !important;
}

.gst-step{



flex:1;



position:relative;



display:flex;



flex-direction:column;



align-items:center;



text-align:center;



z-index:2;



}





.gst-circle{



position:relative;



z-index:3;



width:52px;



height:52px;



display:flex;



justify-content:center;



align-items:center;



font-size:24px;



border-radius:50%;



margin:auto;



background:#dcdcdc;



border:4px solid #fff;



box-shadow:0 0 8px rgba(0,0,0,.15);



transition:.3s;



}



.gst-label{



margin-top:12px;



font-size:14px;



font-weight:600;



width:100%;



}

.gst-step.completed .gst-circle{



background:#28a745;



color:#fff;



}



.gst-step.active .gst-circle{



background:#0d6efd;



color:#fff;



transform:scale(1.15);



}

.gst-step.pending .gst-circle{



background:#dcdcdc;



}

/* ===========================

   TARJETA MODERNA

=========================== */

.gst-card-modern{

    background:#ffffff;

    border-radius:22px;

    padding:40px;

    margin:35px 0;

    border:1px solid #edf1f7;

    box-shadow:
        0 15px 40px rgba(0,0,0,.05),
        0 5px 15px rgba(0,0,0,.03);

}

.gst-card-header-modern{



    display:flex;



    justify-content:space-between;



    align-items:center;



    margin-bottom:30px;



    border-bottom:1px solid #ececec;



    padding-bottom:20px;



}



.gst-label-small{



    color:#777;



    font-size:13px;



}

.gst-tracking-number{

    font-size:38px;

    font-weight:800;

    color:#16345f;

    letter-spacing:1px;

    margin-top:6px;

}


.gst-status-pill{

    display:inline-flex;
    align-items:center;
    gap:8px;

    background:linear-gradient(135deg,#00b46b,#00d47f);
    color:#fff;

    padding:12px 26px;

    border-radius:40px;

    font-size:14px;

    font-weight:700;

    letter-spacing:.5px;

    box-shadow:0 10px 25px rgba(0,180,107,.30);

}

.gst-card-grid-modern{



    display:grid;



    grid-template-columns:repeat(3,1fr);



    gap:18px;



}

.gst-box{

    background:#ffffff;
    border:1px solid #e8edf5;
    border-radius:14px;
    padding:22px;
    transition:all .30s ease;
    box-shadow:0 5px 15px rgba(0,0,0,.04);

}

.gst-box:hover{

    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.10);

}




.gst-box span{



    display:block;



    color:#777;



    margin-bottom:8px;



    font-size:13px;



}



.gst-box strong{



    font-size:18px;



    color:#16345f;



}



@media(max-width:768px){



.gst-card-grid-modern{



grid-template-columns:1fr;



}



.gst-card-header-modern{



flex-direction:column;



align-items:flex-start;



gap:20px;



}



.gst-tracking-number{



font-size:30px;



}



}

/*=========================
MAPA DEL RECORRIDO
==========================*/

.gst-map-card{

background:#fff;

margin:35px 0;

padding:35px;

border-radius:18px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.gst-map-card h2{

margin-bottom:35px;

font-size:28px;

color:#16345f;

}

.gst-route{

display:flex;

justify-content:space-between;

align-items:center;

}

.gst-country{

display:flex;

flex-direction:column;

align-items:center;

font-size:18px;

font-weight:bold;

}

.gst-country strong{

margin-top:12px;

}

.gst-line{

flex:1;

height:5px;

background:#d7d7d7;

margin:0 20px;

border-radius:20px;

}

.gst-plane{

font-size:40px;

animation:gstPlane 3s infinite linear;

}

@keyframes gstPlane{

0%{
transform:translateX(-10px);
}

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

100%{
transform:translateX(-10px);
}

}
/*==================================
INFORMACIÓN DEL ENVÍO
==================================*/

.gst-info-card{
    background:#fff;
    padding:35px;
    margin:40px 0;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.gst-info-card h2{
    color:#16345f;
    margin-bottom:25px;
}

.gst-info-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.gst-info-item{
    background:#f8f9fa;
    border:1px solid #e5e5e5;
    border-radius:14px;
    padding:20px;
}

.gst-info-item span{
    display:block;
    color:#777;
    margin-bottom:10px;
    font-size:14px;
}

.gst-info-item strong{
    font-size:22px;
    color:#16345f;
}

@media(max-width:768px){

.gst-info-grid{
    grid-template-columns:1fr;
}

}

/*==================================
HISTORIAL PROFESIONAL
==================================*/

.gst-history{
    margin-top:40px;
}

.gst-history-row{
    display:flex;
    gap:25px;
    position:relative;
    padding-bottom:40px;
}

.gst-history-row::before{
    content:"";
    position:absolute;
    left:20px;
    top:50px;
    width:3px;
    height:100%;
    background:#d9d9d9;
}

.gst-history-row:last-child::before{
    display:none;
}

.gst-history-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    flex-shrink:0;
}

.gst-history-content{
    background:#fff;
    padding:20px;
    border-radius:14px;
    width:100%;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.gst-history-content h3{
    margin:0;
    color:#16345f;
}

.gst-history-content strong{
    display:block;
    margin-top:8px;
}

.gst-history-content p{
    margin:10px 0;
    color:#666;
}

.gst-history-content span{
    color:#888;
    font-size:13px;
}
/*==================================================
TIMELINE PROFESIONAL
==================================================*/

.gst-history-card{

    background:#fff;

    border-radius:20px;

    padding:40px;

    margin-top:40px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.gst-history-card h2{

    font-size:42px;

    color:#16345f;

    margin-bottom:35px;

}

.gst-timeline{

    position:relative;

}

.gst-timeline::before{

    content:"";

    position:absolute;

    left:18px;

    top:0;

    bottom:0;

    width:4px;

    background:#d8e4f8;

}

.gst-timeline-item{

    position:relative;

    display:flex;

    margin-bottom:35px;

}

.gst-timeline-dot{

    width:18px;

    height:18px;

    background:#0d6efd;

    border-radius:50%;

    margin-right:25px;

    margin-top:8px;

    z-index:2;

    box-shadow:0 0 0 6px #eef5ff;

}

.gst-timeline-content{

    flex:1;

    background:#f8fbff;

    border-radius:14px;

    padding:22px;

    border-left:5px solid #0d6efd;

}

.gst-timeline-content h3{

    margin:0;

    color:#16345f;

    font-size:22px;

}

.gst-location{

    color:#0d6efd;

    font-weight:bold;

    margin:10px 0;

}

.gst-timeline-content p{

    color:#666;

    margin:10px 0;

}

.gst-timeline-content small{

    color:#888;

}
/*==================================================
BARRA DE PROGRESO INTELIGENTE
==================================================*/

.gst-step.completed .gst-label{
    color:#198754;
    font-weight:700;
}

.gst-step.active .gst-label{
    color:#0d6efd;
    font-weight:700;
}

.gst-step.pending .gst-label{
    color:#888;
}

.gst-circle{
    transition:all .35s ease;
}

.gst-step.active .gst-circle{

    animation:pulse 1.8s infinite;

}

@keyframes pulse{

0%{
    transform:scale(1);
}

50%{
    transform:scale(1.15);
}

100%{
    transform:scale(1);
}

}
/*==================================
DETALLES DEL ENVÍO
==================================*/

.gst-details-card{

    background:#fff;
    border-radius:22px;
    padding:35px;
    margin:40px 0;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.gst-details-card h2{

    font-size:48px;
    color:#16345f;
    margin-bottom:35px;
    font-weight:700;

}

.gst-details-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;

}

.gst-detail{

    background:#f8f9fc;
    border:1px solid #e7edf5;
    border-radius:16px;
    padding:22px;
    transition:.3s;

}

.gst-detail:hover{

    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(0,0,0,.08);

}

.gst-detail span{

    display:block;
    color:#7b8596;
    font-size:14px;
    margin-bottom:8px;

}

.gst-detail strong{

    font-size:24px;
    color:#16345f;
    font-weight:700;

}

@media(max-width:768px){

.gst-details-grid{

    grid-template-columns:1fr;

}

.gst-details-card h2{

    font-size:34px;

}

}
/*=================================
ACCIONES RÁPIDAS
=================================*/

.gst-actions-card{

    background:#fff;
    padding:35px;
    border-radius:22px;
    margin:40px 0;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.gst-actions-card h2{

    font-size:46px;
    color:#16345f;
    margin-bottom:35px;

}

.gst-actions-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

}

.gst-action-btn{

    background:#f8f9fc;
    border:1px solid #e6ecf5;
    border-radius:18px;
    padding:30px;
    text-decoration:none;
    color:#16345f;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:15px;
    font-size:40px;
    transition:.3s;

}

.gst-action-btn span{

    font-size:18px;
    font-weight:600;

}

.gst-action-btn:hover{

    transform:translateY(-6px);
    background:#0d6efd;
    color:#fff;
    box-shadow:0 15px 30px rgba(13,110,253,.25);

}

@media(max-width:768px){

.gst-actions-grid{

grid-template-columns:repeat(2,1fr);

}

}

/*==========================
QR CARD
==========================*/

.gst-qr-card{

background:#fff;

padding:35px;

margin:35px 0;

border-radius:20px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

text-align:center;

}

.gst-qr-card h2{

font-size:38px;

color:#183153;

margin-bottom:10px;

}

.gst-qr-card p{

color:#777;

margin-bottom:25px;

}

.gst-qr-card img{

width:220px;

border-radius:15px;

padding:15px;

background:#fff;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

/*==================================================
TIMELINE PROFESIONAL
==================================================*/

.gst-history-card{
    background:#fff;
    border-radius:20px;
    padding:40px;
    margin-top:40px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.gst-history-card h2{
    font-size:42px;
    color:#16345f;
    margin-bottom:35px;
}


/* CONTENEDOR */

.gst-timeline{
    position:relative !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}


/* QUITAR LÍNEA ANTIGUA */

.gst-timeline::before{
    display:none !important;
    content:none !important;
}


/* CADA EVENTO */

.gst-timeline-item{
    position:relative !important;

    display:block !important;

    width:100% !important;

    min-height:135px !important;

    margin:0 !important;

    padding:0 0 45px 0 !important;

    box-sizing:border-box !important;

    float:none !important;

    clear:both !important;
}


/* LÍNEA VERTICAL */

.gst-timeline-item::before{
    content:"" !important;

    position:absolute !important;

    left:27px !important;

    top:48px !important;

    bottom:0 !important;

    width:3px !important;

    background:#dbe4ef !important;

    border-radius:20px !important;

    display:block !important;

    z-index:1 !important;
}


/* NO MOSTRAR LÍNEA DESPUÉS DEL ÚLTIMO */

.gst-timeline-item:last-child::before{
    display:none !important;
}

/* ============================================================
   FLECHA ENTRE ESTADOS
   ============================================================ */

.gst-timeline-item::after{
    content:"" !important;

    position:absolute !important;

    left:20px !important;

    bottom:14px !important;

    width:14px !important;

    height:14px !important;

    border-right:3px solid #2563eb !important;

    border-bottom:3px solid #2563eb !important;

    transform:rotate(45deg) !important;

    z-index:4 !important;

    box-sizing:border-box !important;
}


/* EL ÚLTIMO ESTADO NO LLEVA FLECHA */

.gst-timeline-item:last-child::after{
    display:none !important;
}

/* ============================================================
   MARCADOR REAL DEL HISTORIAL
   ============================================================ */

.gst-timeline-item .gst-timeline-marker {
    position:absolute !important;
    left:0 !important;
    top:0 !important;

    width:56px !important;
    height:56px !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    z-index:20 !important;

    float:none !important;
    transform:none !important;
}


/* CÍRCULO DEL EVENTO */

.gst-timeline-item .gst-timeline-dot {
    position:relative !important;

    width:44px !important;
    height:44px !important;

    min-width:44px !important;
    min-height:44px !important;

    max-width:44px !important;
    max-height:44px !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    box-sizing:border-box !important;

    background:#ffffff !important;

    border:3px solid #2563eb !important;

    border-radius:50% !important;

    box-shadow:
        0 3px 10px rgba(0,0,0,.12) !important;

    color:#2563eb !important;

    font-size:18px !important;
    line-height:1 !important;

    z-index:21 !important;

    transform:none !important;
}


/* CONTENIDO DEL EVENTO */

.gst-timeline-item .gst-timeline-content {
    margin-left:72px !important;

    padding:0 !important;

    position:relative !important;

    z-index:5 !important;
}


/* LÍNEA */

.gst-timeline-item::before {
    content:"" !important;

    position:absolute !important;

    left:26px !important;

    top:52px !important;

    bottom:0 !important;

    width:3px !important;

    background:#d9e2ec !important;

    border-radius:10px !important;

    z-index:2 !important;
}


/* FLECHA */

.gst-timeline-item::after {
    content:"" !important;

    position:absolute !important;

    left:21px !important;

    bottom:10px !important;

    width:12px !important;

    height:12px !important;

    border-right:3px solid #2563eb !important;

    border-bottom:3px solid #2563eb !important;

    transform:rotate(45deg) !important;

    z-index:4 !important;
}


/* ÚLTIMO EVENTO */

.gst-timeline-item:last-child::before,
.gst-timeline-item:last-child::after {
    display:none !important;
}

/* CONTENIDO */

.gst-timeline-content{
    position:relative !important;

    display:block !important;

    width:auto !important;

    margin:0 0 0 78px !important;

    padding:2px 0 0 0 !important;

    box-sizing:border-box !important;

    background:transparent !important;

    border:none !important;

    border-left:none !important;

    border-radius:0 !important;

    box-shadow:none !important;

    z-index:5 !important;
}


/* TÍTULO */

.gst-timeline-content h3{
    margin:0 0 8px 0 !important;

    padding:0 !important;

    color:#16345f !important;

    font-size:22px !important;

    line-height:1.3 !important;

    font-weight:700 !important;
}


/* UBICACIÓN */

.gst-location{
    margin:4px 0 8px 0 !important;

    padding:0 !important;

    color:#2563eb !important;

    font-size:14px !important;

    font-weight:600 !important;

    line-height:1.4 !important;
}


/* FECHA */

.gst-timeline-date{
    display:inline-flex !important;

    align-items:center !important;

    margin:0 0 7px 0 !important;

    padding:4px 8px !important;

    background:#f3f6fa !important;

    border-radius:6px !important;

    color:#486581 !important;

    font-size:13px !important;

    line-height:1.4 !important;

    font-weight:500 !important;
}


/* DESCRIPCIÓN */

.gst-timeline-content p{
    margin:4px 0 0 0 !important;

    padding:0 !important;

    color:#627d98 !important;

    font-size:15px !important;

    line-height:1.55 !important;
}


/* EFECTO AL PASAR EL RATÓN */

.gst-timeline-item:hover .gst-timeline-dot{
    border-color:#0d6efd !important;

    box-shadow:
        0 5px 15px rgba(37,99,235,.20),
        0 0 0 5px #fff !important;

    transform:scale(1.05) !important;
}


/* MÓVIL */

@media(max-width:768px){

    .gst-history-card{
        padding:25px !important;
    }

    .gst-history-card h2{
        font-size:32px !important;
    }

    .gst-timeline-item{
        min-height:120px !important;

        padding-bottom:35px !important;
    }

    .gst-timeline-item::before{
        left:24px !important;

        top:43px !important;

        width:3px !important;
    }

    .gst-timeline-marker{
        width:52px !important;

        height:52px !important;
    }

    .gst-timeline-dot{
        width:38px !important;

        height:38px !important;

        min-width:38px !important;

        min-height:38px !important;

        max-width:38px !important;

        max-height:38px !important;

        font-size:16px !important;
    }

    .gst-timeline-content{
        margin-left:68px !important;
    }

    .gst-timeline-content h3{
        font-size:19px !important;
    }
}

/* ==========================================================================
   HISTORIAL DEL ENVÍO - DISEÑO PROFESIONAL V2
   ========================================================================== */

/* CONTENEDOR */
.gst-history-card{
    position:relative !important;
    background:#fff !important;
    border-radius:20px !important;
    padding:40px !important;
    margin-top:40px !important;
    box-shadow:0 15px 35px rgba(0,0,0,.08) !important;
    box-sizing:border-box !important;
}

.gst-history-card h2{
    margin:0 0 35px 0 !important;
    padding:0 !important;
    font-size:32px !important;
    line-height:1.3 !important;
    color:#16345f !important;
}


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

.gst-timeline{
    position:relative !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
}

/* ELIMINAR CUALQUIER LÍNEA ANTIGUA */
.gst-timeline::before{
    content:none !important;
    display:none !important;
}


/* ==========================================================================
   CADA EVENTO
   ========================================================================== */

.gst-timeline-item{
    position:relative !important;
    display:block !important;
    width:100% !important;
    min-height:125px !important;
    margin:0 !important;
    padding:0 0 45px 0 !important;
    box-sizing:border-box !important;
    border:none !important;
}


/* ==========================================================================
   LÍNEA VERTICAL
   ========================================================================== */

.gst-timeline-item:not(:last-child)::before{
    content:"" !important;
    position:absolute !important;

    /* CENTRO DEL CÍRCULO */
    left:20px !important;

    /* COMIENZA DEBAJO DEL CÍRCULO */
    top:40px !important;

    /* TERMINA ANTES DE LA FLECHA */
    bottom:28px !important;

    width:2px !important;

    background:#d9e2ec !important;
    border:none !important;
    border-radius:10px !important;

    display:block !important;
    z-index:1 !important;
}


/* ==========================================================================
   MARCADOR
   ========================================================================== */

.gst-timeline-marker{
    position:absolute !important;

    left:0 !important;
    top:0 !important;

    width:42px !important;
    height:42px !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    box-sizing:border-box !important;

    z-index:10 !important;
}


/* ==========================================================================
   CÍRCULO DEL ESTADO
   ========================================================================== */

.gst-timeline-dot{
    position:relative !important;

    width:40px !important;
    height:40px !important;

    min-width:40px !important;
    min-height:40px !important;
    max-width:40px !important;
    max-height:40px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 !important;

    box-sizing:border-box !important;

    background:#2563eb !important;
    color:#fff !important;

    border:3px solid #fff !important;
    border-radius:50% !important;

    box-shadow:
        0 2px 8px rgba(15,23,42,.18),
        0 0 0 1px #dbe3ef !important;

    font-size:17px !important;
    line-height:1 !important;

    z-index:11 !important;

    transform:none !important;
}


/* ==========================================================================
   CONTENIDO
   ========================================================================== */

.gst-timeline-content{
    position:relative !important;

    display:block !important;

    width:auto !important;

    margin:0 0 0 65px !important;
    padding:2px 0 0 0 !important;

    box-sizing:border-box !important;

    background:transparent !important;
    border:none !important;
    border-left:none !important;
    border-radius:0 !important;
    box-shadow:none !important;

    z-index:5 !important;
}


/* ==========================================================================
   PARTE SUPERIOR
   ========================================================================== */

.gst-timeline-top{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:15px !important;
    flex-wrap:wrap !important;
}


/* TÍTULO */

.gst-timeline-content h3,
.gst-timeline-top h3{
    margin:0 !important;
    padding:0 !important;

    color:#102a43 !important;

    font-size:21px !important;
    line-height:1.35 !important;
    font-weight:700 !important;
}


/* FECHA */

.gst-timeline-date{
    display:inline-flex !important;
    align-items:center !important;

    margin:0 !important;
    padding:4px 8px !important;

    background:#f3f6fa !important;
    border-radius:6px !important;

    color:#64748b !important;

    font-size:13px !important;
    line-height:1.4 !important;
    font-weight:500 !important;

    white-space:nowrap !important;
}


/* UBICACIÓN */

.gst-location{
    margin:7px 0 8px 0 !important;
    padding:0 !important;

    color:#2563eb !important;

    font-size:14px !important;
    line-height:1.5 !important;
    font-weight:600 !important;
}


/* DESCRIPCIÓN */

.gst-timeline-content p{
    margin:6px 0 0 0 !important;
    padding:0 !important;

    color:#627d98 !important;

    font-size:15px !important;
    line-height:1.55 !important;
}


/* ==========================================================================
   FLECHA ENTRE EVENTOS
   ========================================================================== */

.gst-timeline-item:not(:last-child) .gst-timeline-arrow{
    position:absolute !important;

    left:8px !important;
    bottom:5px !important;

    width:26px !important;
    height:26px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 !important;

    background:#fff !important;

    color:#2563eb !important;

    font-size:22px !important;
    font-weight:700 !important;
    line-height:1 !important;

    z-index:12 !important;
}


/* ÚLTIMO EVENTO: SIN FLECHA NI ESPACIO EXTRA */

.gst-timeline-item:last-child{
    min-height:0 !important;
    padding-bottom:0 !important;
}

.gst-timeline-item:last-child::before{
    display:none !important;
}

.gst-timeline-item:last-child .gst-timeline-arrow{
    display:none !important;
}


/* ==========================================================================
   HOVER
   ========================================================================== */

.gst-timeline-item:hover .gst-timeline-dot{
    border-color:#fff !important;

    box-shadow:
        0 4px 12px rgba(37,99,235,.22),
        0 0 0 2px #dbeafe !important;

    transform:scale(1.05) !important;
}


/* ==========================================================================
   CELULAR
   ========================================================================== */

@media (max-width:768px){

    .gst-history-card{
        padding:25px !important;
        border-radius:16px !important;
    }

    .gst-history-card h2{
        font-size:28px !important;
        margin-bottom:28px !important;
    }

    .gst-timeline-item{
        min-height:115px !important;
        padding-bottom:38px !important;
    }

    .gst-timeline-marker{
        width:36px !important;
        height:36px !important;
    }

    .gst-timeline-dot{
        width:34px !important;
        height:34px !important;

        min-width:34px !important;
        min-height:34px !important;
        max-width:34px !important;
        max-height:34px !important;

        font-size:14px !important;
    }

    .gst-timeline-item:not(:last-child)::before{
        left:17px !important;
        top:34px !important;
        bottom:25px !important;
        width:2px !important;
    }

    .gst-timeline-content{
        margin-left:55px !important;
    }

    .gst-timeline-content h3,
    .gst-timeline-top h3{
        font-size:18px !important;
    }

    .gst-timeline-date{
        font-size:12px !important;
    }

    .gst-location{
        font-size:13px !important;
    }

    .gst-timeline-content p{
        font-size:14px !important;
    }

    .gst-timeline-item:not(:last-child) .gst-timeline-arrow{
        left:4px !important;
        bottom:3px !important;
        width:26px !important;
        height:26px !important;
        font-size:20px !important;
    }
}

/* ==========================================================================
   HISTORIAL REAL - GST EVENT
   ========================================================================== */

.gst-timeline{
    position:relative !important;
    width:100% !important;
    margin:30px 0 0 0 !important;
    padding:0 !important;
}

/* ELIMINAR LÍNEAS ANTIGUAS */
.gst-timeline::before{
    display:none !important;
    content:none !important;
}


/* EVENTO */

.gst-timeline .gst-event{
    position:relative !important;

    display:block !important;

    width:100% !important;

    min-height:130px !important;

    margin:0 !important;

    padding:0 0 50px 0 !important;

    box-sizing:border-box !important;

    border:none !important;
}


/* LÍNEA VERTICAL */

.gst-timeline .gst-event:not(:last-child)::before{
    content:"" !important;

    position:absolute !important;

    left:19px !important;

    top:40px !important;

    bottom:25px !important;

    width:2px !important;

    background:#d9e2ec !important;

    border:none !important;

    display:block !important;

    z-index:1 !important;
}


/* CÍRCULO */

.gst-timeline .gst-event .gst-circle{
    position:absolute !important;

    left:0 !important;

    top:0 !important;

    width:40px !important;

    height:40px !important;

    min-width:40px !important;

    min-height:40px !important;

    max-width:40px !important;

    max-height:40px !important;

    margin:0 !important;

    padding:0 !important;

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

    box-sizing:border-box !important;

    border-radius:50% !important;

    background:#2563eb !important;

    color:#ffffff !important;

    border:3px solid #ffffff !important;

    box-shadow:
        0 2px 8px rgba(15,23,42,.18),
        0 0 0 1px #dbe3ef !important;

    font-size:16px !important;

    line-height:1 !important;

    z-index:5 !important;

    transform:none !important;
}


/* CONTENIDO */

.gst-timeline .gst-event .gst-content{
    position:relative !important;

    display:block !important;

    width:auto !important;

    margin:0 0 0 65px !important;

    padding:0 !important;

    box-sizing:border-box !important;

    background:transparent !important;

    border:none !important;

    border-left:none !important;

    box-shadow:none !important;

    z-index:3 !important;
}


/* TÍTULO */

.gst-timeline .gst-event .gst-content h4{
    margin:0 0 8px 0 !important;

    padding:0 !important;

    font-size:21px !important;

    line-height:1.35 !important;

    font-weight:700 !important;

    color:#102a43 !important;
}


/* FECHA / UBICACIÓN */

.gst-timeline .gst-event .gst-content small{
    display:block !important;

    margin:0 !important;

    padding:0 !important;

    font-size:14px !important;

    line-height:1.7 !important;

    color:#64748b !important;
}


/* DESCRIPCIÓN */

.gst-timeline .gst-event .gst-content p{
    margin:7px 0 0 0 !important;

    padding:0 !important;

    font-size:15px !important;

    line-height:1.55 !important;

    color:#334e68 !important;
}


/* FLECHA */

.gst-timeline .gst-event .gst-history-arrow{
    position:absolute !important;

    left:6px !important;

    bottom:3px !important;

    width:28px !important;

    height:28px !important;

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

    margin:0 !important;

    padding:0 !important;

    background:#ffffff !important;

    color:#2563eb !important;

    font-size:22px !important;

    font-weight:700 !important;

    line-height:1 !important;

    z-index:6 !important;
}


/* ÚLTIMO EVENTO */

.gst-timeline .gst-event:last-child{
    min-height:0 !important;

    padding-bottom:0 !important;
}

.gst-timeline .gst-event:last-child::before{
    display:none !important;
}

.gst-timeline .gst-event:last-child .gst-history-arrow{
    display:none !important;
}


/* EFECTO AL PASAR EL MOUSE */

.gst-timeline .gst-event:hover .gst-circle{
    transform:scale(1.05) !important;

    box-shadow:
        0 4px 12px rgba(37,99,235,.22),
        0 0 0 2px #dbeafe !important;
}


/* ==========================================================================
   CELULAR
   ========================================================================== */

@media (max-width:768px){

    .gst-timeline .gst-event{
        min-height:120px !important;

        padding-bottom:42px !important;
    }

    .gst-timeline .gst-event:not(:last-child)::before{
        left:17px !important;

        top:34px !important;

        bottom:22px !important;

        width:2px !important;
    }

    .gst-timeline .gst-event .gst-circle{
        width:36px !important;

        height:36px !important;

        min-width:36px !important;

        min-height:36px !important;

        max-width:36px !important;

        max-height:36px !important;

        font-size:14px !important;
    }

    .gst-timeline .gst-event .gst-content{
        margin-left:54px !important;
    }

    .gst-timeline .gst-event .gst-content h4{
        font-size:18px !important;
    }

    .gst-timeline .gst-event .gst-content small{
        font-size:13px !important;
    }

    .gst-timeline .gst-event .gst-content p{
        font-size:14px !important;
    }

    .gst-timeline .gst-event .gst-history-arrow{
        left:3px !important;

        bottom:2px !important;

        width:28px !important;

        height:28px !important;

        font-size:20px !important;
    }

}

/* ==========================================================================
   COLORES DEL HISTORIAL SEGÚN ESTADO
   ========================================================================== */

/* En almacén */
.gst-timeline .gst-circle.gst-circle-en-almacen{
    background:#9c27b0 !important;
}

/* Preparando */
.gst-timeline .gst-circle.gst-circle-preparando{
    background:#ff9800 !important;
}

/* En tránsito */
.gst-timeline .gst-circle.gst-circle-en-transito{
    background:#2196f3 !important;
}

/* Aduanas */
.gst-timeline .gst-circle.gst-circle-aduanas,
.gst-timeline .gst-circle.gst-circle-en-aduana{
    background:#795548 !important;
}

/* En reparto */
.gst-timeline .gst-circle.gst-circle-en-reparto{
    background:#ffc107 !important;
}

/* Entregado */
.gst-timeline .gst-circle.gst-circle-entregado{
    background:#4caf50 !important;
}

/* Cancelado */
.gst-timeline .gst-circle.gst-circle-cancelado{
    background:#f44336 !important;
}