
/* ==========================================================
   FOUR STAR CARGO HOME ENHANCEMENTS v1.0
   ========================================================== */

/* ----------------------------------------------------------
   1) DIVI LEGACY ICON-FONT CLEANUP
   Removes corrupt arrow/icon glyphs from legacy Divi CTAs.
   ---------------------------------------------------------- */
.home .et_pb_button::before,
.home .et_pb_button::after,
.home a.et_pb_button::before,
.home a.et_pb_button::after,
.home .et_pb_promo_button::before,
.home .et_pb_promo_button::after,
.home .et_pb_more_button::before,
.home .et_pb_more_button::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
}

.home .et_pb_button,
.home a.et_pb_button,
.home .et_pb_promo_button,
.home .et_pb_more_button {
    padding-left: 1.35em !important;
    padding-right: 1.35em !important;
}

.home .et_pb_button:hover,
.home a.et_pb_button:hover,
.home .et_pb_promo_button:hover,
.home .et_pb_more_button:hover {
    padding-left: 1.35em !important;
    padding-right: 1.35em !important;
}

/* ----------------------------------------------------------
   2) HEADER TRACKING SEARCH
   ---------------------------------------------------------- */
.new_header .glb_search {
    position: relative;
}

.new_header form.search.fsc-tracking-form {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100%;
    margin: 0;
}

.new_header form.search.fsc-tracking-form input.fsc-tracking-input {
    padding-right: 48px !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.new_header .fsc-tracking-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #2a3e92;
    color: #fff;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

.new_header .fsc-tracking-submit:hover,
.new_header .fsc-tracking-submit:focus {
    background: #17296d;
}

.new_header .fsc-tracking-submit svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.new_header .fsc-tracking-state {
    position: absolute;
    left: 3px;
    top: calc(100% + 5px);
    z-index: 1000001;
    display: none;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(17, 37, 79, .95);
    color: #fff;
    font-size: 11px;
    line-height: 1.25;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.new_header .fsc-tracking-state.is-visible {
    display: block;
}

/* Inland tracking fallback modal */
.fsc-track-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(4, 21, 54, .68);
    backdrop-filter: blur(4px);
}

.fsc-track-modal.is-open {
    display: flex;
}

.fsc-track-modal__panel {
    position: relative;
    width: min(520px, 100%);
    padding: 26px;
    box-sizing: border-box;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
    color: #132a59;
    font-family: Arial, Helvetica, sans-serif;
}

.fsc-track-modal__close {
    position: absolute;
    right: 13px;
    top: 11px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #eef3fa;
    color: #163773;
    font-size: 23px;
    cursor: pointer;
}

.fsc-track-modal__eyebrow {
    margin-bottom: 4px;
    color: #718097;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.fsc-track-modal h3 {
    margin: 0 0 8px;
    padding: 0;
    color: #082f77;
    font-size: 25px;
    line-height: 1.08;
}

.fsc-track-modal p {
    margin: 0 0 17px;
    color: #536178;
    font-size: 13px;
    line-height: 1.5;
}

.fsc-track-modal__number {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f4f7fb;
    color: #17356d;
    font-size: 13px;
    font-weight: 700;
    word-break: break-all;
}

.fsc-track-modal select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cbd7e6;
    border-radius: 8px;
    background: #fff;
    color: #15305f;
    font-size: 14px;
}

.fsc-track-modal__actions {
    margin-top: 14px;
    display: flex;
    gap: 9px;
}

.fsc-track-modal__track,
.fsc-track-modal__contact {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
    text-decoration: none !important;
}

.fsc-track-modal__track {
    border: 1px solid #ffb400;
    background: #ffb400;
    color: #08285f;
    cursor: pointer;
}

.fsc-track-modal__contact {
    border: 1px solid #d6e0ed;
    background: #fff;
    color: #174b95 !important;
}

/* ----------------------------------------------------------
   3) FOUR STAR LIVE
   Replaces the legacy Bulletin Board visually.
   ---------------------------------------------------------- */
