*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}


body#tracking-page{

    background:#f4f6f9;

    padding:20px;

}



.map-container{

    max-width:900px;

    margin:auto;

    background:white;

    padding:30px;

    border-radius:10px;

    box-shadow:0 5px 20px rgba(0,0,0,.1);

    text-align:center;

}



.map-container h1{

    color:#0b2c54;

    margin-bottom:25px;

}



.map-container form{

    display:flex;

    gap:10px;

    margin-bottom:30px;

}



.map-container input{

    flex:1;

    padding:14px;

    border:1px solid #ccc;

    border-radius:6px;

}



.map-container button{

    padding:14px 25px;

    background:#0b2c54;

    color:white;

    border:none;

    border-radius:6px;

    cursor:pointer;

}



.tracking-result{

    background:#f8f9fa;

    padding:25px;

    border-radius:8px;

}



.tracking-result h2{

    color:#0b2c54;

    margin-bottom:15px;

}



.progress{

    width:100%;

    height:20px;

    background:#ddd;

    border-radius:20px;

    overflow:hidden;

    margin:20px 0;

}



.progress-line{

    height:100%;

    background:#0b2c54;

    transition:width 1s ease;

}



.error{

    background:#ffdddd;

    color:#a00000;

    padding:15px;

    border-radius:6px;

}



.shipment-animation{

    max-width:900px;

    margin:20px auto;

    background:white;

    padding:25px;

    border-radius:10px;

}



.map-route{

    width:100%;

    height:100px;

    background:#e8eef5;

    border-radius:10px;

    position:relative;

}



.ship-marker{

    position:absolute;

    top:35px;

    font-size:35px;

    transition:left 2s ease;

}



@media(max-width:600px){

    .map-container form{

        flex-direction:column;

    }

}


/* ==========================================
   WORLD MAP
========================================== */

#world-map{

    width:100%;

    height:450px;

    margin-top:30px;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #d5dce5;

    background:#e8eef5;

}


/* Leaflet map */

#world-map .leaflet-container{

    width:100%;

    height:100%;

    border-radius:12px;

}


/* Shipment marker */

#ship-marker{

    font-size:35px;

    text-align:center;

    line-height:35px;

}


/* ==========================================
   LEAFLET SHIPMENT MARKER
========================================== */

.shipment-map-marker{

    background:transparent;

    border:none;

    display:flex;

    align-items:center;

    justify-content:center;

}


.shipment-map-marker div{

    font-size:35px;

    line-height:40px;

    text-align:center;

    filter:drop-shadow(0 2px 3px rgba(0,0,0,.35));

}


/* Mobile map */

@media(max-width:600px){

    #world-map{

        height:350px;

    }

}
/* RESPONSIVE SAFETY OVERRIDES */
*,*::before,*::after{box-sizing:border-box;}
img,video,iframe{max-width:100%;}
body#tracking-page{overflow-x:hidden;}
.map-container{width:100%;max-width:900px;margin-left:auto;margin-right:auto;padding-left:12px;padding-right:12px;}
.map-container form{width:100%;}
.map-container input{min-width:0;max-width:100%;}
#world-map{width:100%;max-width:100%;}
@media(max-width:600px){
  .map-container{padding-left:8px;padding-right:8px;}
  .map-container h1{font-size:24px;line-height:1.25;}
  .map-container form{gap:10px;}
  .map-container input,.map-container button{width:100%;max-width:100%;}
  #world-map{height:320px;}
}

/* Responsive hero cover sizing */
.hero-cover, .hero-cover img, .hero img.cover, .hero-image img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .hero {
        min-height: 62vh;
        height: auto;
    }
    .hero-cover, .hero-cover img, .hero img.cover, .hero-image img {
        max-height: 62vh;
        object-fit: cover;
    }
}
@media (min-width: 769px) {
    .hero {
        min-height: 72vh;
    }
}








/* =========================================================
   TRACKING FINAL SECTION - X7023
========================================================= */

.tracking-final-x7023 {
    position: relative;

    width: 100%;

    padding: 110px 5% 90px;

    margin-top: 80px;

    box-sizing: border-box;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #041f45 0%,
            #07386f 50%,
            #052752 100%
        );

    isolation: isolate;
}


