/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    line-height:1.6;
    background:#f4f7fa;
    color:#333;
}
/* TOP CONTACT BAR */
.top-bar a, .footer a{ color: inherit; text-decoration: none; transition: color .3s ease; } .top-bar a:hover, .footer a:hover{ color: #c9a84c; }
.top-bar{
    background:#082b47;
    color:white;
    padding:10px 0;
    font-size:14px;
}

.top-bar-content{
    width:90%;
    max-width:1200px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

@media(max-width:768px){

    .top-bar-content{
        flex-direction:column;
        gap:5px;
        text-align:center;
    }

}
/* HEADER */

header{
    background:#ffffff;
    color:rgb(81, 81, 81);
    padding:20px 0;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.logo-area{
    display:flex;
    align-items:center;
    gap:12px;
    padding-top: 10px;
}

.logo-area img{
    height:60px;
    width:auto;
}

.logo-area h1{
    font-size:1.3rem;
    color:white;
}
nav ul{
    display:flex;
    align-items:center;
    gap:25px;
    list-style:none;
}

nav ul li a{
    color:gray;
    text-decoration:none;
    font-weight:600;
    padding:10px 15px;
    border-radius:5px;
    transition:0.3s;
}

nav ul li a:hover{
    color:white;
}

.logo img{
    height:40px;
}

/* HERO SECTION */

.hero{
    animation:heroZoom 15s ease-in-out infinite alternate;
}


@keyframes heroZoom{

    from{
        background-size:100%;
    }

    to{
        background-size:110%;
    }

}
.hero-content{
    animation:floatHero 4s ease-in-out infinite;
}

@keyframes floatHero{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}
@media(max-width:768px){

    .hero{
        animation:none;
        background-size:cover;
        background-position:center center;
    }
    .hero-features{
        gap:10px;
    }

    .hero-features span{
        width:100%;
        text-align:center;
    }
}
@media(max-width:768px){

    .hero{
        min-height:75vh;
        padding:80px 20px;
    }

    .hero-content{
        width:100%;
    }

    .hero-content h2{
        font-size:2.2rem;
        line-height:1.2;
    }

    .hero-content p{
        font-size:1rem;
        margin-top:15px;
    }

}
@media(max-width:768px){

    .hero-tracking{
        flex-direction:column;
        width:100%;
    }

    .hero-tracking input{
        width:100%;
        max-width:100%;
    }

    .hero-tracking button{
        width:100%;
    }


} 

.hero{
    min-height:90vh;

    background:
    linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.65)
    ),
    url('../images/hero.jpg');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    padding:100px 20px;
}

.hero-features{
    margin:25px 0;

    display:flex;
    justify-content:center;
    gap:25px;

    flex-wrap:wrap;
}

.hero-features span{
    background:rgba(255,255,255,0.15);

    padding:10px 15px;

    border-radius:30px;

}

.hero-content h2{
    font-size:4rem;
    margin-bottom:20px;
    line-height:1.2;
}

.hero-content p{
    font-size:1.2rem;
    max-width:700px;
    margin:auto;
}

.btn{
    display:inline-block;
    background:#f39c12;
    color:white;
    text-decoration:none;
    padding:15px 30px;
    border-radius:5px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#e67e22;
    transform:translateY(-3px);
}
/* HERO TRACKING */

.hero-tracking{
    margin-top:30px;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;

    gap:10px;
}

.hero-tracking input{
    width:350px;
    max-width:90%;

    padding:15px;

    border:none;
    border-radius:5px;
}

.hero-tracking button{
    padding:15px 25px;

    background:#f39c12;
    color:white;

    border:none;
    border-radius:5px;

    cursor:pointer;
    font-weight:bold;
}

.hero-tracking button:hover{
    background:#e67e22;
}

/* SERVICES */

.services-preview{
    padding:80px 10%;
    text-align:center;
}

.services-preview h2{
    margin-bottom:50px;
    color:#0a3d62;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,.1);
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.card h3{
    color:#0a3d62;
    margin-bottom:15px;
}
/* COMPANY STATS */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;

    padding:80px 10%;

    background:#0a3d62;
    color:white;
    text-align:center;
}

.stat-box h2{
    font-size:42px;
    color:#f39c12;
}

.stat-box p{
    margin-top:10px;
}
/* HOW IT WORKS */

.how-it-works{
    padding:80px 10%;
    text-align:center;
    background:white;
}

.how-it-works h2{
    margin-bottom:50px;
    color:#0a3d62;
}

.steps{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
}

.step{
    background:#f4f7fa;
    padding:30px;
    border-radius:10px;
}

.step h3{
    width:60px;
    height:60px;

    margin:auto auto 15px;

    background:#f39c12;
    color:white;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:24px;
}
/* TESTIMONIALS */

.testimonials{
    padding:80px 10%;
    text-align:center;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:40px;
}

.testimonial{
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 3px 15px rgba(0,0,0,.1);
}

.testimonial h4{
    color:#f39c12;
    margin:15px 0;
}
/* WHY US */

.why-us{
    background:white;
    padding:80px 10%;
    text-align:center;
}

.why-us h2{
    color:#0a3d62;
    margin-bottom:30px;
}

.why-us ul{
    list-style:none;
}

.why-us li{
    padding:10px;
    font-size:18px;
}

/* PAGE CONTENT */

.page-content{
    max-width:1100px;
    margin:auto;
    padding:80px 20px;
}

.page-content h2{
    color:#0a3d62;
    margin-bottom:15px;
}

.page-content p{
    margin-bottom:30px;
}

/* SERVICE BOXES */

.service-box{
    background:white;
    margin-bottom:25px;
    padding:30px;
    border-radius:10px;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.service-box h2{
    color:#0a3d62;
}

/* FAQ */

.faq{
    padding:80px 10%;
    background:#fff;
}

.faq h2{
    text-align:center;
    color:#0a3d62;
    margin-bottom:40px;
}

.faq-item{
    margin-bottom:15px;
}

.faq-question{
    width:100%;

    background:#0a3d62;

    color:white;

    border:none;

    padding:18px;

    text-align:left;

    cursor:pointer;

    font-size:16px;
}

/* CTA */

.cta{
    background:#0a3d62;

    color:white;

    text-align:center;

    padding:80px 20px;
}

.cta h2{
    margin-bottom:15px;
}

.cta p{
    margin-bottom:25px;
}
/* PREMIUM FOOTER */

.footer{
    background:#082b47;
    color:white;
    margin-top:60px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    padding:60px 10%;
}

.footer-section h3{
    margin-bottom:20px;
    color:#f39c12;
}

.footer-section p,
.footer-section li{
    margin-bottom:10px;
    line-height:1.6;
}

.footer-section ul{
    list-style:none;
}

.footer-section a{
    color:white;
    text-decoration:none;
}

.footer-section a:hover{
    color:#f39c12;
}

.footer-bottom{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,.1);
}
/* BACK TO TOP */

#topBtn{
    position:fixed;

    right:20px;
    bottom:95px;

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    background:#101010;

    color:white;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:9998;
}
/* TRACKING PAGE */

