:root {
    --navy: #061a38;
    --navy-dark: #031226;
    --blue: #1268f3;
    --text: #17233c;
    --muted: #6b7890;
    --line: #e7edf7;
    --bg: #f5f8fd;
    --green: #20bf7a;
    --orange: #ff982d;
    --red: #ff4d5e;
    --purple: #7b61ff;
}

* {
    box-sizing: border-box;
    font-family: Baloo\ 2, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}
body {
    margin: 0;
    font-family: Baloo\ 2, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    color: var(--text);
    background: var(--bg);
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: currentColor; }

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    transition: grid-template-columns .2s ease;
}
.dashboard-shell.sidebar-collapsed {
    grid-template-columns: 52px minmax(0, 1fr);
}

.dash-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    color: #0a1830;
    background: #fff;
    border-right: none;
    overflow-y: auto;
    scrollbar-width: none;
}
.dash-sidebar::-webkit-scrollbar {
    display: none;
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 47px 0;
}
.dash-logo strong {
    overflow: hidden;
    color: #202a3d;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-toggle-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    padding-left: 24px;
    flex: 0 0 auto;
}
.sidebar-menu-btn {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    transition: background .18s ease, transform .18s ease;
}
.sidebar-menu-btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}
.sidebar-menu-btn svg {
    width: 18px;
    height: 18px;
}
.sidebar-user-name {
    overflow: hidden;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-menu {
    display: grid;
    gap: 0;
    flex: 1 0 auto;
}
.dash-menu a {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border-radius: 0;
    color: #3b3b3b;
    font-size: 16px;
    font-weight: 400;
    line-height: 60px;
    white-space: nowrap;
}
.dash-menu a.active,
.dash-menu a:hover {
    color: #304ffe;
    background: #e6e8ff;
}
.dash-menu svg:not(.menu-caret) {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
    color: #758092;
}
.dash-menu a > img {
    width: 52px;
    height: 60px;
    flex: 0 0 52px;
    padding: 18px 14px;
    object-fit: contain;
}
.menu-icon-wrap img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.dash-menu a.active svg,
.dash-menu a:hover svg {
    color: #215cff;
}
.menu-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 60px;
    flex: 0 0 52px;
}
.menu-new-badge {
    position: absolute;
    left: 12px;
    top: 6px;
    min-width: 27px;
    height: 13px;
    display: inline-grid;
    place-items: center;
    border-radius: 3px;
    color: #fff;
    background: #e63946;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}
.dash-menu .menu-caret {
    width: 14px;
    height: 14px;
    flex: 0 0 16px;
    margin-left: auto;
    margin-right: 14px;
    color: #111827;
    transform: rotate(180deg);
}
.dash-menu a.has-submenu:not(.open) .menu-caret { transform: rotate(0deg); }
.dash-menu a.has-submenu:hover .menu-caret {
    color: #215cff;
}
.dash-submenu {
    display: grid;
    gap: 0;
    padding: 0 0 8px 79px;
}
.dash-submenu[hidden] {
    display: none !important;
}
.dash-submenu a {
    min-height: 60px;
    padding: 0;
    color: #3b3b3b;
    font-size: 16px;
    font-weight: 400;
    line-height: 60px;
}

.sidebar-support {
    margin-top: 0;
    padding: 0 3px 12px;
    border-top: 1px solid var(--line);
    flex: 0 0 auto;
}
.support-link {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1f2937;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}
.support-link:hover {
    color: #5068cb;
    background: #eef1ff;
}
.support-link img {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    object-fit: contain;
}
.account-manager {
    padding: 15px 0 0;
    border-top: 1px solid var(--line);
    color: #687386;
}
.account-manager > p {
    margin: 0 0 10px;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
}
.manager-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 12px;
    border: 1px solid #e1e7f4;
    border-radius: 10px 10px 0 0;
    background: #fff;
}
.manager-avatar {
    width: 42px;
    height: 42px;
    display: block;
    border-radius: 50%;
    background: #f2f4fa;
    object-fit: cover;
}
.manager-card strong {
    display: block;
    color: #081426;
    font-size: 13px;
    font-weight: 800;
}
.manager-card small {
    display: block;
    margin-top: 6px;
    color: #526079;
    font-size: 12px;
}
.manager-availability {
    min-height: 36px;
    display: grid;
    place-items: center;
    margin: 0 5px;
    border-radius: 0 0 8px 8px;
    background: #dff5e2;
    color: #168222;
    font-size: 12px;
    font-weight: 500;
}
.manager-help {
    margin: 16px 0 0 !important;
    color: #7a8496;
    font-size: 12px !important;
    line-height: 1.55;
}
.manager-help a {
    color: #0062ff;
    font-weight: 600;
}
.dash-main { min-width: 0; }

@media (min-width: 721px) {
    .dashboard-shell {
        display: grid;
    }
    .dash-main,
    .gps-view:not([hidden]) {
        display: block;
    }
    .gps-workspace.route-open .vehicle-list-panel {
        display: grid;
    }
}

.drivers-shell {
    background: #f3f3f3;
}

.drivers-main {
    min-width: 0;
    min-height: 100vh;
    background: #f3f3f3;
}

.drivers-header {
    height: 73px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.drivers-menu-btn {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #111827;
}

.drivers-menu-btn svg {
    width: 22px;
    height: 22px;
}

.drivers-header img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.drivers-header h1 {
    margin: 0;
    color: #141924;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
}

.drivers-toolbar {
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 45px 10px 31px;
    background: #fff;
    border-bottom: 1px solid #dddddd;
}

.drivers-add-btn {
    height: 32px;
    min-width: 96px;
    border: 0;
    border-radius: 2px;
    background: #304ffe;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.drivers-search {
    width: min(214px, 100%);
    height: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #9aa3af;
}

.drivers-search svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.drivers-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #374151;
    font-size: 12px;
}

.drivers-search input::placeholder {
    color: #c0c4cc;
}

.drivers-table {
    margin: 0 16px 40px;
    min-height: calc(100vh - 126px);
    background: #fff;
}

.drivers-table-head {
    min-height: 48px;
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.1fr 1.1fr 1fr;
    align-items: center;
    padding: 0 36px;
    color: #111827;
    background: #f3f3f3;
    font-size: 15px;
    font-weight: 400;
}

.drivers-empty {
    min-height: calc(100vh - 174px);
    display: grid;
    place-items: center;
    color: #53627a;
    font-size: 18px;
    font-weight: 400;
}

.driver-form-view {
    min-height: calc(100vh - 73px);
    padding: 0 42px 48px 30px;
    background: #fff;
}

.driver-form-title-row {
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.driver-form-title-row h2 {
    margin: 0;
    color: #5f6877;
    font-size: 18px;
    font-weight: 400;
}

.driver-close-btn {
    height: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #304ffe;
    border-radius: 0;
    background: #fff;
    color: #304ffe;
    font-size: 13px;
    font-weight: 400;
}

.driver-close-btn svg {
    width: 13px;
    height: 13px;
}

.driver-form-tabs {
    height: 33px;
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid #dddddd;
}

.driver-form-tabs button {
    height: 33px;
    padding: 0 5px;
    border: 0;
    border-bottom: 2px solid #304ffe;
    background: transparent;
    color: #304ffe;
    font-size: 15px;
    font-weight: 400;
}

.driver-add-form {
    width: min(494px, 100%);
    padding: 31px 0 0 31px;
}

.driver-add-form label {
    display: grid;
    gap: 20px;
    color: #8b95a3;
    font-size: 15px;
    font-weight: 400;
}

.driver-add-form label b {
    color: #f05454;
    font-weight: 400;
}

.driver-form-grid {
    display: grid;
    grid-template-columns: 220px 220px;
    gap: 24px;
    margin-bottom: 44px;
}

.driver-add-form input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    outline: 0;
    color: #374151;
    font-size: 12px;
    font-weight: 400;
}

.driver-add-form input::placeholder {
    color: #9da3ad;
}

.driver-license-field {
    margin-bottom: 44px;
}

.driver-license-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
}

.driver-license-input input {
    border-right: 0;
}

.driver-license-input button {
    height: 40px;
    border: 1px solid #dddddd;
    background: #fff;
    color: #304ffe;
    font-size: 13px;
    font-weight: 400;
}

.driver-date-field {
    margin-bottom: 44px;
}

.driver-date-input {
    position: relative;
}

.driver-date-input input {
    padding-right: 44px;
}

.driver-date-input svg {
    position: absolute;
    right: 40px;
    top: 50%;
    width: 14px;
    height: 14px;
    color: #111827;
    transform: translateY(-50%);
    pointer-events: none;
}

.driver-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.driver-cancel-btn,
.driver-save-btn {
    width: 68px;
    height: 25px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 400;
}

.driver-cancel-btn {
    border: 1px solid #304ffe;
    background: #fff;
    color: #304ffe;
}

.driver-save-btn {
    border: 1px solid #304ffe;
    background: #304ffe;
    color: #fff;
}

.places-shell {
    background: #e9ecfb;
}

.places-main {
    min-width: 0;
    min-height: 100vh;
    background: #e9ecfb;
}

.places-header {
    height: 86px;
    display: grid;
    grid-template-columns: 24px 27px auto minmax(280px, 494px) 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    background: #fff;
}

.places-header img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.places-header h1 {
    margin: 0;
    color: #141924;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
}

.places-header h1 span {
    color: #7b8494;
    font-weight: 400;
}

.places-search {
    height: 41px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid #dde1ec;
    border-radius: 5px;
    background: #f7f8fc;
    color: #9aa3af;
}

.places-search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.places-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #374151;
    font-size: 16px;
}

.places-search input::placeholder {
    color: #a9afba;
}

.places-workspace {
    min-height: calc(100vh - 86px);
    display: grid;
    grid-template-columns: minmax(520px, 47%) minmax(0, 1fr);
    gap: 16px;
    padding: 16px 24px 0 18px;
}

.places-left {
    min-width: 0;
}

.places-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 13px;
}