/* =========================================================
   BACKGROUND EFFECTS
========================================================= */

.tracking-glow-one-x7023 {
    position: absolute;

    width: 500px;
    height: 500px;

    top: -260px;
    right: -180px;

    border-radius: 50%;

    background: rgba(255, 215, 0, 0.12);

    filter: blur(5px);

    z-index: -1;

    animation:
        trackingGlowX7023 6s ease-in-out infinite alternate;
}


.tracking-glow-two-x7023 {
    position: absolute;

    width: 420px;
    height: 420px;

    bottom: -250px;
    left: -180px;

    border-radius: 50%;

    background: rgba(255, 215, 0, 0.08);

    filter: blur(10px);

    z-index: -1;

    animation:
        trackingGlowX7023 7s ease-in-out infinite alternate-reverse;
}


/* =========================================================
   INTRO
========================================================= */

.tracking-intro-x7023 {
    position: relative;

    z-index: 5;

    max-width: 850px;

    margin: 0 auto 65px;

    text-align: center;
}


.tracking-label-x7023 {
    display: inline-block;

    margin-bottom: 16px;

    color: #ffd84d;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;

    animation:
        trackingLabelX7023 2.5s ease-in-out infinite;
}


.tracking-intro-x7023 h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(35px, 5vw, 64px);

    line-height: 1.08;

    font-weight: 900;

    letter-spacing: -1.5px;
}


.tracking-intro-x7023 h2 span {
    display: inline-block;

    color: #ffd84d;

    animation:
        trackingFloatX7023 3s ease-in-out infinite;
}


.tracking-intro-x7023 p {
    max-width: 730px;

    margin: 25px auto 0;

    color: rgba(255,255,255,0.78);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   SLIDER
========================================================= */

.tracking-slider-wrapper-x7023 {
    position: relative;

    z-index: 5;

    width: 100%;

    overflow: hidden;

    padding: 15px 0 30px;
}


.tracking-slider-x7023 {
    display: flex;

    gap: 24px;

    width: max-content;

    animation:
        trackingSlideX7023 30s linear infinite;
}


.tracking-slider-wrapper-x7023:hover
.tracking-slider-x7023 {
    animation-play-state: paused;
}


/* =========================================================
   PHOTO CARD
========================================================= */

.tracking-card-x7023 {
    position: relative;

    flex: 0 0 340px;

    height: 440px;

    overflow: hidden;

    border-radius: 25px;

    background: #092e59;

    box-shadow:
        0 20px 55px rgba(0,0,0,0.35);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.tracking-card-x7023:hover {
    transform: translateY(-12px);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.5);
}


/* =========================================================
   PHOTO
========================================================= */

.tracking-card-x7023 img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.9s ease;
}


.tracking-card-x7023:hover img {
    transform: scale(1.1);
}


/* =========================================================
   PHOTO OVERLAY
========================================================= */

.tracking-card-overlay-x7023 {
    position: absolute;

    inset: 0;background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.95) 0%,
            rgba(0,0,0,0.35) 45%,
            rgba(0,0,0,0.05) 100%
        );

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   PHOTO TEXT
========================================================= */

.tracking-card-content-x7023 {
    position: absolute;

    left: 26px;
    right: 26px;
    bottom: 26px;

    z-index: 5;
}


.tracking-card-content-x7023 span {
    display: inline-block;

    margin-bottom: 10px;

    color: #ffd84d;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;
}


.tracking-card-content-x7023 h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 27px;

    font-weight: 800;
}


.tracking-card-content-x7023 p {
    margin: 0;

    color: rgba(255,255,255,0.76);

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================================
   INFORMATION AREA
========================================================= */

.tracking-info-x7023 {
    position: relative;

    z-index: 5;

    max-width: 720px;

    margin: 75px auto 40px;

    text-align: center;
}


.tracking-line-x7023 {
    width: 70px;

    height: 4px;

    margin: 0 auto 25px;

    border-radius: 20px;

    background: #ffd84d;

    animation:
        trackingLineX7023 2s ease-in-out infinite alternate;
}


.tracking-info-x7023 h3 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 32px;

    font-weight: 800;
}