.fsc-live {
    position: relative;
    width: 100%;
    padding: 72px 0 78px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 14%, rgba(18,96,200,.11), transparent 26%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
    font-family: Arial, Helvetica, sans-serif;
}

.fsc-live::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .38;
    background-image: radial-gradient(circle, #c9d7e8 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    pointer-events: none;
}

.fsc-live__inner {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 42px));
    margin: 0 auto;
}

.fsc-live__heading {
    margin-bottom: 29px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.fsc-live__eyebrow {
    margin-bottom: 5px;
    color: #6b7d96;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.fsc-live h2 {
    position: relative;
    margin: 0 !important;
    padding: 0 0 12px !important;
    color: #0a2d68 !important;
    font-size: 36px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
}

.fsc-live h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 43px;
    height: 4px;
    background: #ffb400;
}

.fsc-live__heading p {
    max-width: 520px;
    margin: 0;
    color: #56647a;
    font-size: 14px;
    line-height: 1.55;
}

.fsc-live__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fsc-live-card {
    position: relative;
    min-height: 286px;
    padding: 23px 21px 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 26px rgba(24,51,95,.08);
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.fsc-live-card:hover,
.fsc-live-card:focus-within {
    transform: translateY(-5px);
    border-color: #bdcee2;
    box-shadow: 0 18px 38px rgba(24,51,95,.14);
}

.fsc-live-card--featured {
    background:
        radial-gradient(circle at 80% 15%, rgba(255,190,0,.22), transparent 33%),
        linear-gradient(145deg, #092f73 0%, #064a9e 100%);
    border-color: #0b55ab;
    color: #fff;
}

.fsc-live-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
}

.fsc-live-card__tag {
    display: inline-flex;
    min-height: 23px;
    padding: 0 9px;
    align-items: center;
    border-radius: 999px;
    background: #edf3fa;
    color: #55708f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fsc-live-card--featured .fsc-live-card__tag {
    background: #ffb400;
    color: #082b66;
}

.fsc-live-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #26713c;
    font-size: 10px;
    font-weight: 800;
}

.fsc-live-card__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #24b24b;
    box-shadow: 0 0 0 5px rgba(36,178,75,.12);
    animation: fscPulse 1.8s ease-in-out infinite;
}

@keyframes fscPulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(36,178,75,.11); }
    50% { transform: scale(1.13); box-shadow: 0 0 0 8px rgba(36,178,75,.02); }
}

.fsc-live-card__icon {
    margin-top: 22px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eef5ff;
    color: #0b60c9;
}

.fsc-live-card--featured .fsc-live-card__icon {
    background: rgba(255,255,255,.12);
    color: #ffbd00;
}

.fsc-live-card__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fsc-live-card h3 {
    margin: 19px 0 8px !important;
    padding: 0 !important;
    color: #102e64 !important;
    font-size: 20px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
}

.fsc-live-card--featured h3 {
    color: #fff !important;
}

.fsc-live-card p {
    margin: 0 0 18px;
    color: #617088;
    font-size: 12px;
    line-height: 1.5;
}

.fsc-live-card--featured p {
    color: #e8f0ff;
}

.fsc-live-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #075cc4;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fsc-live-card--featured .fsc-live-card__cta {
    color: #ffbd00;
}

.fsc-live-card__cta svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.fsc-live__stores {
    margin-top: 11px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.fsc-live__store {
    min-height: 30px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 6px;
    background: rgba(0,0,0,.22);
    color: #fff !important;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none !important;
}

@media (max-width: 1024px) {
    .fsc-live__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .new_header form.search.fsc-tracking-form input.fsc-tracking-input {
        width: 100% !important;
        max-width: 100% !important;
    }

    .fsc-live {
        padding: 46px 0 52px;
    }

    .fsc-live__inner {
        width: calc(100% - 24px);
    }

    .fsc-live__heading {
        display: block;
        margin-bottom: 20px;
    }

    .fsc-live h2 {
        font-size: 29px !important;
    }

    .fsc-live__heading p {
        margin-top: 13px;
        font-size: 12px;
    }

    .fsc-live__grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        padding: 2px 2px 13px;
        scrollbar-width: none;
    }

    .fsc-live__grid::-webkit-scrollbar {
        display: none;
    }

    .fsc-live-card {
        flex: 0 0 min(84vw, 330px);
        min-height: 265px;
        scroll-snap-align: start;
    }

    .fsc-track-modal__actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fsc-live-card,
    .fsc-live-card__status-dot {
        transition: none !important;
        animation: none !important;
    }
}


