/* ==========================================================================
   EDEX EXPRESS - NATIVE RESPONSIVE TRACKING DASHBOARD STYLESHEET
   Desktop Optimized + Mobile Native (No fake phone bezel)
   ========================================================================== */

:root {
    --edex-purple: #4D148C;
    --edex-purple-dark: #330c5e;
    --edex-orange: #FF6200;
    --edex-orange-hover: #E05600;
    --edex-navy: #0A0E1A;
    --edex-navy-card: #0F172A;
    --edex-blue: #2563EB;
    --edex-slate-50: #F8FAFC;
    --edex-slate-100: #F1F5F9;
    --edex-slate-200: #E2E8F0;
    --edex-slate-700: #334155;
    --edex-slate-900: #0F172A;
}

body {
    background-color: #F8FAFC;
    color: #0F172A;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --------------------------------------------------------------------------
   TRACKING MOBILE APP VIEW: HIDE TOP LOGO & TOP MENUS
   (User requested: "when that is display no need logo or top menus, only mobile menu")
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    body.tracking-screen-view .top-utility-bar,
    body.tracking-screen-view .fedx-navbar {
        display: none !important;
    }

    body.tracking-screen-view {
        padding-top: 0 !important;
        background-color: #F8FAFC;
    }

    body.tracking-screen-view .tracker-page-wrapper {
        padding-top: 0 !important;
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Page Wrapper */
.tracker-page-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 16px 80px;
}

@media (min-width: 992px) {
    .tracker-page-wrapper {
        padding: 30px 24px 60px;
    }
}

/* --------------------------------------------------------------------------
   EXPANDED DARK NAVY HERO BANNER (Faithfully matching user screenshot bec39f67)
   -------------------------------------------------------------------------- */
.edex-hero-navy {
    background: linear-gradient(155deg, #070B18 0%, #0F172A 48%, #162447 100%);
    border-radius: 28px;
    padding: 28px 26px 34px;
    color: #FFFFFF;
    margin-bottom: 24px;
    box-shadow: 0 16px 36px -8px rgba(10, 14, 26, 0.3);
    position: relative;
    overflow: hidden;
}

/* Mobile full-width expansion: bleeds to top edge with rounded bottom corners */
@media (max-width: 767.98px) {
    .edex-hero-navy.expanded-mobile-banner {
        margin: 0 -14px 24px -14px;
        border-radius: 0 0 34px 34px;
        padding: 24px 18px 32px;
        box-shadow: 0 20px 42px -10px rgba(7, 11, 24, 0.4);
    }
}

@media (min-width: 768px) {
    .edex-hero-navy {
        padding: 34px 36px 40px;
    }
}

/* City Skyline Silhouette Graphics */
.hero-skyline-silhouette {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 290px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.skyline-svg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

/* Top Profile Row Inside Banner (JD / Hello John Davis / Bell) */
.hero-profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.hero-user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-avatar-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0F172A;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.hero-greeting-text {
    line-height: 1.25;
}

.hero-greeting-sub {
    font-size: 0.76rem;
    color: #94A3B8;
    font-weight: 500;
    display: block;
}

.hero-greeting-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: #FFFFFF;
    display: block;
    letter-spacing: -0.01em;
}

.hero-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-pwa-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 6px 14px;
    transition: all 0.2s ease;
}

.hero-pwa-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.hero-bell-btn {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    position: relative;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.hero-bell-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.hero-bell-dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    border: 1.5px solid #0F172A;
}

/* Banner Body Content */
.hero-banner-body {
    position: relative;
    z-index: 2;
}

.edex-hero-title {
    font-size: 2.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 5px;
    color: #FFFFFF;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .edex-hero-title {
        font-size: 2.4rem;
    }
}

.edex-hero-sub {
    color: #94A3B8;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 22px;
}

/* White Search Pill Input (Faithfully matching user screenshot bec39f67) */
.edex-search-pill {
    background: #FFFFFF;
    border-radius: 9999px;
    padding: 5px 6px 5px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: 640px;
}

.edex-search-pill input {
    border: none;
    outline: none;
    width: 100%;
    height: 44px;
    font-size: 0.98rem;
    font-weight: 500;
    color: #0F172A;
    background: transparent;
}

.edex-search-pill input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.edex-search-submit-btn {
    background: #FF5E14;
    color: #FFFFFF;
    border: none;
    width: 50px;
    height: 44px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 94, 20, 0.45);
}

.edex-search-submit-btn:hover {
    background: #E05310;
    transform: scale(1.04);
}

.edex-search-micro-hints {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.74rem;
    color: #94A3B8;
    flex-wrap: wrap;
}

.demo-chip-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 9999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.demo-chip-btn:hover {
    background: var(--edex-orange);
    border-color: var(--edex-orange);
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   4 Quick Action Strip (Send, Track, Quote, Location)
   -------------------------------------------------------------------------- */
.quick-action-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .quick-action-strip {
        gap: 16px;
    }
}

.quick-action-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .quick-action-strip {
        gap: 16px;
    }
}

.quick-action-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 14px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #E2E8F0;
}

.quick-action-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.quick-action-card span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