.places-add-btn,
.places-upload-btn {
    height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

.places-add-btn {
    width: 122px;
    border: 1px solid #006bff;
    background: #006bff;
    color: #fff;
}

.places-upload-btn {
    width: 141px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #006bff;
    background: #fff;
    color: #0057ff;
}

.places-upload-btn svg {
    width: 18px;
    height: 18px;
}

.places-alert-toggle {
    height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px 0 17px;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.places-alert-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.places-alert-toggle i {
    position: relative;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #c9cbd1;
}

.places-alert-toggle i::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
}

.places-table-head,
.place-row {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr .8fr 28px;
    align-items: start;
    gap: 16px;
}

.places-table-head {
    min-height: 48px;
    align-items: center;
    padding: 0 24px;
    border-radius: 9px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.places-list {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.place-row {
    min-height: 80px;
    padding: 18px 18px 18px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 13px;
    line-height: 1.8;
}

.place-row.active {
    border-color: #6ba0ff;
}

.place-row strong {
    font-weight: 500;
}

.place-row p {
    margin: 0;
}

.place-row span {
    white-space: nowrap;
}

.place-row button {
    border: 0;
    background: transparent;
    color: #7b8494;
    font-size: 22px;
    line-height: 1;
}

.places-map {
    position: relative;
    min-height: calc(100vh - 102px);
    overflow: hidden;
    background:
        var(--map-preview-image, none) center / cover no-repeat,
        linear-gradient(102deg, transparent 0 84%, #8ed8e8 84.4% 85.6%, transparent 86%),
        linear-gradient(18deg, transparent 0 58%, #8ed8e8 58.3% 59.5%, transparent 60%),
        radial-gradient(ellipse at 16% 10%, #bdf1cd 0 16%, transparent 16.5%),
        radial-gradient(ellipse at 52% 16%, #c8f3d5 0 18%, transparent 18.5%),
        radial-gradient(ellipse at 74% 35%, #c9f4d8 0 15%, transparent 15.5%),
        radial-gradient(ellipse at 23% 78%, #c9f4d8 0 21%, transparent 21.5%),
        radial-gradient(ellipse at 63% 76%, #c7f2d6 0 24%, transparent 24.5%),
        linear-gradient(162deg, transparent 0 32%, #9eb3d5 32.2% 32.7%, transparent 33%),
        linear-gradient(14deg, transparent 0 44%, #9eb3d5 44.2% 44.8%, transparent 45%),
        linear-gradient(146deg, transparent 0 62%, #9eb3d5 62.2% 62.8%, transparent 63%),
        linear-gradient(96deg, transparent 0 70%, #9eb3d5 70.2% 70.8%, transparent 71%),
        repeating-linear-gradient(0deg, transparent 0 95px, rgba(199, 210, 227, .55) 96px 97px, transparent 98px 190px),
        repeating-linear-gradient(90deg, transparent 0 120px, rgba(199, 210, 227, .45) 121px 122px, transparent 123px 240px),
        #f5efe2;
}

.places-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 17, 16, .18);
    opacity: 1;
}

.mappls-map {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #eef2f5;
    opacity: 1;
    pointer-events: auto;
}
.mappls-map > div,
.mappls-map .mapboxgl-map,
.mappls-map .maplibregl-map,
.mappls-map .leaflet-container {
    width: 100% !important;
}

.map-error-state {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: none;
    place-content: center;
    justify-items: center;
    gap: 12px;
    padding: 28px;
    text-align: center;
    background:
        linear-gradient(rgba(248, 250, 252, .94), rgba(248, 250, 252, .94)),
        repeating-linear-gradient(28deg, transparent 0 62px, rgba(205, 213, 225, .52) 63px 65px, transparent 66px 128px),
        repeating-linear-gradient(-18deg, transparent 0 78px, rgba(205, 213, 225, .38) 79px 81px, transparent 82px 150px);
    color: #111827;
}

.places-map.map-error-mode .map-error-state {
    display: grid;
}

.map-error-state::before {
    content: "";
    width: 190px;
    height: 70px;
    margin-bottom: -18px;
    border: 3px dashed #c8ced8;
    border-top: 0;
    border-radius: 50%;
    opacity: .8;
}

.map-error-icon {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border: 3px solid #ef6f86;
    border-radius: 50%;
    background: #fff1f4;
    color: #ef526f;
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
}

.map-error-state h2 {
    margin: 4px 0 0;
    font-size: 21px;
    font-weight: 800;
}

.map-error-state > strong {
    color: #e3283f;
    font-size: 14px;
    font-weight: 800;
}

.map-error-box {
    min-width: 320px;
    max-width: min(92%, 430px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid #ffc2cb;
    border-radius: 6px;
    background: #fff1f4;
    color: #d71932;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
}

.map-error-box b {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 50%;
    line-height: 1;
}

.map-error-state p {
    max-width: 410px;
    margin: 4px 0;
    color: #596273;
    font-size: 13px;
    line-height: 1.55;
}

.map-error-state button {
    min-width: 96px;
    height: 40px;
    border: 0;
    border-radius: 5px;
    background: #1768d8;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(23, 104, 216, .22);
}

.map-error-state small {
    min-width: 330px;
    max-width: min(92%, 430px);
    padding: 14px 18px;
    border: 1px solid #cfe0fb;
    border-radius: 6px;
    background: #eff6ff;
    color: #3a75c4;
    font-size: 12px;
}

.places-map.map-live-mode,
.places-map.map-loaded {
    background: #eef2f5;
}

.places-map.map-live-mode .mappls-map,
.places-map.map-loaded .mappls-map {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    z-index: 6;
    opacity: 1;
}

.places-map.map-live-mode .mappls-map > div,
.places-map.map-live-mode .mappls-map .mapboxgl-map,
.places-map.map-live-mode .mappls-map .maplibregl-map,
.places-map.map-live-mode .mappls-map .leaflet-container,
.places-map.map-live-mode .mappls-map .mapboxgl-canvas-container,
.places-map.map-live-mode .mappls-map .maplibregl-canvas-container,
.places-map.map-live-mode .mappls-map .mapboxgl-canvas,
.places-map.map-live-mode .mappls-map .maplibregl-canvas,
.places-map.map-live-mode .mappls-map canvas,
.places-map.map-loaded .mappls-map > div,
.places-map.map-loaded .mappls-map .mapboxgl-map,
.places-map.map-loaded .mappls-map .maplibregl-map,
.places-map.map-loaded .mappls-map .leaflet-container,
.places-map.map-loaded .mappls-map .mapboxgl-canvas-container,
.places-map.map-loaded .mappls-map .maplibregl-canvas-container,
.places-map.map-loaded .mappls-map .mapboxgl-canvas,
.places-map.map-loaded .mappls-map .maplibregl-canvas,
.places-map.map-loaded .mappls-map canvas {
    width: 100% !important;
    /* height: 100% !important; */
}

.places-map.map-loaded .map-error-state {
    display: none;
}

.places-map:not(.map-loaded) > .place-map-label,
.places-map:not(.map-loaded) > .place-map-pin,
.places-map:not(.map-loaded) > .places-map-card,
.places-map:not(.map-loaded) > .places-zoom {
    display: none;
}

.places-map.map-live-mode::before,
.places-map.map-live-mode > .place-map-label,
.places-map.map-live-mode > .place-map-pin,
.places-map.map-live-mode > .places-map-card,
.places-map.map-live-mode > .places-zoom,
.places-map.map-loaded::before,
.places-map.map-loaded > .place-map-label,
.places-map.map-loaded > .place-map-pin,
.places-map.map-loaded > .places-map-card,
.places-map.map-loaded > .places-zoom {
    display: none;
}

.places-map .mappls-map [title*="Full"],
.places-map .mappls-map [title*="full"],
.places-map .mappls-map [aria-label*="Full"],
.places-map .mappls-map [aria-label*="full"],
.places-map .mappls-map .mapboxgl-ctrl-fullscreen,
.places-map .mappls-map .leaflet-control-fullscreen,
.places-map .mappls-map .mmi_fullscreen,
.places-map .mappls-map .mappls_fullscreen {
    display: none !important;
}

.place-map-label {
    position: absolute;
    z-index: 1;
    color: #273040;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
}

.uzbekistan { left: 13%; top: 12%; }
.china { right: 13%; top: 28%; }
.pakistan { left: 28%; top: 42%; }
.india { left: 47%; top: 52%; }
.bangladesh { left: 57%; top: 55%; }
.myanmar { right: 24%; top: 66%; }
.sri { left: 45%; bottom: 10%; }
.mumbai { left: 31%; top: 73%; font-size: 13px; letter-spacing: 0; }
.kolkata { left: 58%; top: 63%; font-size: 13px; letter-spacing: 0; }
.hyderabad { left: 40%; top: 77%; font-size: 13px; letter-spacing: 0; }

.place-map-pin {
    position: absolute;
    left: 48%;
    top: 58%;
    z-index: 3;
    width: 22px;
    height: 22px;
    border: 4px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #0d6efd;
    transform: rotate(-45deg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}

.places-map-card {
    position: absolute;
    left: 39%;
    top: 42%;
    z-index: 4;
    width: 198px;
    padding: 13px 13px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 16px rgba(0, 0, 0, .28);
    color: #111827;
    font-size: 11px;
    line-height: 1.55;
}

.places-map-card button {
    position: absolute;
    right: -12px;
    top: -30px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #6b7280;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.places-map-card strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 800;
}

.places-map-card p {
    margin: 0 0 13px;
}

.places-zoom {
    position: absolute;
    right: 9px;
    top: 50%;
    z-index: 5;
    display: grid;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.places-zoom button {
    width: 39px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    background: #fff;
    color: #4b5563;
    font-size: 24px;
    line-height: 1;
}

.places-zoom button small {
    font-size: 10px;
    font-weight: 700;
}

.place-add-modal[hidden] {
    display: none !important;
}

.place-add-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.place-add-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .68);
}

.place-add-card {
    position: relative;
    z-index: 1;
    width: min(1314px, calc(100vw - 72px));
    min-height: 716px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.place-add-head {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

.place-add-head h2 {
    margin: 0;
    color: #252a33;
    font-size: 24px;
    font-weight: 500;
}

.place-add-head button {
    border: 0;
    background: transparent;
    color: #858585;
    font-size: 30px;
    line-height: 1;
}

.place-add-body {
    display: grid;
    grid-template-columns: 39.6% minmax(0, 1fr);
    gap: 15px;
    padding: 0 12px 14px;
}

.place-add-form {
    min-height: 640px;
    display: grid;
    align-content: start;
    gap: 27px;
    padding: 2px 0 24px;
}

.place-add-form label {
    display: grid;
    gap: 12px;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}

.place-add-form input,
.place-add-form select,
.place-geofence-select {
    width: 100%;
    height: 48px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    outline: 0;
    color: #333;
    background: #fff;
    font-size: 14px;
}

.place-add-form input::placeholder,
.place-add-form select,
.place-geofence-select {
    color: #b4bac3;
}

.place-geofence-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.place-geofence-select svg {
    width: 18px;
    height: 18px;
    color: #111;
}

.place-geofence-field {
    position: relative;
}

.place-location-input {
    position: relative;
}

.place-location-input input {
    padding-left: 42px;
}

.place-location-input svg {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: #a3a3a3;
    transform: translateY(-50%);
}

.place-type-box {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}

.place-type-box[hidden] {
    display: none !important;
}

.place-type-box button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    background: #fff;
    color: #3b3b3b;
    font-size: 13px;
    text-align: left;
}

.place-type-box button:last-child {
    border-bottom: 0;
}

.place-type-box b {
    margin-left: auto;
    padding: 4px 7px;
    border-radius: 4px;
    background: #e63946;
    color: #fff;
    font-size: 10px;
}

.place-radio-dot {
    width: 22px;
    height: 22px;
    border: 2px dotted #111;
    border-radius: 50%;
}

.place-poly-icon {
    width: 20px;
    height: 20px;
    border-left: 2px solid #30333a;
    border-bottom: 2px solid #30333a;
    transform: skewY(-28deg);
}

.place-save-btn {
    align-self: end;
    width: 100%;
    height: 50px;
    margin-top: 143px;
    border: 0;
    border-radius: 5px;
    background: #dedede;
    color: #9b9b9b;
    font-size: 14px;
}

.place-add-map {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .25) inset;
    background:
        radial-gradient(circle at 45% 35%, rgba(172, 209, 105, .42) 0 12%, transparent 13%),
        radial-gradient(circle at 66% 49%, rgba(172, 209, 105, .34) 0 11%, transparent 12%),
        linear-gradient(135deg, #e2e3dd 0 41%, #90caf7 42% 66%, #e5e5de 67% 100%);
}

.place-add-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(23deg, transparent 0 54%, rgba(101, 155, 104, .28) 55% 56%, transparent 57%),
        linear-gradient(94deg, transparent 0 56%, rgba(70, 134, 202, .45) 57% 58%, transparent 59%);
    opacity: .75;
}

.place-add-target {
    position: absolute;
    left: 38%;
    top: 30%;
    z-index: 3;
    width: 10px;
    height: 10px;
    border: 2px solid #111;
    border-radius: 50%;
    background: #fff;
}

.ums-shell {
    background: #f6f7fd;
}

.ums-main {
    min-width: 0;
    min-height: 100vh;
    background: #f6f7fd;
}

.ums-header {
    height: 73px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid #d5d8e2;
    background: #fff;
}

.ums-header img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.ums-header h1 {
    margin: 0;
    color: #141924;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0;
}

.ums-tabs-bar {
    height: 49px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 1px solid #eceef5;
    background: #fff;
}

.ums-tabs-bar > button {
    width: 161px;
    border: 0;
    border-bottom: 2px solid #ff006b;
    background: #fff;
    color: #35506a;
    font-size: 12px;
    font-weight: 500;
}

.ums-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 16px;
}

.ums-role-btn,
.ums-user-btn {
    height: 32px;
    min-width: 100px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.ums-role-btn {
    border: 2px solid #0062ff;
    background: #fff;
    color: #005cff;
}

.ums-user-btn {
    border: 2px solid #0062ff;
    background: #0062ff;
    color: #fff;
    box-shadow: 0 3px 7px rgba(0, 98, 255, .2);
}

.ums-empty {
    min-height: calc(100vh - 122px);
    display: grid;
    align-content: start;
    justify-items: center;
    padding-top: 70px;
    color: #000;
}

.ums-empty-icon {
    position: relative;
    width: 42px;
    height: 48px;
    margin-bottom: 5px;
}

.ums-empty-icon span {
    position: absolute;
    left: 4px;
    top: 0;
    width: 30px;
    height: 48px;
    border-radius: 1px;
    background:
        linear-gradient(#8094ff, #8094ff) 8px 12px / 15px 3px no-repeat,
        linear-gradient(#8094ff, #8094ff) 8px 20px / 15px 3px no-repeat,
        linear-gradient(#8094ff, #8094ff) 8px 28px / 12px 3px no-repeat,
        #c8d0ff;
}

.ums-empty-icon i {
    position: absolute;
    right: 1px;
    bottom: 4px;
    width: 31px;
    height: 4px;
    border-radius: 999px;
    background: #3e5bff;
    transform: rotate(-45deg);
}

.ums-empty h2 {
    margin: 0;
    color: #000;
    font-size: 21px;
    font-weight: 400;
}

.ums-empty p {
    margin: 14px 0 30px;
    color: #8b8f99;
    font-size: 15px;
    font-weight: 400;
}

.ums-empty button {
    width: 88px;
    height: 37px;
    border: 0;
    border-radius: 4px;
    background: #0062ff;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.settings-shell {
    background: #f5f6fd;
}

.settings-main {
    min-width: 0;
    min-height: 100vh;
    background: #f5f6fd;
}

.settings-header {
    height: 73px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid #d5d8e2;
    background: #fff;
}

.settings-header img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.settings-header h1 {
    margin: 0;
    color: #141924;
    font-size: 22px;
    font-weight: 500;
}

.settings-tabs {
    height: 41px;
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding-left: 31px;
    border-bottom: 1px solid #d9dce5;
    background: #fff;
}

.settings-tabs button {
    min-width: 93px;
    padding: 0 6px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #4e5b6d;
    font-size: 15px;
    font-weight: 400;
}

.settings-tabs button.active {
    border-bottom-color: #304ffe;
    color: #304ffe;
}

.settings-panel {
    min-height: calc(100vh - 114px);
    padding-top: 52px;
    background: #f5f6fd;
}

.settings-panel[hidden] {
    display: none !important;
}

.settings-table-head,
.settings-row {
    display: grid;
    grid-template-columns: 335px 250px minmax(180px, 1fr);
    align-items: center;
}

.settings-table-head {
    height: 57px;
    padding-left: 46px;
    border-bottom: 1px solid #dfe2eb;
    background: #f3f4fb;
    color: #667386;
    font-size: 15px;
    font-weight: 400;
}

.settings-section-label {
    height: 46px;
    display: flex;
    align-items: center;
    padding-left: 46px;
    background: #fff;
    color: #101827;
    font-size: 15px;
    font-weight: 400;
}

.settings-row {
    min-height: 99px;
    padding-left: 46px;
    background: #fff;
}

.settings-row strong {
    display: block;
    margin-bottom: 10px;
    color: #111827;
    font-size: 14px;
    font-weight: 400;
}

.settings-row p {
    margin: 0;
    color: #969ba5;
    font-size: 13px;
    line-height: 1.35;
}

.settings-speed {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-size: 15px;
}

.settings-speed input {
    width: 70px;
    height: 24px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    outline: 0;
    color: #627386;
    font-size: 12px;
}

.settings-switch {
    width: 40px;
    height: 24px;
    display: inline-flex;
}

.settings-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.settings-switch i {
    position: relative;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #c8c8c8;
}

.settings-switch i::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform .18s ease;
}

.settings-switch input:checked + i {
    background: #1375ff;
}

.settings-switch input:checked + i::after {
    transform: translateX(16px);
}

.settings-password-panel {
    padding: 15px 15px 0;
}

.settings-password-form {
    min-height: calc(100vh - 151px);
    padding: 33px 0 0 31px;
    background: #fff;
}

.settings-password-form label {
    width: 250px;
    display: grid;
    gap: 20px;
    margin-bottom: 42px;
    color: #8b95a3;
    font-size: 15px;
    font-weight: 400;
}

.settings-password-form b {
    color: #f05454;
    font-weight: 400;
}

.settings-password-form input {
    width: 250px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #dedede;
    outline: 0;
    color: #374151;
    font-size: 12px;
}

.settings-password-form input::placeholder {
    color: #9da3ad;
}

.settings-password-input {
    position: relative;
}

.settings-password-input input {
    padding-right: 42px;
}

.settings-password-input button {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 13px;
    transform: translateY(-50%);
}

.settings-password-form > button {
    width: 88px;
    height: 32px;
    margin-left: 162px;
    border: 0;
    border-radius: 2px;
    background: #304ffe;
    color: #fff;
    font-size: 13px;
}

.tags-shell {
    background: #f7f8fb;
}

.tags-main {
    min-width: 0;
    min-height: 100vh;
    background: #f7f8fb;
}

.tags-header {
    height: 73px;
    display: grid;
    grid-template-columns: 24px 27px auto minmax(280px, 548px) 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0 24px 0 18px;
    border-bottom: 1px solid #e1e4ed;
    background: #fff;
}

.tags-header > img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.tags-header h1 {
    margin: 0;
    color: #141924;
    font-size: 22px;
    font-weight: 500;
    white-space: nowrap;
}

.tags-search {
    height: 41px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid #dde1ec;
    border-radius: 5px;
    background: #f7f8fc;
    color: #9aa3af;
}

.tags-search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.tags-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #374151;
    font-size: 14px;
}

.tags-search input::placeholder {
    color: #b8bec9;
}

.tags-top-actions,
.tags-empty-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tags-top-actions {
    justify-self: end;
}

.tags-upload-btn,
.tags-add-btn {
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
}

.tags-upload-btn {
    min-width: 180px;
    border: 1px solid #0062ff;
    background: #eff5ff;
    color: #005cff;
}

.tags-upload-btn span {
    font-size: 22px;
    line-height: 1;
}

.tags-add-btn {
    min-width: 112px;
    border: 1px solid #0062ff;
    background: #0062ff;
    color: #fff;
    box-shadow: 0 3px 7px rgba(0, 98, 255, .18);
}

.tags-empty {
    min-height: calc(100vh - 73px);
    display: grid;
    align-content: center;
    justify-items: center;
    padding-bottom: 65px;
}

.tags-empty-image {
    width: 250px;
    max-width: 72vw;
    height: auto;
    margin-bottom: 2px;
    object-fit: contain;
}

.tags-empty h2 {
    margin: 0 0 22px;
    color: #263145;
    font-size: 24px;
    font-weight: 700;
}

.dcm-shell {
    background: #f7f8fb;
}

.dcm-main {
    min-width: 0;
    min-height: 100vh;
    background: #f7f8fb;
}

.dcm-header {
    height: 73px;
    display: grid;
    grid-template-columns: 27px 28px auto minmax(260px, 350px) 1fr;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid #e1e4ed;
    background: #fff;
}

.dcm-header > img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.dcm-back {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 26px;
    line-height: 1;
}

.dcm-header h1 {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.dcm-search {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #cfd4e3;
    border-radius: 6px;
    background: #f1f3fc;
    color: #9aa3af;
}

.dcm-search svg {
    width: 17px;
    height: 17px;
}

.dcm-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #374151;
    font-size: 14px;
}

.dcm-search input::placeholder {
    color: #9ea6b3;
}

.dcm-content {
    min-height: calc(100vh - 73px);
    display: grid;
    grid-template-columns: minmax(760px, 1fr) 475px;
    gap: 0;
}

.dcm-left {
    padding: 31px 0 0 17px;
}

.dcm-filter-row {
    display: flex;
    gap: 9px;
    margin-bottom: 30px;
}

.dcm-filter-row button {
    height: 34px;
    padding: 0 17px;
    border: 1px solid #e0e5f0;
    border-radius: 6px;
    background: #fff;
    color: #000;
    font-size: 13px;
}

.dcm-table {
    overflow: hidden;
    min-height: calc(100vh - 264px);
    border: 1px solid #e0e3ea;
    border-radius: 14px 14px 0 0;
    background: #fff;
}

.dcm-table-head,
.dcm-table-row {
    display: grid;
    grid-template-columns: 1.35fr .72fr 1fr 1.08fr 1.13fr 1fr 1fr .8fr;
    align-items: center;
    gap: 12px;
    padding: 0 25px;
}

.dcm-table-head {
    min-height: 55px;
    border-bottom: 1px solid #e0e3ea;
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

.dcm-table-row {
    min-height: 65px;
    border-bottom: 1px solid #e0e3ea;
    color: #111827;
    font-size: 13px;
}

.dcm-table-row.selected {
    background: #eaf3ff;
}

.dcm-table-row strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight:600;
}

.dcm-table-row strong i {
    width: 16px;
    height: 12px;
    opacity: .22;
    background: #48aa55;
    clip-path: polygon(0 45%, 52% 45%, 60% 20%, 82% 20%, 100% 45%, 100% 72%, 0 72%);
}

.dcm-table-row strong i.live {
    opacity: 1;
}

.dcm-table-row .ok {
    color: #1c9b37;
    font-weight: 700;
}

.dcm-table-row .expired {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b81f2d;
}

.dcm-table-row .expired b,
.dcm-table-row .muted b {
    font-weight: 700;
}

.dcm-table-row .muted {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #c9cbd1;
}

.dcm-side {
    position: relative;
    border-left: 1px solid #e5e7ef;
    background: #fff;
}

.dcm-pay-card {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 209px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 7px rgba(0, 0, 0, .12);
}

.dcm-pay-card > img {
    width: 28px;
    height: 34px;
    flex: 0 0 28px;
    object-fit: contain;
}

.dcm-pay-card div {
    min-width: 0;
    flex: 1;
}

.dcm-pay-card strong {
    display: block;
    color: #2d1f18;
    font-size: 14px;
}

.dcm-pay-card small {
    color: #9b8f87;
    font-size: 12px;
}

.dcm-pay-card a {
    width: 45px;
    height: 33px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: #086bff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dcm-empty {
    min-height: calc(100vh - 73px);
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 0 28px 76px;
    text-align: center;
}

.dcm-empty img {
    width: 98px;
    height: 104px;
    object-fit: contain;
    margin-bottom: 17px;
}

.dcm-empty h2 {
    margin: 0 0 22px;
    color: #000;
    font-size: 18px;
    font-weight: 800;
}

.dcm-empty p {
    margin: 0;
    color: #000;
    font-size: 15px;
}

.trips-shell {
    min-height: 100vh;
    background: #f5f6fa;
}

.trips-main {
    min-width: 0;
    background: #f5f6fa;
}

.trips-header {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 30px 0 20px;
    border-bottom: 1px solid #e4e7f2;
    background: #fff;
}

.trips-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.trips-title-wrap > img {
    width: 24px;
    height: 24px;
}

.trips-header h1 {
    margin: 0 2px 0 0;
    color: #101828;
    font-size: 26px;
    font-weight: 700;
}

.trips-search {
    width: 350px;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid #cfd5e6;
    border-radius: 6px;
    background: #f4f6ff;
}

.trips-search svg {
    width: 18px;
    height: 18px;
    fill: #8a94a6;
}

.trips-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 14px;
}

.trips-search input::placeholder {
    color: #98a1b3;
}

.trips-create {
    height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: #0667f6;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(6, 103, 246, .18);
}

.trips-create span {
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
}

.trips-content {
    padding: 43px 30px 24px 26px;
}

.trips-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 20px 24px;
}

.trips-filter-row button {
    min-width: 78px;
    height: 42px;
    padding: 0 17px;
    border: 1px solid #e1e6f2;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.trips-filter-row button.active {
    border-color: #006cff;
    color: #006cff;
}

.trips-table {
    overflow: auto;
    max-height: calc(100vh - 290px);
    border: 1px solid #e5e8f0;
    border-radius: 10px 10px 0 0;
    background: #fff;
}

.trips-table-head,
.trips-row {
    display: grid;
    grid-template-columns: 1.25fr .75fr 1fr .9fr 1fr 1.2fr .85fr;
    align-items: center;
    min-width: 1280px;
}

.trips-table-head {
    min-height: 51px;
    padding: 0 24px;
    border-bottom: 1px solid #e1e5ef;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
}

.trips-row {
    min-height: 138px;
    padding: 20px 24px;
    border-bottom: 1px solid #edf0f5;
    color: #111827;
    font-size: 14px;
}

.trips-row strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.trips-row small {
    display: block;
    margin-top: 14px;
    color: #8b919d;
    font-size: 13px;
    font-weight: 700;
}

.trip-status-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 10px;
}

.trip-pill {
    min-width: 82px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.trip-pill.cancelled {
    background: #f3f4f8;
    color: #111827;
}

.trip-pill.completed {
    background: #e5f4e7;
    color: #0c8a2c;
}

.trip-pill.expired {
    background: #ffe8ed;
    color: #f04461;
}

.trip-progress {
    width: 69px;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eaf0;
}

.trip-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #1f8f2d;
}

.trip-percent {
    font-size: 15px;
}

.trips-row p {
    max-width: 235px;
    margin: 0;
    color: #263348;
    font-size: 13px;
    line-height: 1.42;
    text-transform: uppercase;
}

.trips-row a,
.route-view-btn {
    color: #006cff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.route-view-btn {
    width: max-content;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.routes-content {
    padding-top: 24px;
}

.routes-search {
    width: 350px;
}

.routes-table {
    max-height: calc(100vh - 216px);
    border-radius: 8px 8px 0 0;
}

.routes-table-head,
.routes-row {
    grid-template-columns: 1fr 1fr 1fr .75fr .95fr 1fr;
    min-width: 1260px;
}

.routes-table-head {
    min-height: 61px;
    color: #7d8590;
    font-size: 16px;
}

.routes-row {
    min-height: 121px;
    padding-top: 17px;
    padding-bottom: 17px;
}

.routes-row strong {
    font-size: 15px;
    font-weight: 600;
}

.routes-row p {
    max-width: 245px;
    color: #000;
    font-size: 15px;
    line-height: 1.55;
}

.routes-row span {
    color: #000;
    font-size: 15px;
}

.map-test-page {
    min-height: 100vh;
    padding: 24px;
    background: #f4f6fb;
    color: #111827;
    font-family: Baloo\ 2, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.map-test-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.map-test-header div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-test-header img {
    width: 34px;
    height: 34px;
}

.map-test-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.map-test-header a {
    color: #006cff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.map-test-toolbar {
    display: flex;
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #e4e8f2;
    border-radius: 8px;
    background: #fff;
}

.map-test-toolbar label {
    flex: 1;
    display: grid;
    gap: 8px;
}

.map-test-toolbar span {
    color: #596273;
    font-size: 13px;
    font-weight: 800;
}

.map-test-toolbar input {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #cfd5e6;
    border-radius: 6px;
    outline: 0;
    color: #111827;
    font-size: 14px;
}

.map-test-toolbar button {
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: #0667f6;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.map-test-toolbar p {
    min-width: 250px;
    margin: 0 0 12px;
    color: #596273;
    font-size: 13px;
}

.map-test-card {
    position: relative;
    height: calc(100vh - 180px);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #e4e8f2;
    border-radius: 8px;
    background: #eef2f5;
}

.map-test-canvas {
    width: 100%;
    height: 100%;
    opacity: 0;
}

.map-test-canvas.is-loaded {
    opacity: 1;
}

.map-test-error[hidden] {
    display: none;
}

.elock-shell {
    background: #f5f5f5;
}

.elock-main {
    min-width: 0;
    min-height: 100vh;
    background: #f5f5f5;
}

.elock-header {
    height: 73px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 18px;
    border-bottom: 1px solid #e1e4ed;
    background: #fff;
}

.elock-header img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.elock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 26px 0;
}

.elock-card {
    min-height: 382px;
    padding: 17px 16px 16px;
    border: 1px solid #dfe6f5;
    border-radius: 10px;
    background: #fff;
}

.elock-card-top {
    min-height: 171px;
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 16px;
}

.elock-card h2 {
    margin: 0 0 24px;
    color: #000;
    font-size: 24px;
    font-weight: 800;
}

.elock-card ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #000;
    font-size: 14px;
}

.elock-card li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.elock-card li i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.elock-card .green { background: #228d2d; }
.elock-card .orange { background: #ef7d2c; }
.elock-card .yellow { background: #f2be00; }
.elock-card .red { background: #c7003b; }
.elock-card .maroon { background: #5e0028; }
.elock-card .brown { background: #a62d2d; }
.elock-card .danger { background: #dc3030; }

.elock-donut {
    position: relative;
    width: 146px;
    height: 146px;
    align-self: center;
    justify-self: center;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 27%, #efedfc 28% 52%, #fff 53% 60%, #efedfc 61% 100%);
}

.elock-donut span {
    color: #000;
    font-size: 24px;
    font-weight: 800;
}

.elock-donut small {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 16px;
    height: 10px;
    border: 2px solid #cbd4ea;
    border-radius: 2px;
    transform: translateX(-50%);
}

.elock-donut small::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 2px;
    width: 2px;
    height: 4px;
    border-radius: 1px;
    background: #cbd4ea;
}

.elock-mini-grid {
    display: grid;
    gap: 16px;
}

.elock-mini-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elock-mini-grid div {
    min-height: 78px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid #dfe6f5;
    border-radius: 7px;
}

.elock-mini-grid div:nth-child(3):last-child {
    grid-column: 1 / -1;
}

.elock-mini-grid strong {
    color: #000;
    font-size: 27px;
    line-height: 1;
}

.elock-mini-grid span {
    color: #4d5563;
    font-size: 15px;
}

.elock-card-top.alerts {
    grid-template-columns: 1fr 220px;
}

.elock-chart {
    position: relative;
    align-self: start;
    height: 140px;
    margin-top: 10px;
    background:
        repeating-linear-gradient(to bottom, transparent 0 32px, #e0e0e0 33px 34px),
        repeating-linear-gradient(to right, transparent 0 46px, #efefef 47px 48px);
}

.elock-chart span {
    position: absolute;
    left: 0;
    color: #b1b1b1;
    font-size: 8px;
}

.elock-chart span:nth-child(1) { top: 0; }
.elock-chart span:nth-child(2) { top: 32px; }
.elock-chart span:nth-child(3) { top: 64px; }
.elock-chart span:nth-child(4) { top: 96px; }
.elock-chart span:nth-child(5) { bottom: 0; }

.elock-chart b {
    position: absolute;
    bottom: 2px;
    color: #000;
    font-size: 13px;
    font-weight: 400;
}

.help-shell {
    background: #f5f6fb;
}

.help-main {
    min-width: 0;
    min-height: 100vh;
    background: #f5f6fb;
}

.help-header {
    height: 73px;
    display: grid;
    grid-template-columns: 24px 27px auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 0 4px 0 18px;
    border-bottom: 1px solid #e1e4ed;
    background: #fff;
}

.help-header > img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.help-header h1 {
    margin: 0;
    color: #141924;
    font-size: 22px;
    font-weight: 500;
}

.help-manager {
    width: 242px;
    height: 45px;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
    border-radius: 5px 0 0 5px;
    background: #e6f0ff;
}

.help-manager img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: contain;
}

.help-manager strong {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.help-content {
    display: grid;
    grid-template-columns: minmax(760px, 1fr) 382px;
    gap: 24px;
    padding: 24px 24px 0 26px;
}

.help-tickets,
.help-issues {
    border: 1px solid #e0e6f2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.help-tickets {
    min-height: calc(100vh - 120px);
    padding: 25px 25px 36px 31px;
}

.help-tickets-head {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    row-gap: 23px;
    padding: 0 0 14px;
    border-bottom: 1px solid #edf0f6;
}

.help-tickets h2,
.help-issues h2 {
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.help-tabs {
    display: flex;
    gap: 26px;
}

.help-tabs button {
    height: 32px;
    padding: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #80858d;
    font-size: 15px;
}

.help-tabs button.active {
    border-bottom-color: #0062ff;
    color: #0062ff;
}

.help-search {
    width: 273px;
    height: 39px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid #e0e4ef;
    border-radius: 6px;
    background: #f6f7fc;
    color: #8e97a6;
}

.help-search svg {
    width: 17px;
    height: 17px;
}

.help-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #374151;
    font-size: 13px;
}

.help-search input::placeholder {
    color: #b0b6c1;
}

.help-ticket {
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #e4e9f4;
    border-radius: 6px;
    background: #fff;
}

.help-ticket-top {
    min-height: 92px;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 0 26px;
    border-bottom: 1px solid #e4e9f4;
}

.help-pin {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
}

.help-ticket h3 {
    margin: 0 0 7px;
    color: #000;
    font-size: 15px;
    font-weight: 800;
}

.help-ticket p {
    margin: 0;
    color: #7d838d;
    font-size: 13px;
}

.help-ticket-top button {
    height: 42px;
    padding: 0 13px;
    border: 0;
    border-radius: 5px;
    background: #0062ff;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.help-ticket-bottom {
    min-height: 59px;
    display: flex;
    align-items: center;
    padding-left: 26px;
    color: #000;
    font-size: 13px;
}

.help-ticket-bottom.resolved {
    border-left: 2px solid #15a84a;
}

.help-issues {
    min-height: calc(100vh - 120px);
    padding: 26px 24px;
}

.help-issues h2 {
    margin-bottom: 30px;
}

.help-issues button {
    width: 100%;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 1px solid #e0e4ec;
    background: #fff;
    color: #000;
    font-size: 15px;
    text-align: left;
}

.help-issues button:first-of-type {
    border-radius: 6px 6px 0 0;
}

.help-issues button:last-of-type {
    border-top: 0;
    border-radius: 0 0 6px 6px;
}

.help-issues span {
    color: #2f3d4f;
    font-size: 24px;
}

@media (max-width: 760px) {
    .driver-form-view {
        padding: 0 18px 36px;
    }

    .driver-add-form {
        padding-left: 0;
    }

    .driver-form-grid {
        grid-template-columns: 1fr;
    }

    .driver-license-input {
        grid-template-columns: 1fr;
    }

    .driver-license-input input {
        border-right: 1px solid #dddddd;
        border-bottom: 0;
    }

    .drivers-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 12px 16px;
    }

    .drivers-search {
        width: 100%;
    }

    .places-header {
        height: auto;
        grid-template-columns: 24px 27px 1fr;
        padding: 14px 16px;
    }

    .places-search {
        grid-column: 1 / -1;
    }

    .places-workspace {
        grid-template-columns: 1fr;
        padding: 14px 12px;
    }

    .places-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .places-add-btn,
    .places-upload-btn,
    .places-alert-toggle {
        width: 100%;
    }

    .places-table-head,
    .place-row {
        grid-template-columns: 1fr;
    }

    .places-map {
        min-height: 440px;
    }

    .places-map-card {
        left: 28%;
    }

    .place-add-modal {
        align-items: start;
        padding: 12px;
        overflow-y: auto;
    }

    .place-add-card {
        width: 100%;
        min-height: 0;
    }

    .place-add-body {
        grid-template-columns: 1fr;
    }

    .place-add-form {
        min-height: 0;
    }

    .place-save-btn {
        margin-top: 20px;
    }

    .place-add-map {
        min-height: 420px;
    }

    .ums-tabs-bar {
        height: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .ums-tabs-bar > button {
        height: 44px;
        width: 100%;
    }

    .ums-actions {
        justify-content: flex-end;
        padding: 10px 12px;
    }

    .ums-empty {
        min-height: calc(100vh - 180px);
        padding-top: 48px;
    }

    .settings-tabs {
        overflow-x: auto;
        padding-left: 14px;
    }

    .settings-panel {
        padding-top: 20px;
    }

    .settings-table-head,
    .settings-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 18px;
    }

    .settings-section-label {
        padding-left: 18px;
    }

    .settings-password-panel {
        padding: 12px;
    }

    .settings-password-form {
        padding: 24px 18px;
    }

    .settings-password-form label,
    .settings-password-form input {
        width: 100%;
    }

    .settings-password-form > button {
        margin-left: 0;
    }

    .tags-header {
        height: auto;
        grid-template-columns: 24px 27px 1fr;
        padding: 14px 16px;
    }

    .tags-search,
    .tags-top-actions {
        grid-column: 1 / -1;
    }

    .tags-top-actions,
    .tags-empty-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .tags-empty {
        min-height: calc(100vh - 176px);
        padding: 40px 18px;
    }

    .dcm-header {
        height: auto;
        grid-template-columns: 27px 28px 1fr;
        padding: 14px 16px;
    }

    .dcm-search {
        grid-column: 1 / -1;
    }

    .dcm-content {
        grid-template-columns: 1fr;
    }

    .dcm-left {
        overflow-x: auto;
        padding: 18px 12px;
    }

    .dcm-table {
        min-width: 920px;
    }

    .dcm-side {
        border-left: 0;
        border-top: 1px solid #e5e7ef;
    }

    .dcm-empty {
        min-height: 360px;
    }

    .elock-grid {
        grid-template-columns: 1fr;
        padding: 16px 12px;
    }

    .elock-card-top,
    .elock-card-top.alerts {
        grid-template-columns: 1fr;
    }

    .elock-donut,
    .elock-chart {
        justify-self: center;
    }

    .help-header {
        height: auto;
        grid-template-columns: 24px 27px 1fr;
        padding: 14px 16px;
    }

    .help-manager {
        grid-column: 1 / -1;
        width: 100%;
        border-radius: 5px;
    }

    .help-content {
        grid-template-columns: 1fr;
        padding: 16px 12px;
    }

    .help-tickets {
        min-height: 0;
        padding: 20px 16px;
    }

    .help-tickets-head {
        grid-template-columns: 1fr;
    }

    .help-tabs {
        overflow-x: auto;
    }

    .help-search {
        width: 100%;
    }

    .help-ticket-top {
        grid-template-columns: 52px 1fr;
        padding: 14px 16px;
    }

    .help-ticket-top button {
        grid-column: 1 / -1;
    }

    .help-issues {
        min-height: 0;
    }
}
.dash-topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 10px rgba(21, 36, 64, .05);
}
.icon-btn, .top-icon, .logout-btn {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #526079;
}
.icon-btn svg, .top-icon svg, .logout-btn svg { width: 18px; height: 18px; }
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.top-icon { position: relative; }
.top-icon span {
    position: absolute;
    right: 2px;
    top: 1px;
    width: 15px;
    height: 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 9px;
    font-weight: 800;
}
.profile-menu {
    position: relative;
}
.profile-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 4px 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}
.profile-chip > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #16b883;
    font-weight: 800;
}
.profile-chip strong { display: block; font-size: 12px; }
.profile-chip small { color: var(--muted); font-size: 10px; }
.profile-chip svg {
    width: 16px;
    height: 16px;
    color: #738098;
}
.profile-chip:hover,
.profile-menu.open .profile-chip {
    background: #f3f6fb;
}
.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    width: 168px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(21, 36, 64, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.profile-menu.open .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.profile-dropdown button {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #22304d;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}
.profile-dropdown button:hover {
    background: #f3f6fb;
}
.profile-dropdown svg {
    width: 17px;
    height: 17px;
    color: #526079;
}

.dashboard-shell.sidebar-collapsed .dash-sidebar {
    padding-left: 0;
    padding-right: 0;
    border-right: none !important;
    box-shadow: none;
}
.dashboard-shell.sidebar-collapsed .dash-logo {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}
.dashboard-shell.sidebar-collapsed .dash-logo strong,
.dashboard-shell.sidebar-collapsed .sidebar-user-name,
.dashboard-shell.sidebar-collapsed .account-manager,
.dashboard-shell.sidebar-collapsed .support-link,
.dashboard-shell.sidebar-collapsed .dash-submenu {
    display: none;
}
.dashboard-shell.sidebar-collapsed .sidebar-toggle-row {
    min-height: 76px;
    justify-content: center;
    gap: 0;
    padding-left: 0;
}
.dashboard-shell.sidebar-collapsed .dash-menu a {
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 0;
    min-height: 68px;
}
.dashboard-shell.sidebar-collapsed .dash-menu a > span:not(.menu-icon-wrap) {
    display: none;
}
.dashboard-shell.sidebar-collapsed .menu-new-badge {
    display: none;
}
.dashboard-shell.sidebar-collapsed .menu-caret {
    display: none;
}
.dashboard-shell.sidebar-collapsed .dash-menu svg {
    width: 24px;
    height: 24px;
}
.dashboard-shell.sidebar-collapsed .dash-menu img {
    width: 28px;
    height: 28px;
    flex-basis: auto;
    padding: 20px 12px;
}
.dashboard-shell.sidebar-collapsed .dash-menu a:hover {
    background: transparent;
}
.dashboard-shell.sidebar-collapsed .menu-icon-wrap {
    width: 52px;
    flex-basis: 52px;
}

.fastag-view,
.diesel-view,
.gps-view,
.devices-view,
.reports-view {
    min-height: 100vh;
}
.fastag-view[hidden],
.diesel-view[hidden],
.gps-view[hidden],
.devices-view[hidden],
.reports-view[hidden] {
    display: none !important;
}
.devices-view {
    height: 100vh;
    overflow: auto;
    background: #f3f3f3;
}
.devices-header {
    height: 73px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-bottom: 1px solid #e2e6ef;
    background: #fff;
}
.devices-header img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.devices-header h1 {
    margin: 0;
    color: #1f2937;
    font-size: 21px;
    font-weight: 500;
}
.devices-content {
    padding: 12px 14px 42px;
}
.devices-toolbar {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 15px;
    background: #fff;
}
.devices-toolbar strong {
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}
.devices-toolbar button {
    min-width: 121px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #f0d9c9;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 400;
}
.devices-toolbar svg {
    width: 16px;
    height: 16px;
    color: #0b0b0b;
}
.devices-table-wrap {
    overflow-x: auto;
}
.devices-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 0 5px;
    color: #101827;
    font-size: 14px;
    font-weight: 400;
}
.devices-table thead th {
    padding: 14px 20px;
    background: #f3f3f3;
    color: #111827;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}
.devices-table tbody td {
    min-height: 78px;
    padding: 18px 20px;
    background: #fff;
    line-height: 1.45;
    vertical-align: middle;
}
.devices-table tbody tr {
    box-shadow: 0 1px 0 rgba(17, 24, 39, .04);
}
.devices-table td:nth-child(1) { width: 12%; }
.devices-table td:nth-child(2) { width: 12%; }
.devices-table td:nth-child(3) { width: 12%; }
.devices-table td:nth-child(4) { width: 12%; }
.devices-table td:nth-child(5) { width: 15%; }
.devices-table td:nth-child(6) { width: 12%; }
.devices-table td:nth-child(7) { width: 12%; }
.devices-table td:nth-child(8) { width: 13%; }
.devices-table small {
    display: block;
    margin-top: 8px;
    color: #a0a0a0;
    font-size: 13px;
    font-weight: 400;
}
.reports-view {
    height: 100vh;
    overflow-y: auto;
    background: #f4f6ff;
}
.reports-header {
    height: 78px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid #e6ebf6;
    background: #fff;
}
.reports-header h1 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}
.reports-content {
    display: grid;
    gap: 20px;
    padding: 26px 28px 34px;
}
.reports-notice {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #e5dcc4;
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
}
.reports-notice svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: #6e7279;
}
.reports-notice a {
    color: #001eff;
    font-weight: 500;
}
.custom-report-card,
.report-type-card {
    width: 100%;
    border: 1px solid #dfe6f7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(26, 44, 84, .025);
    text-align: left;
}
.custom-report-card,
.report-type-summary {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 96px;
    padding: 20px 22px;
}
.report-type-summary {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    text-align: left;
}
.custom-report-card h2,
.report-type-card strong {
    display: block;
    margin: 0 0 9px;
    color: #111827;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}
.custom-report-card p,
.report-type-card small {
    display: block;
    margin: 0;
    color: #647084;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
}
.custom-report-card > strong {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #df3338;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.report-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3f4fb;
    color: #101114;
}
.report-icon svg {
    width: 24px;
    height: 24px;
}
.reports-section-title {
    margin: 4px 0 8px;
    color: #000;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}
.report-type-list {
    display: grid;
    gap: 20px;
}
.report-type-card {
    border-radius: 10px;
    color: inherit;
    cursor: pointer;
}
.report-type-card:hover {
    border-color: #c7d6ff;
    box-shadow: 0 6px 18px rgba(37, 75, 180, .08);
}
.report-type-card.is-open {
    cursor: default;
}
.report-type-card.is-open .report-chevron {
    transform: rotate(180deg);
}
.report-chevron {
    width: 19px;
    height: 19px;
    color: #7b808a;
    transition: transform .16s ease;
}
.report-type-panel {
    padding: 0 64px 42px;
    cursor: default;
}
.report-type-panel[hidden] {
    display: none !important;
}
.report-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: -4px 0 28px;
}
.report-tabs button {
    min-width: 135px;
    height: 39px;
    padding: 0 16px;
    border: 1px solid #e1e6f2;
    border-radius: 5px;
    background: #fff;
    color: #05070c;
    font-size: 13px;
    font-weight: 500;
}
.report-tabs button.active {
    border-color: #1c5cff;
    background: #edf4ff;
    color: #075cff;
}
.report-check-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.report-check-tabs span {
    width: 16px;
    height: 16px;
    border: 1px solid #dde6f6;
    border-radius: 2px;
    background: #fff;
}
.report-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 361px));
    gap: 26px 15px;
    max-width: 1128px;
}
.report-form-grid.two-col {
    grid-template-columns: repeat(2, minmax(220px, 361px));
}
.report-form-grid label {
    display: grid;
    gap: 7px;
    color: #9a9a9a;
    font-size: 15px;
    font-weight: 400;
}
.report-form-grid b {
    color: #ff5b63;
    font-weight: 500;
}
.report-form-grid select,
.report-form-grid input {
    width: 100%;
    height: 42px;
    padding: 0 38px 0 16px;
    border: 1px solid #cfd4dc;
    border-radius: 5px;
    outline: 0;
    background-color: #fff;
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 400;
}
.report-form-grid select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8b8f96 50%), linear-gradient(135deg, #8b8f96 50%, transparent 50%);
    background-position: calc(100% - 18px) 17px, calc(100% - 10px) 17px;
    background-size: 9px 9px, 9px 9px;
    background-repeat: no-repeat;
}
.report-form-grid input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23a5a8ad'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2Zm11 8H6v10h12V10ZM6 6v2h12V6H6Zm2 6h2v2H8v-2Zm4 0h2v2h-2v-2Zm4 0h2v2h-2v-2Zm-8 4h2v2H8v-2Zm4 0h2v2h-2v-2Z'/%3E%3C/svg%3E");
    background-position: calc(100% - 22px) center;
    background-repeat: no-repeat;
}
.report-download-actions {
    display: flex;
    gap: 24px;
    margin-top: 27px;
}
.report-download-actions button {
    min-width: 128px;
    height: 32px;
    padding: 0 16px;
    border: 1px solid #153dff;
    border-radius: 2px;
    background: #fff;
    color: #153dff;
    font-size: 13px;
    font-weight: 400;
}
.fastag-header {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 32px;
    background: #fff;
}
.fastag-menu-btn {
    display: none;
}
.fastag-header img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.fastag-header h1 {
    margin: 0;
    color: #2d3440;
    font-size: 24px;
    font-weight: 800;
}
.fastag-landing {
    min-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 75px 24px 48px;
    background: #fff;
}
.fastag-hero-image {
    width: min(700px, 100%);
    height: 270px;
    object-fit: cover;
    object-position: center;
}
.fastag-copy {
    width: min(592px, 100%);
    margin-top: 46px;
    color: #272d39;
}
.fastag-copy h2 {
    margin: 0 0 40px;
    font-size: 36px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
}
.fastag-copy p {
    margin: 0 0 30px;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 500;
}
.fastag-copy ul {
    display: grid;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fastag-copy li {
    position: relative;
    padding-left: 32px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
}
.fastag-copy li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 1px;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border: 1px solid #139357;
    border-radius: 50%;
    color: #139357;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
.fastag-copy button {
    min-width: 212px;
    height: 40px;
    margin-top: 43px;
    border: 0;
    border-radius: 2px;
    background: #3152ff;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 18px rgba(49, 82, 255, .18);
}
.fastag-copy button:hover {
    background: #2445f2;
}

.diesel-view {
    min-height: 100vh;
    background: #f4f6ff;
}
.diesel-topbar {
    height: 106px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 47px 16px 18px;
    background: #fff;
    border-bottom: 1px solid #e7ecf7;
}
.diesel-brand {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-left: 2px;
}
.diesel-search {
    width: 288px;
    height: 41px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid #e2e7f3;
    border-radius: 6px;
    background: #f8f8ff;
    color: #7c88a2;
}
.diesel-search svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}
.diesel-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #263248;
    font-size: 13px;
}
.diesel-search input::placeholder {
    color: #b0b6c4;
}
.diesel-content {
    height: calc(100vh - 106px);
    padding: 16px 16px 0;
    overflow: auto;
}
.diesel-tabs {
    display: flex;
    gap: 9px;
    margin-bottom: 15px;
}
.diesel-tabs button {
    height: 36px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff;
    color: #59647a;
    font-size: 14px;
    font-weight: 500;
}
.diesel-tabs button.active {
    border-color: #0066ff;
    color: #0066ff;
    background: #eef5ff;
}
.diesel-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, .86fr) minmax(420px, 1fr);
    gap: 15px;
    min-height: calc(100vh - 174px);
}
.diesel-empty-card,
.diesel-events-card,
.diesel-map-card {
    min-height: 100%;
    border-radius: 10px 10px 0 0;
    background: #fff;
}
.diesel-empty-card {
    display: grid;
    place-items: center;
}
.diesel-empty-card p {
    margin: 0;
    color: #526079;
    font-size: 18px;
    font-weight: 500;
}
.diesel-events-card {
    padding: 20px 15px;
    overflow: auto;
}
.diesel-card-tabs {
    display: flex;
    gap: 22px;
    margin: 0 0 14px;
}
.diesel-card-tabs button {
    position: relative;
    height: 31px;
    border: 0;
    background: transparent;
    color: #4d586b;
    font-size: 14px;
    font-weight: 500;
}
.diesel-card-tabs button.active {
    color: #1b56ff;
}
.diesel-card-tabs button.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #1b56ff;
}
.diesel-date {
    height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid #e3e8f5;
    border-radius: 6px;
    background: #f6f8fe;
    color: #647083;
    font-size: 12px;
}
.diesel-date svg {
    width: 14px;
    height: 14px;
}
.diesel-event-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 16px;
}
.diesel-event-options button {
    min-height: 70px;
    display: grid;
    gap: 8px;
    justify-items: start;
    align-content: center;
    padding: 0 16px;
    border: 1px solid #e4e9f5;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    text-align: left;
}
.diesel-event-options button.active {
    border-color: #0066ff;
    background: #eaf3ff;
    color: #0066ff;
}
.diesel-event-options strong {
    font-size: 15px;
    font-weight: 500;
}
.diesel-event-options span {
    color: #7b8495;
    font-size: 11px;
}
.diesel-events-pane[hidden],
.diesel-analytics-pane[hidden],
.diesel-date-panel[hidden] {
    display: none !important;
}
.diesel-analytics-pane {
    padding-top: 14px;
}
.diesel-date-panel {
    display: grid;
    gap: 22px;
    margin-bottom: 16px;
    padding: 18px 15px 36px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(17, 24, 39, .12);
}
.diesel-date-panel button {
    width: max-content;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}
.diesel-date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 8px;
}
.diesel-date-inputs label {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px 0 16px;
    border: 1px solid #d9dde7;
    border-radius: 4px;
    background: #fff;
}
.diesel-date-inputs label:nth-child(2) {
    background: #f1f1f1;
}
.diesel-date-inputs input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #4b5563;
    font-size: 13px;
}
.diesel-date-inputs input::placeholder {
    color: #9aa1ad;
}
.diesel-date-inputs svg {
    width: 15px;
    height: 15px;
    color: #0f172a;
}
.diesel-analytics-line {
    height: 18px;
    border: 1px solid #dfe6fa;
    border-radius: 999px;
    background: #fff;
}
.diesel-analytics-empty {
    margin: 31px 0 0;
    color: #526079;
    font-size: 15px;
    font-weight: 500;
}
.diesel-itinerary {
    margin-top: 218px;
}
.diesel-itinerary h3 {
    margin: 0 0 17px;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}
.diesel-itinerary h3 span {
    color: #7a8497;
    font-weight: 500;
}
.diesel-itinerary-card {
    display: grid;
    gap: 16px;
    padding: 17px 16px;
    border: 1px solid #dfe6fa;
    border-radius: 7px;
    background: #fff;
}
.diesel-itinerary-card p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    color: #6a7488;
    font-size: 13px;
    font-weight: 500;
}
.diesel-itinerary-card strong {
    color: #000;
    font-size: 13px;
    font-weight: 800;
}
.diesel-itinerary-card strong.green { color: #079425; }
.diesel-itinerary-card strong.orange { color: #d98a1b; }
.diesel-itinerary-card strong.red { color: #ff1f2d; }
.diesel-map-card {
    overflow: hidden;
    border-radius: 0;
    height: calc(100vh - 165px);
    min-height: calc(100vh - 165px);
}
.diesel-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background:
        var(--map-preview-image, none) center / cover no-repeat,
        linear-gradient(102deg, transparent 0 84%, #8ed8e8 84.4% 85.6%, transparent 86%),
        linear-gradient(18deg, transparent 0 58%, #8ed8e8 58.3% 59.5%, transparent 60%),
        radial-gradient(ellipse at 16% 10%, #bdf1cd 0 16%, transparent 16.5%),
        radial-gradient(ellipse at 52% 16%, #c8f3d5 0 18%, transparent 18.5%),
        radial-gradient(ellipse at 74% 35%, #c9f4d8 0 15%, transparent 15.5%),
        radial-gradient(ellipse at 23% 78%, #c9f4d8 0 21%, transparent 21.5%),
        radial-gradient(ellipse at 63% 76%, #c7f2d6 0 24%, transparent 24.5%),
        linear-gradient(162deg, transparent 0 32%, #9eb3d5 32.2% 32.7%, transparent 33%),
        linear-gradient(14deg, transparent 0 44%, #9eb3d5 44.2% 44.8%, transparent 45%),
        linear-gradient(146deg, transparent 0 62%, #9eb3d5 62.2% 62.8%, transparent 63%),
        linear-gradient(96deg, transparent 0 70%, #9eb3d5 70.2% 70.8%, transparent 71%),
        repeating-linear-gradient(0deg, transparent 0 95px, rgba(199, 210, 227, .55) 96px 97px, transparent 98px 190px),
        repeating-linear-gradient(90deg, transparent 0 120px, rgba(199, 210, 227, .45) 121px 122px, transparent 123px 240px),
        #f5efe2;
}
.diesel-map .mappls-map {
    display: block;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    opacity: 0;
    pointer-events: none;
}
.diesel-map-loaded .mappls-map {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    z-index: 8;
    background: #eef2f5;
    opacity: 1;
    pointer-events: auto;
}
.diesel-map-loaded .mappls-map > div,
.diesel-map-loaded .mappls-map .mapboxgl-map,
.diesel-map-loaded .mappls-map .maplibregl-map,
.diesel-map-loaded .mappls-map .leaflet-container,
.diesel-map-loaded .mappls-map .mapboxgl-canvas-container,
.diesel-map-loaded .mappls-map .maplibregl-canvas-container,
.diesel-map-loaded .mappls-map .mapboxgl-canvas,
.diesel-map-loaded .mappls-map .maplibregl-canvas,
.diesel-map-loaded .mappls-map canvas {
    width: 100% !important;
    height: 100% !important;
}

.diesel-map-loaded .mappls-map canvas {
    object-fit: cover;
}
.diesel-map-loaded::before,
.diesel-map-loaded::after,
.diesel-map-loaded .diesel-map-label,
.diesel-map-loaded .diesel-route,
.diesel-map-loaded .diesel-pin,
.diesel-map-loaded .diesel-truck,
.diesel-map-loaded .diesel-load-map {
    display: none;
}

.diesel-map-live:not(.diesel-map-loaded) .diesel-map-label,
.diesel-map-live:not(.diesel-map-loaded) .diesel-route,
.diesel-map-live:not(.diesel-map-loaded) .diesel-pin,
.diesel-map-live:not(.diesel-map-loaded) .diesel-truck {
    display: none;
}
.diesel-map .mappls-map [title*="Full"],
.diesel-map .mappls-map [title*="full"],
.diesel-map .mappls-map [aria-label*="Full"],
.diesel-map .mappls-map [aria-label*="full"],
.diesel-map .mappls-map .mapboxgl-ctrl-fullscreen,
.diesel-map .mappls-map .leaflet-control-fullscreen,
.diesel-map .mappls-map .mmi_fullscreen,
.diesel-map .mappls-map .mappls_fullscreen {
    display: none !important;
}
.diesel-map::before,
.diesel-map::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    background: rgba(12, 17, 16, .18);
}
.diesel-map::after {
    opacity: 0;
}
.diesel-map-label {
    position: absolute;
    z-index: 2;
    color: rgba(27, 31, 39, .72);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px rgba(255,255,255,.2);
}
.diesel-map-label.delhi { left: 22%; top: 17%; font-size: 30px; }
.diesel-map-label.india { left: 56%; top: 52%; font-size: 36px; }
.diesel-map-label.mumbai { left: 7%; bottom: 10%; font-size: 27px; }
.diesel-map-label.hyderabad { left: 31%; bottom: 2%; font-size: 29px; }
.diesel-route {
    position: absolute;
    left: 47%;
    top: 31%;
    z-index: 3;
    width: 110px;
    height: 360px;
    border-left: 5px solid #111;
    border-bottom: 5px solid #111;
    border-radius: 42% 12% 44% 24%;
    transform: rotate(-10deg);
}
.diesel-pin {
    position: absolute;
    z-index: 4;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,.65);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}
.diesel-pin::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
}
.diesel-pin.red { background: #d9343a; }
.diesel-pin.green { background: #14893e; }
.diesel-pin.pin-one { left: 45%; top: 29%; }
.diesel-pin.pin-two { left: 50%; top: 36%; }
.diesel-pin.pin-three { left: 45%; top: 49%; }
.diesel-pin.pin-four { left: 41%; top: 64%; }
.diesel-truck {
    position: absolute;
    left: 45%;
    bottom: 14%;
    z-index: 5;
    width: 55px;
    height: 86px;
    border-radius: 10px;
    background: #218738;
    border: 4px solid #0e4f21;
    transform: rotate(-31deg);
    box-shadow: 32px 51px 0 -16px #d8dfe5;
}
.diesel-truck::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 24px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: url("../images/download.png") center / contain no-repeat #f5f7fb;
}
.diesel-load-map {
    position: absolute;
    left: 50%;
    top: 48%;
    z-index: 6;
    height: 72px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 34px;
    border: 0;
    border-radius: 38px;
    background: rgba(14, 17, 18, .78);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    transform: translate(-50%, -50%);
}
.diesel-load-map svg {
    width: 29px;
    height: 29px;
}

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    place-items: center;
    padding: 20px;
}
.profile-modal.open {
    display: grid;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 38, .42);
}
.modal-card {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 80px rgba(6, 18, 38, .24);
}
.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid var(--line);
}
.modal-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
}
.modal-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}
.modal-head button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: #f3f6fb;
    color: #526079;
}
.modal-head svg {
    width: 17px;
    height: 17px;
}
.password-form {
    display: grid;
    gap: 14px;
    padding: 18px 22px 22px;
}
.password-form label {
    display: grid;
    gap: 7px;
}
.password-form span {
    color: #34425e;
    font-size: 12px;
    font-weight: 800;
}
.password-form input {
    height: 42px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 12px;
    color: var(--text);
    outline: none;
}
.password-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(18,104,243,.12);
}
.password-form button {
    height: 42px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: var(--blue);
    font-weight: 800;
}
.profile-message {
    margin: 16px 22px 0;
    padding: 11px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
}
.profile-message.success {
    color: #08734a;
    background: rgba(32,191,122,.12);
}
.profile-message.error {
    color: #c82635;
    background: rgba(255,77,94,.12);
}

.dash-content { padding: 22px 26px 36px; }
.dash-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.dash-title-row h1 { margin: 0 0 4px; font-size: 21px; letter-spacing: -0.02em; }
.dash-title-row p { margin: 0; color: var(--muted); font-size: 13px; }
.filters { display: flex; gap: 12px; }
.date-btn, .filter-btn {
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #33425f;
    font-size: 12px;
    font-weight: 700;
}
.date-btn {
    min-width: 145px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.date-btn svg { width: 16px; height: 16px; }
.filter-btn {
    width: 72px;
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.stat-card {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(21, 36, 64, .04);
}
.stat-card span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 9px;
}
.stat-card svg { width: 25px; height: 25px; }
.stat-card p, .stat-card small { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; }
.stat-card strong { display: block; margin: 3px 0; font-size: 27px; line-height: 1; }
.stat-card.blue span { color: var(--blue); background: rgba(18,104,243,.1); }
.stat-card.green span { color: var(--green); background: rgba(32,191,122,.12); }
.stat-card.orange span { color: var(--orange); background: rgba(255,152,45,.12); }
.stat-card.red span { color: var(--red); background: rgba(255,77,94,.12); }
.stat-card.purple span { color: var(--purple); background: rgba(123,97,255,.12); }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
    gap: 16px;
}
.panel {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 36, 64, .04);
    overflow: hidden;
}
.panel-head {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}
.panel-head h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 14px;
}
.panel-head h2 i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}
.panel-head a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}
.panel-head button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: #68758e;
    background: #fff;
}
.panel-head button svg { width: 16px; height: 16px; margin: auto; }

.live-map-panel { min-height: 320px; }
.dash-map {
    position: relative;
    height: 274px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(32,191,122,.13) 0 8%, transparent 9%),
        radial-gradient(circle at 75% 22%, rgba(32,191,122,.11) 0 9%, transparent 10%),
        repeating-linear-gradient(20deg, transparent 0 42px, rgba(245,199,72,.38) 43px 45px, transparent 46px 120px),
        repeating-linear-gradient(112deg, transparent 0 54px, rgba(66,143,220,.25) 55px 57px, transparent 58px 150px),
        #edf4ed;
}
.dash-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 62px 62px;
    opacity: .6;
}
.map-truck {
    position: absolute;
    z-index: 2;
    min-width: 125px;
    padding: 8px 10px 8px 34px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 36, 64, .16);
    font-size: 11px;
}
.map-truck::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--green);
}
.map-truck b, .map-truck small { display: block; }
.map-truck small { color: var(--muted); font-weight: 700; }
.truck-one { left: 50%; top: 14%; }
.truck-two { left: 24%; top: 46%; }
.truck-three { right: 18%; bottom: 20%; }
.truck-two::before { background: var(--blue); }
.truck-three::before { background: var(--red); }
.route-advanced-truck {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    pointer-events: none;
}
.route-advanced-truck img {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
    transform: rotate(var(--truck-rotation, 0deg));
    transform-origin: 50% 50%;
    transition: transform 180ms linear;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}
