/*=========================================================
TRACKING PAGE
=========================================================*/

.tracking-page{

    padding:80px 0;

    background:#F8FAFC;

}

.tracking-header{

    max-width:760px;

    margin:0 auto 50px;

    text-align:center;

}

.tracking-header span{

    display:inline-block;

    padding:8px 18px;

    background:#E8F4FD;

    color:var(--primary);

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    margin-bottom:20px;

}

.tracking-header h1{

    font-size:46px;

    color:var(--primary);

    margin-bottom:15px;

}

.tracking-header p{

    color:#64748B;

    font-size:16px;

    line-height:1.9;

}


/*=========================================================
SEARCH CARD
=========================================================*/

.tracking-card{

    background:#fff;

    border-radius:22px;

    padding:35px;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    margin-bottom:30px;

}

.tracking-form{

    display:flex;

    gap:18px;

}

.tracking-input-box{

    flex:1;

    position:relative;

}

.tracking-input-box i{

    position:absolute;

    left:22px;

    top:50%;

    transform:translateY(-50%);

    color:var(--secondary);

    font-size:18px;

}

.tracking-input-box input{

    width:100%;

    height:62px;

    border:2px solid #E6ECF3;

    border-radius:50px;

    padding:0 20px 0 60px;

    font-size:16px;

    transition:.3s;

}

.tracking-input-box input:focus{

    border-color:var(--secondary);

    outline:none;

}

.tracking-form button{

    min-width:220px;

    border:none;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.35s;

}

.tracking-form button:hover{

    background:var(--secondary);

}


/*=========================================================
TRACK RESULT
=========================================================*/

.track-result-page{

    padding:70px 0;

    background:#F8FAFC;

}

.tracking-success{

    animation:fadeUp .6s ease;

}

.tracking-head{

    display:flex;

    align-items:center;

    gap:20px;

    background:#fff;

    padding:30px;

    border-radius:20px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    margin-bottom:30px;

}

.status-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    font-size:34px;

}

.tracking-head h2{

    margin-bottom:8px;

    color:var(--primary);

}

.tracking-head p{

    color:#64748B;

}

.tracking-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}


/*=========================================================
TRACK TABLE
=========================================================*/

.tracking-table{

    width:100%;

    border-collapse:collapse;

}

.tracking-table tr{

    border-bottom:1px solid #EEF2F7;

}

.tracking-table td{

    padding:15px 0;

    font-size:15px;

}

.tracking-table td:first-child{

    width:45%;

    font-weight:600;

    color:#334155;

}

.tracking-table td:last-child{

    color:#64748B;

}


/*=========================================================
PERSON INFO
=========================================================*/

.person-box{

    padding:16px 0;

    border-bottom:1px solid #EEF2F7;

}

.person-box:last-child{

    border-bottom:none;

}

.person-box p{

    margin-bottom:6px;

    font-weight:600;

    color:var(--primary);

}

.person-box span{

    color:#64748B;

    line-height:1.8;

}

.tracking-card hr{

    border:none;

    height:1px;

    background:#EEF2F7;

    margin:25px 0;

}


/*=========================================================
HELP SECTION
=========================================================*/

.tracking-help{

    padding:30px 0 80px;

}

.help-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.help-card{

    background:#fff;

    padding:35px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    transition:.35s;

}

.help-card:hover{

    transform:translateY(-8px);

}

.help-card i{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:20px;

    border-radius:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    font-size:30px;

}

.help-card h3{

    margin-bottom:12px;

    color:var(--primary);

}

.help-card p{

    color:#64748B;

    line-height:1.8;

}


/*=========================================================
HOW TO TRACK
=========================================================*/

.tracking-steps{

    padding:80px 0 100px;

}

.steps-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.step-card{

    background:#fff;

    border-radius:20px;

    text-align:center;

    padding:40px 30px;

    position:relative;

    box-shadow:0 15px 35px rgba(0,0,0,.06);

    transition:.35s;

}

.step-card:hover{

    transform:translateY(-10px);

}

.step-number{

    position:absolute;

    top:18px;

    right:20px;

    font-size:46px;

    font-weight:800;

    color:rgba(12,140,233,.08);

}

.step-card i{

    width:75px;

    height:75px;

    margin:auto;

    margin-bottom:20px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    font-size:28px;

}

.step-card h4{

    color:var(--primary);

    margin-bottom:10px;

}

.step-card p{

    color:#64748B;

    line-height:1.8;

}

/*=========================================================
STATUS TIMELINE
=========================================================*/

.status-progress{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:20px;

    margin:45px 0;

    position:relative;

}

.status-progress::before{

    content:"";

    position:absolute;

    top:28px;

    left:8%;

    width:84%;

    height:4px;

    background:#E5EAF1;

    z-index:0;

}