@media (max-width: 480px) {
    .quick-action-strip {
        gap: 6px;
    }
    .quick-action-card {
        padding: 10px 2px;
        border-radius: 14px;
    }
    .quick-action-card span {
        font-size: 0.65rem;
        letter-spacing: -0.2px;
    }
    .quick-action-icon-box {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        border-radius: 10px;
        margin-bottom: 5px;
    }
}

/* --------------------------------------------------------------------------
   SCREEN 2: TRACKING DETAILS VIEW (Responsive Architecture)
   -------------------------------------------------------------------------- */
.tracking-details-panel {
    display: block;
}

/* Top Back / Share Bar */
.details-sub-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.details-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0F172A;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.details-back-link:hover {
    background: #F1F5F9;
    color: var(--edex-orange);
}

/* Consignment Summary Card */
.consignment-summary-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 20px 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.summary-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.summary-thumb-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    background: #F1F5F9;
    flex-shrink: 0;
    border: 1px solid #E2E8F0;
}

.summary-meta-col {
    flex-grow: 1;
}

.summary-tracking-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.summary-item-name {
    font-size: 0.82rem;
    color: #64748B;
    margin: 2px 0 0;
    font-weight: 600;
}

.summary-status-pill {
    background: #EFF6FF;
    color: #2563EB;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid #DBEAFE;
}

/* Route Origin -> Destination Row */
.summary-route-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
    gap: 12px;
}

.route-hub-node {
    line-height: 1.3;
}

.route-hub-city {
    font-weight: 800;
    font-size: 0.88rem;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
}

.route-hub-date {
    font-size: 0.72rem;
    color: #64748B;
}

.route-flight-arrow {
    color: #CBD5E1;
    font-size: 14px;
    flex-shrink: 0;
}

/* 3-Segment Switcher Tabs (Live Map, Timeline, Details) */
.details-tabs-segment {
    display: inline-flex;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.details-tab-pill {
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.details-tab-pill.active {
    background: #0F172A;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* --------------------------------------------------------------------------
   Desktop Grid Layout: Map & Status Card
   -------------------------------------------------------------------------- */
.tracking-workspace-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .tracking-workspace-grid {
        grid-template-columns: 1.3fr 1fr;
    }
}

/* Live Map Box */
.live-map-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    height: 380px;
}

@media (min-width: 992px) {
    .live-map-card {
        height: 480px;
    }
}

#leaflet-live-map {
    width: 100%;
    height: 100%;
}

/* Map Overlays */
.map-status-overlay-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 8px 14px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0F172A;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-status-overlay-chip .pulse-dot {
    width: 8px;
    height: 8px;
    background: #2563EB;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Status & Stepper Card */
.status-progress-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.status-headline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.status-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.status-text-block h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.status-text-block p {
    font-size: 0.76rem;
    color: #64748B;
    margin: 2px 0 0;
}

.status-percent-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
}

/* 5-Stage Stepper Track */
.stepper-container {
    position: relative;
    margin-bottom: 28px;
    padding-top: 6px;
}

.stepper-rail-bg {
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #E2E8F0;
    z-index: 1;
}

.stepper-rail-active {
    position: absolute;
    top: 14px;
    left: 20px;
    height: 3px;
    background: #2563EB;
    z-index: 2;
    transition: width 0.4s ease;
}

.stepper-nodes-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.stepper-node-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 60px;
}

.stepper-node-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #E2E8F0;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.stepper-node-item.completed .stepper-node-dot {
    background: #2563EB;
    border-color: #2563EB;
}

.stepper-node-item.active .stepper-node-dot {
    background: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.stepper-node-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94A3B8;
    line-height: 1.2;
}

.stepper-node-item.completed .stepper-node-label,
.stepper-node-item.active .stepper-node-label {
    color: #0F172A;
}

.stepper-node-date {
    font-size: 0.62rem;
    color: #94A3B8;
    margin-top: 2px;
}

/* Latest Updates Timeline */
.timeline-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F1F5F9;
}

.timeline-section-title h5 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.timeline-section-title a {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--edex-orange);
    text-decoration: none;
}

.timeline-stream-box {
    position: relative;
    padding-left: 20px;
}

.timeline-stream-box::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 2px;
    background: #E2E8F0;
}

.timeline-item-entry {
    position: relative;
    padding-bottom: 18px;
}

.timeline-item-entry:last-child {
    padding-bottom: 0;
}

.timeline-node-dot {
    position: absolute;
    left: -20px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2563EB;
    border: 2.5px solid #FFFFFF;
    box-shadow: 0 0 0 2px #2563EB;
}

.timeline-item-entry.recent .timeline-node-dot {
    background: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.timeline-event-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0F172A;
}

.timeline-event-place {
    font-size: 0.72rem;
    color: #64748B;
    margin-top: 1px;
}

.timeline-event-time {
    font-size: 0.68rem;
    color: #94A3B8;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   SCREEN 1: ACTIVE SHIPMENTS LIST VIEW
   -------------------------------------------------------------------------- */
.shipment-list-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.shipment-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #E2E8F0;
}