.map-controls {
    position: absolute;
    right: 14px;
    top: 54px;
    z-index: 3;
    display: grid;
    gap: 8px;
}
.map-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #65728a;
    font-weight: 800;
}

.alerts-panel { min-height: 320px; }
.alert-list { padding: 4px 14px 10px; }
.alert-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.alert-item:last-child { border-bottom: 0; }
.alert-item span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-weight: 900;
}
.alert-item b { display: block; margin-bottom: 4px; font-size: 12px; }
.alert-item p { margin: 0; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert-item time { color: var(--muted); font-size: 11px; }
.alert-item.red span { color: var(--red); background: rgba(255,77,94,.12); }
.alert-item.blue span { color: var(--blue); background: rgba(18,104,243,.1); }
.alert-item.orange span { color: var(--orange); background: rgba(255,152,45,.12); }

.vehicle-panel { grid-column: 1; }
.trips-panel { grid-column: 2; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    text-align: left;
    font-size: 12px;
    white-space: nowrap;
}
th { color: #5d6a83; font-size: 11px; background: #fbfcff; }
td { color: #35425e; }
.dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
}
.dot.green, .legend .green { background: var(--green); }
.dot.blue, .legend .blue { background: var(--blue); }
.dot.orange, .legend .orange { background: var(--orange); }
.dot.gray { background: #9aa5b7; }
.badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}
.badge.green { color: #0e8d59; background: rgba(32,191,122,.14); }
.badge.orange { color: #c66a00; background: rgba(255,152,45,.15); }
.badge.red { color: #d92d3d; background: rgba(255,77,94,.13); }

.trip-body {
    min-height: 204px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 20px 22px 26px;
}
.donut {
    width: 138px;
    height: 138px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--green) 0 66%, var(--blue) 66% 91%, var(--orange) 91% 100%);
}
.donut > div {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: #fff;
}
.donut strong { font-size: 25px; line-height: 1; }
.donut span { color: var(--muted); font-size: 11px; font-weight: 700; }
.legend { display: grid; gap: 16px; }
.legend p {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #506079;
    font-size: 12px;
    font-weight: 700;
}
.legend i {
    width: 9px;
    height: 9px;
    border-radius: 2px;
}

.gps-shell {
    background: #f4f6fb;
}
.gps-shell.sidebar-collapsed .dash-sidebar {
    padding-left: 0;
    padding-right: 0;
}
.gps-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f6fb;
}
.gps-topbar {
    height: 78px;
    display: grid;
    grid-template-columns: 220px minmax(220px, 288px) 1fr;
    align-items: center;
    gap: 32px;
    padding: 0 16px;
    border-bottom: 1px solid #dfe5ef;
    background: #fff;
}
.gps-title-block,
.gps-actions,
.gps-search,
.gps-actions button,
.vehicle-card-head,
.vehicle-icons,
.vehicle-card-actions {
    display: flex;
    align-items: center;
}
.gps-title-block {
    gap: 0;
}
.gps-menu-btn {
    display: none;
}
.gps-title-block img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}
.gps-brand-mark {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-left: 18px;
    border-radius: 50%;
    background:
        conic-gradient(from 20deg, #0b66ff 0 18%, #18a34a 18% 34%, #f59e0b 34% 50%, #ef4444 50% 66%, #7c3aed 66% 84%, #0ea5e9 84% 100%);
    box-shadow: 0 5px 14px rgba(11, 102, 255, .18);
}
.gps-brand-mark::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #fff;
}
.gps-brand-mark::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 2px;
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: #0f172a;
    transform: rotate(45deg);
}
.gps-title-block h1 {
    margin: 0;
    padding-left: 8px;
    color: rgb(58, 58, 58);
    font-size: 20px;
    font-weight: 500;
    line-height: 48px;
}
.gps-search {
    height: 40px;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid #e2e7f2;
    border-radius: 6px;
    background: #f7f8fd;
}
.gps-search svg {
    width: 15px;
    height: 15px;
    color: #6e7890;
}
.gps-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17233c;
    font-size: 12px;
}
.gps-search input::placeholder {
    color: #b6bdca;
}
.gps-actions {
    justify-content: flex-end;
    gap: 10px;
}
.gps-actions button {
    position: relative;
    min-height: 40px;
    gap: 8px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    color: #101827;
    background: #f6f7fc;
    font-size: 14px;
    font-weight: 600;
}
.gps-actions svg {
    width: 16px;
    height: 16px;
    color: #1d2433;
}
.gps-actions .gps-alert-btn {
    color: #005cff;
}
.gps-actions .gps-alert-btn svg {
    color: #005cff;
}
.gps-alert-btn i {
    position: absolute;
    top: -5px;
    right: -6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fb000d;
}
.gps-content {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-rows: 66px minmax(0, 1fr);
}
.gps-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
}
.gps-filter-row button {
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid #e6ebf4;
    border-radius: 7px;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 600;
}
.gps-filter-row button.active {
    border-color: #0062ff;
    color: #0062ff;
    background: #eef5ff;
}
.gps-filter-row .sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-color: transparent;
    border-radius: 18px;
}
.sort-btn svg {
    width: 16px;
    height: 16px;
}
.gps-workspace {
    min-height: 0;
    display: grid;
    grid-template-columns: 568px minmax(0, 1fr);
    gap: 18px;
    padding: 0 16px 4px;
}
.vehicle-list-panel {
    min-height: 0;
    display: grid;
    gap: 14px;
    overflow-y: auto;
    padding-right: 6px;
}
.vehicle-card {
    min-height: 266px;
    padding: 20px 16px 0;
    border-radius: 10px;
    background: #fff;
}
.vehicle-card-head {
    gap: 10px;
}
.speed-badge {
    width: 28px;
    flex: 0 0 28px;
    text-align: center;
}
.speed-badge strong {
    display: grid;
    place-items: center;
    min-height: 28px;
    border-radius: 5px;
    color: #179b36;
    background: #eaf8ed;
    font-size: 16px;
}
.speed-badge span {
    display: block;
    margin-top: 4px;
    color: #62708a;
    font-size: 10px;
}
.vehicle-card h2 {
    margin: 0 0 7px;
    color: #59667d;
    font-size: 14px;
    font-weight: 700;
}
.vehicle-card p {
    margin: 0;
}
.vehicle-card-head p {
    color: #63708a;
    font-size: 11px;
    font-weight: 500;
}
.vehicle-icons {
    margin-left: auto;
    gap: 8px;
}
.vehicle-icons span,
.vehicle-icons b {
    min-width: 27px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #f4f6fb;
}
.vehicle-icons span::before {
    content: "";
    width: 13px;
    height: 7px;
    border-radius: 2px;
    background: #374151;
}
.vehicle-icons span:nth-child(2)::before {
    background: #18a334;
}
.vehicle-icons span:nth-child(3)::before {
    width: 12px;
    height: 10px;
    background: linear-gradient(90deg, #19a43a 2px, transparent 2px 5px, #19a43a 5px 7px, transparent 7px 10px, #19a43a 10px);
}
.vehicle-icons b {
    gap: 3px;
    color: #3f4654;
    font-size: 10px;
    font-weight: 800;
}
.vehicle-icons b::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #18a334;
}
.vehicle-icons.off b::before {
    background: #9ca3af;
}
.vehicle-address {
    min-height: 84px;
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 1px solid #e1e5ed;
    color: #152033;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
}
.vehicle-meta {
    position: relative;
    padding: 0 28px 17px 0;
    border-bottom: 1px solid #e1e5ed;
    color: #65718a;
    font-size: 13px;
}
.vehicle-meta em,
.vehicle-meta .doc-count {
    position: absolute;
    right: -1px;
    top: -8px;
    width: 12px;
    height: 29px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #dc3341;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
}
.vehicle-meta .doc-count {
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
}
.vehicle-card-actions {
    gap: 54px;
    height: 58px;
}
.vehicle-card-actions a {
    color: #0062ff;
    font-size: 16px;
    font-weight: 600;
}
.vehicle-card-actions a::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 16px;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-radius: 4px;
    transform: rotate(45deg);
}
.gps-map-panel {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #273042;
}
.map-blur {
    position: absolute;
    inset: 0;
    transform: scale(1.03);
    filter: blur(2px);
    background:
        linear-gradient(rgba(21, 27, 22, .72), rgba(21, 27, 22, .72)),
        radial-gradient(circle at 18% 78%, rgba(33, 91, 123, .75) 0 17%, transparent 18%),
        radial-gradient(circle at 76% 62%, rgba(46, 91, 121, .8) 0 24%, transparent 25%),
        radial-gradient(circle at 78% 27%, rgba(75, 117, 77, .58) 0 12%, transparent 13%),
        repeating-linear-gradient(18deg, transparent 0 92px, rgba(226, 214, 136, .34) 94px 100px, transparent 102px 230px),
        repeating-linear-gradient(105deg, transparent 0 118px, rgba(255, 255, 255, .12) 120px 126px, transparent 128px 270px),
        #6d795d;
}
.load-map-btn {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 11;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    border: 0;
    border-radius: 26px;
    color: #fff;
    background: rgba(0, 0, 0, .76);
    font-size: 14px;
    font-weight: 800;
    transform: translate(-50%, -50%);
}
.load-map-btn svg {
    width: 18px;
    height: 18px;
}

