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

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



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

==================================*/
.track-section{
}
.track-section{}
.track-section .wrap{
	width: 90%;
	margin: auto;
	padding: 70px 100px;
	z-index: 3;
	margin-top: -100px;
	position: relative;
	margin-bottom: 50px;
	background-color: #fff;
}
.track-section form{}
.track-section form h4{
	display: block;
	font-size: 1.8rem;
	font-weight: 600;
	color: #444;

}
.track-section form input{
	width: 100%;
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #444;
	height: 46px;
	border: 1px solid #06172F;
	padding: 0.55rem 15px;
	background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 100%)!important;
}
.track-section form button{
	display: block;
	width: 100%;
	padding: 8px 20px;
	font-size: 1.6rem;
	font-weight: 600;
	text-align: center;
	color: #fff;
	border-radius: 0px;
	background-color: #E31E24;
}
.track-section{}
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
    100% { transform: translateX(0); }
}

/* Apply shake */
.shake {
    animation: shake 0.3s;
}

/* Error border */
.input-error {
    border: 1px solid red !important;
}
@media (max-width: 991px) {
	.track-section .wrap{
		width: 100%;
		margin: auto;
		padding: 40px;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}
@media (max-width: 767px) {
	.track-section .wrap{
		width: 100%;
		margin: auto;
		padding: 40px;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}
@media (max-width: 480px) {
	.track-section .wrap{
		width: 100%;
		margin: auto;
		padding: 40px;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

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

==================================*/
.error-section{
	padding-top: 15px;
}
.error-section h2{
	font-size: 3rem;
	font-weight: 700;
	color: #E31E24;
}
.error-section h5{
	font-size: 2rem;
	font-weight: 500;
	color: #222;
}
.error-section p{
	font-size: 1.8rem;
	line-height: 1.5;
	color: #444;
	margin: 0px;
	padding: 0px;
}

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

==================================*/
.track-section .results-section{
	width: 90%;
	margin: auto;
	padding: 70px 100px;
	z-index: 3;
	padding-bottom: 20px;
	margin-top: -100px;
	position: relative;
	background-color: #fff;
	margin-bottom: 0px;
}


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

==================================*/
body{
    font-family:'Inter',sans-serif;
    background:#f4f7fb;
}



/* =========================
TRACKING SYSTEM
========================= */

.premium-tracking-system{
    max-width:1400px;
    margin:auto;
    padding:35px 20px;
}



/* =========================
TOPBAR
========================= */

.tracking-topbar{
    background:#fff;
    border-radius:18px;
    padding:22px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.topbar-left{
    display:flex;
    align-items:center;
    gap:18px;
}

.topbar-left img{
    width:75px;
}

.topbar-left h2{
    margin:0;
    color:#0d47a1;
    font-size:28px;
    font-weight:800;
}

.topbar-left span{
    color:#6b7280;
    font-size:14px;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:16px;
}

.tracking-number-box{
    background:#eef4ff;
    padding:12px 18px;
    border-radius:12px;
}

.tracking-number-box small{
    display:block;
    color:#6b7280;
    margin-bottom:4px;
}

.tracking-number-box strong{
    color:#0d47a1;
    font-size:18px;
}

.print-btn{
    background:linear-gradient(135deg,#0d47a1,#1565c0);
    color:#fff;
    border:none;
    padding:14px 24px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
}



/* =========================
HERO
========================= */

.tracking-hero{
    background:linear-gradient(135deg,#071c3c,#0d47a1,#1565c0);
    color:#fff;
    border-radius:22px;
    padding:40px;
    display:flex;
    justify-content:space-between;
    gap:30px;
    margin-bottom:25px;
}

.hero-left{
    flex:1;
}

.hero-left small{
    display:block;
    margin-bottom:12px;
    opacity:0.8;
    letter-spacing:1px;
}

.hero-left h1{
    margin:0 0 16px;
    font-size:42px;
    font-weight:800;
}

.hero-left p{
    line-height:1.9;
    font-size:15px;
    max-width:700px;
}

.hero-right{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.status-card{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    padding:20px;
    border-radius:16px;
    min-width:260px;
}

.active-card{
    border-left:5px solid #ff9800;
}

.status-card span{
    display:block;
    margin-bottom:8px;
    opacity:0.8;
    font-size:13px;
}

.status-card strong{
    font-size:18px;
}



/* =========================
METRICS
========================= */

.metrics-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:25px;
}

.metric-card{
    background:#fff;
    border-radius:18px;
    padding:24px;
    box-shadow:0 8px 25px rgba(0,0,0,0.04);
    border:1px solid #e7edf5;
}

.metric-card span{
    display:block;
    color:#6b7280;
    margin-bottom:10px;
    font-size:13px;
}

.metric-card strong{
    color:#0d47a1;
    font-size:22px;
}



/* =========================
PROGRESS
========================= */

.progress-wrapper{
    background:#fff;
    border-radius:20px;
    padding:35px;
    margin-bottom:25px;
    box-shadow:0 8px 25px rgba(0,0,0,0.04);
}

.progress-top{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
}

.progress-location{
    text-align:center;
}

.progress-location span{
    display:block;
    margin-bottom:8px;
    color:#6b7280;
    font-size:13px;
}

.progress-location strong{
    font-size:16px;
}

.completed strong{
    color:#1565c0;
}

.active strong{
    color:#ff9800;
}

.pending strong{
    color:#94a3b8;
}

.progress-line-wrap{
    position:relative;
    height:50px;
}

.line-bg{
    position:absolute;
    top:22px;
    width:100%;
    height:6px;
    background:#dbe6f5;
    border-radius:20px;
}

.line-active{
    position:absolute;
    top:22px;
    width:50%;
    height:6px;
    background:linear-gradient(90deg,#1565c0,#42a5f5);
    border-radius:20px;
}

.dot{
    position:absolute;
    top:11px;
    width:28px;
    height:28px;
    border-radius:50%;
    border:5px solid #fff;
}

.completed-dot{
    left:0;
    background:#1565c0;
}

.active-dot{
    left:50%;
    transform:translateX(-50%);
    background:#ff9800;
}

.pending-dot{
    right:0;
    background:#dbe6f5;
}

.progress-bottom{
    margin-top:10px;
    display:flex;
    justify-content:space-between;
}

.progress-bottom span{
    color:#6b7280;
}

.progress-bottom strong{
    color:#0d47a1;
}



/* =========================
MAP
========================= */

.tracking-map-box,
.timeline-box,
.details-box{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    margin-bottom:25px;
    border:1px solid #e5ebf5;
    box-shadow:0 8px 25px rgba(0,0,0,0.04);
}

.box-title{
    background:linear-gradient(135deg,#0d47a1,#1565c0);
    color:#fff;
    padding:16px 24px;
}

.box-title h3{
    margin:0;
    font-size:18px;
}

#shipmentMap{
    height:550px;
    width:100%;
}



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

.timeline-item{
    position:relative;
    padding:28px 28px 28px 80px;
    border-bottom:1px solid #eef2f7;
}

.timeline-item:last-child{
    border-bottom:none;
}

.timeline-dot{
    position:absolute;
    left:28px;
    top:35px;
    width:22px;
    height:22px;
    border-radius:50%;
}

.timeline-item.completed .timeline-dot{
    background:#1565c0;
}

.timeline-item.active .timeline-dot{
    background:#ff9800;
}

.timeline-item.pending .timeline-dot{
    background:#dbe6f5;
}

.timeline-item::before{
    content:"";
    position:absolute;
    left:38px;
    top:58px;
    width:3px;
    height:100%;
    background:#e5ebf5;
}

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

.timeline-content h4{
    margin:0 0 8px;
    color:#0d47a1;
}

.timeline-content p{
    margin:0 0 10px;
    line-height:1.7;
    color:#475569;
}

.timeline-content span{
    color:#94a3b8;
    font-size:13px;
}



/* =========================
TABLES
========================= */

.details-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.details-table{
    width:100%;
    border-collapse:collapse;
}

.details-table th,
.details-table td{
    border:1px solid #eef2f7;
    padding:14px 16px;
    text-align:left;
}

.details-table th{
    width:30%;
    background:#f8fbff;
    color:#0d47a1;
}

.remarks-box{
    padding:24px;
    line-height:1.8;
    color:#475569;
}



/* =========================
FOOTER
========================= */

.tracking-footer{
    text-align: center;
    color:#64748b;
    font-size: 1.7rem;
}



/* =========================
PULSE
========================= */

.pulse{
    animation:pulse-animation 1.8s infinite;
}

@keyframes pulse-animation{

    0%{
        box-shadow:0 0 0 0 rgba(255,152,0,0.7);
    }

    70%{
        box-shadow:0 0 0 15px rgba(255,152,0,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(255,152,0,0);
    }

}



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

@media(max-width:992px){

    .metrics-grid,
    .details-grid{
        grid-template-columns:1fr 1fr;
    }

    .tracking-hero{
        flex-direction:column;
    }

}

@media(max-width:768px){

    .tracking-topbar,
    .topbar-right,
    .progress-top,
    .tracking-footer{
        flex-direction:column;
    }

    .metrics-grid,
    .details-grid{
        grid-template-columns:1fr;
    }

    .hero-left h1{
        font-size:32px;
    }

}
/* =========================
HIDE PRINT AREA ON WEBSITE
========================= */

#printArea{
    display:none;
}



/* =========================
PRINT SETTINGS
========================= */

@media print {

    @page{
        size:A4;
        margin:8mm;
    }

    html,
    body{
        width:210mm;
        background:#fff !important;
        font-family:Arial,sans-serif;
        -webkit-print-color-adjust:exact !important;
        print-color-adjust:exact !important;
    }



    /* =========================
    HIDE WEBSITE
    ========================= */

    body > *{
        display:none !important;
    }



    /* =========================
    SHOW ONLY PRINT AREA
    ========================= */

    #printArea{
        display:block !important;
        width:100%;
        color:#1a1a1a;
    }



    /* =========================
    TOP BAR
    ========================= */

    .top-bar{
        height:10px;
        background:#0d47a1 !important;
        margin-bottom:20px;
    }



    /* =========================
    HEADER
    ========================= */

    .print-header{
        display:flex;
        justify-content:space-between;
        align-items:center;
        margin-bottom:20px;
    }

    .company-left{
        display:flex;
        align-items:center;
        gap:14px;
    }

    .company-left img{
        width:70px;
    }

    .company-text h1{
        margin:0;
        color:#0d47a1 !important;
        font-size:26px;
        font-weight:700;
    }

    .company-text span{
        color:#666;
        font-size:13px;
    }



    /* =========================
    TRACKING
    ========================= */

    .tracking-card{
        background:#edf4ff !important;
        border:1px solid #cfe0ff;
        padding:12px 18px;
    }

    .tracking-card small{
        display:block;
        margin-bottom:5px;
        color:#666;
    }

    .tracking-card strong{
        color:#0d47a1 !important;
        font-size:17px;
    }

    .status-badge{
        background:#0d47a1 !important;
        color:#fff !important;
        padding:7px 15px;
        display:inline-block;
        margin-top:8px;
        font-size:12px;
        font-weight:600;
    }



    /* =========================
    HERO SECTION
    ========================= */

    .hero-status{
        background:#f4f8ff !important;
        border-left:5px solid #06172F;
        padding:20px;
        margin-bottom:18px;
    }

    .hero-left h2{
        margin:8px 0;
        color:#0d47a1 !important;
        font-size:28px;
    }

    .hero-left p{
        margin:0;
        line-height:1.7;
        font-size:14px;
    }



    /* =========================
    BOXES
    ========================= */

    .premium-box{
        border:1px solid #dbe4f0;
        margin-bottom:16px;

        /* IMPORTANT FIX */
        page-break-inside:avoid;
        break-inside:avoid;
    }

    .box-header{
        background:#0d47a1 !important;
        color:#fff !important;
        padding:12px 18px;
    }

    .box-header h3{
        margin:0;
        font-size:15px;
        color: inherit!important;
    }



    /* =========================
    TABLE
    ========================= */

    .premium-table{
        width:100%;
        border-collapse:collapse;
    }

    .premium-table th,
    .premium-table td{
        border:1px solid #e7edf5;
        padding:10px 12px;
        font-size:13px;
        text-align:left;
        color: #444;
    }

    .premium-table th{
        background:#f4f8ff !important;
        color:#444!important;
        width:22%;
        font-weight:600;
    }

    .premium-table tr:nth-child(even) td{
        background:#fafcff !important;
    }



    /* =========================
    TWO COLUMN
    ========================= */

    .two-column{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:16px;
    }



    /* =========================
    REMARKS
    ========================= */

    .remarks-content,
    .update-remarks{
        padding:15px 18px;
        line-height:1.7;
        font-size:13px;
    }

    .update-remarks{
        border-top:1px solid #e7edf5;
    }

    .update-remarks strong{
        color:#0d47a1 !important;
    }



    /* =========================
    FOOTER
    ========================= */

    .print-footer{
        margin-top:20px;
        padding-top:12px;
        border-top:2px solid #dfe7f3;
        display:flex;
        justify-content:space-between;
        color:#666;
        font-size:12px;
    }

}
#printArea::before{
    content:"";
    position:fixed;
    top:35%;
    left:50%;
    transform:translate(-50%, -50%);
    width:300px;
    height:300px;
    background:url('../assets/images/logo-watermark.png') no-repeat center;
    background-size:contain;
    opacity:0.04;
    z-index:-1;
}


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

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





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

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



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

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