.tracking-info-x7023 p {
    margin: 0;

    color: rgba(255,255,255,0.73);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   BUTTON CONTAINER
========================================================= */

.tracking-buttons-x7023 {
    position: relative;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;

    margin-top: 35px;
}


/* =========================================================
   BUTTON
========================================================= */

.tracking-button-x7023 {
    position: relative;

    min-width: 160px;

    height: 60px;

    padding: 0 27px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    box-sizing: border-box;

    border-radius: 13px;

    text-decoration: none;

    font-size: 16px;

    font-weight: 800;

    overflow: hidden;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Shine */

.tracking-button-x7023::before {
    content: "";

    position: absolute;

    top: 0;
    left: -130%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255,255,255,0.5),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.7s ease;
}


.tracking-button-x7023:hover::before {
    left: 140%;
}


/* Button content */

.tracking-button-x7023 span {
    position: relative;

    z-index: 3;
}


/* Icon */

.tracking-button-icon-x7023 {
    font-size: 22px;

    font-weight: 900;
}


/* =========================================================
   HOME BUTTON
========================================================= */

.tracking-home-x7023 {
    color: #ffffff;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.25);
}


.tracking-home-x7023:hover {
    transform: translateY(-5px);

    background: rgba(255,255,255,0.2);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.25);
}


/* =========================================================
   FAQ BUTTON
========================================================= */

.tracking-faq-x7023 {
    color: #06264c;

    background: #ffffff;

    border: 2px solid #ffffff;
}


.tracking-faq-x7023:hover {
    transform: translateY(-5px);

    background: #f5f5f5;box-shadow:
        0 15px 35px rgba(0,0,0,0.3);
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.tracking-contact-x7023 {
    color: #06264c;

    background: #ffd84d;

    border: 2px solid #ffe98a;

    box-shadow:
        0 8px 25px rgba(255,215,0,0.2);
}


.tracking-contact-x7023:hover {
    transform: translateY(-6px) scale(1.03);

    background: #ffe477;

    box-shadow:
        0 0 20px rgba(255,215,0,0.65),
        0 15px 40px rgba(0,0,0,0.3);
}


/* =========================================================
   CLICK ANIMATION
========================================================= */

.tracking-button-click-x7023 {
    animation:
        trackingButtonClickX7023 0.55s ease;
}


@keyframes trackingButtonClickX7023 {

    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.12);

        box-shadow:
            0 0 20px rgba(255,215,0,0.9),
            0 0 50px rgba(255,215,0,0.5);
    }

    70% {
        transform: scale(0.96);
    }

    100% {
        transform: scale(1);
    }

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes trackingSlideX7023 {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


@keyframes trackingGlowX7023 {

    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    to {
        transform: translate(30px, 25px) scale(1.15);
        opacity: 1;
    }

}


@keyframes trackingFloatX7023 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }

}


@keyframes trackingLabelX7023 {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

}


@keyframes trackingTitleGlowX7023 {

    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }

}


