* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: #07101d;
    color: #eef3fa;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ==========================================================
   TOPO
   ========================================================== */

.topbar {
    height: 76px;
    display: grid;
    grid-template-columns: 320px 1fr 250px;
    align-items: center;
    padding: 0 20px;
    background: #0d1729;
    border-bottom: 1px solid #223047;
    position: relative;
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #0797dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.brand h1 {
    margin: 0;
    font-size: 21px;
    letter-spacing: 4px;
}

.brand span {
    display: block;
    margin-top: 2px;
    color: #7f8da3;
    font-size: 11px;
}

.main-nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-nav a {
    height: 100%;
    padding: 0 22px;
    display: flex;
    align-items: center;
    color: #8492a7;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover {
    color: #fff;
    background: #111d31;
}

.main-nav a.active {
    color: #fff;
    border-bottom-color: #0797dc;
}

.system-status {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8d9bb0;
    font-size: 12px;
}

.status-dot,
.map-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27c97b;
    box-shadow:
        0 0 10px rgba(39,201,123,.7);
}


/* ==========================================================
   LAYOUT
   ========================================================== */

.monitor-layout {
    width: 100%;
    height: calc(100vh - 76px);
    display: grid;
    grid-template-columns:
        320px
        minmax(500px, 1fr)
        330px;
}


/* ==========================================================
   FROTA
   ========================================================== */

.fleet-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #0c1627;
    border-right: 1px solid #223047;
}

.fleet-header {
    padding: 20px 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-label {
    display: block;
    color: #718198;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.fleet-header h2 {
    margin: 0;
    font-size: 22px;
}

.fleet-count {
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #17253a;
    color: #aeb9c9;
    font-size: 12px;
    font-weight: 800;
}

.fleet-search {
    padding: 0 18px 12px;
}

.fleet-search input {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #2b3a51;
    border-radius: 8px;
    outline: none;
    background: #091321;
    color: white;
}

.fleet-search input:focus {
    border-color: #0797dc;
}

.fleet-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 0 18px 14px;
}

.fleet-filter {
    height: 34px;
    border: 1px solid #28374e;
    border-radius: 6px;
    background: transparent;
    color: #7e8da4;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.fleet-filter:hover,
.fleet-filter.active {
    color: white;
    background: #17263c;
    border-color: #36506f;
}

.legacy-vehicle-selector {
    display: none;
}

.vehicle-list {
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid #1d2a3f;
}

.vehicle-list-item {
    width: 100%;
    min-height: 82px;
    padding: 13px 15px;
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 11px;
    align-items: center;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #1b283c;
    background: transparent;
    color: white;
    cursor: pointer;
}

.vehicle-list-item:hover {
    background: #111e31;
}

.vehicle-list-item.selected {
    background: #14253b;
    box-shadow:
        inset 3px 0 0 #0797dc;
}

.vehicle-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.vehicle-status-dot.online {
    background: #27c97b;
    box-shadow:
        0 0 8px rgba(39,201,123,.55);
}

.vehicle-status-dot.offline {
    background: #6f7d91;
}

.vehicle-list-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vehicle-list-main strong {
    overflow: hidden;
    color: #eef3fa;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-list-main small {
    color: #9ba8b9;
    font-size: 12px;
}

.vehicle-list-main span {
    overflow: hidden;
    color: #687890;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-list-status {
    font-size: 9px;
    font-weight: 900;
}

.vehicle-list-status.online {
    color: #27c97b;
}

.vehicle-list-status.offline {
    color: #75849a;
}

.fleet-loading,
.fleet-empty {
    padding: 30px 18px;
    color: #718198;
    text-align: center;
    font-size: 12px;
}


/* ==========================================================
   MAPA
   ========================================================== */

.map-panel {
    min-width: 0;
    position: relative;
    background: #07101d;
}

#map {
    position: absolute;
    inset: 0 0 70px 0;
    width: 100%;
}

.map-floating-status {
    position: absolute;
    top: 16px;
    left: 50%;
    z-index: 500;
    transform: translateX(-50%);
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10,20,34,.92);
    border: 1px solid #26364e;
    border-radius: 20px;
    color: #c7d0dd;
    font-size: 11px;
    box-shadow:
        0 5px 18px rgba(0,0,0,.25);
}

