/* =====================================================================
   EasyLoad Portal — design system
   Navy headings, EasyLoad green actions, soft blue-grey surfaces.
   ===================================================================== */
:root {
    --el-green: #178a36;
    --el-green-600: #127a2e;
    --el-green-700: #0f6627;
    --el-green-50: #eaf6ed;
    --el-green-100: #d7efdd;
    --el-navy: #0c1f4f;
    --el-navy-800: #0b1a3e;
    --el-navy-900: #0a1633;
    --el-blue: #1f5bd8;
    --el-blue-50: #e8effd;
    --el-text: #2c3a55;
    --el-muted: #66728a;
    --el-border: #e3e8f0;
    --el-surface: #f5f8fc;
    --el-surface-2: #eef3f9;
    --el-red: #d93636;
    --el-red-50: #fdecec;
    --el-orange: #f08a17;
    --el-orange-50: #fff3e5;
    --el-purple: #6d3fd8;
    --el-purple-50: #f0eafd;
    --el-radius: 12px;
    --el-radius-sm: 8px;
    --el-shadow: 0 1px 2px rgba(16, 32, 72, .05), 0 6px 20px rgba(16, 32, 72, .06);
    --el-shadow-lg: 0 10px 40px rgba(16, 32, 72, .12);
    --header-h: 72px;
    --sidebar-w: 216px;
}