.tracking-section{
    padding:80px 20px;
    text-align:center;
}

.tracking-section form{
    margin-top:25px;
}

.tracking-section input{
    width:350px;
    max-width:90%;
    padding:15px;
    border:1px solid #ccc;
    border-radius:5px;
}

.tracking-section button{
    padding:15px 25px;
    border:none;
    background:#f39c12;
    color:white;
    border-radius:5px;
    cursor:pointer;
    margin-left:10px;
}

.tracking-section button:hover{
    background:#e67e22;
}

.tracking-result{
    background:white;
    max-width:700px;
    margin:40px auto;
    padding:30px;
    border-radius:10px;
    box-shadow:0 3px 15px rgba(0,0,0,.1);
}
.tracking-result h3{
    color:#0a3d62;
    margin-bottom:15px;
}

.tracking-result p{
    margin:10px 0;
    font-size:17px;
}

#qrcode{

    display:flex;

    justify-content:center;

    align-items:center;

    margin:30px auto;

}
/* SHIPMENT DETAILS */

.shipment-details{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;

    margin-top:30px;
    margin-bottom:40px;
}

.detail-box{
    background:#f8f9fa;

    padding:20px;

    border-radius:10px;

    border-left:5px solid #f39c12;

    text-align:left;
}

.detail-box strong{
    display:block;

    color:#0a3d62;

    margin-bottom:8px;
}

.detail-box span{
    color:#555;
}
.status-badge{
    background:#28a745;

    color:white;

    padding:8px 15px;

    border-radius:20px;

    font-size:14px;

    display:inline-block;
}
/* TRACKING UPDATES */