.map-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0d1729;
    border-top: 1px solid #223047;
}

.map-info div {
    padding: 13px 16px;
    border-right: 1px solid #1d2a3f;
}

.map-info span {
    display: block;
    color: #6f7e94;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.map-info strong {
    display: block;
    margin-top: 7px;
    color: #dbe3ee;
    font-size: 13px;
}


/* ==========================================================
   DETALHES
   ========================================================== */

.details-panel {
    overflow-y: auto;
    background: #0c1627;
    border-left: 1px solid #223047;
}

.vehicle-detail-header {
    padding: 21px 20px 18px;
    border-bottom: 1px solid #223047;
}

.vehicle-detail-header h2 {
    margin: 5px 0 10px;
    font-size: 22px;
}

.vehicle-identification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#vehicle-plate {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid #33445d;
    border-radius: 5px;
    color: #e6ebf2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

#vehicle-owner {
    display: block;
    margin-top: 10px;
    color: #74849a;
}

.badge {
    padding: 6px 9px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 900;
}

.badge.online {
    color: #37dc8e;
    background: rgba(39,201,123,.12);
}

.badge.offline {
    color: #9aa7b9;
    background: rgba(120,135,155,.12);
}

.detail-section {
    padding: 18px 20px;
    border-bottom: 1px solid #223047;
}

.detail-section h3 {
    margin: 0 0 13px;
    color: #aeb9c8;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-row,
.coordinate-row {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.detail-row span,
.coordinate-row span {
    color: #78879c;
    font-size: 12px;
}

.detail-row strong,
.coordinate-row strong {
    color: #dce4ee;
    font-size: 12px;
}

.communication-block {
    padding: 10px 0;
}

.communication-block + .communication-block {
    border-top: 1px solid #19263a;
}

.communication-block span {
    display: block;
    color: #718096;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.communication-block strong {
    display: block;
    margin-top: 5px;
    color: #0797dc;
    font-size: 13px;
}

.communication-block small {
    display: block;
    margin-top: 3px;
    color: #7f8da1;
    font-size: 10px;
}

.history-shortcut {
    margin: 18px 20px 25px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2f4868;
    border-radius: 7px;
    color: #45b9ef;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px;
}

.history-shortcut:hover {
    background: #12263d;
}


/* ==========================================================
   MARCADOR EXISTENTE DO RIDESAFE
   ========================================================== */

.vehicle-marker-wrapper {
    background: transparent;
    border: 0;
}

.vehicle-marker-image,
.vehicle-marker-modern {
    background: transparent;
    border: 0;
}

.vehicle-image-rotation,
.vehicle-car-rotation {
    width: 100%;
    height: 100%;
    transform-origin: center center;
}

.vehicle-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(
            0 4px 4px rgba(0,0,0,.35)
        );
}

.vehicle-popup {
    min-width: 190px;
}

.popup-vehicle-info {
    margin-bottom: 8px;
}

.popup-vehicle-owner {
    color: #68788f;
    font-size: 11px;
}


/* ==========================================================
   LEAFLET
   ========================================================== */

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #101c2d;
    color: #e9eef5;
}

.leaflet-control-zoom a {
    color: #1a2533;
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 1150px) {

    .monitor-layout {
        grid-template-columns:
            280px
            1fr
            290px;
    }

    .topbar {
        grid-template-columns:
            280px
            1fr
            180px;
    }

    .main-nav a {
        padding: 0 12px;
    }
}

@media (max-width: 900px) {

    html,
    body {
        overflow: auto;
    }

    .topbar {
        height: auto;
        min-height: 70px;
        grid-template-columns:
            1fr auto;
    }

    .main-nav {
        display: none;
    }

    .monitor-layout {
        height: auto;
        min-height: calc(100vh - 70px);
        grid-template-columns: 1fr;
    }

    .fleet-panel {
        min-height: 300px;
    }

    .map-panel {
        min-height: 600px;
    }

    .details-panel {
        min-height: 500px;
    }
}


