/* =========================================================================
   SHIPMENT SAATHI — PAGE & MODULE STYLESHEET
   Auth, Dashboard, Early COD Plans, Remittances, Modals & Readability Rules
   ========================================================================= */

/* =========================================================================
   1. AUTH PAGES (LOGIN & REGISTER) — PREMIUM LIQUID GLASS DESIGN SYSTEM
   Multi-layer frosted refraction, specular rims & mobile form-only view
   Brand Colors: #0B2C6D (Royal Navy) & #FF7822 (Express Orange)
   ========================================================================= */

@keyframes authOrbFloatA {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(28px, 22px, 0) scale(1.06); }
}

@keyframes authOrbFloatB {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-24px, -18px, 0) scale(1.08); }
}

.auth-lite-page {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(60% 55% at 12% 14%, rgba(56, 189, 248, 0.24) 0%, transparent 65%),
        radial-gradient(52% 50% at 88% 18%, rgba(255, 120, 34, 0.26) 0%, transparent 64%),
        radial-gradient(58% 58% at 74% 88%, rgba(99, 102, 241, 0.22) 0%, transparent 65%),
        radial-gradient(50% 45% at 18% 86%, rgba(14, 165, 233, 0.16) 0%, transparent 60%),
        linear-gradient(135deg, #06122E 0%, #0B2152 46%, #102B68 78%, #0A1940 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-lite-page::before {
    content: "";
    position: fixed;
    top: -140px;
    left: -110px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.30) 0%, rgba(37, 99, 235, 0.10) 48%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
    animation: authOrbFloatA 16s ease-in-out infinite;
}

.auth-lite-page::after {
    content: "";
    position: fixed;
    bottom: -150px;
    right: -120px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 120, 34, 0.32) 0%, rgba(249, 115, 22, 0.10) 48%, transparent 72%);
    filter: blur(22px);
    pointer-events: none;
    z-index: 0;
    animation: authOrbFloatB 18s ease-in-out infinite;
}

/* Subtle glass mesh overlay */
.auth-bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 35%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.auth-lite-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 32px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 440px;
    align-items: center;
    gap: 52px;
}

.auth-lite-container.auth-register-layout {
    max-width: 1220px;
    grid-template-columns: minmax(0, 0.95fr) 540px;
    gap: 44px;
}

/* Left Liquid Glass Hero Showcase (Desktop Only) */
.auth-lite-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 540px;
}

.auth-brand-glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 8px 24px rgba(2, 8, 28, 0.28);
    color: #F8FAFC;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.auth-brand-glass-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF8A3D;
    box-shadow: 0 0 0 3.5px rgba(255, 138, 61, 0.28), 0 0 12px rgba(255, 138, 61, 0.85);
}

.auth-lite-headline {
    font-size: 42px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -1.1px;
    color: #FFFFFF;
    margin: 20px 0 14px;
    text-shadow: 0 4px 24px rgba(3, 10, 30, 0.35);
}

.auth-lite-headline span {
    background: linear-gradient(135deg, #FFB067 0%, #FF7822 55%, #FB923C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-lite-subtext {
    font-size: 15px;
    line-height: 1.62;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.86);
    margin: 0 0 26px;
    max-width: 470px;
}

/* Liquid Glass Feature Stats Grid (Desktop Hero) */
.auth-glass-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 22px;
}

.auth-glass-stat {
    padding: 14px 15px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 10px 26px rgba(2, 8, 28, 0.24);
}

.auth-glass-stat-val {
    font-size: 19px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.4px;
}

.auth-glass-stat-lbl {
    font-size: 11px;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.85);
    margin-top: 3px;
}

.auth-carrier-Strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.auth-carrier-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 700;
    color: #F8FAFC;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 4px 14px rgba(2, 8, 28, 0.20);
}

.auth-carrier-chip i,
.auth-carrier-chip svg {
    width: 14px;
    height: 14px;
    color: #FDBA74;
}