.tracking-updates{
    margin-top:40px;

    background:white;

    padding:30px;

    border-radius:10px;

    box-shadow:0 3px 12px rgba(0,0,0,.1);

    text-align:left;
}

.tracking-updates h3{
    color:#0a3d62;

    margin-bottom:20px;
}

.tracking-updates ul{
    list-style:none;
}

.tracking-updates li{
    padding:12px 0;

    border-bottom:1px solid #eee;
}
/* SHIPMENT MAP */

.shipment-map{
    margin-top:40px;

    background:white;

    padding:25px;

    border-radius:10px;

    box-shadow:0 3px 12px rgba(0,0,0,.1);
}

.shipment-map h3{
    margin-bottom:20px;

    color:#0a3d62;
}

.shipment-map iframe{
    border-radius:10px;
}

/* CONTACT */

.contact-section{
    padding:80px 20px;
}

.contact-section form{
    max-width:700px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,.1);
}

.contact-section input,
.contact-section textarea{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:1px solid #ccc;
    border-radius:5px;
}

.contact-section button{
    background:#0a3d62;
    color:white;
    border:none;
    padding:15px 30px;
    border-radius:5px;
    cursor:pointer;
}

.contact-section button:hover{
    background:#082b47;
}

/* FOOTER */

footer{
    background:#0a3d62;
    color:white;
    text-align:center;
    padding:25px;
}

/* MOBILE */

@media(max-width:768px){

    @media(max-width:768px){

    .hero-content h2{
        font-size:2.4rem;
    }

    }
    header .container{
        display:flex;
        justify-content:space-between;
        align-items:center;
        position:relative;
    }

    .logo-area h1{
        display:none;
    }

    .logo-area img{
        height:50px;
    }

    .menu-toggle{
        display:block;
        font-size:34px;
        color:white;
        cursor:pointer;
    }

    .nav-list{
        display:none;
        flex-direction:column;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#ffffff;
        padding:20px 0;
        z-index:999;
    }

    .nav-list.active{
        display:flex;
    }

    .nav-list li{
        text-align:center;
        margin:12px 0;
    }

}
/* HAMBURGER MENU */

.menu-toggle{
    display:none;
    font-size:32px;
    cursor:pointer;
    color:#a07830;
}

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-list{
        display:none;
        flex-direction:column;
        width:100%;
        background:#ffffff;
        position:absolute;
        top:90px;
        left:0;
        padding:20px 0;
        z-index:999;
    }

    .nav-list.active{
        display:flex;
    }

    .nav-list li{
        margin:12px 0;
        text-align:center;
    }

    header .container{
        position:relative;
    }

}
/* TIMELINE */

.timeline{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:40px;
    flex-wrap:wrap;
}

.timeline-step{
    text-align:center;
    flex:1;
    position:relative;
}

.timeline-step::after{
    content:'';
    position:absolute;
    top:22px;
    left:50%;
    width:100%;
    height:4px;
    background:#dcdcdc;
    z-index:-1;
}

.timeline-step:last-child::after{
    display:none;
}

.circle{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#dcdcdc;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
    font-weight:bold;
}

.completed .circle{
    background:#28a745;
}

.active .circle{
    background:#f39c12;
}

.timeline-step p{
    margin-top:10px;
    font-size:14px;
    font-weight:600;
}
/* ADMIN LOGIN */

.admin-login{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    background:
    linear-gradient(
    rgba(0,0,0,.6),
    rgba(0,0,0,.6)),
    url('../images/hero.jpg');

    background-size:cover;
    background-position:center;
}

.login-card{

    width:400px;
    max-width:90%;

    background:white;

    padding:40px;

    border-radius:15px;

    text-align:center;

    box-shadow:0 10px 40px rgba(0,0,0,.2);
}

.login-logo{
    width:90px;
    margin-bottom:15px;
}

.login-card h2{
    color:#0a3d62;
    margin-bottom:10px;
}

.login-card input{

    width:100%;

    padding:15px;

    margin-top:15px;

    border:1px solid #ddd;

    border-radius:5px;
}

.login-card button{

    width:100%;

    padding:15px;

    margin-top:20px;

    border:none;

    background:#f39c12;

    color:white;

    cursor:pointer;

    border-radius:5px;

    font-weight:bold;
}
/* DASHBOARD */