/* ==========================================================
   RIDESAFE - TAMANHO DO VEICULO NO MAPA
   ========================================================== */

.vehicle-marker-wrapper {
    width: 52px !important;
    height: 52px !important;
    background: transparent !important;
    border: 0 !important;
}

.vehicle-marker-modern {
    width: 52px !important;
    height: 52px !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible;
}

.vehicle-image-rotation {
    width: 52px !important;
    height: 52px !important;
    transform-origin: 50% 50%;
}

.vehicle-image {
    display: block;
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    object-fit: contain;
}



/* ==========================================================
   RIDESAFE - EVENTOS RECENTES
   ========================================================== */

.events-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.events-title-row h3 {
    margin-bottom: 13px;
}

.events-count {
    min-width: 22px;
    height: 22px;
    margin-bottom: 13px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b405d;
    border-radius: 11px;
    color: #7f91a8;
    font-size: 10px;
    font-weight: 800;
}

.events-empty {
    padding: 12px 0;
    color: #718096;
    font-size: 11px;
}

.vehicle-event {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 9px;
    align-items: start;
}

.vehicle-event + .vehicle-event {
    border-top: 1px solid #19263a;
}

.vehicle-event-dot {
    width: 7px;
    height: 7px;
    margin-top: 5px;
    border-radius: 50%;
    background: #0797dc;
}

.vehicle-event-main strong {
    display: block;
    color: #dce4ee;
    font-size: 11px;
}

.vehicle-event-main small {
    display: block;
    margin-top: 3px;
    color: #718096;
    font-size: 9px;
}

.vehicle-event-time {
    color: #8795a8;
    font-size: 10px;
    white-space: nowrap;
}


/*
 * ==========================================================
 * RIDESAFE - MENU PRINCIPAL EM BOTÕES
 * ==========================================================
 */

.ridesafe-main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ridesafe-main-menu .ridesafe-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 16px;

    border: 1px solid #334155;
    border-radius: 8px;

    background: #111827;

    color: #cbd5e1;
    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.35px;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.ridesafe-main-menu .ridesafe-nav-button:hover {
    background: #1e293b;
    border-color: #475569;
    color: #ffffff;

    transform: translateY(-1px);
}

.ridesafe-main-menu .ridesafe-nav-button.active {
    background: #2563eb;
    border-color: #3b82f6;
    color: #ffffff;

    box-shadow:
        0 0 0 1px rgba(59,130,246,.12),
        0 5px 18px rgba(37,99,235,.20);
}


/*
 * Mantém o menu utilizável em telas menores.
 */

@media (max-width: 1100px) {

    .ridesafe-main-menu {
        gap: 5px;
    }

    .ridesafe-main-menu .ridesafe-nav-button {
        min-height: 34px;
        padding: 0 10px;
        font-size: 10px;
    }
}



/* ==========================================================
   RIDESAFE UI V2
   CENTRAL DE MONITORAMENTO
   ========================================================== */

:root {
    --rs-bg: #050b14;
    --rs-panel: #081321;
    --rs-panel-2: #0b1828;
    --rs-panel-hover: #0e2034;

    --rs-line: rgba(126, 163, 204, .13);
    --rs-line-strong: rgba(62, 183, 255, .28);

    --rs-blue: #168cff;
    --rs-cyan: #00c8ff;
    --rs-green: #20e39a;

    --rs-text: #edf7ff;
    --rs-muted: #73879d;
    --rs-soft: #a4b4c6;

    --rs-glow:
        0 0 24px rgba(0, 174, 255, .10);
}


/* ----------------------------------------------------------
   BASE
   ---------------------------------------------------------- */

body {
    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(0, 140, 255, .10),
            transparent 38%
        ),
        var(--rs-bg);

    color: var(--rs-text);
}


/* ----------------------------------------------------------
   TOPBAR
   ---------------------------------------------------------- */

.topbar {
    height: 72px;

    grid-template-columns:
        300px
        minmax(540px, 1fr)
        230px;

    padding: 0 22px;

    background:
        linear-gradient(
            180deg,
            rgba(11, 25, 42, .98),
            rgba(6, 15, 27, .98)
        );

    border-bottom:
        1px solid rgba(55, 151, 220, .20);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .20);
}