/* v1.1: LIVE belongs to the production Mobile App card, not Schedules & Rates. */
.fsc-live-card--featured .fsc-live-card__status--app {
    color: #ffffff;
}

.fsc-live-card--featured .fsc-live-card__status--app .fsc-live-card__status-dot {
    background: #35d15f;
    box-shadow: 0 0 0 5px rgba(53,209,95,.15);
}


/* ==========================================================
   PUBLIC FOUR STAR SHIPMENT TRACKING MODAL - v1.2
   ========================================================== */

body.fsc-modal-open { overflow: hidden !important; }

.fsc-shipment-modal {
    position: fixed; inset: 0; z-index: 2147483601; display: none;
    align-items: center; justify-content: center; padding: 20px;
    box-sizing: border-box; background: rgba(5,20,50,.72);
    backdrop-filter: blur(5px);
}
.fsc-shipment-modal.is-open { display: flex; }

.fsc-shipment-modal__panel {
    position: relative; width: min(820px,100%); max-height: calc(100vh - 40px);
    overflow-y: auto; padding: 0 0 24px; box-sizing: border-box;
    border-radius: 18px; background: #fff; color: #16305e;
    box-shadow: 0 26px 80px rgba(0,0,0,.34);
    font-family: Arial,Helvetica,sans-serif;
}
.fsc-shipment-modal__close {
    position: absolute; right: 14px; top: 13px; z-index: 5;
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 0; border-radius: 999px; background: rgba(255,255,255,.15);
    color: #fff; font-size: 25px; cursor: pointer;
}
.fsc-shipment-modal__brand {
    min-height: 58px; padding: 0 64px 0 24px; display: flex; align-items: center;
    gap: 9px; box-sizing: border-box; background: #082f73; color: #fff;
    font-size: 12px; font-weight: 900; letter-spacing: .04em;
}
.fsc-shipment-modal__brand-mark { color: #ffb400; font-size: 21px; }
.fsc-shipment-modal__live {
    margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
    color: #dfeaff; font-size: 10px; letter-spacing: .08em;
}
.fsc-shipment-modal__live i {
    width: 8px; height: 8px; border-radius: 999px; background: #39d364;
    box-shadow: 0 0 0 5px rgba(57,211,100,.12);
}
.fsc-shipment-modal__hero {
    padding: 28px 28px 20px; display: flex; justify-content: space-between;
    gap: 18px; align-items: flex-start;
}
.fsc-shipment-modal__eyebrow {
    margin-bottom: 6px; color: #74839a; font-size: 10px;
    font-weight: 900; letter-spacing: .11em;
}
.fsc-shipment-modal__hero h3 {
    margin: 0 !important; padding: 0 !important; color: #0b3377 !important;
    font-size: 29px !important; line-height: 1.05 !important; font-weight: 850 !important;
}
.fsc-shipment-modal__match { margin-top: 7px; color: #718096; font-size: 11px; }
.fsc-shipment-modal__status {
    flex: 0 0 auto; min-height: 32px; padding: 0 13px; display: inline-flex;
    align-items: center; border-radius: 999px; background: #eef3f8;
    color: #48617c; font-size: 11px; font-weight: 900;
    text-transform: uppercase; letter-spacing: .04em;
}
.fsc-shipment-modal__status.is-transit { background: #eaf3ff; color: #1263c6; }
.fsc-shipment-modal__status.is-received { background: #fff5dc; color: #9b6500; }
.fsc-shipment-modal__status.is-arrived { background: #e6f7eb; color: #1f7a3b; }

.fsc-shipment-modal__description {
    margin: 0 28px; padding: 15px 17px; border: 1px solid #e2e8f0;
    border-radius: 10px; background: #f8fafc; color: #2e4161;
    font-size: 13px; font-weight: 700;
}
.fsc-shipment-progress {
    margin: 28px; display: grid;
    grid-template-columns: minmax(0,1fr) 50px minmax(0,1fr) 50px minmax(0,1fr);
    align-items: start;
}
.fsc-shipment-progress__step { min-width: 0; text-align: center; }
.fsc-shipment-progress__dot {
    width: 34px; height: 34px; margin: 0 auto 9px; display: grid; place-items: center;
    border: 2px solid #ccd7e5; border-radius: 999px; background: #fff;
    color: #8899ad; font-size: 11px; font-weight: 900;
}
.fsc-shipment-progress__step.is-complete .fsc-shipment-progress__dot {
    border-color: #2aa554; background: #2aa554; color: #fff;
}
.fsc-shipment-progress__step.is-current .fsc-shipment-progress__dot {
    border-color: #1263c6; background: #1263c6; color: #fff;
    box-shadow: 0 0 0 6px rgba(18,99,198,.09);
}
.fsc-shipment-progress__step strong {
    display: block; color: #1c365f; font-size: 11px; line-height: 1.25;
}
.fsc-shipment-progress__step small {
    margin-top: 5px; display: block; color: #77869b; font-size: 9px; line-height: 1.3;
}
.fsc-shipment-progress__line { height: 2px; margin-top: 16px; background: #d8e1ec; }
.fsc-shipment-progress__line.is-complete { background: #2aa554; }

.fsc-shipment-modal__metrics {
    margin: 0 28px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
    overflow: hidden; border: 1px solid #e1e8f1; border-radius: 11px;
}
.fsc-shipment-modal__metrics > div {
    min-height: 73px; padding: 13px 15px; box-sizing: border-box;
    border-right: 1px solid #e1e8f1; background: #fff;
}
.fsc-shipment-modal__metrics > div:last-child { border-right: 0; }
.fsc-shipment-modal__metrics span {
    display: block; margin-bottom: 6px; color: #8390a3; font-size: 8px;
    font-weight: 900; letter-spacing: .09em;
}
.fsc-shipment-modal__metrics strong {
    color: #153771; font-size: 17px; font-weight: 850;
}
.fsc-shipment-modal__metrics strong b { font: inherit; }

.fsc-shipment-modal__privacy {
    margin: 17px 28px 0; color: #8995a7; font-size: 9px; line-height: 1.45;
}
.fsc-shipment-modal__actions {
    margin: 18px 28px 0; display: flex; justify-content: flex-end; gap: 9px;
}
.fsc-shipment-modal__login,
.fsc-shipment-modal__done {
    min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center;
    justify-content: center; box-sizing: border-box; border-radius: 7px;
    font-size: 10px; font-weight: 900; letter-spacing: .045em;
    text-decoration: none !important; cursor: pointer;
}
.fsc-shipment-modal__login {
    border: 1px solid #ffb400; background: #ffb400; color: #092f70 !important;
}
.fsc-shipment-modal__done {
    border: 1px solid #d7e0eb; background: #fff; color: #405878;
}

@media (max-width: 700px) {
    .fsc-shipment-modal { padding: 0; align-items: stretch; }
    .fsc-shipment-modal__panel {
        width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0;
    }
    .fsc-shipment-modal__brand { min-height: 64px; padding-left: 17px; font-size: 11px; }
    .fsc-shipment-modal__live { display: none; }
    .fsc-shipment-modal__hero { padding: 23px 18px 17px; display: block; }
    .fsc-shipment-modal__hero h3 { font-size: 27px !important; }
    .fsc-shipment-modal__status { margin-top: 14px; }
    .fsc-shipment-modal__description { margin: 0 18px; }
    .fsc-shipment-progress { margin: 24px 18px; display: block; }
    .fsc-shipment-progress__step {
        position: relative; min-height: 66px; padding-left: 49px; text-align: left;
    }
    .fsc-shipment-progress__dot {
        position: absolute; left: 0; top: 0; margin: 0;
    }
    .fsc-shipment-progress__step strong { padding-top: 4px; font-size: 12px; }
    .fsc-shipment-progress__step small { font-size: 10px; }
    .fsc-shipment-progress__line {
        width: 2px; height: 31px; margin: -25px 0 0 16px;
    }
    .fsc-shipment-modal__metrics {
        margin: 0 18px; grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .fsc-shipment-modal__metrics > div:nth-child(2) { border-right: 0; }
    .fsc-shipment-modal__metrics > div:nth-child(-n+2) {
        border-bottom: 1px solid #e1e8f1;
    }
    .fsc-shipment-modal__privacy { margin-left: 18px; margin-right: 18px; }
    .fsc-shipment-modal__actions {
        margin: 18px 18px 28px; flex-direction: column;
    }
    .fsc-shipment-modal__login,
    .fsc-shipment-modal__done { width: 100%; }
}


.fsc-shipment-modal__brand-logo {
    display: block;
    width: auto;
    height: 28px;
    max-width: 280px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .fsc-shipment-modal__brand-logo {
        height: 24px;
        max-width: 210px;
    }
}


/* ==========================================================
   PUBLIC TRACKING PREMIUM UI v1.3
   Adds transport visualization based on Shipment.Mode.
   ========================================================== */

.fsc-shipment-modal {
    background:
        radial-gradient(circle at 50% 15%, rgba(27,76,151,.20), transparent 34%),
        rgba(3,14,36,.78);
    backdrop-filter: blur(8px);
}

.fsc-shipment-modal__panel {
    width: min(860px, 100%);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    box-shadow: 0 32px 90px rgba(0,0,0,.42);
}

.fsc-shipment-modal__brand {
    min-height: 60px;
    padding-left: 27px;
    background: linear-gradient(100deg, #082f73 0%, #103f86 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.fsc-shipment-modal__brand-logo {
    height: 30px;
    max-width: 310px;
}

.fsc-shipment-modal__live {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
}

.fsc-shipment-modal__close {
    width: 36px;
    height: 36px;
    right: 13px;
    top: 12px;
    background: rgba(255,255,255,.12);
    transition: background .18s ease, transform .18s ease;
}

.fsc-shipment-modal__close:hover {
    background: rgba(255,255,255,.22);
    transform: rotate(4deg);
}

.fsc-shipment-modal__hero {
    padding: 30px 30px 20px;
}

.fsc-shipment-modal__eyebrow {
    color: #8090a7;
    font-size: 9px;
    letter-spacing: .14em;
}

.fsc-shipment-modal__hero h3 {
    font-size: 31px !important;
    letter-spacing: -.02em;
}

.fsc-shipment-modal__subline {
    margin-top: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fsc-shipment-modal__match {
    margin-top: 0;
}

.fsc-shipment-modal__mode {
    display: inline-flex;
    min-height: 23px;
    padding: 0 9px;
    align-items: center;
    border-radius: 999px;
    background: #eef3f9;
    color: #536b8c;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.fsc-shipment-modal__mode.is-air {
    background: #eaf3ff;
    color: #1064c9;
}

.fsc-shipment-modal__mode.is-ocean {
    background: #e9f7fa;
    color: #087289;
}

.fsc-shipment-modal__status {
    min-height: 34px;
    padding: 0 15px;
    box-shadow: inset 0 0 0 1px rgba(16,80,160,.05);
}

.fsc-shipment-modal__description {
    margin: 0 30px;
    padding: 14px 17px 15px;
    display: block;
    border: 1px solid #dde6f0;
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f6f9fc 100%);
}

.fsc-shipment-modal__description-label {
    display: block;
    margin-bottom: 6px;
    color: #8a99ad;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .10em;
}

.fsc-shipment-modal__description strong {
    color: #294263;
    font-size: 13px;
    font-weight: 800;
}

.fsc-shipment-progress {
    margin: 32px 30px 31px;
    grid-template-columns: minmax(0,1fr) 105px minmax(0,1fr) 105px minmax(0,1fr);
    align-items: start;
}

.fsc-shipment-progress__dot {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    font-size: 12px;
    transition: all .18s ease;
}

.fsc-shipment-progress__step strong {
    font-size: 11px;
    font-weight: 800;
}

.fsc-shipment-progress__step small {
    margin-top: 6px;
    color: #7b8a9f;
    font-size: 9px;
}

.fsc-shipment-progress__connector {
    position: relative;
    min-width: 0;
    height: 58px;
    margin-top: 0;
}

.fsc-shipment-progress__line {
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    height: 3px;
    margin: 0;
    overflow: hidden;
    border-radius: 999px;
    background: #dce5ef;
}

.fsc-shipment-progress__connector.is-complete .fsc-shipment-progress__line {
    background: linear-gradient(90deg, #26a654 0%, #2189c9 100%);
}

.fsc-shipment-progress__connector.is-current .fsc-shipment-progress__line {
    background: linear-gradient(90deg, #1e79d6 0%, #1e79d6 58%, #dce5ef 58%, #dce5ef 100%);
}

.fsc-shipment-progress__vehicle {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 0;
    width: 38px;
    height: 38px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    box-sizing: border-box;
    border: 2px solid #d7e1ed;
    border-radius: 999px;
    background: #fff;
    color: #8395aa;
    box-shadow: 0 6px 18px rgba(12,44,91,.12);
    transition: border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.fsc-shipment-progress__vehicle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fsc-shipment-progress__vehicle.is-air svg {
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.3;
}

.fsc-shipment-progress__connector.is-complete .fsc-shipment-progress__vehicle,
.fsc-shipment-progress__connector.is-current .fsc-shipment-progress__vehicle {
    border-color: #b9d4ee;
    color: #1269c6;
    box-shadow: 0 7px 20px rgba(18,105,198,.16);
}

.fsc-shipment-progress__connector.is-complete [data-connector="ground"] .fsc-shipment-progress__vehicle,
.fsc-shipment-progress__connector.is-complete .is-truck {
    color: #279d50;
}

.fsc-shipment-progress__vehicle.is-ocean {
    color: #08758b;
}

.fsc-shipment-progress__transport-label {
    position: absolute;
    top: 43px;
    left: 0;
    right: 0;
    text-align: center;
    color: #8a99ad;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .09em;
}

.fsc-shipment-modal__metrics {
    margin: 0 30px;
    border-radius: 12px;
    border-color: #dfe7f0;
    box-shadow: 0 7px 22px rgba(17,49,92,.04);
}

.fsc-shipment-modal__metrics > div {
    min-height: 78px;
    padding: 15px 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.fsc-shipment-modal__metrics span {
    margin-bottom: 8px;
    font-size: 8px;
}

.fsc-shipment-modal__metrics strong {
    font-size: 18px;
}

.fsc-shipment-modal__privacy {
    margin: 17px 30px 0;
}

.fsc-shipment-modal__actions {
    margin: 19px 30px 0;
}

.fsc-shipment-modal__login {
    min-height: 44px;
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(255,180,0,.16);
}

.fsc-shipment-modal__done {
    border-radius: 8px;
}

@media (max-width: 700px) {
    .fsc-shipment-modal__brand-logo {
        height: 25px;
        max-width: 225px;
    }

    .fsc-shipment-modal__hero {
        padding: 24px 18px 17px;
    }

    .fsc-shipment-modal__subline {
        margin-top: 8px;
    }

    .fsc-shipment-modal__description {
        margin: 0 18px;
    }

    .fsc-shipment-progress {
        margin: 25px 18px 27px;
        display: block;
    }

    .fsc-shipment-progress__step {
        min-height: 68px;
    }

    .fsc-shipment-progress__connector {
        width: 38px;
        height: 48px;
        margin: -21px 0 -4px 0;
    }

    .fsc-shipment-progress__line {
        top: 0;
        bottom: 0;
        left: 17px;
        right: auto;
        width: 3px;
        height: 48px;
        background: #dce5ef;
    }

    .fsc-shipment-progress__connector.is-current .fsc-shipment-progress__line {
        background: linear-gradient(180deg, #1e79d6 0%, #1e79d6 58%, #dce5ef 58%, #dce5ef 100%);
    }

    .fsc-shipment-progress__connector.is-complete .fsc-shipment-progress__line {
        background: linear-gradient(180deg, #26a654 0%, #2189c9 100%);
    }

    .fsc-shipment-progress__vehicle {
        left: 18px;
        top: 5px;
        width: 34px;
        height: 34px;
    }

    .fsc-shipment-progress__vehicle svg {
        width: 21px;
        height: 21px;
    }

    .fsc-shipment-progress__transport-label {
        display: none;
    }

    .fsc-shipment-modal__metrics {
        margin: 0 18px;
    }

    .fsc-shipment-modal__privacy {
        margin-left: 18px;
        margin-right: 18px;
    }

    .fsc-shipment-modal__actions {
        margin-left: 18px;
        margin-right: 18px;
    }
}


/* ==========================================================
   PREMIUM LOGO HEADER v1.3.1
   The source logo has a white image background. Instead of
   placing that rectangle directly on blue, the left side is
   treated as a deliberate white brand plate with a clean
   angled transition into the tracking bar.
   ========================================================== */

.fsc-shipment-modal__brand {
    min-height: 64px !important;
    padding: 0 18px 0 0 !important;
    gap: 0 !important;
    overflow: hidden;
    background: linear-gradient(90deg, #ffffff 0, #ffffff 39%, #0b3c82 39%, #0b3c82 100%) !important;
    border-bottom: 3px solid #ffb400;
}

.fsc-shipment-modal__brand-plate {
    position: relative;
    align-self: stretch;
    flex: 0 0 39%;
    min-width: 330px;
    padding: 0 40px 0 26px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: #ffffff;
    z-index: 1;
}

.fsc-shipment-modal__brand-plate::after {
    content: "";
    position: absolute;
    top: 0;
    right: -28px;
    width: 56px;
    height: 100%;
    background: #ffffff;
    transform: skewX(-20deg);
    transform-origin: center;
    z-index: -1;
}

.fsc-shipment-modal__brand-logo {
    display: block !important;
    width: auto !important;
    height: 31px !important;
    max-width: 300px !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.fsc-shipment-modal__brand-mark {
    color: #ffb400;
}

.fsc-shipment-modal__brand-plate > span:not(.fsc-shipment-modal__brand-mark) {
    color: #10366f;
}

.fsc-shipment-modal__live {
    margin-left: auto !important;
    position: relative;
    z-index: 2;
}

.fsc-shipment-modal__close {
    top: 13px !important;
    right: 13px !important;
}

@media (max-width: 760px) {
    .fsc-shipment-modal__brand {
        min-height: 62px !important;
        background: #0b3c82 !important;
        padding-right: 58px !important;
    }

    .fsc-shipment-modal__brand-plate {
        flex: 0 1 auto;
        min-width: 0;
        width: min(68vw, 300px);
        padding: 0 30px 0 16px;
    }

    .fsc-shipment-modal__brand-plate::after {
        right: -20px;
        width: 40px;
    }

    .fsc-shipment-modal__brand-logo {
        height: 26px !important;
        max-width: min(245px, 58vw) !important;
    }

    .fsc-shipment-modal__live {
        display: none !important;
    }
}