.dashboard-stats{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

    padding:50px;
}

.dash-card{

    background:white;

    padding:30px;

    text-align:center;

    border-radius:10px;

    box-shadow:0 3px 15px rgba(0,0,0,.1);
}

.recent-shipments{

    background:#fff;

    padding:30px;

    margin:30px;

    border-radius:10px;

    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.recent-item{

    display:flex;

    justify-content:space-between;

    padding:15px 0;

    border-bottom:1px solid #eee;
}

.status-badge{

    padding:6px 12px;

    border-radius:20px;

    color:white;

    font-size:14px;

    font-weight:600;

    display:inline-block;
}

.status-delivered{
    background:#28a745;
}

.status-transit{
    background:#007bff;
}

.status-processing{
    background:#ffc107;
    color:#000;
}

.status-picked{
    background:#fd7e14;
}

.status-out{
    background:#6f42c1;
}

.status-unknown{
    background:#6c757d;
}

.dashboard-actions{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    padding-bottom:50px;
}

.dashboard-actions a{

    background:#0a3d62;

    color:white;

    text-decoration:none;

    padding:15px 25px;

    border-radius:5px;
}
/* ADD SHIPMENT */

.shipment-form{

    max-width:700px;

    margin:50px auto;

    display:flex;

    flex-direction:column;

    gap:15px;

    padding:20px;
}

.shipment-form input,
.shipment-form select{

    padding:15px;

    border:1px solid #ddd;

    border-radius:5px;
}

.shipment-form button{

    padding:15px;

    border:none;

    background:#0a3d62;

    color:white;

    cursor:pointer;

    border-radius:5px;
}
#trackingNumber{

    background:#f5f5f5;

    font-weight:bold;

    letter-spacing:2px;

    cursor:not-allowed;
}

.receipt-section{

    margin-top:30px;

    text-align:center;
}

.receipt-btn{

    background:#003366;

    color:#fff;

    border:none;

    padding:14px 30px;

    border-radius:6px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;
}

.receipt-btn:hover{

    opacity:.9;
}

.tracking-history{

    margin-top:30px;

    background:#ffffff;

    border-radius:18px;

    padding:30px;

    box-shadow:
    0 10px 30px rgba(
        0,
        0,
        0,
        0.08
    );

}

.tracking-history h3{

    margin-bottom:25px;

    color:#0f172a;

    font-size:24px;

    font-weight:700;

}

.tracking-history ul{

    list-style:none;

    margin:0;

    padding:0;

}

.tracking-history li{

    position:relative;

    padding:18px 0 18px 35px;

    border-bottom:1px solid #e5e7eb;

    color:#334155;

    line-height:1.6;

}

.tracking-history li:last-child{

    border-bottom:none;

}

.tracking-history li::before{

    content:"";

    position:absolute;

    left:0;

    top:24px;

    width:12px;

    height:12px;

    border-radius:50%;

    background:#f59e0b;

}

.tracking-history strong{

    display:block;

    margin-bottom:5px;

    color:#0f172a;

    font-size:14px;

}

/* MANAGE SHIPMENTS */

.manage-shipments{

    padding:40px;
}

.manage-shipments input{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:5px;
}

.shipment-table{

    width:100%;

    border-collapse:collapse;

    background:white;
}

.shipment-table th,
.shipment-table td{

    padding:15px;

    border:1px solid #ddd;

    text-align:left;
}

.shipment-table th{

    background:#0a3d62;

    color:white;
}

.edit-btn{

    background:#f39c12;

    color:white;

    border:none;

    padding:8px 12px;

    cursor:pointer;

    margin-right:5px;
}

.delete-btn{

    background:#dc3545;

    color:white;

    border:none;

    padding:8px 12px;

    cursor:pointer;
}
/* SHIPMENT HISTORY FIX */

.tracking-history{

    width:100%;

    max-width:100%;

    margin:40px auto 0 auto;

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    text-align:left;

}

.tracking-history h3{

    text-align:center;

    margin-bottom:25px;

    color:#0f172a;

}

.tracking-history ul{

    list-style:none;

    padding:0;

    margin:0;

}

.tracking-history li{

    position:relative;

    padding:18px 0 18px 35px;

    border-bottom:1px solid #e5e7eb;

    text-align:left;

}