/* MARCA */

.brand {
    gap: 13px;
}

.brand-icon {
    width: 42px;
    height: 42px;

    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            #00bdf8,
            #0876e8
        );

    border:
        1px solid rgba(112, 220, 255, .40);

    box-shadow:
        0 0 22px rgba(0, 174, 255, .22);

    font-size: 19px;
}

.brand h1 {
    font-size: 20px;
    letter-spacing: 5px;
    font-weight: 800;
}

.brand span {
    color: #64798f;
    font-size: 10px;
    letter-spacing: .35px;
}


/* ----------------------------------------------------------
   NAVEGAÇÃO V2
   ---------------------------------------------------------- */

.main-nav,
.ridesafe-main-menu {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
}


/* remove aparência antiga de botão */

.main-nav a,
.ridesafe-main-menu .ridesafe-nav-button {
    position: relative;

    height: 44px;
    min-height: 44px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background: transparent;

    color: #75899f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;

    text-decoration: none;

    box-shadow: none;

    transform: none;

    transition:
        color .18s ease,
        background .18s ease;
}


/* separadores discretos */

.main-nav a + a::before {
    content: "";

    position: absolute;

    left: -2px;
    top: 14px;
    bottom: 14px;

    width: 1px;

    background:
        rgba(117, 151, 184, .12);
}


/* hover */

.main-nav a:hover,
.ridesafe-main-menu .ridesafe-nav-button:hover {
    color: #dceeff;

    background:
        rgba(31, 126, 197, .07);

    border: 0;

    transform: none;
}


/* item ativo */

.main-nav a.active,
.ridesafe-main-menu .ridesafe-nav-button.active {
    color: #f2fbff;

    background:
        linear-gradient(
            180deg,
            rgba(0, 164, 255, .12),
            rgba(0, 164, 255, .035)
        );

    border: 0;

    box-shadow:
        inset 0 0 0 1px rgba(42, 177, 255, .13);
}


/* linha luminosa inferior */

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 20%;
    right: 20%;
    bottom: -14px;

    height: 2px;

    border-radius: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--rs-cyan),
            transparent
        );

    box-shadow:
        0 0 12px rgba(0, 200, 255, .65);
}


/* ÍCONES DOS MÓDULOS */

.main-nav a:nth-child(1)::first-letter,
.main-nav a:nth-child(2)::first-letter,
.main-nav a:nth-child(3)::first-letter,
.main-nav a:nth-child(4)::first-letter {
    color: inherit;
}


/* ----------------------------------------------------------
   STATUS DO SISTEMA
   ---------------------------------------------------------- */

.system-status {
    justify-self: end;

    padding: 8px 12px;

    border:
        1px solid rgba(42, 211, 151, .10);

    border-radius: 20px;

    background:
        rgba(21, 207, 139, .035);

    color: #74899e;

    font-size: 10px;
    letter-spacing: .25px;
}

.status-dot,
.map-status-dot {
    width: 7px;
    height: 7px;

    background: var(--rs-green);

    box-shadow:
        0 0 6px rgba(32, 227, 154, .9),
        0 0 14px rgba(32, 227, 154, .35);
}


/* ----------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------- */

.monitor-layout {
    height: calc(100vh - 72px);

    grid-template-columns:
        300px
        minmax(500px, 1fr)
        320px;
}


/* ----------------------------------------------------------
   PAINEL DA FROTA
   ---------------------------------------------------------- */

.fleet-panel {
    background:
        linear-gradient(
            180deg,
            #091523,
            #07111e
        );

    border-right: 1px solid var(--rs-line);
}

.fleet-header {
    padding: 22px 18px 13px;
}

.section-label {
    color: #50677f;

    font-size: 9px;
    letter-spacing: 2px;
}

.fleet-header h2 {
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -.3px;
}

.fleet-count {
    height: 26px;
    min-width: 32px;

    border:
        1px solid rgba(70, 147, 205, .12);

    background:
        rgba(34, 96, 143, .10);

    color: #8ba5bb;
}