/* Right Luminous Frosted Liquid Glass Form Card */
.auth-glass-card {
    width: 100%;
    border-radius: 26px;
    padding: 28px 30px 26px;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.90) 0%,
        rgba(248, 251, 255, 0.82) 52%,
        rgba(241, 246, 255, 0.88) 100%
    );
    backdrop-filter: blur(34px) saturate(210%);
    -webkit-backdrop-filter: blur(34px) saturate(210%);
    border: 1.5px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 28px 70px rgba(2, 8, 28, 0.44),
        0 6px 24px rgba(56, 189, 248, 0.12),
        inset 0 1.5px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(17, 49, 119, 0.08);
    position: relative;
    overflow: hidden;
}

.auth-glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #0B2C6D 0%, #38BDF8 50%, #FF7822 100%);
    opacity: 0.92;
}

.auth-glass-card::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 120, 34, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Desktop Brand Logo Stage (Hidden on Mobile so Mobile has ZERO images) */
.auth-logo-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 4px 14px rgba(11, 44, 109, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-radius: 16px;
    padding: 10px 18px;
    margin-bottom: 16px;
}

.auth-logo-stage img {
    height: 46px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Mobile-only Pure Typography Brand Header (No Image) */
.auth-mobile-brand {
    display: none;
    text-align: center;
    margin-bottom: 12px;
}

.auth-mobile-brand-name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: #0B2C6D;
}

.auth-mobile-brand-name span {
    color: #FF7822;
}

/* Liquid Glass Segmented Tab Switcher (Sign In / Create Account) */
.auth-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 4px;
    border-radius: 14px;
    background: rgba(11, 44, 109, 0.07);
    border: 1px solid rgba(11, 44, 109, 0.10);
    box-shadow: inset 0 1px 3px rgba(11, 44, 109, 0.06);
    margin-bottom: 18px;
}

.auth-mode-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    color: #475569;
    transition: all 0.18s ease;
}

.auth-mode-tab:hover {
    color: #0B2C6D;
}

.auth-mode-tab.active {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    color: #0B2C6D;
    box-shadow:
        0 3px 10px rgba(11, 44, 109, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 18px;
}

.auth-card-heading {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #0B2C6D;
    margin: 0 0 4px;
}

.auth-card-sub {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin: 0;
}

/* Form Layout & Liquid Glass Inputs */
.auth-form-stack {
    display: grid;
    gap: 13px;
    position: relative;
    z-index: 1;
}

.auth-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-field-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: #1E3A8A;
    margin-bottom: 5px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 12px;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.auth-input-icon svg,
.auth-input-icon i {
    width: 15px;
    height: 15px;
}

.auth-glass-input {
    width: 100%;
    border-radius: 13px;
    padding: 10.5px 13px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0F172A;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(15, 42, 102, 0.15);
    box-shadow:
        inset 0 1.5px 3px rgba(15, 23, 42, 0.04),
        0 1px 0 rgba(255, 255, 255, 0.85);
    transition: all 0.18s ease;
}

.auth-glass-input.has-icon {
    padding-left: 36px;
}

.auth-glass-input.has-toggle {
    padding-right: 40px;
}

.auth-glass-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.auth-glass-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #FF7822;
    box-shadow:
        0 0 0 3.5px rgba(255, 120, 34, 0.18),
        0 4px 12px rgba(11, 44, 109, 0.07);
}

.auth-eye-btn {
    position: absolute;
    right: 10px;
    border: 0;
    background: transparent;
    color: #64748B;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.auth-eye-btn:hover {
    color: #0B2C6D;
    background: rgba(11, 44, 109, 0.07);
}

.auth-eye-btn svg,
.auth-eye-btn i {
    width: 16px;
    height: 16px;
}

.auth-otp-input {
    text-align: center;
    letter-spacing: 9px;
    font-size: 20px;
    font-weight: 900;
    color: #0B2C6D;
}

/* Luminous Liquid Glass CTA Button */
.auth-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12.5px 18px;
    border-radius: 13px;
    border: 1px solid rgba(255, 237, 213, 0.45);
    background: linear-gradient(135deg, #FF832E 0%, #EA580C 100%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1px;
    cursor: pointer;
    box-shadow:
        0 10px 26px rgba(234, 88, 12, 0.36),
        inset 0 1px 1px rgba(255, 255, 255, 0.45);
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-1.5px);
    box-shadow:
        0 14px 30px rgba(234, 88, 12, 0.46),
        inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