html { font-size: 15px; scroll-behavior: smooth; }
@media (min-width: 992px) { html { font-size: 15.5px; } }

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--el-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--el-navy); font-weight: 800; letter-spacing: -.02em; }
a { color: var(--el-blue); text-decoration: none; }
a:hover { color: #1649b3; }
.text-green { color: var(--el-green) !important; }
.text-navy { color: var(--el-navy) !important; }
.text-muted-el { color: var(--el-muted) !important; }
.fw-800 { font-weight: 800 !important; }
.small-xs { font-size: .78rem; }
.bg-surface { background: var(--el-surface); }
.svg-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }
main { flex: 1 0 auto; }
:focus-visible { outline: 3px solid rgba(23, 138, 54, .35); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--el-radius-sm); padding: .6rem 1.1rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn-el { background: var(--el-green); border-color: var(--el-green); color: #fff; }
.btn-el:hover, .btn-el:focus { background: var(--el-green-600); border-color: var(--el-green-600); color: #fff; }
.btn-el:active { background: var(--el-green-700) !important; border-color: var(--el-green-700) !important; color: #fff !important; }
.btn-el:disabled { background: #8cc39b; border-color: #8cc39b; color: #fff; }
.btn-outline-el { color: var(--el-green); border: 1.5px solid var(--el-green); background: #fff; }
.btn-outline-el:hover { background: var(--el-green-50); color: var(--el-green-700); border-color: var(--el-green); }
.btn-outline-navy { color: var(--el-navy); border: 1.5px solid var(--el-navy); background: #fff; }
.btn-outline-navy:hover { background: var(--el-navy); color: #fff; }
.btn-white { background: #fff; border: 1px solid var(--el-border); color: var(--el-navy); }
.btn-white:hover { background: var(--el-surface); color: var(--el-navy); border-color: #cfd8e5; }
.btn-soft { background: var(--el-surface-2); border: 1px solid transparent; color: var(--el-navy); }
.btn-soft:hover { background: #e2e9f3; color: var(--el-navy); }
.btn-icon { width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--el-radius-sm); }
.btn-whatsapp { background: var(--el-green); color: #fff; border: 0; }
.btn-whatsapp:hover { background: var(--el-green-600); color: #fff; }
.btn .bi-arrow-right { transition: transform .15s; }
.btn:hover .bi-arrow-right { transform: translateX(3px); }

/* ---------- Logo ---------- */
.logo { font-weight: 800; font-size: 1.75rem; letter-spacing: -.04em; line-height: 1; display: inline-flex; align-items: baseline; text-decoration: none; }
.logo .e { color: var(--el-navy); }
.logo .l { color: var(--el-green); }
.logo:hover .e { color: var(--el-navy); }
.logo-light .e { color: #fff; }
.logo-light .l { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--el-border); height: var(--header-h); }
.site-header .container-fluid { height: 100%; }
.main-nav .nav-link { color: var(--el-navy); font-weight: 600; font-size: .92rem; padding: .5rem .9rem !important; border-radius: 8px; }
.main-nav .nav-link:hover { color: var(--el-green); }
.main-nav .nav-link.active { color: var(--el-green); }
.header-search { max-width: 520px; flex: 1; }
.header-search .form-control { background: var(--el-surface-2); border-color: transparent; padding-left: 2.6rem; height: 44px; }
.header-search .bi { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--el-muted); }
.lang-btn { color: var(--el-navy); font-weight: 500; font-size: .92rem; background: none; border: 0; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .5rem; }
.lang-btn .bi-globe2 { font-size: 1.1rem; }
.bell-btn { position: relative; color: var(--el-navy); font-size: 1.35rem; padding: .3rem .5rem; }
.bell-btn:hover { color: var(--el-green); }
.bell-dot { position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; border-radius: 9px; background: var(--el-red); color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #dde6f3; color: var(--el-navy); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: -.02em; }
.avatar-lg { width: 76px; height: 76px; font-size: 1.7rem; }
.avatar-md { width: 56px; height: 56px; font-size: 1.25rem; }
.user-btn { background: none; border: 0; display: flex; align-items: center; gap: .65rem; text-align: left; padding: 0; }
.user-btn .name { font-weight: 700; color: var(--el-navy); font-size: .9rem; line-height: 1.2; }
.user-btn .role { font-size: .78rem; color: var(--el-muted); }
.dropdown-menu { border: 1px solid var(--el-border); box-shadow: var(--el-shadow-lg); border-radius: var(--el-radius); padding: .4rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .8rem; font-weight: 500; color: var(--el-text); }
.dropdown-item:hover, .dropdown-item.active { background: var(--el-green-50); color: var(--el-green-700); }
.menu-toggle { font-size: 1.8rem; color: var(--el-navy); background: none; border: 0; padding: 0 .25rem; line-height: 1; }

.offcanvas-menu .nav-link { color: var(--el-navy); font-weight: 600; padding: .8rem .75rem; border-radius: 10px; display: flex; align-items: center; gap: .75rem; }
.offcanvas-menu .nav-link .bi { font-size: 1.15rem; width: 1.3rem; text-align: center; }
.offcanvas-menu .nav-link.active, .offcanvas-menu .nav-link:hover { background: var(--el-green-50); color: var(--el-green-700); }
.offcanvas-menu .menu-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--el-muted); padding: .9rem .75rem .35rem; }

/* ---------- App shell with sidebar ---------- */
.app-shell { display: flex; min-height: calc(100vh - var(--header-h)); }
.app-sidebar { width: var(--sidebar-w); flex-shrink: 0; background: #fff; border-right: 1px solid var(--el-border); padding: 1.25rem .85rem; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; display: flex; flex-direction: column; }
.side-link { display: flex; align-items: center; gap: .8rem; padding: .72rem .85rem; border-radius: 10px; color: var(--el-navy); font-weight: 500; margin-bottom: .2rem; }
.side-link .bi, .side-link .svg-ic { font-size: 1.15rem; width: 1.3rem; text-align: center; color: #3a4a6b; }
.side-link:hover { background: var(--el-surface); color: var(--el-navy); }
.side-link.active { background: var(--el-green-50); color: var(--el-green-700); font-weight: 600; }
.side-link.active .bi { color: var(--el-green); }
.side-link .count { margin-left: auto; background: var(--el-red); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 10px; padding: .1rem .45rem; }
.app-main { flex: 1; min-width: 0; background: var(--el-surface); }
@media (max-width: 991.98px) { .app-sidebar { display: none; } }

/* ---------- Page banner (header image band) ---------- */
.page-banner { position: relative; overflow: hidden; background: linear-gradient(90deg, #f7fafe 0%, #eef4fb 45%, #e8f0f9 100%); }
.page-banner .banner-img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 22%, #000 48%); }
.page-banner .banner-body { position: relative; padding-top: 2rem; padding-bottom: 5.25rem; }
.page-banner.banner-compact .banner-body { padding-bottom: 2rem; }
.page-banner h1 { font-size: 2.6rem; margin-bottom: .35rem; }
.page-banner p { color: #3b4865; font-size: 1.08rem; margin: 0; max-width: 540px; }
.title-split .g { color: var(--el-green); }
@media (max-width: 767.98px) {
    .page-banner .banner-img { display: none; }
    .page-banner { background: var(--el-surface); }
    .page-banner .banner-body { padding-top: 1.25rem; padding-bottom: 1.25rem; }
    .page-banner h1 { font-size: 2rem; }
    .page-banner p { font-size: .98rem; }
}
.overlap-up { margin-top: -3.9rem; position: relative; z-index: 2; }
@media (max-width: 767.98px) { .overlap-up { margin-top: 0; } }

/* ---------- Cards & surfaces ---------- */
.el-card { background: #fff; border: 1px solid var(--el-border); border-radius: var(--el-radius); box-shadow: 0 1px 2px rgba(16,32,72,.04); }
.el-card-pad { padding: 1.25rem; }
@media (min-width: 768px) { .el-card-pad { padding: 1.5rem; } }
.el-card-shadow { box-shadow: var(--el-shadow); }
.soft-green { background: var(--el-green-50); border-color: #d5ecdb; }
.soft-blue { background: #f1f6fd; border-color: #e1eaf6; }
.section-title { font-size: 1.25rem; font-weight: 800; color: var(--el-navy); margin: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.link-arrow { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.link-arrow .bi { transition: transform .15s; }
.link-arrow:hover .bi { transform: translateX(3px); }
.divider-v { width: 1px; background: var(--el-border); align-self: stretch; }

/* ---------- Badges ---------- */
.badge-soft { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .76rem; padding: .28rem .6rem; border-radius: 6px; line-height: 1.2; white-space: nowrap; }
.status-green { background: #dcf3e2; color: #177a36; }
.status-blue { background: var(--el-blue-50); color: var(--el-blue); }
.status-slate { background: #e8eef6; color: #3d5170; }
.status-red { background: var(--el-red-50); color: var(--el-red); }
.status-orange { background: var(--el-orange-50); color: #c46a05; }
.tag-outline { border: 1px solid var(--el-border); background: #fff; color: var(--el-muted); }
.verified-badge { background: #dcf3e2; color: #177a36; }

/* ---------- Search bar ---------- */
.search-card { background: #fff; border-radius: 14px; box-shadow: var(--el-shadow-lg); padding: 1rem; border: 1px solid var(--el-border); }
.field-box { position: relative; display: flex; align-items: center; gap: .75rem; border: 1px solid var(--el-border); border-radius: 10px; padding: .55rem .9rem; background: #fff; min-height: 60px; transition: border-color .15s, box-shadow .15s; }
.field-box:focus-within { border-color: var(--el-green); box-shadow: 0 0 0 3px rgba(23,138,54,.12); }
.field-box > .bi, .field-box > .svg-ic { font-size: 1.35rem; color: var(--el-navy); flex-shrink: 0; }
.field-box .fb-body { flex: 1; min-width: 0; }
.field-box label, .field-box .fb-label { display: block; font-size: .82rem; font-weight: 500; color: var(--el-navy); margin: 0; line-height: 1.2; }
.field-box input, .field-box select { border: 0; outline: 0; padding: 0; width: 100%; font-size: .92rem; color: var(--el-text); background: transparent; box-shadow: none !important; }
.field-box input::placeholder { color: #8a94a8; }
.field-box select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230c1f4f' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; }
.field-box input[type=date] { cursor: pointer; }
.swap-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--el-surface-2); color: var(--el-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.swap-btn:hover { background: #dfe7f2; }
.search-grid { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto; gap: .75rem; align-items: center; }
.search-grid .btn-search { height: 60px; padding: 0 1.4rem; font-size: 1.02rem; white-space: nowrap; }
.d-contents { display: contents; }
@media (max-width: 1199.98px) {
    .search-grid { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
    .search-grid .sg-pair { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .75rem; }
    .search-grid .sg-wide { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    /* Pickup + swap on the first row, everything else full width (as in the mobile design). */
    .search-grid { grid-template-columns: minmax(0,1fr) auto; }
    .search-grid > :nth-child(n+3) { grid-column: 1 / -1; }
    .search-grid .field-box { min-height: 56px; }
    .search-grid .btn-search { height: 52px; }
    .search-card { box-shadow: var(--el-shadow); padding: .85rem; }
}
@media (max-width: 399.98px) { .search-grid .sg-pair { grid-template-columns: 1fr; } }
.routes-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin-top: 1rem; }
.routes-row .lbl { font-weight: 700; color: var(--el-navy); font-size: .92rem; margin-right: .25rem; }
.route-chip { border: 1px solid #d6e0ee; background: #fff; color: var(--el-navy); border-radius: 8px; padding: .38rem .8rem; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.route-chip:hover { border-color: var(--el-green); color: var(--el-green); background: var(--el-green-50); }
.route-chip.active { border-color: var(--el-green); background: var(--el-green-50); color: var(--el-green-700); }

/* ---------- Filters ---------- */
.filters-card { position: sticky; top: calc(var(--header-h) + 1rem); }
.filter-group { padding: .9rem 0; border-bottom: 1px solid var(--el-border); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h6 { font-size: .92rem; font-weight: 700; margin-bottom: .55rem; }
.el-check { display: flex; align-items: center; gap: .55rem; padding: .22rem 0; cursor: pointer; font-size: .9rem; color: var(--el-text); margin: 0; }
.el-check input { width: 17px; height: 17px; accent-color: var(--el-green); cursor: pointer; flex-shrink: 0; }
.form-check-input:checked { background-color: var(--el-green); border-color: var(--el-green); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(23,138,54,.2); border-color: var(--el-green); }

/* ---------- Result rows (loads / trucks) ---------- */
.result-card { display: flex; gap: 1rem; padding: .85rem; background: #fff; border: 1px solid var(--el-border); border-radius: var(--el-radius); transition: box-shadow .15s, border-color .15s; position: relative; }
.result-card:hover { box-shadow: var(--el-shadow); border-color: #d3dceb; }
.result-card + .result-card { margin-top: .75rem; }
.result-thumb { width: 130px; height: 104px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--el-surface-2); }
.result-body { flex: 1; min-width: 0; }
.result-title { font-size: 1.08rem; font-weight: 800; color: var(--el-navy); margin: 0; }
.result-title a { color: inherit; }
.result-title a::after { content: ""; position: absolute; inset: 0; }
.result-card .z-up { position: relative; z-index: 2; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; font-size: .86rem; color: #43506b; }
.meta-row .bi, .meta-row .svg-ic { color: var(--el-navy); margin-right: .3rem; }
.route-line { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: .92rem; color: var(--el-text); margin: .4rem 0; }
.route-line .bi-arrow-right { color: var(--el-navy); font-size: 1.05rem; }
.route-line .bi-geo-alt { color: var(--el-navy); }
.price { font-size: 1.2rem; font-weight: 800; color: var(--el-navy); line-height: 1.1; }
.price-note { font-size: .78rem; color: var(--el-muted); }
.result-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .45rem; text-align: right; min-width: 128px; }
.save-btn { border: 0; background: none; color: var(--el-navy); font-size: 1.1rem; padding: .1rem .2rem; }
.save-btn.saved { color: var(--el-green); }
@media (max-width: 575.98px) {
    .result-card { flex-wrap: wrap; gap: .75rem; }
    .result-thumb { width: 92px; height: 84px; }
    .result-side { width: 100%; flex-direction: row; align-items: center; min-width: 0; text-align: left; }
    .result-side .side-price { order: -1; }
    .result-side .btn-cta { flex: 1; }
}
.view-toggle .btn { border: 1px solid var(--el-border); background: #fff; color: var(--el-navy); font-weight: 600; padding: .55rem 1.1rem; }
.view-toggle .btn.active { background: var(--el-green-50); border-color: var(--el-green); color: var(--el-green-700); }
.sort-select { min-width: 190px; }
.form-select, .form-control { border-color: var(--el-border); border-radius: var(--el-radius-sm); padding: .6rem .85rem; color: var(--el-text); }
.form-select:focus, .form-control:focus { border-color: var(--el-green); box-shadow: 0 0 0 3px rgba(23,138,54,.12); }
.form-label { font-weight: 600; color: var(--el-navy); font-size: .9rem; margin-bottom: .35rem; }
.form-label .opt { font-weight: 400; color: var(--el-muted); }
.req { color: var(--el-red); }
.input-icon { position: relative; }
.input-icon > .bi, .input-icon > .svg-ic { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--el-navy); font-size: 1.05rem; pointer-events: none; z-index: 4; }
.input-icon .form-control, .input-icon .form-select { padding-left: 2.6rem; }
.field-validation-error, .text-danger { font-size: .82rem; }
.input-validation-error { border-color: var(--el-red) !important; }

/* ---------- Map ---------- */
.map-box { border-radius: var(--el-radius); overflow: hidden; border: 1px solid var(--el-border); background: #dfe9f3; min-height: 320px; }
.map-sticky { position: sticky; top: calc(var(--header-h) + 1rem); height: calc(100vh - var(--header-h) - 2rem); min-height: 420px; }
.leaflet-container { font-family: inherit; }
.map-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,.25); border: 2px solid #fff; }
.map-pin i { transform: rotate(45deg); color: #fff; font-size: .8rem; }
.map-pin.green { background: var(--el-green); }
.map-pin.red { background: var(--el-red); }
.map-pin.blue { background: var(--el-blue); }

/* ---------- Pagination ---------- */
.pagination .page-link { color: var(--el-navy); border-color: var(--el-border); border-radius: 8px !important; margin: 0 .15rem; font-weight: 600; min-width: 38px; text-align: center; }
.pagination .page-item.active .page-link { background: var(--el-green); border-color: var(--el-green); color: #fff; }

/* ---------- Details pages ---------- */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--el-border); padding: .75rem 0; font-size: .92rem; }
.breadcrumb-bar .bi-chevron-right { font-size: .7rem; color: var(--el-muted); margin: 0 .5rem; }
.gallery-main { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: var(--el-radius); background: var(--el-surface-2); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .6rem; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; background: none; aspect-ratio: 1.3; }
.gallery-thumbs button.active { border-color: var(--el-green); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: 2.3rem; margin: .4rem 0 .1rem; }
.detail-sub { font-size: 1.15rem; color: var(--el-muted); }
.big-route { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: 1.08rem; color: var(--el-navy); font-weight: 500; margin: .9rem 0; }
.big-route .bi { font-size: 1.2rem; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--el-border); padding-top: 1rem; }
.spec-table dl { margin: 0; display: grid; grid-template-columns: 44% 56%; row-gap: .7rem; font-size: .86rem; padding-right: 1rem; }
.spec-table dl + dl { border-left: 1px solid var(--el-border); padding-left: 1rem; }
.spec-table dt { font-weight: 500; color: var(--el-navy); }
.spec-table dd { margin: 0; color: #4b5874; }
@media (max-width: 575.98px) { .spec-table { grid-template-columns: 1fr; } .spec-table dl + dl { border-left: 0; padding-left: 0; margin-top: .7rem; } }
.contact-card .cc-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-card .cc-head .bi { font-size: 2.2rem; color: var(--el-green); line-height: 1; }
.contact-card h5 { margin: 0; font-size: 1.05rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--el-border); margin-top: 1rem; padding-top: 1rem; }
.stat-row > div + div { border-left: 1px solid var(--el-border); padding-left: 1rem; }
.stat-row .v { font-size: 1.15rem; font-weight: 800; color: var(--el-navy); }
.stat-row .k { font-size: .78rem; color: var(--el-muted); }
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: .62rem; top: .6rem; bottom: 3.2rem; width: 2px; background: #cfd8e5; }
.timeline .tl-item { position: relative; padding-bottom: 1.4rem; }
.timeline .tl-dot { position: absolute; left: -2.2rem; top: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: #fff; }
.timeline h6 { margin: 0; font-size: 1rem; }
.timeline .addr { font-size: .86rem; color: var(--el-muted); }
.timeline .k { font-size: .86rem; color: var(--el-navy); margin-top: .8rem; }
.timeline .v { font-size: .92rem; color: #4b5874; }
.similar-item { display: flex; gap: .8rem; padding: .7rem; border: 1px solid var(--el-border); border-radius: 10px; background: #fff; position: relative; }
.similar-item + .similar-item { margin-top: .6rem; }
.similar-item img { width: 94px; height: 82px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.similar-item .t { font-weight: 800; color: var(--el-navy); font-size: .95rem; }
.similar-item .t a { color: inherit; }
.similar-item .t a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Tabs (underline) ---------- */
.tabs-el { display: flex; gap: .25rem; border-bottom: 1px solid var(--el-border); overflow-x: auto; scrollbar-width: none; }
.tabs-el::-webkit-scrollbar { display: none; }
.tabs-el a, .tabs-el button { border: 0; background: none; padding: .95rem 1.2rem; font-weight: 500; color: var(--el-navy); border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs-el a:hover, .tabs-el button:hover { color: var(--el-green); }
.tabs-el .active { color: var(--el-green); border-bottom-color: var(--el-green); font-weight: 700; }

/* ---------- List rows (my loads / trips) ---------- */
.list-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--el-border); align-items: center; }
.list-row:last-child { border-bottom: 0; }
.list-row .thumb { width: 120px; height: 104px; border-radius: 10px; object-fit: cover; }
.list-row .title { font-size: 1.1rem; font-weight: 800; color: var(--el-navy); }
.list-row .code { font-size: .86rem; color: var(--el-muted); }
.kv-mini { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; color: #3b4865; }
.kv-mini .bi, .kv-mini .svg-ic { font-size: 1.05rem; color: var(--el-navy); }
.kv-mini small { display: block; font-size: .74rem; color: var(--el-muted); line-height: 1.1; }
.counter { text-align: left; padding: .25rem .8rem; border-radius: 8px; background: var(--el-surface); min-width: 84px; }
.counter .v { font-size: 1.2rem; font-weight: 800; color: var(--el-blue); line-height: 1.1; }
.counter .k { font-size: .76rem; color: var(--el-muted); }
.kebab { width: 38px; height: 38px; border-radius: 8px; border: 0; background: var(--el-surface); color: var(--el-navy); display: inline-flex; align-items: center; justify-content: center; }
.kebab:hover { background: #e2e9f3; }
@media (max-width: 991.98px) {
    .list-row { grid-template-columns: 92px 1fr; gap: .85rem; }
    .list-row .thumb { width: 92px; height: 84px; }
    .list-row .row-side { grid-column: 1 / -1; }
}

/* ---------- Trip progress ---------- */
.trip-steps { display: flex; align-items: flex-start; justify-content: space-between; position: relative; margin-bottom: .75rem; }
.trip-steps .st { flex: 1; text-align: center; position: relative; font-size: .76rem; color: var(--el-muted); }
.trip-steps .st::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: #dde4ee; z-index: 0; }
.trip-steps .st:first-child::before { display: none; }
.trip-steps .st.done::before, .trip-steps .st.current::before { background: var(--el-green); }
.trip-steps .dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #dde4ee; margin: 0 auto .3rem; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .7rem; border: 3px solid #fff; box-shadow: 0 0 0 1px #dde4ee; }
.trip-steps .st.done .dot { background: var(--el-green); box-shadow: 0 0 0 1px var(--el-green); }
.trip-steps .st.current .dot { background: var(--el-green); box-shadow: 0 0 0 4px var(--el-green-100); }
.trip-steps .st.done, .trip-steps .st.current { color: var(--el-navy); font-weight: 600; }
.trip-steps .st.fail .dot { background: var(--el-red); box-shadow: 0 0 0 1px var(--el-red); }
.trip-note { display: flex; gap: .75rem; align-items: center; border-radius: 10px; padding: .6rem .85rem; font-size: .84rem; }
.trip-note .bi { font-size: 1.4rem; }
.trip-note b { display: block; color: var(--el-navy); font-weight: 700; }
.trip-note.green { background: var(--el-green-50); }
.trip-note.green .bi, .trip-note.green b { color: var(--el-green-700); }
.trip-note.blue { background: var(--el-blue-50); }
.trip-note.blue .bi { color: var(--el-blue); }
.trip-note.red { background: var(--el-red-50); }
.trip-note.red .bi, .trip-note.red b { color: var(--el-red); }
.trip-note.slate { background: var(--el-surface); }

/* ---------- Notifications ---------- */
.notif-row { display: grid; grid-template-columns: 14px 52px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--el-border); }
.notif-row.unread { background: #f6fbf7; }
.notif-row:first-child.unread { background: var(--el-green-50); }
.notif-row .udot { width: 9px; height: 9px; border-radius: 50%; background: var(--el-blue); }
.notif-ic { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.notif-row h6 { margin: 0 0 .15rem; font-size: 1rem; }
.notif-row p { margin: 0; font-size: .9rem; color: #4b5874; }
.notif-row .time { font-size: .82rem; color: var(--el-muted); white-space: nowrap; min-width: 110px; }
.ic-green { background: var(--el-green-50); color: var(--el-green); }
.ic-green-solid { background: var(--el-green); color: #fff; }
.ic-blue { background: var(--el-blue-50); color: var(--el-blue); }
.ic-orange { background: var(--el-orange-50); color: var(--el-orange); }
.ic-red { background: var(--el-red); color: #fff; }
.ic-purple { background: var(--el-purple-50); color: var(--el-purple); }
.ic-purple-solid { background: var(--el-purple); color: #fff; }
.ic-slate { background: var(--el-surface-2); color: #3d5170; }
@media (max-width: 767.98px) {
    .notif-row { grid-template-columns: 10px 44px 1fr 20px; gap: .7rem; padding: .9rem .6rem; }
    .notif-ic { width: 42px; height: 42px; font-size: 1.15rem; }
    .notif-row .time { min-width: 0; }
    .notif-row .n-actions { display: none !important; }
}

/* ---------- Profile ---------- */
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem 1.5rem; }
.kv .k { font-size: .82rem; color: var(--el-muted); margin-bottom: .15rem; }
.kv .v { font-size: .95rem; color: var(--el-navy); font-weight: 500; word-break: break-word; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h5 { margin: 0; font-size: 1.08rem; display: flex; align-items: center; gap: .6rem; }
.card-head h5 .bi { font-size: 1.3rem; color: var(--el-navy); }
.btn-edit { border: 1.5px solid var(--el-green); color: var(--el-green); background: var(--el-green-50); font-size: .86rem; padding: .35rem .8rem; }
.btn-edit:hover { background: var(--el-green); color: #fff; }
.verify-list { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center; font-size: .9rem; }
.verify-list .bi-check-circle-fill { color: var(--el-green); }
.verify-list .bi-clock-fill { color: var(--el-orange); }
.act-tile { border-radius: 10px; padding: .7rem .9rem; }
.act-tile .v { font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.act-tile .k { font-size: .78rem; }
.act-tile.blue { background: var(--el-blue-50); color: var(--el-blue); }
.act-tile.green { background: var(--el-green-50); color: var(--el-green-700); }
.act-tile.purple { background: var(--el-purple-50); color: var(--el-purple); }
.act-tile.orange { background: var(--el-orange-50); color: #c46a05; }
.quick-link { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border: 1px solid var(--el-border); border-radius: 8px; color: var(--el-navy); font-size: .9rem; font-weight: 500; }
.quick-link + .quick-link { margin-top: .4rem; }
.quick-link:hover { border-color: var(--el-green); color: var(--el-green-700); background: var(--el-green-50); }
.quick-link .bi-chevron-right { margin-left: auto; font-size: .8rem; }

/* ---------- Auth (login / register) ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: #fff; }
.auth-hero { position: relative; min-height: 640px; overflow: hidden; color: #fff; background: var(--el-navy-900); }
.auth-hero > img { position: absolute; inset: 0; width: 100%; height: 72%; object-fit: cover; object-position: center top; }
.auth-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,51,0) 30%, rgba(10,22,51,.55) 52%, rgba(10,22,51,.94) 70%, #0a1633 100%); }
.auth-hero .hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 2.75rem; z-index: 2; }
.auth-hero h2 { color: #fff; font-size: 2.6rem; line-height: 1.12; margin-bottom: 1rem; }
.auth-hero .lead-text { font-size: 1.12rem; color: #e1e8f5; max-width: 420px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: 1.08rem; padding: .3rem 0; }
.check-list li .bi { color: #fff; background: var(--el-green); border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; margin-top: .1rem; }
.check-list.dark li { color: var(--el-text); font-size: .95rem; }
.hero-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; text-align: center; }
.hero-icons .bi, .hero-icons .svg-ic { font-size: 2rem; display: block; margin: 0 auto .5rem; }
.hero-icons > div { font-size: .88rem; color: #e1e8f5; }
.hero-icons > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.auth-panel { padding: 2.5rem 1.5rem 3rem; display: flex; justify-content: center; }
.auth-form { width: 100%; max-width: 440px; }
.auth-form h1 { font-size: 2.15rem; margin-bottom: .3rem; }
.auth-form .sub { color: var(--el-muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.mobile-input { display: flex; align-items: center; border: 1px solid var(--el-border); border-radius: 10px; padding: .75rem 1rem .8rem; background: #fff; transition: border-color .15s, box-shadow .15s; }
.mobile-input:focus-within { border-color: var(--el-green); box-shadow: 0 0 0 3px rgba(23,138,54,.12); }
.mobile-input .cc { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--el-navy); padding-right: .9rem; border-right: 1px solid var(--el-border); margin-right: .9rem; }
.mobile-input input { border: 0; outline: 0; flex: 1; font-size: 1.05rem; min-width: 0; letter-spacing: .02em; }
.flag-in { width: 24px; height: 16px; border-radius: 2px; background: linear-gradient(#ff9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); position: relative; box-shadow: 0 0 0 1px #e3e8f0; }
.flag-in::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border: 1px solid #000080; border-radius: 50%; transform: translate(-50%, -50%); }
.field-cap { font-size: .86rem; color: var(--el-navy); margin-bottom: .35rem; display: block; font-weight: 500; }
.or-sep { display: flex; align-items: center; gap: 1rem; color: var(--el-muted); font-size: .9rem; margin: 1.1rem 0; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--el-border); }
.btn-wa-outline { border: 1px solid var(--el-border); background: #fff; color: var(--el-navy); font-weight: 700; width: 100%; padding: .75rem; }
.btn-wa-outline .bi-whatsapp { color: #25d366; font-size: 1.35rem; vertical-align: -.2em; margin-right: .4rem; }
.btn-wa-outline:hover { border-color: #25d366; background: #f3fcf6; color: var(--el-navy); }
.note-box { display: flex; gap: 1rem; align-items: center; background: #f1f5fb; border-radius: 10px; padding: 1rem 1.1rem; margin-top: 1.75rem; }
.note-box .bi { font-size: 2rem; color: var(--el-navy); }
.note-box b { color: var(--el-navy); display: block; font-size: .95rem; }
.note-box span { font-size: .86rem; color: #4b5874; }
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-bottom: 1.4rem; }
.role-opt { position: relative; }
.role-opt input { position: absolute; opacity: 0; }
.role-opt label { display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--el-border); border-radius: 10px; padding: .85rem 1rem; cursor: pointer; transition: all .15s; height: 100%; }
.role-opt label .bi { font-size: 1.8rem; color: var(--el-navy); }
.role-opt label b { display: block; color: var(--el-navy); font-size: .95rem; }
.role-opt label span { font-size: .8rem; color: var(--el-muted); }
.role-opt input:checked + label { border-color: var(--el-green); background: var(--el-green-50); box-shadow: 0 0 0 1px var(--el-green); }
.role-opt input:checked + label .bi { color: var(--el-green); }
.role-opt input:focus-visible + label { outline: 3px solid rgba(23,138,54,.35); }
.stepper { display: flex; justify-content: space-between; position: relative; max-width: 420px; margin: 0 auto 2.2rem; }
.stepper .s { text-align: center; flex: 1; position: relative; font-size: .84rem; color: var(--el-muted); }
.stepper .s::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: #d7dfea; z-index: 0; }
.stepper .s:first-child::before { display: none; }
.stepper .s.done::before, .stepper .s.current::before { background: var(--el-green); }
.stepper .n { position: relative; z-index: 1; width: 32px; height: 32px; margin: 0 auto .45rem; border-radius: 50%; background: #eef2f7; border: 1px solid #d7dfea; color: var(--el-navy); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.stepper .s.current .n { background: var(--el-green); color: #fff; border-color: var(--el-green); box-shadow: 0 0 0 5px var(--el-green-100); }
.stepper .s.done .n { background: var(--el-green); color: #fff; border-color: var(--el-green); }
.stepper .s.current, .stepper .s.done { color: var(--el-navy); font-weight: 600; }
.otp-inputs { display: flex; gap: .6rem; justify-content: space-between; }
.otp-inputs input { width: 100%; max-width: 58px; aspect-ratio: 1 / 1.1; text-align: center; font-size: 1.5rem; font-weight: 700; color: var(--el-navy); border: 1.5px solid var(--el-border); border-radius: 10px; outline: 0; }
.otp-inputs input:focus { border-color: var(--el-green); box-shadow: 0 0 0 3px rgba(23,138,54,.14); }
.otp-inputs.is-invalid input { border-color: var(--el-red); }
.demo-hint { background: #fff8e6; border: 1px dashed #f0c05a; color: #7a5600; border-radius: 10px; padding: .6rem .9rem; font-size: .86rem; }
.choose-card { display: block; border: 1.5px solid var(--el-border); border-radius: 16px; overflow: hidden; color: var(--el-text); transition: all .2s; background: #fff; height: 100%; }
.choose-card:hover { border-color: var(--el-green); box-shadow: var(--el-shadow-lg); transform: translateY(-3px); color: var(--el-text); }
.choose-card img { width: 100%; height: 210px; object-fit: cover; object-position: center 25%; }
.choose-card .cc-body { padding: 1.4rem 1.5rem 1.6rem; }
.choose-card h3 { font-size: 1.35rem; }
@media (max-width: 991.98px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-hero { min-height: 280px; }
    .auth-hero > img { height: 100%; }
    .auth-hero::after { background: linear-gradient(90deg, rgba(10,22,51,.85) 0%, rgba(10,22,51,.55) 55%, rgba(10,22,51,.15) 100%); }
    .auth-hero .hero-copy { padding: 1.5rem 1.25rem; top: 0; display: flex; flex-direction: column; justify-content: center; }
    .auth-hero h2 { font-size: 1.75rem; margin-bottom: .6rem; }
    .auth-hero .lead-text { font-size: .95rem; }
    .auth-hero .check-list li { font-size: .92rem; padding: .15rem 0; }
    .auth-hero .check-list li .bi { width: 20px; height: 20px; font-size: .75rem; }
    .auth-hero .hero-icons { display: none; }
    .auth-panel { padding: 1.5rem 1rem 2.5rem; margin-top: -1rem; border-radius: 18px 18px 0 0; background: #fff; position: relative; z-index: 3; }
    .auth-form h1 { font-size: 1.6rem; text-align: center; }
    .auth-form .sub { text-align: center; font-size: .95rem; }
}

/* ---------- Benefit strip ---------- */
.benefit-strip { background: var(--el-surface); border-top: 1px solid var(--el-border); padding: 2rem 0; }
.benefit { display: flex; gap: 1rem; align-items: center; }
.benefit .bi-circle, .icon-circle { width: 62px; height: 62px; border-radius: 50%; background: var(--el-green-50); color: var(--el-green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0; }
.benefit b { color: var(--el-navy); display: block; font-size: .95rem; }
.benefit span { font-size: .86rem; color: var(--el-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--el-navy-800); color: #c6d0e3; padding: 2.5rem 0 1.75rem; flex-shrink: 0; }
.site-footer h6 { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.site-footer a { color: #c6d0e3; display: block; padding: .15rem 0; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer .tagline { font-size: .92rem; max-width: 300px; margin-top: .8rem; }
.site-footer .f-col { border-left: 1px solid rgba(255,255,255,.14); padding-left: 1.5rem; }
.social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; display: inline-flex !important; align-items: center; justify-content: center; margin-right: .4rem; font-size: 1.05rem; color: #fff; }
.social a:hover { background: rgba(255,255,255,.1); }
.footer-lang .form-select { background-color: transparent; color: #fff; border-color: rgba(255,255,255,.3); max-width: 180px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); }
.footer-lang .form-select option { color: #000; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: #93a0bb; }
@media (max-width: 767.98px) { .site-footer .f-col { border-left: 0; padding-left: 0; } }

/* ---------- Home ---------- */
.home-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #cfe3f5 0%, #f4e2c5 60%, #eef3f6 100%); }
.home-hero .hero-bg { position: absolute; right: 0; top: 0; width: 70%; height: 100%; object-fit: cover; object-position: right 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.home-hero .hero-inner { position: relative; padding-top: 3.2rem; padding-bottom: 3.5rem; }
.home-hero h1 { font-size: 3.6rem; line-height: 1.05; margin-bottom: 2rem; letter-spacing: -.035em; }
.home-hero h1 .g { color: var(--el-green); display: block; }
.search-tabs { display: inline-flex; background: #fff; border-radius: 14px 14px 0 0; overflow: hidden; }
.search-tabs button { border: 0; background: #f3f6fa; padding: 1rem 2.4rem; font-weight: 700; color: var(--el-navy); display: flex; align-items: center; gap: .6rem; font-size: .98rem; border-bottom: 3px solid transparent; }
.search-tabs button .bi { font-size: 1.3rem; }
.search-tabs button.active { background: #fff; color: var(--el-green); border-bottom-color: var(--el-green); }
.home-search { border-top-left-radius: 0; }
@media (max-width: 767.98px) {
    .home-hero { background: linear-gradient(180deg, #d9e8f5 0%, #f6e7cf 55%, #fff 100%); }
    .home-hero .hero-bg { position: relative; width: 100%; height: 210px; -webkit-mask-image: none; mask-image: none; object-position: 70% center; display: block; }
    .home-hero .hero-inner { padding-top: 1.6rem; padding-bottom: 1.5rem; }
    .home-hero h1 { font-size: 2.3rem; margin-bottom: 1rem; }
    .search-tabs { display: flex; }
    .search-tabs button { flex: 1; justify-content: center; padding: .9rem .5rem; }
}
.feature-strip { padding: 1.8rem 0; }
.feature { display: flex; align-items: center; gap: 1rem; }
.feature .icon-circle { width: 58px; height: 58px; font-size: 1.6rem; }
.feature b { display: block; color: var(--el-navy); font-size: .95rem; }
.feature span { font-size: .86rem; color: var(--el-muted); }
.feature-strip .col + .col .feature, .feature-strip .fcol + .fcol { border-left: 1px solid var(--el-border); }
@media (max-width: 767.98px) {
    .feature-strip .fcol { border-left: 0 !important; }
    .feature { flex-direction: column; text-align: center; gap: .5rem; }
}
.how-section { background: var(--el-surface); padding: 2.75rem 0; }
.how-step { display: flex; align-items: center; gap: 1rem; }
.how-step .num { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #cfd8e5; color: var(--el-navy); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.how-step .ill { width: 78px; height: 78px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; color: var(--el-green); box-shadow: var(--el-shadow); flex-shrink: 0; }
.how-step b { display: block; color: var(--el-navy); font-size: 1rem; }
.how-step span { font-size: .88rem; color: var(--el-muted); }
.how-arrow { color: var(--el-navy); font-size: 1.3rem; }
.audience-card { position: relative; overflow: hidden; border-radius: 16px; min-height: 290px; padding: 1.75rem; display: flex; }
.audience-card.owner { background: linear-gradient(100deg, #f4f7fb 0%, #eef3f9 100%); }
.audience-card.shipper { background: linear-gradient(100deg, #f3f8ef 0%, #eef6ea 100%); }
.audience-card img { position: absolute; right: 0; top: 0; height: 100%; width: 52%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.audience-card.owner img { object-position: 65% 20%; }
.audience-card.shipper img { object-position: 50% 20%; }
.audience-card .ac-body { position: relative; z-index: 1; max-width: 58%; }
.audience-card .eyebrow { color: var(--el-green); font-weight: 700; font-size: .88rem; display: flex; align-items: center; gap: .45rem; margin-bottom: .6rem; }
.audience-card h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 1rem; }
.audience-card .check-list li { font-size: .92rem; padding: .18rem 0; }
.audience-card .check-list li .bi { width: 19px; height: 19px; font-size: .7rem; }
@media (max-width: 575.98px) { .audience-card .ac-body { max-width: 64%; } .audience-card h3 { font-size: 1.3rem; } .audience-card img { width: 50%; } }
.cat-card { display: block; color: var(--el-navy); font-weight: 700; font-size: .92rem; }
.cat-card img { width: 100%; aspect-ratio: 2.4; object-fit: cover; border-radius: 10px; margin-bottom: .55rem; transition: transform .2s, box-shadow .2s; }
.cat-card:hover { color: var(--el-green); }
.cat-card:hover img { transform: translateY(-2px); box-shadow: var(--el-shadow); }
.wide-banner { position: relative; overflow: hidden; background: linear-gradient(90deg, #0f2a52 0%, #3b5e7c 40%, #b6926a 100%); min-height: 240px; display: flex; align-items: center; }
.wide-banner img { position: absolute; right: 0; top: 0; width: 70%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.wide-banner h2 { position: relative; color: #fff; font-size: 2.2rem; max-width: 520px; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
@media (max-width: 767.98px) { .wide-banner { min-height: 200px; } .wide-banner img { width: 100%; opacity: .55; -webkit-mask-image: none; mask-image: none; } .wide-banner h2 { font-size: 1.55rem; } }
.trust-item { text-align: center; }
.trust-item .icon-circle { margin: 0 auto .6rem; }
.trust-item b { color: var(--el-navy); font-size: .92rem; }
.app-promo { position: relative; overflow: hidden; background: linear-gradient(90deg, #f3f7fb 0%, #eef3f8 50%, #d9e2ec 100%); }
.app-promo img { position: absolute; right: 0; bottom: 0; height: 100%; width: 50%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%); mask-image: linear-gradient(90deg, transparent 0%, #000 20%); }
.store-btn { display: inline-flex; align-items: center; gap: .6rem; background: #000; color: #fff; border-radius: 10px; padding: .55rem 1.1rem; line-height: 1.1; }
.store-btn .bi { font-size: 1.6rem; }
.store-btn small { display: block; font-size: .66rem; opacity: .85; }
.store-btn b { font-size: 1.05rem; }
.store-btn:hover { color: #fff; background: #1b1b1b; }
@media (max-width: 767.98px) { .app-promo img { position: relative; width: 100%; height: 190px; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Upload ---------- */
.dropzone { border: 1.5px dashed #b9c6d8; border-radius: 12px; background: #fafcfe; text-align: center; padding: 1.3rem 1rem; cursor: pointer; transition: all .15s; }
.dropzone.drag { border-color: var(--el-green); background: var(--el-green-50); }
.dropzone .bi-image { font-size: 1.7rem; color: var(--el-navy); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.preview-grid .pv { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--el-surface-2); }
.preview-grid .pv img { width: 100%; height: 100%; object-fit: cover; }
.preview-grid .pv button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; color: var(--el-navy); font-size: .8rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.req-toggle { display: flex; flex-wrap: wrap; gap: .6rem; }
.req-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.req-toggle label { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--el-border); background: #f4f7fb; border-radius: 8px; padding: .55rem 1rem; cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--el-navy); transition: all .15s; }
.req-toggle label .bi, .req-toggle label .svg-ic { font-size: 1.05rem; }
.req-toggle input:checked + label { background: var(--el-green-50); border-color: var(--el-green); color: var(--el-green-700); }
.req-toggle input:focus-visible + label { outline: 3px solid rgba(23,138,54,.35); }
.form-section { padding: 1.35rem 0; border-bottom: 1px solid var(--el-border); }
.form-section:first-child { padding-top: 0; }
.form-section:last-child { border-bottom: 0; }
.form-section-title { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.form-section-title .n { width: 30px; height: 30px; border-radius: 50%; background: var(--el-green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.form-section-title h5 { margin: 0; font-size: 1.12rem; }
/* Post a Load on phones: requirement toggles become four icon tiles, sections 4–5 fold away. */
.req-short { display: none; }
.form-section-title .fold-chev { display: none; margin-left: auto; color: var(--el-navy); transition: transform .15s; }
@media (max-width: 767.98px) {
    .req-toggle { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
    .req-toggle label { flex-direction: column; justify-content: center; gap: .25rem; padding: .5rem .25rem; font-size: .68rem; text-align: center; line-height: 1.15; }
    .req-toggle label .bi { font-size: 1.15rem; }
    .req-long { display: none; }
    .req-short { display: inline; }
    .form-section.fold-sm .form-section-title { cursor: pointer; margin-bottom: 0; }
    .form-section.fold-sm .fold-chev { display: inline-block; }
    .form-section.fold-sm.open .form-section-title { margin-bottom: 1rem; }
    .form-section.fold-sm.open .fold-chev { transform: rotate(90deg); }
    .form-section.fold-sm:not(.open) .fold-body { display: none; }
    .post-actions-sm { position: sticky; bottom: 0; background: #fff; padding: .75rem 0; z-index: 5; }
}
.side-sticky { position: sticky; top: calc(var(--header-h) + 1rem); }
.tips-list { list-style: none; padding: 0; margin: 0; }
.tips-list li { display: flex; gap: .6rem; font-size: .88rem; color: #3b4865; padding: .35rem 0; }
.tips-list li .bi { color: var(--el-navy); }

/* ---------- Toasts ---------- */
.toast-area { position: fixed; top: calc(var(--header-h) + .75rem); right: 1rem; z-index: 1090; max-width: calc(100vw - 2rem); }
.toast { border: 0; border-radius: 12px; box-shadow: var(--el-shadow-lg); }
.toast .toast-body { display: flex; align-items: center; gap: .65rem; font-weight: 500; }
.toast .bi { font-size: 1.25rem; }
.toast.t-success .bi { color: var(--el-green); }
.toast.t-danger .bi { color: var(--el-red); }
.toast.t-info .bi { color: var(--el-blue); }

/* ---------- Success pages ---------- */
.success-mark { width: 88px; height: 88px; border-radius: 50%; background: var(--el-green-50); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; box-shadow: 0 0 0 10px #f3faf5; }
.success-mark .bi { font-size: 2.8rem; color: var(--el-green); }
.next-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.next-steps li { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px dashed var(--el-border); text-align: left; }
.next-steps li:last-child { border-bottom: 0; }
.next-steps li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--el-green-50); color: var(--el-green-700); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.next-steps b { color: var(--el-navy); display: block; }
.next-steps span { font-size: .88rem; color: var(--el-muted); }

/* ---------- Static pages ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p, .prose li { color: #3b4865; line-height: 1.7; }
.accordion-button { font-weight: 700; color: var(--el-navy); }
.accordion-button:not(.collapsed) { background: var(--el-green-50); color: var(--el-green-700); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(23,138,54,.15); }
.accordion-item { border-color: var(--el-border); }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state .bi { font-size: 2.8rem; color: #9fb0c9; }
.empty-state h5 { margin-top: .75rem; }

/* ---------- Mobile bottom action bar ---------- */
.mobile-cta { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--el-border); padding: .75rem 1rem; z-index: 20; box-shadow: 0 -4px 16px rgba(16,32,72,.06); }

/* ---------- Utilities ---------- */
.container-xxl-el { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 575.98px) { .container-xxl-el { padding: 0 1rem; } }
.gap-xs { gap: .35rem; }
.min-w-0 { min-width: 0; }
.cursor-pointer { cursor: pointer; }
.is-loading { pointer-events: none; opacity: .7; }
.offcanvas-menu .count { margin-left: auto; background: var(--el-red); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 10px; padding: .1rem .45rem; }
.wide-banner > .container-xxl-el { width: 100%; position: relative; }
.field-box input, .field-box select { min-width: 0; }
.benefit .icon-circle, .feature .icon-circle { font-size: 1.6rem; }
.benefit .icon-circle .svg-ic, .feature .icon-circle .svg-ic, .trust-item .icon-circle .svg-ic { font-size: 1.6rem; }