.shipment-list-thumb {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    background: #F1F5F9;
    flex-shrink: 0;
}

.shipment-list-meta {
    flex-grow: 1;
}

.shipment-list-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0F172A;
}

.shipment-list-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin: 1px 0;
}

.shipment-list-route {
    font-size: 0.72rem;
    color: #64748B;
}

/* --------------------------------------------------------------------------
   SCREEN 1: ACTIVE SHIPMENTS CONNECTED STEPPER (MATCHING EXACT SCREENSHOT)
   -------------------------------------------------------------------------- */
.shipment-progress-track {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 6px;
    width: 100%;
}

.track-line-group {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.track-line-node {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D1D5DB;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.track-line-node.active-blue {
    background: #2563EB;
}

.track-line-node.active-green {
    background: #059669;
}

.track-line-node.active-amber {
    background: #D97706;
}

.track-line-node.active-red {
    background: #DC2626;
}

.track-line-bar {
    height: 2.5px;
    width: 32px;
    background: #E5E7EB;
    flex-shrink: 0;
}

.track-line-bar.active-blue {
    background: #2563EB;
}

.track-line-bar.active-green {
    background: #059669;
}

.track-line-bar.full-span {
    width: 105px;
    height: 2px;
    background: #E5E7EB;
}

.track-status-label {
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 10px;
    color: #1E293B;
    white-space: nowrap;
}

.track-status-label.status-green {
    color: #059669;
}

.track-status-label.status-amber {
    color: #D97706;
}

.track-status-label.status-red {
    color: #DC2626;
}

/* --------------------------------------------------------------------------
   SEND WORLDWIDE PROMO BANNER (FAITHFULLY MATCHING IMAGE ATTACHED)
   -------------------------------------------------------------------------- */
.edex-send-worldwide-banner {
    background: linear-gradient(135deg, #FFF4E8 0%, #FED7AA 100%);
    border-radius: 24px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #FFEDD5;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(251, 146, 60, 0.08);
}

.send-worldwide-left {
    max-width: 58%;
    position: relative;
    z-index: 2;
}

.send-worldwide-heading {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 3px;
    line-height: 1.25;
}

.send-worldwide-subtext {
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 14px;
    line-height: 1.35;
}

.send-worldwide-pill-btn {
    background: #FF5E14;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 9px 24px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(255, 94, 20, 0.35);
    transition: all 0.2s ease;
}

.send-worldwide-pill-btn:hover {
    background: #E05310;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 94, 20, 0.45);
}

.send-worldwide-graphic-wrap {
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 220px;
    height: 155px;
    z-index: 1;
    pointer-events: none;
}

.send-worldwide-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 480px) {
    .edex-send-worldwide-banner {
        padding: 18px 20px;
        min-height: 160px;
    }
    .send-worldwide-left {
        max-width: 60%;
    }
    .send-worldwide-heading {
        font-size: 1.05rem;
    }
    .send-worldwide-subtext {
        font-size: 0.74rem;
        margin-bottom: 10px;
    }
    .send-worldwide-pill-btn {
        padding: 7px 20px;
        font-size: 0.75rem;
    }
    .send-worldwide-graphic-wrap {
        width: 175px;
        height: 125px;
        right: -8px;
        bottom: -5px;
    }
}

/* --------------------------------------------------------------------------
   Mobile Floating Bottom Navigation Bar (< 768px only)
   -------------------------------------------------------------------------- */
.mobile-sticky-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-sticky-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid #E2E8F0;
        padding: 8px 16px 14px;
        z-index: 1040;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-link-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #94A3B8;
        font-size: 0.65rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-nav-link-item i {
        font-size: 1.15rem;
    }

    .mobile-nav-link-item.active {
        color: #0F172A;
    }
}

/* --------------------------------------------------------------------------
   Non-clickable & Protected Active Shipments Cards
   -------------------------------------------------------------------------- */
.shipment-list-card.non-clickable {
    cursor: default;
    background: #FFFFFF;
}

.shipment-list-card.non-clickable:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    border-color: #F1F5F9;
}

/* --------------------------------------------------------------------------
   Tracker Sub-Tab Panes (Live Map | Timeline | Details)
   -------------------------------------------------------------------------- */
.tracker-subtab-pane {
    animation: fadeInSubTab 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInSubTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Details Tab Components */
.details-item-hero-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.details-hero-img-wrap {
    width: 100%;
    height: 220px;
    background: #F8FAFC;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .details-hero-img-wrap {
        height: 280px;
    }
}

.details-hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.details-hero-img:hover {
    transform: scale(1.03);
}

.details-hero-info {
    padding: 20px 24px;
}

.details-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .details-specs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.details-spec-item {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.details-spec-item .spec-label {
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.details-spec-item .spec-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.3;
}

.details-spec-item .spec-sub {
    font-size: 0.72rem;
    color: #94A3B8;
    margin-top: 2px;
}

/* Barcode Card */
.details-barcode-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.barcode-svg-bars {
    max-width: 320px;
    height: 60px;
    margin: 0 auto 10px;
    display: block;
}

.barcode-number-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #0F172A;
}

/* Timeline Full View Card */
.timeline-full-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