.auth-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.auth-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.auth-secondary-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10.5px 16px;
    border-radius: 13px;
    border: 1.5px solid rgba(11, 44, 109, 0.20);
    background: rgba(255, 255, 255, 0.78);
    color: #0B2C6D;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.auth-secondary-btn:hover {
    background: #FFFFFF;
    border-color: #0B2C6D;
}

/* Alerts, OTP Box & Footer Links */
.auth-error-alert {
    padding: 10px 13px;
    border-radius: 12px;
    background: rgba(254, 242, 242, 0.96);
    border: 1px solid #FECACA;
    color: #B91C1C;
    font-size: 12px;
    font-weight: 700;
}

.auth-otp-banner {
    padding: 13px 15px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(238, 244, 255, 0.95) 0%, rgba(224, 242, 254, 0.85) 100%);
    border: 1px solid rgba(11, 44, 109, 0.18);
    color: #0B2C6D;
    font-size: 12px;
}

.auth-otp-title {
    font-weight: 800;
    color: #0B2C6D;
}

.auth-otp-sub {
    margin-top: 3px;
    color: #334155;
}

.auth-otp-demo {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(255, 120, 34, 0.14);
    border: 1px solid rgba(255, 120, 34, 0.35);
    color: #9A3412;
    font-weight: 800;
}

.auth-terms-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.auth-terms-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #FF7822;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-switch-text {
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    margin-top: 2px;
}

.auth-switch-link {
    color: #0B2C6D;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1.5px solid #FF7822;
    padding-bottom: 1px;
    transition: color 0.15s ease;
}

.auth-switch-link:hover {
    color: #FF7822;
}

.is-hidden {
    display: none !important;
}

/* =========================================================================
   MOBILE VIEW (<= 960px): STRICTLY ONLY LOGIN / REGISTER FORM — NO IMAGES
   ========================================================================= */