/* BUSCA */

.fleet-search input {
    height: 40px;

    border:
        1px solid rgba(93, 130, 168, .22);

    border-radius: 7px;

    background:
        rgba(3, 12, 23, .52);

    color: #eaf6ff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.fleet-search input::placeholder {
    color: #53687d;
}

.fleet-search input:focus {
    border-color:
        rgba(0, 188, 255, .52);

    box-shadow:
        0 0 0 3px rgba(0, 174, 255, .06);
}


/* FILTROS */

.fleet-filter {
    height: 32px;

    border:
        1px solid rgba(88, 125, 163, .17);

    background:
        rgba(10, 28, 46, .45);

    color: #60778d;

    border-radius: 6px;
}

.fleet-filter:hover {
    color: #bcd5e8;

    background:
        rgba(25, 74, 108, .22);
}

.fleet-filter.active {
    color: #dff7ff;

    border-color:
        rgba(0, 190, 255, .28);

    background:
        rgba(0, 151, 220, .10);

    box-shadow:
        inset 0 -1px 0
        rgba(0, 200, 255, .20);
}


/* ----------------------------------------------------------
   VEÍCULOS
   ---------------------------------------------------------- */

.vehicle-list {
    border-top:
        1px solid var(--rs-line);
}

.vehicle-list-item {
    min-height: 78px;

    border-bottom:
        1px solid rgba(96, 130, 165, .09);

    transition:
        background .18s ease;
}

.vehicle-list-item:hover {
    background:
        rgba(17, 53, 82, .30);
}

.vehicle-list-item.selected {
    background:
        linear-gradient(
            90deg,
            rgba(0, 160, 255, .13),
            rgba(0, 130, 210, .035)
        );

    box-shadow:
        inset 2px 0 0 var(--rs-cyan);
}

.vehicle-list-main strong {
    color: #e7f5ff;

    font-size: 13px;
    font-weight: 650;
}

.vehicle-list-main small {
    color: #8196aa;
    font-size: 11px;
}

.vehicle-list-status {
    letter-spacing: .4px;
}

.vehicle-list-status.online {
    color: var(--rs-green);

    text-shadow:
        0 0 10px rgba(32, 227, 154, .20);
}


/* ----------------------------------------------------------
   MAPA
   ---------------------------------------------------------- */

.map-panel {
    background: #050c15;

    box-shadow:
        inset 0 0 35px rgba(0,0,0,.25);
}

.map-floating-status {
    top: 14px;

    padding: 8px 14px;

    border:
        1px solid rgba(86, 140, 183, .20);

    background:
        rgba(5, 15, 27, .90);

    backdrop-filter: blur(12px);

    color: #a9bdcf;

    box-shadow:
        0 8px 24px rgba(0,0,0,.28);
}


/* INFORMAÇÕES INFERIORES DO MAPA */

.map-info {
    height: 66px;

    background:
        linear-gradient(
            180deg,
            rgba(9, 22, 37, .99),
            rgba(6, 16, 29, .99)
        );

    border-top:
        1px solid rgba(42, 157, 220, .15);
}

#map {
    inset: 0 0 66px 0;
}

.map-info div {
    padding: 12px 16px;

    border-right:
        1px solid rgba(96, 132, 170, .10);
}

.map-info span {
    color: #526b83;

    font-size: 8px;
    letter-spacing: 1.6px;
}

.map-info strong {
    margin-top: 6px;

    color: #dceeff;

    font-size: 12px;
    font-weight: 650;
}


/* ----------------------------------------------------------
   DETALHES DO VEÍCULO
   ---------------------------------------------------------- */

.details-panel {
    background:
        linear-gradient(
            180deg,
            #091523,
            #07111e
        );

    border-left:
        1px solid var(--rs-line);
}

.vehicle-detail-header {
    padding: 22px 20px 18px;

    border-bottom:
        1px solid var(--rs-line);
}

.vehicle-detail-header h2 {
    color: #eff9ff;

    font-size: 21px;
    font-weight: 650;

    letter-spacing: -.3px;
}