.tracking-history li:last-child{

    border-bottom:none;

}.status-pickedup{
    background:#3498db;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-weight:600;
}

.status-processing{
    background:#f39c12;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-weight:600;
}

.status-transit{
    background:#9b59b6;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-weight:600;
}

.status-out{
    background:#27ae60;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-weight:600;
}

.status-delivered{
    background:#145a32;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-weight:600;
}
.tracking-result{
    max-width:800px;
    margin:30px auto;
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
}

.tracking-result p{
    margin:12px 0;
    font-size:16px;
}

.tracking-result h3{
    margin-bottom:20px;
}

.tracking-history {
    margin-top: 30px;
    width: 100%;
}

.timeline {
    border-left: 3px solid #e0e0e0;
    margin-left: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;  /* this stacks items vertically */
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: #c8a96e;
    border-radius: 50%;
    position: absolute;
    left: -28px;
    top: 4px;
}

.timeline-content strong {
    display: block;
    font-size: 15px;
    color: #333;
}

.timeline-content span {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}
.history-timeline {
    border-left: 3px solid #e0e0e0;
    margin-left: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}

.history-item {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.history-dot {
    width: 14px;
    height: 14px;
    background: #f39c12;
    border-radius: 50%;
    position: absolute;
    left: -28px;
    top: 4px;
}

.history-content strong {
    display: block;
    font-size: 15px;
    color: #333;
}

.history-content span {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

/* PREMIUM SHIPMENT CARD */

.shipment-card {
    max-width: 860px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    border: 1px solid #f0ece4;
}

.shipment-card-header {
    background: linear-gradient(135deg, #082b47, #0a3d62);
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.shipment-card-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
}

.card-tracking-num {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
}

.status-badge-large {
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.shipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    padding: 10px 0;
}

.shipment-field {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 35px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.shipment-field:hover {
    background: #fafaf8;
}

.field-icon {
    width: 38px;
    height: 38px;
    background: #fdf3e3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f39c12;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.field-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 5px;
}

.field-value {
    display: block;
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 600;
}

@media(max-width: 768px) {

    .shipment-card-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
    }

    .card-tracking-num {
        font-size: 17px;
    }

    .shipment-field {
        padding: 18px 20px;
    }

    .shipment-grid {
        grid-template-columns: 1fr;
    }

}

/* STATUS TIMELINE */

.status-timeline-wrap {
    padding: 35px 35px 25px;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
}

.status-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 600px;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.status-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e0e0e0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.status-step p {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    text-align: center;
    max-width: 80px;
}

.step-completed .status-circle {
    background: #28a745;
    color: white;
}

.step-completed p {
    color: #28a745;
}

.step-active .status-circle {
    background: #f39c12;
    color: white;
    box-shadow: 0 0 0 5px rgba(243, 156, 18, 0.2);
}

.step-active p {
    color: #f39c12;
    font-weight: 700;
}

.step-pending .status-circle {
    background: #e0e0e0;
    color: #bbb;
}

.status-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin-bottom: 30px;
    min-width: 30px;
}

.line-completed {
    background: #28a745;
}

/* MAP CARD */

.shipment-map-card {
    max-width: 860px;
    margin: 25px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    border: 1px solid #f0ece4;
}

.shipment-map-header {
    background: linear-gradient(135deg, #082b47, #0a3d62);
    padding: 18px 25px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shipment-map-header i {
    color: #f39c12;
    font-size: 18px;
}

@media(max-width: 768px) {

    .status-timeline-wrap {
        padding: 25px 15px;
    }

    .status-step p {
        font-size: 9px;
        max-width: 60px;
    }

    .status-circle {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

}
.dashboard-chart{

    background:#fff;
    padding:15px;
    margin:15px;
    border-radius:12px;
    text-align:center;

}
#shipmentChart{

    width:180px !important;
    height:180px !important;
    margin:auto;
    display:block;

}
.print-btn {
    display: inline-block;
    padding: 10px 16px;
    margin-top: 15px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.print-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0f172a, #111827);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.print-btn:active {
    transform: translateY(0);
}
.print-btn {
    background: #2563eb;
}

.print-btn:hover {
    background: #1d4ed8;
}
.edit-btn {
    display: inline-block;
    padding: 10px 16px;
    margin-top: 15px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}
.edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.delete-btn {
    display: inline-block;
    padding: 10px 16px;
    margin-top: 15px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}
.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
/* ADMIN NAVIGATION */

.dashboard-header{

    background:#0d0d0d;
    color:#fff;
    padding:15px 25px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:relative;
}

.admin-nav{

    display:flex;
    gap:15px;
    align-items:center;
}

.admin-nav a{

    color:#fff;
    text-decoration:none;

    padding:10px 15px;

    border-radius:6px;

    transition:.3s;
}

.admin-nav a:hover{

    background:rgba(255,255,255,.15);

}

.logout-link{

    background:#dc3545;
}

.logout-link:hover{

    background:#c82333;
}

.admin-menu-toggle{

    display:none;

    font-size:30px;

    cursor:pointer;
}

/* MOBILE */

@media(max-width:768px){

    .admin-menu-toggle{
        display:block;
    }

    .admin-nav{

        position:fixed;

        top:0;
        right:-280px;

        width:260px;
        height:100vh;

        background:#082b47;

        display:flex;
        flex-direction:column;

        align-items:flex-start;

        padding:80px 20px;

        transition:.3s;

        z-index:9999;
    }

    .admin-nav.active{

        right:0;
    }

    .admin-nav a{

        width:100%;
        padding:15px;
    }

}
/* =========================
   ADMIN NAVIGATION
========================= */

.dashboard-header{

    background:#082b47;
    color:white;
    padding:18px 25px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:relative;
}

.admin-logo h2{

    margin:0;
    color:white;
    font-size:24px;
}

.admin-nav{

    display:flex;
    align-items:center;
    gap:15px;
}

.admin-nav a{

    color:white;
    text-decoration:none;

    padding:10px 16px;

    border-radius:6px;

    transition:.3s;
}

.admin-nav a:hover{

    background:#f39c12;
}

.logout-link{

    background:#dc3545;
}

.logout-link:hover{

    background:#bb2d3b !important;
}

.admin-menu-toggle{

    display:none;

    font-size:30px;
    cursor:pointer;

    color:#ffffff26;
}

/* MOBILE */

@media(max-width:768px){

    .admin-menu-toggle{

        display:block;
    }

    .admin-nav{

        position:fixed;

        top:0;
        right:-280px;

        width:260px;
        height:100vh;

        background:#082b47;

        flex-direction:column;

        align-items:flex-start;

        padding:80px 20px;

        gap:10px;

        transition:.3s;

        z-index:9999;
    }

    .admin-nav.active{

        right:0;
    }

    .admin-nav a{

        width:100%;
        display:block;
    }
}

/* MESSAGE STATUS */

.message-unread{

    background:#f39c12;
    color:white;

    padding:6px 12px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;
}

.message-read{

    background:#28a745;
    color:white;

    padding:6px 12px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;
}

.mark-read-btn{

    background:#17a2b8;
    color:white;

    text-decoration:none;

    padding:8px 12px;

    margin-right:5px;

    border-radius:4px;
}

.mark-read-btn:hover{

    background:#138496;
}
/* SETTINGS PAGE */

.form-container{

    max-width:700px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 4px 20px rgba(0,0,0,0.08);

}

.form-container h2{

    margin-bottom:25px;
    color:#0a3d62;
    text-align:center;

}

.form-container label{

    display:block;
    margin-bottom:8px;
    margin-top:18px;
    font-weight:600;
    color:#333;

}

.form-container input,
.form-container textarea{

    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
    box-sizing:border-box;

}

.form-container input:focus,
.form-container textarea:focus{

    outline:none;
    border-color:#0a3d62;

}

.form-container textarea{

    resize:vertical;

}

.form-container button{

    margin-top:25px;
    width:100%;
    padding:14px;
    border:none;
    border-radius:8px;
    background:#0a3d62;
    color:#fff;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;

}

.form-container button:hover{

    background:#07406b;

}

.success-message{

    background:#d4edda;
    color:#155724;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
    text-align:center;
    font-weight:bold;

}
/* RESPONSIVE TABLES */

.table-responsive{

    width:100%;
    overflow-x:auto;

    -webkit-overflow-scrolling:touch;

}

.table-responsive table{

    min-width:600px;

}
@media(max-width:768px){

    .shipment-table th,
    .shipment-table td{

        padding:8px;
        font-size:12px;

    }

    .edit-btn,
    .delete-btn,
    .print-btn{

        padding:6px 10px;
        font-size:11px;
        margin-top:3px;

    }

    .manage-shipments{

        padding:15px;

    }

    #searchShipment{

        font-size:14px;
        padding:10px;

    }

}
@media(max-width:768px){

    .shipment-table{

        min-width:500px;

    }

}
.toast{
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    z-index: 9999;

    opacity: 0;
    transform: translateY(-20px);
    transition: all .3s ease;
}

.toast.show{
    opacity: 1;
    transform: translateY(0);
}

.receipt-download-section{
    text-align:center;
    margin:25px 0;
}

.receipt-download-btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:8px;

    background:#0066cc !important;
    color:#ffffff !important;

    padding:14px 24px;
    border-radius:8px;

    font-size:15px;
    font-weight:600;

    text-decoration:none !important;
    border:none;

    cursor:pointer;
    transition:0.3s ease;
}

.receipt-download-btn:hover{
    background:#004fa3 !important;
    color:#ffffff !important;
    transform:translateY(-2px);
}

.receipt-download-btn i{
    font-size:16px;
}

.whatsapp-float{

    position:fixed;

    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    font-size:34px;

    text-decoration:none;

    z-index:99999;

    box-shadow:
    0 8px 25px rgba(0,0,0,.25);

    transition:.3s;

    animation: whatsappPulse 2s infinite;

}

.whatsapp-float:hover{

    transform:scale(1.08);

}

@keyframes whatsappPulse{

    0%{
        box-shadow:
        0 0 0 0 rgba(37,211,102,.6);
    }

    70%{
        box-shadow:
        0 0 0 18px rgba(37,211,102,0);
    }

    100%{
        box-shadow:
        0 0 0 0 rgba(37,211,102,0);
    }

}


:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dim:    #a07830;
  --navy:        #082b47;
  --navy-mid:    #0a3d62;
  --navy-dark:   #05202f;
  --cream:       #faf8f4;
  --ink:         #1a1a2e;
  --muted:       #6b7280;
  --border:      rgba(10, 61, 98, 0.09);
  --glass:       rgba(255, 255, 255, 0.06);
  --transition:  cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-w:   240px;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

/* Logo */
.admin-logo h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.admin-logo h2 span {
  color: var(--gold);
}

/* Nav links */
.admin-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.22s var(--transition),
              background 0.22s var(--transition);
}

.admin-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.admin-nav a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Logout — gold outlined pill */
.admin-nav .logout-link {
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 100px;
  padding: 7px 16px;
  margin-left: 8px;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.admin-nav .logout-link:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}




/* Hamburger — mobile only */
.admin-menu-toggle {
  display: none;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
  user-select: none;
}

.admin-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}


  .admin-nav a {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
  }

  .admin-nav .logout-link {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

/* ── HEADER — polished white navbar ── */
header {
  background: #ffffff;
  border-bottom: 1px solid rgba(10,61,98,0.08);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s var(--transition);
  padding: 14px 0;
}

header.scrolled {
  box-shadow: 0 2px 32px rgba(0,0,0,0.12);
}

/* Logo subtle entrance */
.logo-area img {
  transition: transform 0.4s var(--transition), filter 0.3s;
}

.logo-area img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(201,168,76,0.25));
}

/* Nav links — refined */
nav ul li a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a3a4a;
  padding: 8px 14px;
  border-radius: 4px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--transition);
}

nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav ul li a:hover {
  background: transparent;
  color: var(--navy-mid);
}

@media(max-width:768px){

    .top-bar{
        display: none;
    }
}
  /* Header */
@media (max-width: 768px) {

  .dashboard-header {
    padding: 0 20px;
  }

  .admin-menu-toggle {
    display: block;
    z-index: 10001;
  }

  .admin-nav {
    position: fixed;
    top: 0;
    right: -280px; /* hidden off screen */
    width: 260px;
    height: 100vh;

    background: var(--navy-dark);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 90px 20px 20px;
    gap: 10px;

    transition: right .35s ease;

    z-index: 10000;

    box-shadow: -10px 0 30px rgba(0,0,0,.25);
  }

  .admin-nav.active {
    right: 0;
  }

  .admin-nav a {
    width: 100%;
    display: block;
    padding: 14px 16px;
    font-size: 13px;
  }

  .admin-nav .logout-link {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }

  .menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9999;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

}
