/* ======================================
   PAYNAL EXPRESS - RASTREO V2
====================================== */

:root{

    --paynal-red:#d71920;
    --paynal-yellow:#f4b400;
    --paynal-dark:#2b2b2b;
    --paynal-gray:#6b7280;
    --paynal-light:#f5f7fa;
    --paynal-border:#e5e7eb;
    --paynal-green:#22c55e;

}

#resultado-rastreo{

    margin-top:35px;

}

.rastreo-card{

    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    border:1px solid var(--paynal-border);
    margin-bottom:30px;
    animation:fadeUp .4s ease;

}

.rastreo-titulo{

    display:flex;
    align-items:center;
    gap:12px;

    font-size:28px;
    font-weight:700;

    color:var(--paynal-dark);

    margin-bottom:30px;

}

.rastreo-titulo i{

    color:var(--paynal-red);

}

.info-grid{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.info-item{

    background:#fafafa;

    border-radius:12px;

    padding:18px;

    border:1px solid #ececec;

}

.info-label{

    font-size:13px;

    color:#8b8b8b;

    margin-bottom:8px;

    text-transform:uppercase;

    letter-spacing:1px;

}

.info-value{

    font-size:18px;

    font-weight:600;

    color:#222;

}

.estado-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 16px;

    border-radius:30px;

    font-weight:700;

    color:#fff;

}

.estado-entregado{

    background:#16a34a;

}

.estado-transito{

    background:#f59e0b;

}

.estado-cancelado{

    background:#dc2626;

}

.estado-proceso{

    background:#2563eb;

}

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

Barra de avance

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

.avance{

    margin-top:35px;

}

.avance-header{

    display:flex;

    justify-content:space-between;

    margin-bottom:12px;

    font-weight:600;

}

.avance-barra{

    width:100%;

    height:12px;

    background:#ececec;

    border-radius:30px;

    overflow:hidden;

}

.avance-progreso{

    height:12px;

    background:linear-gradient(90deg,var(--paynal-yellow),var(--paynal-red));

    border-radius:30px;

}

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

Historial

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

.timeline-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    border:1px solid var(--paynal-border);

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

}

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

Responsive

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

@media(max-width:768px){

.rastreo-card,
.timeline-card{

padding:20px;

}

.rastreo-titulo{

font-size:22px;

}

.info-value{

font-size:16px;

}

}

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

Animaciones

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

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(25px);

}

to{

opacity:1;

transform:translateY(0);

}

}

.paynal-search{
    max-width:900px;
    margin:40px auto;
}

.paynal-label{
    display:block;
    margin-bottom:12px;
    font-size:18px;
    font-weight:700;
    color:#222;
}

.paynal-search-box{
    display:flex;
    align-items:center;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 45px rgba(0,0,0,.15);
}

.paynal-search-box input{

    flex:1;
    border:none !important;
    background:#fff !important;
    box-shadow:none !important;
    outline:none !important;
    padding:18px 20px !important;
    margin:0 !important;
    font-size:16px;

}

.paynal-search-box button{

    background:#d71920 !important;
    color:#fff !important;
    border:none !important;
    padding:0 40px !important;
    min-width:170px;
    height:58px;
    font-size:17px;
    font-weight:700;
    transition:.25s;

}

.paynal-search-box button:hover{

    background:#b41218 !important;
    transform:translateY(-2px);

}

.paynal-search-box button i{

    margin-right:8px;

}

.paynal-help{

    display:block;
    margin-top:12px;
    font-size:14px;
    color:#555;
}

/*==================================================
=            RESULTADO DE RASTREO V2
==================================================*/

#resultado-rastreo{

    max-width:1100px;

    margin:45px auto;

}

/*==========================
  TARJETAS
==========================*/

.rastreo-card,
.timeline-card{

    background:#fff;

    border-radius:18px;

    padding:32px;

    margin-bottom:30px;

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

}

/*==========================
 TITULO
==========================*/

.rastreo-titulo{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:24px;

    font-weight:700;

    color:#222;

    margin-bottom:28px;

    padding-bottom:18px;

    border-bottom:1px solid #ececec;

}

.rastreo-titulo i{

    color:#2E7D32;

    font-size:24px;

}

/*==========================
 GRID INFORMACION
==========================*/

.info-grid{

    display:grid;

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

    gap:22px;

    margin-bottom:30px;

}

.info-item{

    background:#fafafa;

    border:1px solid #ececec;

    border-radius:12px;

    padding:18px;

}

.info-label{

    color:#888;

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:8px;

}

.info-value{

    font-size:18px;

    font-weight:700;

    color:#222;

}

/*==========================
 BADGES
==========================*/

.estado-badge{

    display:inline-flex;

    align-items:center;

    padding:8px 18px;

    border-radius:999px;

    font-size:14px;

    font-weight:700;

}

.estado-entregado{

    background:#dff7e7;

    color:#138f42;

}

.estado-transito{

    background:#fff4d9;

    color:#c47d00;

}

.estado-proceso{

    background:#e7eefb;

    color:#1d4ed8;

}

.estado-cancelado{

    background:#fde7e7;

    color:#c62828;

}

/*==========================
 AVANCE
==========================*/

.avance{

    margin-top:15px;

}

.avance-header{

    display:flex;

    justify-content:space-between;

    font-weight:700;

    margin-bottom:10px;

}

.avance-barra{

    width:100%;

    height:12px;

    background:#ececec;

    border-radius:50px;

    overflow:hidden;

}

.avance-progreso{

    height:100%;

background:#2E7D32;

    border-radius:50px;

    transition:width .6s ease;

}

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

.timeline{

    position:relative;

    margin-top:15px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:18px;

    top:0;

    bottom:0;

    width:3px;

    background:#e3e3e3;

}

.timeline-item{

    position:relative;

    display:flex;

    gap:24px;

    padding-bottom:34px;

}

.timeline-item:last-child{

    padding-bottom:0;

}

.timeline-icon{

    width:38px;

    height:38px;

    min-width:38px;

    border-radius:50%;

    background:#2E7D32;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:2;

    font-size:18px;

   box-shadow:0 6px 14px rgba(46,125,50,.25);

}

.timeline-content{

    flex:1;

    background:#fafafa;

    border-radius:14px;

    padding:18px 22px;

    border:1px solid #ededed;

}

.timeline-title{

    font-size:18px;

    font-weight:700;

    color:#222;

    margin-bottom:8px;

}

.timeline-date{

    color:#666;

    margin-bottom:8px;

}

.timeline-location{

    color:#999;

    font-size:15px;

}

.timeline-location i{

    color:#d71920;

    margin-right:5px;

}

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

@media(max-width:768px){

.info-grid{

    grid-template-columns:1fr;

}

.rastreo-card,
.timeline-card{

    padding:22px;

}

.timeline-item{

    gap:15px;

}

.timeline-content{

    padding:15px;

}

.rastreo-titulo{

    font-size:20px;

}

}