@keyframes trackingLineX7023 {

    from {
        width: 50px;
    }

    to {
        width: 90px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .tracking-final-x7023 {
        padding:
            80px
            18px
            70px;
    }


    .tracking-intro-x7023 {
        margin-bottom: 45px;
    }


    .tracking-intro-x7023 h2 {
        font-size: 38px;
    }


    .tracking-intro-x7023 p {
        font-size: 14px;

        line-height: 1.7;
    }


    .tracking-card-x7023 {
        flex: 0 0 285px;

        height: 390px;

        border-radius: 20px;
    }


    .tracking-card-content-x7023 {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }


    .tracking-card-content-x7023 h3 {
        font-size: 23px;
    }


    .tracking-info-x7023 {
        margin-top: 55px;
    }


    .tracking-info-x7023 h3 {
        font-size: 26px;
    }


    .tracking-buttons-x7023 {
        gap: 12px;
    }


    .tracking-button-x7023 {
        min-width: 135px;

        height: 55px;

        padding: 0 18px;

        font-size: 14px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 430px) {

    .tracking-final-x7023 {
        padding-left: 14px;
        padding-right: 14px;
    }


    .tracking-intro-x7023 h2 {
        font-size: 32px;
    }


    .tracking-card-x7023 {
        flex-basis: 270px;

        height: 370px;
    }


    .tracking-button-x7023 {
        width: 100%;

        max-width: 320px;
    }

}



















/* =========================================
   Package details section below the map
   ========================================= */
.package-details-box {
    margin-top: 28px;
    padding: 22px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border: 1px solid #e5e9ef;
}

.package-details-box h3 {
    color: #0b2c54;
    margin-bottom: 16px;
    font-size: 20px;
}

.package-details-box h4 {
    color: #0b2c54;
    margin-bottom: 8px;
    font-size: 16px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.package-details-box p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.45;
}

.bank-details-public {
    background: #f8fafc;
    padding: 14px;
    border-radius: 8px;
    border-left: 4px solid #0b2c54;
}

.print-receipt-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #0b2c54;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
}

.print-receipt-btn:hover {
    background: #08304a;
}

@media (max-width: 700px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Receipt-style package details (upgraded)
   ========================================= */
.package-details-box {
    margin-top: 28px;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(11, 44, 84, 0.12);
    border: 1px solid #d0d8e4;
    overflow: hidden;
    text-align: left;
}

.package-details-header {
    background: linear-gradient(135deg, #0b2c54 0%, #1a4a7a 100%);
    color: #fff;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.package-details-header h3 {
    color: #fff !important;
    margin: 0 !important;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.package-details-header .serial-badge {
    background: rgba(255,255,255,0.15);
    border: 1px dashed rgba(255,255,255,0.5);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.package-details-body {
    padding: 22px 24px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
}

.package-details-box p {
    margin: 6px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.package-details-box h4 {
    color: #0b2c54;
    margin: 0 0 10px;
    font-size: 15px;
    border-bottom: 2px solid #e8eef5;
    padding-bottom: 6px;
}

.bank-details-public {
    background: #f0f5fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #1a6bb5;
    margin-top: 18px;
}

.details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px dashed #c5d0de;
}

.qr-block {
    text-align: center;
}

.qr-block img {
    width: 120px;
    height: 120px;
    border: 3px solid #0b2c54;
    border-radius: 6px;
    padding: 4px;
    background: #fff;
}

.qr-block span {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 6px;
}

/* Unique stamp style */
.stamp-unique {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 12px 20px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 5px solid #c0392b;
    border-radius: 50%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 5px,
            rgba(192,57,43,0.06) 5px,
            rgba(192,57,43,0.06) 6px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 5px,
            rgba(192,57,43,0.06) 5px,
            rgba(192,57,43,0.06) 6px
        ),
        #fff;
    box-shadow:
        0 0 0 2px #c0392b,
        inset 0 0 0 2px rgba(192,57,43,0.35);
    transform: rotate(-15deg);
}

.stamp-unique .stamp-serial-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85%;
    margin-bottom: 5px;
}

/* Black & white line above the serial number */
.stamp-unique .stamp-serial-line {
    display: block;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #111 0,
        #111 4px,
        #fff 4px,
        #fff 6px
    );
    margin-bottom: 5px;
}

.stamp-unique .stamp-serial {
    font-size: 9px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.5px;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    border-bottom: 2px solid #111;
    padding-bottom: 2px;
    margin-bottom: 3px;
}

.stamp-unique .stamp-main {
    font-size: 13px;
    font-weight: 800;
    color: #c0392b;
    letter-spacing: 1px;
    line-height: 1.15;
    text-align: center;
}

.stamp-unique .stamp-sub {
    font-size: 9px;
    font-weight: 700;
    color: #c0392b;
    letter-spacing: 2px;
    margin-top: 3px;
}

.print-receipt-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #0b2c54, #1a4a7a);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.print-receipt-btn:hover {
    background: linear-gradient(135deg, #08304a, #0b2c54);
}

@media (max-width: 700px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    .details-footer {
        flex-direction: column;
        text-align: center;
    }
}


/* ===== Professional spacing overrides ===== */
.package-details-box {
    margin-top: 32px !important;
    border-radius: 14px !important;
}

.package-details-body {
    padding: 28px 26px 24px !important;
}

.details-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 40px !important;
    margin-bottom: 8px;
}

.package-details-box p {
    margin: 10px 0 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #2c3e50 !important;
}

.package-details-box h4 {
    margin: 0 0 14px !important;
    padding-bottom: 8px !important;
    font-size: 15px !important;
    color: #0b2c54 !important;
    border-bottom: 2px solid #e8eef5 !important;
}

.details-people {
    margin-top: 28px !important;
    padding-top: 8px;
}

.package-writeup {
    margin: 28px 0 8px;
    padding: 18px 20px;
    background: #f7f9fc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.package-writeup h4 {
    margin-bottom: 12px !important;
}

.package-writeup-text {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
    white-space: pre-wrap;
}

.details-footer {
    gap: 48px !important;
    margin-top: 36px !important;
    padding: 28px 12px 16px !important;
}

/* Red STAMP DUTY */
.stamp-unique {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 2px #c0392b, inset 0 0 0 2px rgba(192,57,43,0.3) !important;
}

.stamp-unique .stamp-main,
.stamp-unique .stamp-sub {
    color: #c0392b !important;
}

.stamp-unique .stamp-serial {
    color: #111 !important;
    border-bottom: 2px solid #111 !important;
}

@media (max-width: 700px) {
    .details-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .details-footer {
        flex-direction: column !important;
        gap: 28px !important;
    }
}


/* Red STAMP DUTY circle (match photo) */
.stamp-duty-circle{
    width:120px;
    height:120px;
    border-radius:50%;
    border:4px solid #c0392b;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:rotate(-18deg);
    background:#fff;
    box-shadow:0 0 0 1px rgba(192,57,43,.35);
    flex:0 0 auto;
    margin:8px 16px;
}
.stamp-duty-inner{ text-align:center; padding:6px; width:100%; }
.stamp-duty-line{
    display:block;
    height:2px;
    width:70%;
    margin:0 auto 3px;
    background:repeating-linear-gradient(90deg,#222 0,#222 2px,#fff 2px,#fff 4px);
}
.stamp-duty-serial{
    display:block;
    font-size:8px;
    font-weight:700;
    color:#222;
    margin:2px 0 3px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.stamp-duty-text{
    display:block;
    font-size:13px;
    font-weight:800;
    color:#c0392b;
    letter-spacing:1px;
    line-height:1.15;
}

/* Tighter landscape-feel details */
.package-details-body{ padding:18px 20px !important; }
.details-grid{ gap:14px 28px !important; }
.package-details-box p{ margin:6px 0 !important; line-height:1.5 !important; }
.package-writeup{ margin:16px 0 !important; padding:12px 14px !important; }
.package-writeup-text{ line-height:1.65 !important; font-size:13px !important; }
.details-footer{ gap:32px !important; margin-top:20px !important; padding:16px 8px 8px !important; }
.details-people{ margin-top:16px !important; }


/* Ship location tooltip on hover */
.ship-location-tooltip {
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ship-location-tooltip .leaflet-tooltip-arrow {
    display: none;
}
.shipment-map-marker {
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

/* Ship marker layout */
.shipment-map-marker {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shipment-map-marker .ship-emoji {
    font-size: 28px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Red dimming/pulsing light while ship is in transit */
.ship-red-light {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff1a1a;
    box-shadow:
        0 0 6px 2px rgba(255, 30, 30, 0.9),
        0 0 14px 4px rgba(255, 0, 0, 0.55);
    z-index: 2;
    animation: ship-light-dim 1.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ship-light-dim {
    0%, 100% {
        opacity: 1;
        box-shadow:
            0 0 6px 2px rgba(255, 30, 30, 0.95),
            0 0 14px 4px rgba(255, 0, 0, 0.6);
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.25;
        box-shadow:
            0 0 2px 1px rgba(255, 30, 30, 0.35),
            0 0 6px 2px rgba(255, 0, 0, 0.2);
        transform: translateX(-50%) scale(0.85);
    }
}

/* Ensure ship popup is always on top – nothing can cover it */
.leaflet-popup-pane {
    z-index: 9999 !important;
}
.leaflet-tooltip-pane {
    z-index: 9998 !important;
}
.leaflet-marker-pane {
    z-index: 700 !important;
}
.leaflet-overlay-pane {
    z-index: 400 !important;
}
