/*
==========================================================
    SEAN B SHOP MARKETPLACE
    TRACK ORDER PAGE
    File: assets/css/pages/track-order.css
==========================================================
*/



/*==========================================================
    PAGE
==========================================================*/

.track-page{

    background:#f6f7fb;

    min-height:100vh;

    padding:135px 0 70px;

}





.track-page *{

    box-sizing:border-box;

}





/*==========================================================
    BREADCRUMB
==========================================================*/

.track-page .breadcrumb{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:25px;

    font-size:.9rem;

    flex-wrap:wrap;

}



.track-page .breadcrumb a{

    color:#0b1f3a;

    font-weight:600;

}



.track-page .breadcrumb span{

    color:#94a3b8;

}





/*==========================================================
    HERO
==========================================================*/

.track-hero{

    text-align:center;

    margin-bottom:35px;

}



.track-hero h1{

    font-size:2.2rem;

    font-weight:800;

    color:#0b1f3a;

    margin-bottom:12px;

}



.track-hero p{

    max-width:700px;

    margin:auto;

    color:#64748b;

    line-height:1.7;

}





/*==========================================================
    TRACK CARD
==========================================================*/

.track-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    border:1px solid #e5e7eb;

    box-shadow:0 8px 30px rgba(0,0,0,.06);

    margin-bottom:35px;

}





.track-form{

    display:grid;

    grid-template-columns:

        1fr

        1fr

        180px;

    gap:18px;

    align-items:end;

}





.form-group{

    display:flex;

    flex-direction:column;

}





.form-group label{

    margin-bottom:8px;

    font-weight:600;

    color:#334155;

    font-size:.9rem;

}





.form-group input{

    width:100%;

    height:48px;

    padding:0 15px;

    border:1px solid #d1d5db;

    border-radius:10px;

    outline:none;

    font-size:.95rem;

    transition:.3s;

}





.form-group input:focus{

    border-color:#0b1f3a;

    box-shadow:

    0 0 0 3px rgba(11,31,58,.12);

}





.track-btn{

    height:48px;

    border:none;

    border-radius:10px;

    background:#0b1f3a;

    color:#fff;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}





.track-btn:hover{

    background:#e60023;

}





/*==========================================================
    SUMMARY
==========================================================*/

.order-summary{

    background:#fff;

    border-radius:18px;

    padding:30px;

    border:1px solid #e5e7eb;

    box-shadow:0 8px 30px rgba(0,0,0,.05);

    margin-bottom:35px;

}





.order-summary h2{

    margin-bottom:25px;

    color:#0b1f3a;

}





.summary-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}





.summary-grid>div{

    background:#f8fafc;

    border-radius:12px;

    padding:20px;

}





.summary-grid strong{

    display:block;

    margin-bottom:10px;

    color:#64748b;

    font-size:.85rem;

}





.summary-grid p{

    margin:0;

    font-size:1rem;

    font-weight:700;

    color:#0b1f3a;

}





/*==========================================================
    TIMELINE
==========================================================*/

.tracking-timeline{

    background:#fff;

    border-radius:18px;

    padding:35px;

    border:1px solid #e5e7eb;

    box-shadow:0 8px 30px rgba(0,0,0,.05);

}





.tracking-timeline h2{

    margin-bottom:35px;

    color:#0b1f3a;

}





.timeline{

    display:flex;

    justify-content:space-between;

    position:relative;

}





.timeline::before{

    content:"";

    position:absolute;

    left:0;

    right:0;

    top:22px;

    height:4px;

    background:#e5e7eb;

    z-index:1;

}





.timeline-step{

    position:relative;

    z-index:2;

    text-align:center;

    flex:1;

}





.timeline-step span{

    width:46px;

    height:46px;

    margin:auto;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#cbd5e1;

    color:#fff;

    font-weight:700;

    font-size:1rem;

    margin-bottom:14px;

}





.timeline-step.active span{

    background:#10b981;

}





.timeline-step h3{

    font-size:.95rem;

    color:#334155;

    margin:0;

}





/*==========================================================
    EMPTY STATE
==========================================================*/

.empty-track{

    background:#fff;

    border-radius:18px;

    padding:60px 30px;

    text-align:center;

    border:1px solid #e5e7eb;

}





.empty-track img{

    width:170px;

    margin-bottom:25px;

}





.empty-track h2{

    color:#0b1f3a;

    margin-bottom:15px;

}





.empty-track p{

    color:#64748b;

}





/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:1100px){

.summary-grid{

grid-template-columns:repeat(2,1fr);

}

}





@media(max-width:900px){

.track-form{

grid-template-columns:1fr;

}

.track-btn{

width:100%;

}

.timeline{

flex-direction:column;

gap:30px;

}

.timeline::before{

display:none;

}

.timeline-step{

display:flex;

align-items:center;

gap:20px;

text-align:left;

}

.timeline-step span{

margin:0;

}

}





@media(max-width:600px){

.track-page{

padding:110px 0 50px;

}

.track-card,

.order-summary,

.tracking-timeline{

padding:20px;

border-radius:15px;

}

.summary-grid{

grid-template-columns:1fr;

}

.track-hero h1{

font-size:1.7rem;

}

.track-hero p{

font-size:.92rem;

}

.empty-track{

padding:40px 20px;

}

.empty-track img{

width:120px;

}

}