@media (max-width: 960px) {
    .auth-lite-page {
        background-image: none !important;
        background:
            radial-gradient(85% 45% at 15% 8%, rgba(56, 189, 248, 0.24) 0%, transparent 65%),
            radial-gradient(85% 45% at 88% 92%, rgba(255, 120, 34, 0.24) 0%, transparent 65%),
            linear-gradient(160deg, #06122E 0%, #0D2458 55%, #071535 100%) !important;
    }

    .auth-lite-left,
    .auth-logo-stage,
    .auth-lite-page img {
        display: none !important;
    }

    .auth-mobile-brand {
        display: block;
    }

    .auth-lite-container,
    .auth-lite-container.auth-register-layout {
        grid-template-columns: 1fr;
        justify-items: center;
        align-content: center;
        padding: 20px 14px;
        gap: 0;
    }

    .auth-glass-card {
        max-width: 440px;
        padding: 24px 20px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 540px) {
    .auth-form-row-2 {
        grid-template-columns: 1fr;
    }

    .auth-glass-input {
        padding-top: 11px;
        padding-bottom: 11px;
    }
}

/* =========================================================================
   2. EARLY COD REMITTANCE PLANS (/early-cod)
   ========================================================================= */

.ecod-grid-bg-blue {
    background-color: #F0F9FF;
    background-image:
        linear-gradient(to right, rgba(186, 230, 253, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(186, 230, 253, 0.4) 1px, transparent 1px);
    background-size: 24px 24px;
}

.ecod-grid-bg-amber {
    background-color: #FFFDF4;
    background-image:
        linear-gradient(to right, rgba(253, 230, 138, 0.45) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(253, 230, 138, 0.45) 1px, transparent 1px);
    background-size: 24px 24px;
}

.ecod-grid-bg-slate {
    background-color: #F8FAFC;
    background-image:
        linear-gradient(to right, rgba(203, 213, 225, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(203, 213, 225, 0.4) 1px, transparent 1px);
    background-size: 24px 24px;
}

.ecod-grid-bg-green {
    background-color: #BBF7D0;
    background-image:
        linear-gradient(to right, rgba(16, 185, 129, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 185, 129, 0.15) 1px, transparent 1px),
        linear-gradient(180deg, #DCFCE7 0%, #A7F3D0 100%);
    background-size: 24px 24px, 24px 24px, 100% 100%;
}

.ecod-card {
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.ecod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(11, 44, 109, 0.12);
}

.ecod-card-top {
    padding: 22px 22px 18px;
}

.ecod-badge-slot {
    min-height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
}

.ecod-pill-active {
    padding: 4px 13px;
    border-radius: 999px;
    background: var(--brand-navy);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.ecod-pill-popular {
    padding: 4px 13px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.ecod-plan-title {
    font-size: 16.5px;
    font-weight: 900;
    color: var(--brand-navy);
    margin-bottom: 14px;
}

.ecod-days-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 4px 0;
}

.ecod-days-big {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.ecod-days-unit {
    font-size: 16px;
    font-weight: 800;
    color: #334155;
}

.ecod-fee-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.ecod-fee-big {
    font-size: 22px;
    font-weight: 900;
}

.ecod-fee-sub {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

.ecod-desc-text {
    font-size: 12px;
    font-weight: 500;
    color: #1E293B;
    line-height: 1.45;
    margin-bottom: 18px;
    min-height: 36px;
}

.ecod-activate-btn {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.15s ease;
}

.ecod-card-bottom {
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(11, 44, 109, 0.1);
    background: #FFFFFF;
}

.ecod-card-bottom.green-tint {
    background: rgba(255, 255, 255, 0.45);
}

.ecod-benefit-strip {
    padding: 14px 18px;
    border-radius: 12px;
    background: #ECFDF5;
    border: 1.5px solid #6EE7B7;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.ecod-benefit-star {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #D1FAE5;
    color: #047857;
    display: grid;
    place-items: center;
    font-weight: 900;
    flex-shrink: 0;
}

/* =========================================================================
   3. COD REMITTANCES & CLIENT SETTLEMENT (/remittances)
   ========================================================================= */

.rem-kpi-box {
    padding: 18px 20px;
    border-radius: 14px;
}

.rem-kpi-blue {
    background: #EFF6FF;
    border: 1.5px solid #BFDBFE;
}

.rem-kpi-green {
    background: #ECFDF5;
    border: 1.5px solid #A7F3D0;
}

.rem-kpi-amber {
    background: #FEFCE8;
    border: 1.5px solid #FDE047;
}

.rem-kpi-purple {
    background: #F5F3FF;
    border: 1.5px solid #DDD6FE;
}

.rem-kpi-label {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
}

.rem-kpi-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--brand-navy);
    margin-top: 6px;
}

.rem-kpi-value.green {
    color: #15803D;
}

.rem-kpi-sub {
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    margin-top: 4px;
}

.rem-carrier-strip {
    padding: 12px 14px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rem-flow-step {
    padding: 14px 16px;
    border-radius: 12px;
    text-align: center;
}

.rem-flow-step-1 {
    background: #EFF6FF;
    border: 1.5px solid #BFDBFE;
}

.rem-flow-step-2 {
    background: #ECFDF5;
    border: 1.5px solid #A7F3D0;
}

.rem-flow-step-3 {
    background: #DCFCE7;
    border: 1.5px solid #86EFAC;
}

.rem-flow-title {
    font-size: 14px;
    font-weight: 900;
    color: var(--brand-navy);
}

.rem-flow-desc {
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    margin-top: 3px;
}

.rem-flow-arrow {
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    color: var(--brand-primary);
    line-height: 1;
}

/* =========================================================================
   4. MODALS & OVERLAYS
   ========================================================================= */

.ss-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(7, 29, 73, 0.6);
    backdrop-filter: blur(4px);
    place-items: center;
    padding: 16px;
}

.ss-modal-card {
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 25px 65px rgba(7, 29, 73, 0.32);
    border: 1px solid #CBD5E1;
}

/* =========================================================================
   5. GLOBAL HIGH-CONTRAST FONT & READABILITY ENHANCEMENTS
   Ensures all muted/subtle text across every page is crisp & legible
   ========================================================================= */

.content [style*="color:#64748b"],
.content [style*="color: #64748b"],
.content [style*="color:#94a3b8"],
.content [style*="color: #94a3b8"] {
    color: #334155 !important;
    font-weight: 500;
}

.content [style*="color:#0f172a"],
.content [style*="color: #0f172a"] {
    color: #091E42 !important;
}

@media (max-width: 1024px) {
    .shipment-detail-grid {
        grid-template-columns: 1fr !important;
    }
}