.step{

    position:relative;

    flex:1;

    text-align:center;

    z-index:2;

}

.step .circle{

    width:58px;

    height:58px;

    margin:auto;

    border-radius:50%;

    background:#DCE4EC;

    color:#64748B;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    font-size:18px;

    transition:.35s;

}

.step.done .circle{

    background:#16A34A;

    color:#fff;

}

.step.active .circle{

    background:var(--secondary);

    color:#fff;

    box-shadow:0 0 0 8px rgba(12,140,233,.15);

}

.step h5{

    margin-top:15px;

    font-size:15px;

    color:#334155;

}


/*=========================================================
SHIPMENT HISTORY
=========================================================*/

.history-table{

    width:100%;

    border-collapse:collapse;

}

.history-table thead{

    background:#F7FAFD;

}

.history-table th{

    padding:16px;

    text-align:left;

    color:var(--primary);

    font-size:15px;

}

.history-table td{

    padding:16px;

    border-top:1px solid #EEF2F7;

    color:#64748B;

    font-size:14px;

}

.history-table tr:hover{

    background:#FAFCFE;

}


/*=========================================================
NO HISTORY
=========================================================*/

.no-history{

    text-align:center;

    padding:50px 20px;

}

.no-history i{

    font-size:55px;

    color:#CBD5E1;

    margin-bottom:18px;

}

.no-history h4{

    color:var(--primary);

    margin-bottom:10px;

}

.no-history p{

    color:#64748B;

}


/*=========================================================
TRACKING NOT FOUND
=========================================================*/

.tracking-not-found{

    max-width:650px;

    margin:80px auto;

    background:#fff;

    padding:60px 40px;

    border-radius:24px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.tracking-not-found i{

    font-size:80px;

    color:#EF4444;

    margin-bottom:25px;

}

.tracking-not-found h2{

    color:var(--primary);

    margin-bottom:15px;

}

.tracking-not-found p{

    color:#64748B;

    line-height:1.9;

    margin-bottom:30px;

}

.tracking-not-found .btn{

    min-width:230px;

}


/*=========================================================
STATUS BADGES
=========================================================*/

.status-badge{

    display:inline-flex;

    align-items:center;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

}

.status-pending{

    background:#FEF3C7;

    color:#B45309;

}

.status-booked{

    background:#DBEAFE;

    color:#1D4ED8;

}

.status-transit{

    background:#E0F2FE;

    color:#0369A1;

}

.status-delivered{

    background:#DCFCE7;

    color:#15803D;

}

.status-cancelled{

    background:#FEE2E2;

    color:#B91C1C;

}


/*=========================================================
FADE ANIMATION
=========================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*=========================================================
RESPONSIVE 992
=========================================================*/

@media(max-width:992px){

.tracking-grid{

grid-template-columns:1fr;

}

.help-grid{

grid-template-columns:1fr;

}

.steps-grid{

grid-template-columns:1fr;

}

.status-progress{

flex-wrap:wrap;

}

.status-progress::before{

display:none;

}

.step{

width:48%;

margin-bottom:25px;

}

}


/*=========================================================
RESPONSIVE 768
=========================================================*/

@media(max-width:768px){

.tracking-page{

padding:50px 0;

}

.tracking-header h1{

font-size:34px;

}

.tracking-form{

flex-direction:column;

}

.tracking-form button{

width:100%;

height:58px;

}

.tracking-card{

padding:25px;

}

.tracking-head{

flex-direction:column;

text-align:center;

}

.status-progress{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.step{

width:100%;

}

.history-table{

display:block;

overflow-x:auto;

white-space:nowrap;

}

.tracking-not-found{

padding:35px 20px;

margin:40px auto;

}

.tracking-not-found i{

font-size:60px;

}

}


/*=========================================================
RESPONSIVE 480
=========================================================*/

@media(max-width:480px){

.tracking-header h1{

font-size:28px;

}

.status-progress{

grid-template-columns:1fr;

}

.step .circle{

width:52px;

height:52px;

font-size:16px;

}

.help-card,

.step-card{

padding:25px;

}

.tracking-card{

padding:20px;

}

.history-table th,

.history-table td{

padding:12px;

font-size:13px;

}

}

.tracking-card,
.help-card,
.step-card{

    opacity:0;

    transform:translateY(30px);

    transition:.5s;

}

.tracking-card.show,
.help-card.show,
.step-card.show{

    opacity:1;

    transform:translateY(0);

}

@media print{

.topbar,
.navbar,
.footer,
.print-hide{

display:none!important;

}

body{

background:#fff;

}

.track-result-page{

padding:0;

}

.tracking-card{

box-shadow:none;

border:1px solid #ddd;

}

}