#vehicle-plate {
    border:
        1px solid rgba(103, 152, 194, .24);

    background:
        rgba(2, 11, 20, .28);

    color: #dcecff;

    letter-spacing: 1.5px;
}

#vehicle-owner {
    color: #647c92;
    font-size: 12px;
}

.badge.online {
    color: #47e8a6;

    border:
        1px solid rgba(32, 227, 154, .12);

    background:
        rgba(32, 227, 154, .07);
}


/* SEÇÕES */

.detail-section {
    padding: 17px 20px;

    border-bottom:
        1px solid var(--rs-line);
}

.detail-section h3 {
    color: #8198ad;

    font-size: 9px;
    letter-spacing: 1.7px;
}

.detail-row,
.coordinate-row {
    min-height: 33px;
}

.detail-row span,
.coordinate-row span {
    color: #667d92;

    font-size: 11px;
}

.detail-row strong,
.coordinate-row strong {
    color: #e0edf7;

    font-size: 11px;
    font-weight: 650;
}


/* COMUNICAÇÃO */

.communication-block + .communication-block {
    border-top:
        1px solid rgba(100, 137, 174, .09);
}

.communication-block span {
    color: #587086;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.communication-block strong {
    color: var(--rs-cyan);
    font-size: 12px;
}


/* ----------------------------------------------------------
   EVENTOS
   ---------------------------------------------------------- */

.events-count {
    border:
        1px solid rgba(0, 174, 255, .18);

    background:
        rgba(0, 174, 255, .05);

    color: #7394ac;
}

.vehicle-event {
    border-color:
        rgba(89, 128, 165, .10);
}

.vehicle-event-dot {
    background: var(--rs-cyan);

    box-shadow:
        0 0 8px rgba(0, 200, 255, .35);
}

.vehicle-event-main strong {
    color: #d9e9f4;
    font-weight: 600;
}


/* ----------------------------------------------------------
   BOTÃO HISTÓRICO
   ---------------------------------------------------------- */

.history-shortcut {
    height: 40px;

    border:
        1px solid rgba(0, 180, 255, .22);

    background:
        rgba(0, 144, 220, .035);

    color: #43caff;

    border-radius: 7px;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.history-shortcut:hover {
    background:
        rgba(0, 155, 235, .10);

    border-color:
        rgba(0, 200, 255, .40);
}


/* ----------------------------------------------------------
   LEAFLET
   ---------------------------------------------------------- */

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #071522;
    color: #eaf7ff;
}

.leaflet-popup-content-wrapper {
    border:
        1px solid rgba(0, 174, 255, .18);

    box-shadow:
        0 12px 35px rgba(0,0,0,.32);
}


/* ----------------------------------------------------------
   SCROLLBARS
   ---------------------------------------------------------- */

.vehicle-list::-webkit-scrollbar,
.details-panel::-webkit-scrollbar {
    width: 5px;
}

.vehicle-list::-webkit-scrollbar-track,
.details-panel::-webkit-scrollbar-track {
    background: transparent;
}

.vehicle-list::-webkit-scrollbar-thumb,
.details-panel::-webkit-scrollbar-thumb {
    background: #20384e;
    border-radius: 10px;
}


/* ----------------------------------------------------------
   RESPONSIVO V2
   ---------------------------------------------------------- */

@media (max-width: 1250px) {

    .topbar {
        grid-template-columns:
            260px
            1fr
            180px;
    }

    .monitor-layout {
        grid-template-columns:
            280px
            minmax(440px, 1fr)
            300px;
    }

    .main-nav a,
    .ridesafe-main-menu .ridesafe-nav-button {
        padding: 0 11px;
        font-size: 9px;
    }
}



/* ==========================================================
   RIDESAFE - MENU PRINCIPAL - TIPOGRAFIA V1
   ========================================================== */

.main-nav a,
.ridesafe-main-menu .ridesafe-nav-button {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .8px;
}


/* Telas menores */
@media (max-width: 1100px) {

    .main-nav a,
    .ridesafe-main-menu .ridesafe-nav-button {
        font-size: 12px;
    }

}