/* GPS dashboard polish */
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}
.gps-shell.sidebar-collapsed {
    grid-template-columns: 52px minmax(0, 1fr);
}
.gps-shell .dash-sidebar {
    border-right-color: #e4e9f2;
    box-shadow: 1px 0 0 rgba(15, 23, 42, .02);
}
.gps-shell.sidebar-collapsed .dash-menu a {
    min-height: 54px;
    color: #6b7280;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
.gps-shell.sidebar-collapsed .dash-menu a.active {
    color: #0b66ff;
    background: #e9edff;
}
.gps-shell.sidebar-collapsed .dash-menu a:hover {
    color: #0b66ff;
    background: #f1f5ff;
}
.gps-shell.sidebar-collapsed .dash-menu img,
.gps-shell.sidebar-collapsed .dash-menu svg:not(.menu-caret) {
    width: 52px;
    height: 60px;
    padding: 18px 14px;
}
.gps-shell.sidebar-collapsed .dash-submenu {
    display: none;
}
.gps-shell.sidebar-collapsed .dash-logo {
    min-height: 60px;
}
.gps-topbar {
    height: 76px;
    grid-template-columns: 220px minmax(260px, 288px) 1fr;
    padding: 0 17px 0 18px;
    border-bottom-color: #e4e9f2;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}
.gps-title-block {
    gap: 12px;
}
.gps-title-block img {
    width: 24px;
    height: 24px;
}
.gps-title-block .gps-brand-logo {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.gps-title-block h1 {
    color: #101827;
    padding-left: 0;
    color: rgb(58, 58, 58);
    font-size: 20px;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 0;
}
.gps-search {
    height: 40px;
    border-color: #dfe5f0;
    border-radius: 6px;
    background: #f7f8fc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.gps-search:focus-within {
    border-color: #9abaff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 102, 255, .1);
}
.gps-search input {
    font-size: 13px;
    font-weight: 500;
}
.gps-actions {
    gap: 10px;
}
.gps-actions button {
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid #edf0f7;
    border-radius: 6px;
    color: #101827;
    background: #f7f8fc;
    font-size: 14px;
    font-weight: 400;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.gps-actions button:hover {
    border-color: #dfe4ef;
    background: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}
.gps-actions svg {
    width: 15px;
    height: 15px;
    color: #1f2937;
}
.gps-actions .gps-alert-btn {
    color: rgb(0, 102, 255);
}
.gps-actions .gps-alert-btn svg {
    color: rgb(0, 102, 255);
}
.gps-alert-btn i {
    top: -5px;
    right: -5px;
    width: 11px;
    height: 11px;
}
.gps-content {
    background: #f4f6fb;
}
.gps-filter-row {
    gap: 12px;
    padding: 16px 16px 15px;
}
.gps-filter-row button {
    min-height: 35px;
    padding: 5px 15px;
    border: 1px solid rgb(234, 237, 250);
    border-radius: 6px;
    color: rgb(0, 0, 0);
    background: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.gps-filter-row button:hover,
.gps-filter-row button.active {
    border-color: rgb(0, 102, 255);
    color: rgb(0, 102, 255);
    background: rgb(239, 245, 255);
    box-shadow: none;
}
.gps-filter-row .sort-btn {
    padding: 5px 15px;
    border-radius: 999px;
    background: #fff;
}
.sort-menu {
    position: relative;
    display: inline-flex;
}
.sort-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 9px);
    z-index: 30;
    width: 230px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .16);
}
.sort-dropdown button {
    width: 100%;
    height: 52px;
    justify-content: flex-start;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    color: #111827;
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
}
.sort-dropdown button + button {
    border-top: 1px solid #e5e7eb;
}
.sort-dropdown button:hover,
.sort-dropdown button.active {
    color: #005fff;
    background: #f7f9ff;
}
.gps-workspace {
    grid-template-columns: 568px minmax(0, 1fr);
    gap: 18px;
    padding: 0 16px 0;
}
.gps-workspace.route-open {
    grid-template-columns: minmax(340px, 31%) minmax(320px, 26%) minmax(440px, 1fr);
}
.gps-workspace.docs-open {
    grid-template-columns: minmax(360px, 30%) minmax(460px, 28%) minmax(420px, 1fr);
}
.vehicle-list-panel {
    gap: 14px;
    padding: 0 4px 18px 0;
    scrollbar-width: thin;
    scrollbar-color: #cfd6e3 transparent;
}
.vehicle-card {
    min-height: 266px;
    padding: 19px 0 0;
    border: 1px solid rgba(214, 222, 235, .95);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .06);
    cursor: pointer;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.vehicle-card:hover {
    border-color: rgb(0, 102, 255);
    box-shadow: 0 9px 20px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}
.vehicle-card.selected {
    border-color: rgb(0, 102, 255);
    box-shadow: 0 8px 20px rgba(0, 102, 255, .08);
}
.vehicle-card-head {
    gap: 11px;
    padding: 0 16px;
}
.speed-badge {
    width: 28px;
    flex-basis: 28px;
}
.speed-badge strong {
    min-height: 28px;
    border-radius: 5px;
    color: #14a43d;
    background: #eaf8ee;
    font-size: 16px;
    font-weight: 600;
}
.speed-badge span {
    color: #68758a;
    font-size: 10px;
    line-height: 1.2;
}
.vehicle-card h2 {
    margin-bottom: 6px;
    color: #526178;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0;
}
.vehicle-card-head p {
    color: #66738a;
    font-size: 12px;
    font-weight: 400;
}
.vehicle-icons {
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.vehicle-icons span,
.vehicle-icons b {
    position: relative;
    height: 18px;
    min-width: 27px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #f4f6fb;
    box-shadow: none;
}
.vehicle-icons span::before {
    content: "";
    width: 11px;
    height: 6px;
    border-radius: 2px;
    background: #344055;
}
.vehicle-icons span:first-child {
    background: #f4f6fb url("../images/charging.svg") center / 16px 16px no-repeat;
}
.vehicle-icons span:first-child::before,
.vehicle-icons span:first-child::after {
    content: none;
}
.vehicle-icons span:first-child::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 4px;
    width: 5px;
    height: 5px;
    border-top: 2px solid #344055;
    border-right: 2px solid #344055;
    transform: rotate(90deg);
}
.vehicle-icons span:first-child::after {
    content: none;
}
.vehicle-icons span:nth-child(2)::before {
    width: 13px;
    height: 6px;
    background: #18a334;
}
.vehicle-icons span:nth-child(3)::before {
    width: 13px;
    height: 11px;
    border-radius: 0;
    background:
        linear-gradient(#18a334, #18a334) 1px 7px / 2px 4px no-repeat,
        linear-gradient(#18a334, #18a334) 6px 4px / 2px 7px no-repeat,
        linear-gradient(#18a334, #18a334) 11px 1px / 2px 10px no-repeat;
}
.vehicle-icons b {
    grid-auto-flow: column;
    gap: 4px;
    min-width: 48px;
    padding: 0 5px;
    color: #2f3849;
    font-size: 9px;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
}
.vehicle-icons b::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    background:
        radial-gradient(circle at 3px 5px, transparent 0 2px, #18a334 2px 3px, transparent 3px),
        linear-gradient(#18a334, #18a334) 5px 4px / 9px 2px no-repeat,
        linear-gradient(#18a334, #18a334) 11px 2px / 2px 3px no-repeat,
        linear-gradient(#18a334, #18a334) 13px 4px / 2px 3px no-repeat;
}
.vehicle-icons.off span:nth-child(2)::before,
.vehicle-icons.off span:nth-child(3)::before,
.vehicle-icons.off b::before {
    filter: grayscale(1);
    opacity: .65;
}
.vehicle-location-row {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    margin-top: 16px;
    margin-left: 16px;
    margin-right: 16px;
    padding-top: 14px;
    border-top: 1px solid #e0e6ee;
}
.vehicle-location-row .vehicle-address {
    min-height: 0;
    margin-top: 0 !important;
    padding-top: 0;
    border-top: 0;
}
.vehicle-address {
    color: #101827;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}
.vehicle-quick-actions {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-top: 2px;
}
.vehicle-quick-actions button {
    position: relative;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease;
}
.vehicle-quick-actions button:hover {
    opacity: .75;
    transform: translateY(-1px);
}
.vehicle-quick-actions img {
    width: 16px;
    height: 16px;
    display: block;
}
.vehicle-meta {
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding: 0 38px 15px 0;
    color: #68758a;
    font-size: 13px;
    font-weight: 400;
}
.vehicle-meta em,
.vehicle-meta .doc-count {
    position: absolute;
    right: 8px;
    top: -14px;
    width: 30px;
    height: 30px;
    display: block;
    color: transparent;
    background: url("../images/documnet.svg") 5px 11px / 14px 17px no-repeat;
    font-size: 0;
    font-style: normal;
}
.vehicle-meta .doc-count {
    padding: 0;
    border: 0;
    cursor: pointer;
}
.vehicle-meta em::after,
.vehicle-meta .doc-count::after {
    content: attr(data-count);
    position: absolute;
    right: 3px;
    top: 1px;
    min-width: 11px;
    height: 11px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #ef3340;
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
}
.vehicle-meta .doc-count:hover::after {
    background: #d9212f;
}
.vehicle-card-actions {
    height: 58px;
    gap: 44px;
    padding: 0 16px;
    border-top: 1px solid #e5e9f1;
    background: #f5f6fb;
}
.vehicle-card-actions a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: rgb(0, 102, 255);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    transition: color .18s ease, transform .18s ease;
}
.vehicle-card-actions a img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}
.vehicle-card-actions a:hover {
    color: #004ed1;
    transform: translateX(1px);
}
.vehicle-card-actions a::before {
    content: none;
}
.vehicle-card-actions a:nth-child(2)::before {
    content: none;
}
.route-history-panel,
.vehicle-docs-panel {
    min-height: 0;
    display: none;
    overflow: hidden;
    border: 1px solid #e3e8f2;
    border-radius: 10px;
    background: #fff;
}
.gps-workspace.route-open .route-history-panel {
    display: grid;
    grid-template-rows: 42px 58px 92px minmax(0, 1fr);
}
.gps-workspace.docs-open .vehicle-docs-panel {
    display: grid;
    grid-template-rows: 62px minmax(0, 1fr);
}
.docs-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 16px;
    border-bottom: 1px solid #e3e8f2;
}
.docs-panel-head h2 {
    margin: 0;
    color: #59606f;
    font-size: 15px;
    font-weight: 700;
}
.docs-panel-head > div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.docs-all-vehicles,
.docs-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: rgb(0, 102, 255);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.docs-all-vehicles svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.docs-close {
    width: 24px;
    height: 24px;
    justify-content: center;
    border-radius: 50%;
    color: #111827;
    background: #f1f3f8;
}
.docs-close svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}
.docs-panel-body {
    min-height: 0;
    overflow-y: auto;
    padding: 18px 16px 26px;
}
.docs-panel-body h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #000;
    font-size: 18px;
    font-weight: 800;
}
.docs-panel-body h3 span {
    min-width: 12px;
    height: 12px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #dc3341;
    font-size: 7px;
    line-height: 1;
}
.vehicle-doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.vehicle-doc-card {
    min-height: 150px;
    padding: 16px;
    border: 1px solid #e2e8f5;
    border-radius: 10px;
    background: #fff;
}
.vehicle-doc-card img {
    width: 21px;
    height: 24px;
    display: block;
    margin-bottom: 13px;
    object-fit: contain;
}
.vehicle-doc-card h4 {
    min-height: 42px;
    margin: 0 0 10px;
    color: #030712;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
}
.vehicle-doc-card p {
    margin: 0 0 8px;
    color: #8f98aa;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.75;
}
.vehicle-doc-card strong {
    color: #006b17;
    font-size: 11px;
    font-weight: 900;
}
.vehicle-doc-card.empty strong {
    color: #c7ccd6;
}
.vehicle-doc-card.expired strong {
    color: #e53935;
}
.vehicle-doc-card.empty img {
    opacity: .35;
    filter: grayscale(1);
}
.vehicle-doc-card.expired img {
    filter: hue-rotate(130deg) saturate(2.2);
}
.route-tabs {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 16px;
    border-bottom: 1px solid #e5e9f1;
}
.route-tabs button {
    height: 100%;
    border: 0;
    background: transparent;
    color: #7a8495;
    font-size: 14px;
    font-weight: 400;
}
.route-tabs button.active {
    color: rgb(0, 102, 255);
    border-bottom: 2px solid rgb(0, 102, 255);
}
.route-tabs .route-close {
    width: 26px;
    height: 26px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #8a94a4;
    background: #f7f8fc;
}
.route-close svg,
.route-tools svg,
.route-day svg,
.play-route-btn svg,
.map-control svg {
    width: 16px;
    height: 16px;
}
.route-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px 0;
    position: relative;
    z-index: 8;
}
.route-date-menu {
    position: relative;
}
.route-day {
    height: 32px;
    min-width: 94px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #e5e9f4;
    border-radius: 6px;
    background: #f7f8fc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
}
.route-date-menu.open .route-day {
    border-color: #0f172a;
    background: #fff;
    box-shadow: inset 0 0 0 1px #0f172a;
}
.route-date-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    width: 360px;
    padding: 8px 10px 14px;
    border: 1px solid #e4e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .14);
    z-index: 20;
}
.route-date-dropdown > button {
    width: 100%;
    height: 42px;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111827;
    text-align: left;
    font-size: 13px;
    font-weight: 400;
}
.route-date-dropdown > button:hover,
.route-date-dropdown > button.active {
    color: rgb(0, 102, 255);
}
.route-custom-range {
    height: 34px;
    display: grid;
    grid-template-columns: 1fr 18px 1fr;
    align-items: center;
    margin-top: 6px;
    border: 1px solid #d5dae4;
    border-radius: 6px;
    color: #111827;
    background: #fff;
}
.route-custom-range label {
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
}
.route-custom-range svg {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    color: #0f172a;
}
.route-custom-range label > svg:last-child {
    margin-left: auto;
}
.route-custom-range input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #6b7280;
    font: inherit;
    font-size: 12px;
}
.route-custom-range span {
    text-align: center;
    color: #111827;
    font-weight: 700;
}
.route-tools {
    display: flex;
    gap: 12px;
}
.route-tools button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #e5e9f1;
    border-radius: 50%;
    background: #fff;
    color: #111827;
}
.route-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px 16px 12px;
}
.route-summary button {
    height: 78px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 0 16px;
    border: 1px solid #e3e8f4;
    border-radius: 6px;
    background: #fff;
    color: #69768c;
    text-align: left;
}
.route-summary button.active {
    border-color: rgb(0, 102, 255);
    background: #eaf3ff;
}
.route-summary strong {
    color: rgb(0, 102, 255);
    font-size: 14px;
    font-weight: 400;
}
.route-summary span,
.route-summary small {
    font-size: 11px;
    font-weight: 400;
}
.route-timeline {
    min-height: 0;
    overflow-y: auto;
    padding: 8px 22px 24px 22px;
    scrollbar-width: thin;
    scrollbar-color: #8a8f98 transparent;
}
.route-event {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 22px;
}
.route-event::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 17px;
    bottom: -2px;
    border-left: 1px dashed #c5ccd8;
}
.route-event:last-child::before {
    display: none;
}
.route-event i {
    position: relative;
    z-index: 1;
    width: 10px;
    height: 10px;
    margin: 5px auto 0;
    border-radius: 50%;
    background: #9aa0a8;
}
.route-event.run i {
    width: 0;
    height: 0;
    margin-top: 6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #169238;
    border-radius: 0;
    background: transparent;
}
.route-event.stop i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-top: 0;
    border-radius: 50%;
    color: #e0313b;
    background: #fff3f4;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}
.route-event.stop i::before {
    content: attr(data-stop);
}
.route-timeline.show-stopped .route-event:not(.stop) {
    display: none;
}
.route-timeline.show-stopped .route-event.stop::before {
    bottom: -22px;
}
.route-event h3 {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #7c8798;
    font-size: 15px;
    font-weight: 500;
}
.route-event.run h3 {
    color: #078b22;
}
.route-event.stop h3 {
    color: #e0202d;
}
.route-event h3 span {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 25px;
    margin-left: auto;
    padding: 0 9px;
    border: 1px solid #e2e8f2;
    border-radius: 6px;
    color: #778397;
    background: #fff;
    font-size: 11px;
    font-weight: 400;
}
.route-event p {
    max-width: 360px;
    margin: 0 0 8px;
    color: #263044;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}
.route-event time {
    display: block;
    margin: 0 0 10px;
    color: #7a8495;
    font-size: 12px;
}
.route-event button {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin: 0;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: rgb(0, 102, 255);
    background: transparent;
    font-size: 12px;
}
.gps-map-panel {
    border-radius: 10px;
    background: #dff4df;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .04);
}
.route-map {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        linear-gradient(102deg, transparent 0 84%, #8ed8e8 84.4% 85.6%, transparent 86%),
        linear-gradient(18deg, transparent 0 58%, #8ed8e8 58.3% 59.5%, transparent 60%),
        radial-gradient(ellipse at 16% 10%, #bdf1cd 0 16%, transparent 16.5%),
        radial-gradient(ellipse at 52% 16%, #c8f3d5 0 18%, transparent 18.5%),
        radial-gradient(ellipse at 74% 35%, #c9f4d8 0 15%, transparent 15.5%),
        radial-gradient(ellipse at 23% 78%, #c9f4d8 0 21%, transparent 21.5%),
        radial-gradient(ellipse at 63% 76%, #c7f2d6 0 24%, transparent 24.5%),
        linear-gradient(162deg, transparent 0 32%, #9eb3d5 32.2% 32.7%, transparent 33%),
        linear-gradient(14deg, transparent 0 44%, #9eb3d5 44.2% 44.8%, transparent 45%),
        linear-gradient(146deg, transparent 0 62%, #9eb3d5 62.2% 62.8%, transparent 63%),
        linear-gradient(96deg, transparent 0 70%, #9eb3d5 70.2% 70.8%, transparent 71%),
        repeating-linear-gradient(0deg, transparent 0 95px, rgba(199, 210, 227, .55) 96px 97px, transparent 98px 190px),
        repeating-linear-gradient(90deg, transparent 0 120px, rgba(199, 210, 227, .45) 121px 122px, transparent 123px 240px),
        #f5efe2;
}
.route-map-live {
    background: #eef3fb;
}
.route-map-live .mappls-map {
    opacity: 0;
}

.route-map-live:not(.route-map-loaded) > .map-label,
.route-map-live:not(.route-map-loaded) > .road-label,
.route-map-live:not(.route-map-loaded) > .route-path,
.route-map-live:not(.route-map-loaded) > .map-trace,
.route-map-live:not(.route-map-loaded) > .map-truck,
.route-map-live:not(.route-map-loaded) > .google-watermark,
.route-map-live:not(.route-map-loaded) > .map-control,
.route-map-live:not(.route-map-loaded) > .map-zoom,
.route-map-live:not(.route-map-loaded) > .map-switch,
.route-map-live:not(.route-map-loaded) > .play-route-btn {
    display: none;
}

.route-map-live:not(.route-map-loaded)::before,
.route-map-live:not(.route-map-loaded)::after {
    display: none;
}
.route-map-live:not(.route-map-loaded):not(.route-map-error)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    display: block;
    background:
        linear-gradient(100deg, transparent 0 35%, rgba(255,255,255,.72) 45%, transparent 58%),
        #eef3fb;
    background-size: 220% 100%, 100% 100%;
    animation: gpsMapLoading 1.35s ease-in-out infinite;
}
.route-map-live:not(.route-map-loaded):not(.route-map-error)::after {
    content: "Loading map";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 7;
    display: grid;
    place-items: center;
    width: 138px;
    height: 38px;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    color: #4b5f7a;
    background: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 700;
    transform: translate(-50%, -50%);
}
@keyframes gpsMapLoading {
    from { background-position: 180% 0, 0 0; }
    to { background-position: -40% 0, 0 0; }
}
.route-map-loaded .mappls-map {
    z-index: 8;
    opacity: 1;
}
.route-map-loaded .map-error-state,
.route-map-loaded::before,
.route-map-loaded::after,
.route-map-loaded > .map-label,
.route-map-loaded > .road-label,
.route-map-loaded > .route-path,
.route-map-loaded > .map-trace,
.route-map-loaded > .map-truck,
.route-map-loaded > .google-watermark {
    display: none;
}
.route-map-loaded > .map-control,
.route-map-loaded > .map-zoom,
.route-map-loaded > .map-switch,
.route-map-loaded > .play-route-btn {
    z-index: 20;
}
.route-map-error .mappls-map {
    opacity: 0;
    pointer-events: none;
}
.route-map::before {
    content: "";
    position: absolute;
    left: -4%;
    top: 44%;
    width: 112%;
    height: 5px;
    background: #8fa7d0;
    box-shadow: 0 1px 0 #fff, 0 -1px 0 #fff;
    transform: rotate(-10deg);
}
.route-map::after {
    content: "";
    position: absolute;
    left: 34%;
    top: -4%;
    width: 5px;
    height: 110%;
    background: #8fa7d0;
    box-shadow: 1px 0 0 #fff, -1px 0 0 #fff;
    transform: rotate(26deg);
}
.play-route-btn {
    display: none;
    position: absolute;
    left: 16px;
    top: 18px;
    z-index: 5;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 122px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #e6eaf2;
    border-radius: 999px;
    color: #111827;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .16);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.gps-workspace.route-open .play-route-btn {
    display: inline-flex;
}
.play-route-btn:hover,
.play-route-btn.active {
    color: #111827;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .2);
}
.route-tools button[data-route-play].active {
    color: #fff;
    background: rgb(0, 102, 255);
    border-color: rgb(0, 102, 255);
}
.map-label {
    position: absolute;
    z-index: 2;
    color: #3f4754;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.map-label.karwa { left: 8%; top: 2%; }
.map-label.konchara { left: 17%; top: 4%; }
.map-label.belgahana { left: 13%; top: 13%; }
.map-label.kota { left: 13%; top: 37%; }
.map-label.ratanpur { left: 29%; top: 33%; }
.map-label.pendra { left: 25%; top: 20%; }
.map-label.bakshahi { left: 47%; top: 27%; }
.map-label.khondara { left: 53%; top: 40%; }
.map-label.bilaspur {
    left: 30%;
    top: 62%;
    font-size: 20px;
    font-weight: 800;
}
.map-label.korba {
    right: 3%;
    top: 28%;
    font-size: 18px;
    font-weight: 800;
}
.map-label.madanpur { right: 29%; top: 4%; }
.map-label.hardi { right: 22%; top: 34%; }
.road-label {
    position: absolute;
    z-index: 3;
    min-width: 25px;
    height: 15px;
    display: grid;
    place-items: center;
    border: 1px solid #d6a500;
    border-radius: 3px;
    color: #333;
    background: #ffd83c;
    font-size: 9px;
    font-weight: 800;
}
.map-control,
.map-zoom {
    position: absolute;
    right: 16px;
    z-index: 4;
}
.map-fullscreen {
    top: 16px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .13);
    cursor: pointer;
}
.map-zoom {
    top: 68px;
    display: grid;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .13);
}
.map-zoom button {
    width: 40px;
    height: 42px;
    border: 0;
    border-bottom: 1px solid #e5e9f1;
    background: #fff;
    font-size: 26px;
    font-weight: 400;
}
.map-zoom button:last-child {
    border-bottom: 0;
}
.route-path {
    position: absolute;
    left: 22%;
    top: 24%;
    width: 46%;
    height: 50%;
    border-left: 4px solid rgba(56, 66, 80, .55);
    border-bottom: 4px solid rgba(56, 66, 80, .55);
    border-radius: 45% 18% 34% 48%;
    transform: rotate(13deg);
}
.route-path::after {
    content: "";
    position: absolute;
    left: 22px;
    bottom: -28px;
    width: 96px;
    border-top: 5px solid #454545;
    transform: rotate(-24deg);
}
.map-marker {
    display: none;
}
.map-truck {
    position: absolute;
    z-index: 3;
    width: 34px;
    height: 34px;
    background: url("../images/laltruck.svg") center / contain no-repeat;
    filter: drop-shadow(0 3px 6px rgba(15, 23, 42, .28));
}
.map-truck::before {
    display: none;
}
.map-truck.live {
    background: url("../images/laltruck.svg") center / contain no-repeat;
}
.map-truck.truck-one { left: 29%; top: 36%; }
.map-truck.truck-two { left: 22%; top: 58%; }
.map-truck.truck-three { left: 28%; top: 74%; }
.map-truck.truck-four { right: 22%; top: 4%; }
.r45 { left: 9%; top: 44%; }
.r130.a { left: 31%; top: 39%; }
.r130.b { left: 41%; top: 39%; }
.r130.c { left: 56%; top: 59%; }
.r149 { right: 5%; top: 8%; }
.google-watermark {
    position: absolute;
    left: 10px;
    bottom: 7px;
    z-index: 4;
    color: #4285f4;
    font-size: 18px;
    font-weight: 700;
}
.google-watermark::after {
    content: "Keyboard shortcuts   Map data ©2026   Terms   Report a map error";
    position: absolute;
    left: 128px;
    bottom: 0;
    width: 420px;
    color: #4b5563;
    font-size: 9px;
    font-weight: 500;
}
.map-switch {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    display: flex;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .13);
}
.map-switch button {
    height: 44px;
    min-width: 82px;
    border: 0;
    background: #fff;
    color: #7a8495;
    font-size: 13px;
}
.map-switch button.active {
    color: rgb(0, 102, 255);
    background: #f7fbff;
}
.route-play-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px 38px;
}
.route-play-modal.open {
    display: flex;
}
.route-play-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .68);
}
.route-play-card {
    position: relative;
    z-index: 1;
    width: min(1538px, calc(100vw - 76px));
    height: min(592px, calc(100vh - 68px));
    display: grid;
    grid-template-rows: 50px minmax(0, 1fr) 40px;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
}
.route-play-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px 0 30px;
    border-bottom: 1px solid #eef1f5;
    background: #fff;
}
.route-play-head h2 {
    margin: 0;
    color: #3f434a;
    font-size: 23px;
    font-weight: 400;
}
.route-play-head button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #7e858d;
}
.route-play-head svg {
    width: 19px;
    height: 19px;
}
.route-play-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background:
        var(--map-preview-image, none) center / cover no-repeat,
        #e8efe2;
}
.route-play-map .mappls-map {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    opacity: 0;
}
.route-play-map .mappls-map > div,
.route-play-map .mappls-map .mapboxgl-map,
.route-play-map .mappls-map .maplibregl-map,
.route-play-map .mappls-map .leaflet-container,
.route-play-map .mappls-map .mapboxgl-canvas-container,
.route-play-map .mappls-map .maplibregl-canvas-container,
.route-play-map .mappls-map .mapboxgl-canvas,
.route-play-map .mappls-map .maplibregl-canvas,
.route-play-map .mappls-map canvas {
    width: 100% !important;
    height: 100% !important;
}
.route-play-map.route-play-map-loaded .mappls-map {
    opacity: 1;
}
.route-play-map.route-play-map-loaded .route-play-fallback {
    display: none;
}
.route-stop-popup {
    width: 246px;
    min-width: 246px;
    max-width: 246px;
    padding: 0;
    color: #111827;
    font-family: Baloo\ 2, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}
.route-stop-duration {
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
}
.route-stop-time {
    margin-bottom: 9px;
    color: #374151;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
}
.route-stop-address {
    color: #111827;
    font-size: 11px;
    font-weight: 800;
    line-height: 19px;
    text-transform: uppercase;
}
.gm-style .gm-style-iw-c {
    padding: 10px 20px 14px 11px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .18) !important;
}
.gm-style .gm-style-iw-d {
    overflow: auto !important;
    padding: 0 !important;
}
.gm-style .gm-ui-hover-effect {
    top: 7px !important;
    right: 8px !important;
    width: 24px !important;
    height: 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f9fafb !important;
    opacity: 1 !important;
}
.gm-style .gm-ui-hover-effect span {
    width: 12px !important;
    height: 12px !important;
    margin: 6px !important;
    background-color: #4b5563 !important;
}
.route-play-progress {
    position: relative;
}
.route-play-progress input[type="range"] {
    position: absolute;
    inset: -8px 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}
.route-play-meta {
    display: grid;
    min-width: 104px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.2;
}
.route-play-meta strong {
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}
.route-play-meta span {
    white-space: nowrap;
}
.route-play-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(132deg, transparent 0 32%, rgba(25, 118, 210, .22) 32.2% 33%, transparent 33.2%),
        linear-gradient(22deg, transparent 0 48%, rgba(250, 204, 21, .45) 48.2% 49%, transparent 49.2%);
}
.route-play-brand {
    position: absolute;
    left: 10px;
    bottom: 8px;
    color: #18c3a7;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
}
.route-play-brand::after {
    content: " | MapmyIndia";
    color: #e26b22;
    letter-spacing: 0;
}
.route-play-road {
    position: absolute;
    left: 36%;
    top: 7%;
    width: 31%;
    height: 66%;
    border-top: 5px solid #1976d2;
    border-left: 5px solid #1976d2;
    border-radius: 52% 18% 10% 48%;
    transform: rotate(-19deg);
}
.route-play-road::after {
    content: "";
    position: absolute;
    left: -72px;
    bottom: -42px;
    width: 120px;
    border-top: 5px solid #1976d2;
    transform: rotate(43deg);
}
.route-play-pin {
    position: absolute;
    z-index: 3;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 0;
    color: #fff;
    background: #fb1225;
    font-size: 12px;
    font-weight: 800;
    transform: rotate(-45deg);
}
.route-play-pin::before {
    content: attr(class);
}
.route-play-pin.start { right: 35%; top: 4%; }
.route-play-pin.middle { left: 35%; bottom: 20%; }
.route-play-pin.end { left: 9%; bottom: 6%; }
.route-play-pin {
    font-size: 0;
}
.route-play-pin::after {
    content: attr(data-label);
}
.route-play-pin.start::after { content: "1"; }
.route-play-pin.middle::after { content: "3"; }
.route-play-pin.end::after { content: "4"; }
.route-play-popup {
    position: absolute;
    right: 30%;
    top: 9%;
    z-index: 30;
    min-width: 196px;
    padding: 13px 14px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .22);
    pointer-events: auto;
    will-change: left, top, transform;
}
.route-play-popup.is-hidden {
    display: none;
}
.route-play-popup button {
    position: absolute;
    right: -10px;
    top: -12px;
    z-index: 31;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .2);
    cursor: pointer;
}
.route-play-popup button:hover {
    color: #111827;
}
.route-play-popup::after,
.route-live-popup::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 4px 4px 8px rgba(15, 23, 42, .08);
}
.route-play-popup b,
.route-play-popup small {
    display: block;
    color: #4b5563;
    font-size: 12px;
    font-weight: 400;
}
.route-play-popup small {
    margin-top: 8px;
}
.route-live-popup {
    position: relative;
    min-width: 184px;
    padding: 12px 14px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .22);
}
.route-live-popup b,
.route-live-popup small {
    position: relative;
    z-index: 1;
    display: block;
    color: #4b5563;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}
.route-live-popup small {
    margin-top: 8px;
}
.route-play-controls {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px minmax(72px, auto) 70px;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    background: #fff;
}
.route-play-toggle,
.route-play-stop {
    border: 0;
    background: transparent;
    color: #6b7280;
}
.route-play-toggle svg {
    width: 20px;
    height: 20px;
}
.route-play-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}
.route-play-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #1976d2;
}
.route-play-stop::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: auto;
    background: #6b7280;
}
.route-play-controls select {
    grid-column: -2 / -1;
    width: 70px;
    height: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
}
.report-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 88px;
}
.report-modal.open {
    display: flex;
}
.report-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
}
.report-card {
    position: relative;
    z-index: 1;
    width: min(576px, calc(100vw - 40px));
    min-height: 182px;
    padding: 28px 30px 24px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}
.report-card h2 {
    margin: 0 0 20px;
    color: #424852;
    font-size: 16px;
    font-weight: 400;
}
.report-option {
    width: max-content;
    display: grid;
    grid-template-columns: 22px auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}
.report-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.report-option span {
    width: 20px;
    height: 20px;
    display: block;
    border: 2px solid #9aa0a8;
    border-radius: 50%;
}
.report-option input:checked + span {
    border-color: rgb(0, 102, 255);
    box-shadow: inset 0 0 0 4px #fff;
    background: rgb(0, 102, 255);
}
.report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 58px;
    margin-top: 28px;
}
.report-actions button {
    border: 0;
    background: transparent;
    color: rgb(0, 102, 255);
    font-size: 13px;
    font-weight: 400;
}
.report-actions button:first-child {
    color: #8b8f98;
}

body {
    overflow: hidden;
}
.gps-main {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}
.gps-content {
    min-height: 0;
    height: calc(100vh - 76px);
    overflow: hidden;
}
.gps-workspace {
    min-height: 0;
    height: calc(100vh - 76px - 66px);
    overflow: hidden;
}
.vehicle-list-panel,
.route-history-panel,
.vehicle-docs-panel,
.gps-map-panel {
    min-height: 0;
    max-height: 100%;
}
.vehicle-list-panel {
    overflow-y: auto;
}
.route-history-panel,
.vehicle-docs-panel {
    height: 100%;
}
.route-timeline {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gps-workspace.route-open .vehicle-list-panel,
.gps-workspace.docs-open .vehicle-list-panel {
    gap: 14px;
    padding-right: 4px;
}
.gps-workspace.route-open .vehicle-card,
.gps-workspace.docs-open .vehicle-card {
    min-height: 266px;
    padding-top: 18px;
    border-color: #d8e0ec;
    border-radius: 9px;
    box-shadow: none;
}
.gps-workspace.route-open .vehicle-card:hover,
.gps-workspace.route-open .vehicle-card.selected,
.gps-workspace.docs-open .vehicle-card:hover,
.gps-workspace.docs-open .vehicle-card.selected {
    border-color: rgb(0, 102, 255);
    box-shadow: none;
    transform: none;
}
.gps-workspace.route-open .vehicle-card-head,
.gps-workspace.docs-open .vehicle-card-head {
    padding: 0 16px;
}
.gps-workspace.route-open .vehicle-location-row,
.gps-workspace.docs-open .vehicle-location-row {
    min-height: 78px;
    margin: 14px 16px 0;
    padding-top: 13px;
}
.gps-workspace.route-open .vehicle-address,
.gps-workspace.docs-open .vehicle-address {
    font-size: 14px;
    line-height: 1.65;
}
.gps-workspace.route-open .vehicle-meta,
.gps-workspace.docs-open .vehicle-meta {
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding-bottom: 14px;
    font-size: 12px;
}
.gps-workspace.route-open .vehicle-card-actions,
.gps-workspace.docs-open .vehicle-card-actions {
    height: 56px;
    gap: 36px;
    background: #f5f6fb;
}
.gps-workspace.route-open .vehicle-card-actions a,
.gps-workspace.docs-open .vehicle-card-actions a {
    font-size: 14px;
}

@media (max-width: 1120px) {
    body {
        overflow: auto;
    }
    .gps-main,
    .gps-content,
    .gps-workspace {
        height: auto;
        overflow: visible;
    }
    .dashboard-shell { grid-template-columns: 52px minmax(0, 1fr); }
    .dash-sidebar { padding-left: 0; padding-right: 0; }
    .dash-logo strong,
    .dash-menu a > span:not(.menu-icon-wrap),
    .menu-new-badge,
    .menu-caret,
    .dash-submenu,
    .account-manager,
    .support-link {
        display: none;
    }
    .dash-menu a { justify-content: center; padding: 0; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .vehicle-panel, .trips-panel { grid-column: auto; }
    .gps-topbar {
        height: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 16px;
    }
    .gps-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .gps-workspace {
        grid-template-columns: 1fr;
    }
    .gps-map-panel {
        min-height: 480px;
    }
    .fastag-landing {
        min-height: auto;
        padding-top: 42px;
    }
    .diesel-content {
        height: auto;
    }
    .diesel-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .diesel-empty-card,
    .diesel-events-card,
    .diesel-map-card {
        min-height: 420px;
        border-radius: 10px;
    }
}

@media (max-width: 720px) {
    .dashboard-shell { display: block; }
    .dashboard-shell.sidebar-collapsed { display: block; }
    .dash-sidebar {
        position: fixed;
        z-index: 30;
        inset: 0 auto 0 0;
        width: 252px;
        transform: translateX(-100%);
        transition: transform .2s ease;
    }
    .dash-sidebar.open { transform: translateX(0); }
    .dash-logo strong { display: block; }
    .sidebar-toggle-row { padding-left: 24px; min-height: 76px; }
    .dash-menu a { justify-content: flex-start; padding: 0 22px; }
    .dash-menu a > span:not(.menu-icon-wrap) { display: inline; }
    .menu-new-badge { display: inline-grid; }
    .menu-caret { display: block; }
    .dash-submenu { display: grid; }
    .support-link { display: flex; }
    .account-manager { display: block; }
    .dash-content { padding: 18px 14px 28px; }
    .dash-title-row, .filters { align-items: stretch; flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .dash-topbar { padding: 0 12px; }
    .profile-chip div { display: none; }
    .profile-dropdown { right: -8px; }
    .trip-body { grid-template-columns: 1fr; justify-items: center; }
    .gps-content {
        display: block;
    }
    .gps-filter-row {
        overflow-x: auto;
        padding: 12px 14px;
    }
    .gps-filter-row button {
        flex: 0 0 auto;
    }
    .gps-workspace {
        padding: 0 14px 18px;
    }
    .vehicle-card {
        min-height: auto;
    }
    .vehicle-card-head {
        align-items: flex-start;
    }
    .vehicle-icons {
        display: none;
    }
    .vehicle-card-actions {
        gap: 24px;
    }
    .vehicle-card-actions a {
        font-size: 14px;
    }
    .gps-map-panel {
        min-height: 360px;
    }
    .gps-actions button {
        padding: 0 14px;
    }
    .fastag-header {
        height: 64px;
        position: relative;
        justify-content: center;
        gap: 10px;
        padding: 0 16px;
    }
    .fastag-menu-btn {
        position: absolute;
        left: 16px;
        top: 50%;
        width: 40px;
        height: 40px;
        display: inline-grid;
        place-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        transform: translateY(-50%);
        cursor: pointer;
    }
    .fastag-menu-btn span {
        width: 18px;
        height: 2px;
        display: block;
        border-radius: 999px;
        background: #2f3744;
        box-shadow: 0 6px 0 #2f3744, 0 -6px 0 #2f3744;
    }
    .fastag-header img {
        width: 24px;
        height: 24px;
    }
    .fastag-header h1 {
        font-size: 22px;
    }
    .fastag-landing {
        padding: 24px 16px 38px;
    }
    .fastag-hero-image {
        height: 190px;
    }
    .fastag-copy {
        margin-top: 32px;
    }
    .fastag-copy h2 {
        margin-bottom: 24px;
        font-size: 28px;
    }
    .fastag-copy p {
        margin-bottom: 22px;
        font-size: 18px;
    }
    .fastag-copy ul {
        gap: 18px;
    }
    .fastag-copy button {
        width: 100%;
        margin-top: 32px;
    }
    .reports-content {
        padding: 18px 14px 28px;
    }
    .custom-report-card,
    .report-type-summary {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 16px;
        min-height: 92px;
        padding: 16px;
    }
    .report-icon {
        width: 46px;
        height: 46px;
    }
    .custom-report-card p,
    .report-type-card small {
        font-size: 13px;
    }
    .report-type-panel {
        padding: 0 16px 26px;
    }
    .report-tabs {
        gap: 10px;
        margin-top: 0;
    }
    .report-tabs button {
        min-width: 0;
        height: 38px;
    }
    .report-form-grid,
    .report-form-grid.two-col {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .report-download-actions {
        flex-wrap: wrap;
        gap: 12px;
    }
    .diesel-topbar {
        height: auto;
        align-items: center;
        gap: 14px;
        padding: 14px 14px 14px 72px;
    }
    .diesel-brand {
        width: 24px;
        height: 24px;
        margin-left: 0;
    }
    .diesel-search {
        width: min(100%, 288px);
        height: 40px;
    }
    .diesel-content {
        padding: 14px;
    }
    .devices-header {
        height: 64px;
        padding: 0 16px 0 72px;
    }
    .devices-content {
        padding: 10px 8px 28px;
    }
    .devices-toolbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px;
    }
    .devices-table {
        font-size: 14px;
    }
    .devices-table thead th,
    .devices-table tbody td {
        padding: 16px 14px;
    }
    .diesel-tabs {
        overflow-x: auto;
    }
    .diesel-event-options {
        grid-template-columns: 1fr;
    }
    .diesel-date-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .diesel-itinerary {
        margin-top: 120px;
    }
    .diesel-empty-card,
    .diesel-events-card,
    .diesel-map-card {
        min-height: 330px;
    }
    .diesel-map-label.delhi { font-size: 22px; }
    .diesel-map-label.india { font-size: 27px; }
    .diesel-map-label.mumbai,
    .diesel-map-label.hyderabad { font-size: 20px; }
    .diesel-load-map {
        height: 56px;
        padding: 0 24px;
        font-size: 18px;
    }
}

@media (max-width: 720px) {
    .gps-shell,
    .gps-main {
        background: #f5f6fb;
    }
    .gps-view {
        min-height: 100vh;
        background: #f5f6fb;
    }
    .gps-topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        height: 88px;
        display: grid;
        grid-template-columns: 52px repeat(4, 44px) 62px;
        justify-content: start;
        align-items: start;
        gap: 8px;
        padding: 28px 10px 8px;
        border-bottom: 1px solid #e5e9f2;
        background: #fff;
    }
    .gps-title-block {
        min-width: 52px;
        width: 52px;
        height: 40px;
        gap: 9px;
        align-items: center;
    }
    .gps-menu-btn {
        width: 20px;
        height: 40px;
        display: inline-grid;
        place-items: center;
        flex: 0 0 18px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .gps-menu-btn span,
    .gps-menu-btn::before,
    .gps-menu-btn::after {
        content: "";
        width: 17px;
        height: 2px;
        display: block;
        border-radius: 999px;
        background: #3a414d;
    }
    .gps-menu-btn span {
        box-shadow: 0 5px 0 #3a414d, 0 -5px 0 #3a414d;
    }
    .gps-menu-btn::before,
    .gps-menu-btn::after {
        display: none;
    }
    .gps-title-block img {
        display: none;
    }
    .gps-title-block h1 {
        width: 12px;
        max-width: 12px;
        padding-left: 0;
        overflow: hidden;
        color: #343b48;
        font-size: 15px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
    }
    .gps-search {
        width: 44px;
        height: 40px;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 6px;
        background: #f3f5fb;
    }
    .gps-search svg {
        width: 18px;
        height: 18px;
        color: #3f4654;
    }
    .gps-search input {
        display: none;
    }
    .gps-actions {
        display: contents;
    }
    .gps-actions button {
        width: 44px;
        min-width: 44px;
        height: 40px;
        min-height: 40px;
        justify-content: center;
        padding: 0;
        border-radius: 6px;
        background: #f3f5fb;
        color: transparent;
        font-size: 0;
    }
    .gps-actions svg {
        width: 18px;
        height: 18px;
        color: #3f4654;
    }
    .gps-actions .gps-alert-btn {
        width: 62px;
        min-width: 62px;
        height: 56px;
        align-self: start;
        display: inline-grid;
        gap: 3px;
        place-items: center;
        color: #0062ff;
        font-size: 11px;
        line-height: 1;
    }
    .gps-actions .gps-alert-btn svg {
        width: 15px;
        height: 15px;
        color: #0062ff;
    }
    .gps-alert-btn i {
        top: -4px;
        right: -5px;
        width: 10px;
        height: 10px;
    }
    .gps-content {
        min-height: auto;
        display: block;
    }
    .gps-filter-row {
        position: sticky;
        top: 88px;
        z-index: 18;
        gap: 11px;
        overflow-x: auto;
        padding: 14px 12px 12px;
        background: #f5f6fb;
        scrollbar-width: none;
    }
    .gps-filter-row::-webkit-scrollbar {
        display: none;
    }
    .gps-filter-row button {
        min-width: 57px;
        height: 40px;
        min-height: 40px;
        padding: 0 13px;
        border-color: #e7ebf3;
        border-radius: 5px;
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
    }
    .gps-filter-row button:nth-child(2),
    .gps-filter-row button:nth-child(3) {
        min-width: 86px;
    }
    .gps-filter-row button:nth-child(4) {
        min-width: 68px;
        white-space: normal;
        line-height: 1.15;
    }
    .gps-filter-row .sort-menu {
        display: none;
    }
    .gps-workspace {
        display: block;
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        padding: 0 12px 18px;
    }
    .vehicle-list-panel {
        display: grid;
        gap: 14px;
        padding: 0;
        overflow: visible;
    }
    .vehicle-card,
    .gps-workspace.route-open .vehicle-card,
    .gps-workspace.docs-open .vehicle-card {
        min-height: 0;
        padding-top: 16px;
        overflow: hidden;
        border: 0;
        border-radius: 9px;
        box-shadow: none;
    }
    .vehicle-card-head,
    .gps-workspace.route-open .vehicle-card-head,
    .gps-workspace.docs-open .vehicle-card-head {
        align-items: flex-start;
        gap: 9px;
        padding: 0 12px;
    }
    .vehicle-card-head > div:nth-child(2) {
        min-width: 0;
        flex: 1 1 auto;
    }
    .speed-badge {
        width: 24px;
        flex-basis: 24px;
    }
    .speed-badge strong {
        min-height: 24px;
        font-size: 13px;
    }
    .speed-badge span {
        font-size: 8px;
    }
    .vehicle-card h2 {
        margin-bottom: 4px;
        font-size: 13px;
        line-height: 1.2;
    }
    .vehicle-card-head p {
        font-size: 9px;
        line-height: 1.25;
    }
    .vehicle-icons {
        display: inline-flex;
        flex: 0 0 auto;
        gap: 5px;
    }
    .vehicle-icons span,
    .vehicle-icons b {
        height: 16px;
        min-width: 23px;
    }
    .vehicle-icons b {
        grid-auto-flow: column;
        min-width: 42px;
        padding: 0 4px;
        font-size: 8px;
        line-height: 16px;
    }
    .vehicle-location-row,
    .gps-workspace.route-open .vehicle-location-row,
    .gps-workspace.docs-open .vehicle-location-row {
        min-height: 101px;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin: 13px 12px 0;
        padding-top: 12px;
    }
    .vehicle-address,
    .gps-workspace.route-open .vehicle-address,
    .gps-workspace.docs-open .vehicle-address {
        font-size: 11px;
        line-height: 1.65;
    }
    .vehicle-quick-actions {
        display: none;
    }
    .vehicle-meta,
    .gps-workspace.route-open .vehicle-meta,
    .gps-workspace.docs-open .vehicle-meta {
        min-height: 46px;
        margin-left: 12px !important;
        margin-right: 12px !important;
        padding: 15px 34px 15px 0;
        border-bottom: 1px solid #e3e8f1;
        font-size: 11px;
        line-height: 1.35;
    }
    .vehicle-meta .doc-count {
        right: 2px;
        top: 8px;
    }
    .vehicle-card-actions,
    .gps-workspace.route-open .vehicle-card-actions,
    .gps-workspace.docs-open .vehicle-card-actions {
        height: 52px;
        gap: 34px;
        padding: 0 12px;
        border-top: 0;
        background: #fff;
    }
    .vehicle-card-actions a,
    .gps-workspace.route-open .vehicle-card-actions a,
    .gps-workspace.docs-open .vehicle-card-actions a {
        gap: 12px;
        font-size: 13px;
        font-weight: 600;
    }
    .vehicle-card-actions a img {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }
    .gps-map-panel,
    .vehicle-docs-panel {
        display: none !important;
    }
    .route-history-panel {
        display: none;
    }
    .gps-workspace.route-open .vehicle-list-panel {
        display: none;
    }
    .gps-workspace.route-open .route-history-panel {
        height: auto;
        max-height: none;
        min-height: calc(100vh - 220px);
        display: grid;
        grid-template-rows: 45px 60px 95px minmax(360px, 1fr);
        overflow: hidden;
        border: 0;
        border-radius: 9px 9px 0 0;
        background: #fff;
        box-shadow: none;
    }
    .gps-workspace.route-open {
        padding-bottom: 0;
    }
    .gps-workspace.route-open .route-tabs {
        gap: 18px;
        padding: 0 13px;
    }
    .gps-workspace.route-open .route-tabs button {
        font-size: 13px;
        font-weight: 500;
    }
    .gps-workspace.route-open .route-tabs .route-close {
        width: 28px;
        height: 28px;
        margin-left: auto;
        border-radius: 50%;
        background: #f3f5f9;
    }
    .gps-workspace.route-open .route-toolbar {
        gap: 10px;
        padding: 14px 13px 0;
    }
    .gps-workspace.route-open .route-day {
        min-width: 86px;
        height: 30px;
        padding: 0 10px;
        border-radius: 5px;
        font-size: 11px;
    }
    .gps-workspace.route-open .route-date-dropdown {
        width: min(360px, calc(100vw - 32px));
    }
    .gps-workspace.route-open .route-tools {
        gap: 12px;
    }
    .gps-workspace.route-open .route-tools button {
        width: 30px;
        height: 30px;
    }
    .gps-workspace.route-open .route-summary {
        gap: 14px;
        padding: 12px 13px 10px;
    }
    .gps-workspace.route-open .route-summary button {
        height: 72px;
        gap: 5px;
        padding: 0 13px;
        border-radius: 5px;
    }
    .gps-workspace.route-open .route-summary strong {
        font-size: 12px;
    }
    .gps-workspace.route-open .route-summary span,
    .gps-workspace.route-open .route-summary small {
        font-size: 10px;
    }
    .gps-workspace.route-open .route-timeline {
        max-height: none;
        overflow-y: auto;
        padding: 10px 18px 80px 16px;
        scrollbar-width: none;
    }
    .gps-workspace.route-open .route-timeline::-webkit-scrollbar {
        display: none;
    }
    .gps-workspace.route-open .route-event {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding-bottom: 21px;
    }
    .gps-workspace.route-open .route-event h3 {
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 600;
    }
    .gps-workspace.route-open .route-event h3 span {
        min-height: 25px;
        margin-left: auto;
        padding: 0 8px;
        font-size: 10px;
    }
    .gps-workspace.route-open .route-event p {
        max-width: 205px;
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 1.65;
    }
    .gps-workspace.route-open .route-event time {
        margin-bottom: 9px;
        font-size: 11px;
    }
    .gps-workspace.route-open .route-event button {
        margin: 0;
        min-height: 26px;
        padding: 0;
        font-size: 11px;
    }
}

@media (max-width: 340px) {
    .gps-topbar {
        grid-template-columns: 48px repeat(4, 39px) 56px;
        gap: 6px;
        padding-left: 8px;
        padding-right: 8px;
    }
    .gps-title-block {
        min-width: 48px;
        width: 48px;
    }
    .gps-search,
    .gps-actions button {
        width: 39px;
        min-width: 39px;
        height: 38px;
        min-height: 38px;
    }
    .gps-actions .gps-alert-btn {
        width: 54px;
        min-width: 54px;
    }
    .vehicle-icons {
        gap: 3px;
    }
    .vehicle-icons span {
        min-width: 20px;
    }
    .vehicle-icons b {
        min-width: 28px;
    }
}
