:root {
    --blue: #2563eb;
    --blue-dark: #1e40af;
    --border: #dbe2ea;
    --background: #f5f7fa;
    --text: #172033;
    --muted: #64748b;
    --white: #ffffff;
    --danger: #dc2626;
    --success: #15803d;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
}

body {
    overflow: hidden;
}

.app {
    width: 100%;
    height: 100vh;
}

.topbar {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    /* Logo et actions côte à côte : la largeur s'adapte au contenu,
       le logo et le bouton ne peuvent donc plus se chevaucher. */
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 100vw;
    padding: 0px 6px;
    border-radius: 0 0px 0px 10px;
    background-color: #ffffff7d;
}
/*
.brand {
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}
*/
.brand,
.brand_small {
    flex: 0 1 auto;
    min-width: 0;
}

.brand img{
    display: block;
    height: 50px;
    max-width: 100%;
    object-fit: contain;
}

.brand_small img{
    height: 50px;
    display: none;
    max-width: 100%;
    object-fit: contain;
}

.top-actions {
    position: static;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    margin-left: auto;
}

button,
input {
    font: inherit;
}

button {
    /*min-height: 42px;*/
    padding: 10px 13px;
    border: 0;
    border-radius: 9px;
    background: #ffffff;
    /*color: white;*/
    font-weight: 600;
    cursor: pointer;
    transition: ease all 0.2s;
}

button:hover {
    background: #8d8d8d;
    color: white;
}

button:disabled {
    opacity: .6;
    cursor: wait;
}

button.primary {
    color: white;
    background: var(--blue);
}

button.primary:hover {
    background: var(--blue-dark);
}

button.secondary {
    color: var(--text);
    background: #eef2f7;
    transition: ease all 0.2s;
}

button.secondary:hover {
    color: var(--text);
    background: #7a7e82;
    color: white;
}

button.yellow {
    color: #000000;
    background: #f4df8e;
    transition: all 0.2s ease;
}

button.yellow:hover {
    color: white;
    background: #8f7e3b;
}

button.danger {
    color: white;
    background: var(--danger);
}

.main {
    position: relative;
    height: 100%;
    width: 100%;
}

#map {
    flex: 1;
    min-width: 0;
    height: 100%;
}

#Mainsidebar {
    position: absolute;
    left: 10px;
    /* --sidebar-top est ajustée en JS pour passer sous la barre du haut
       lorsque les deux se chevaucheraient (voir app.js). */
    top: var(--sidebar-top, 10px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(var(--sidebar-w, 360px), calc(100vw - 20px));
    /*padding: 5px;*/
/*            overflow-y: auto;
    overflow-x: hidden;
*/            max-height: calc(100% - 20px);
    /*background: var(--white);*/
    /*border-right: 1px solid var(--border);*/
}

#MainsidebarContent {
    background: var(--white);
    transition: ease all 0.2s;
}

#MainsidebarContent.itinerary {
    /*background: #777777;*/
    padding: 10px;
}

#ItineraryHeader {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    margin-bottom: 5px;
}

#ItineraryHeader.visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#ItineraryHeader h2 {
    margin: 0;
    font-size: 16px;
}

#StopItinerary {
    margin-left: auto;
}

#speedDiv {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 10;
    padding: 12px;
    background: #121010;
    border-radius: 20px;
}



.speedPanel {
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 5px 5px;*/
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
}

.speedValue {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 24px;
    font-weight: bold;
}


#speedLimit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 4px solid red;
    border-radius: 50%;

    background-color: white;
    color: #222;

    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

#speedValue.speed-exceeded {
    color: #ef4444;
}

.speed-separator {
    margin: 0 3px;
    color: #9ca3af;
}

.speedValue small {
    font-size: 16px;
    font-weight: normal;
}

.panel {
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.panel h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.search-row {
    display: flex;
    gap: 6px;
}

.search-row input {
    min-width: 0;
    flex: 1;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
}

input:focus {
    border-color: var(--blue);
}

.results {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 220px;
    margin-top: 8px;
    overflow-y: auto;
}

.result-item {
    padding: 9px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    background: #f8fafc;
}

.result-item:hover {
    background: #eaf1ff;
}

.point-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
}

.point-row input {
    min-width: 0;
}

.point-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    font-weight: bold;
    background: var(--blue);
}

.point-label.end {
    background: #dc2626;
}

.remove-step {
    padding: 7px 9px;
    color: white;
    background: #94a3b8;
}


.route-info {
    padding: 8px;
    color: #0f5132;
    background: #ecfdf5;
    font-size: 14px;
    width: calc(100% - 59px);
    position: relative;
    float: left;
}

.status {
    display: none;
    min-height: 20px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    float: left;
    width: 100%;
    padding: 5px;
}

.user-panel {
    font-size: 13px;
}


#btnMapView {
    position: absolute;
    right: 18px;
    bottom: 87px;
    z-index: 5;
    padding: 12px 12px;
    color: white;
    background: var(--blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

#btnGps {
    position: absolute;
    right: 18px;
    bottom: 37px;
    z-index: 5;
    padding: 12px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

#btnGps.active {
    background: var(--danger);
}

#btnFullscreen {
    position: absolute;
    right: 18px;
    bottom: 187px;
    z-index: 5;
    padding: 12px 15px;
    /*color: white;*/
    /*background: var(--blue-dark);*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

#btnLayer {
    position: absolute;
    right: 18px;
    bottom: 137px;
    z-index: 5;
    padding: 12px 15px;
    color: white;
    background: var(--blue-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}


.maplibregl-ctrl-attrib {
    font-size: 10px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .45);
}

.modal.open {
    display: flex;
}

.modal-content {
    position: relative;
    width: min(400px, 100%);
    padding: 20px;
    border-radius: 14px;
    background: white;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content label {
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

@media (max-width: 800px) {
    body {
        overflow: auto;
    }

    .topbar {
        padding: 8px 10px;
    }

    .brand img{
        height: 30px;
    }

    .brand_small img{
        height: 30px;
    }

    .brand {
        font-size: 18px;
    }

    .main {
        flex-direction: column;
        min-height: calc(100vh - 56px);
    }

    #Mainsidebar {
        top: var(--sidebar-top, 0px);
        left: 0px;
        padding: 3px;
        width: min(var(--sidebar-w, 360px), 100vw);
    }

    #map {
        order: 1;
        min-height: 52vh;
    }

    .top-actions button {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .brand img{
        display: none;
    }

    .brand_small img{
        display: block;
    }
}

#Mainsidebar.active {
    left: 5px;
    bottom: 5px;
    top: unset;
}

.search-box {
    /*position: relative;*/
    width: 100%;
    max-width: 480px;
    float: left;
}

/*
 * Règle désactivée : une accolade en trop la rendait inopérante dans le
 * navigateur. Conservée en commentaire pour ne pas changer l’affichage.

.search-box input,
#startInput {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}
*/

.search-results {
    position: relative;
    top: 6px;

    display: flex;
    flex-direction: column;
    /*gap: 6px;*/

    width: 100%;
    max-height: calc(100vh - 190px - var(--sidebar-top, 10px));
    clear: both;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 5px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .search-results {
        max-height: 30vh;
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    text-align: left;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
    margin-bottom: 6px;
}

.search-result-item:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.search-result-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #7c3aed;
    color: white;
    font-size: 13px;
    font-weight: bold;
}

.search-result-content {
    min-width: 0;
}

.search-result-title {
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-address {
    overflow: hidden;
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-type {
    margin-top: 3px;
    color: #9ca3af;
    font-size: 11px;
    text-transform: capitalize;
}

.search-result-marker {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 2px solid white;
    border-radius: 50%;

    background: #7c3aed;
    color: white;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    cursor: pointer;
}


.map-marker {
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.destination-pin-marker {
    position: relative;
    width: 42px;
    height: 54px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
}

/* Drapeau damier */
.checkered-flag {
    position: absolute;
    top: 2px;
    left: 21px;
    width: 22px;
    height: 17px;
    border: 2px solid #222;
    border-radius: 1px;
    background:
        conic-gradient(
            #fff 25%,
            #222 0 50%,
            #fff 0 75%,
            #222 0
        ) 0 0 / 8px 8px;
}

/* Mât */
.checkered-flag::after {
    content: "";
    position: absolute;
    left: -3px;
    top: -2px;
    width: 3px;
    height: 38px;
    background: #222;
    border-radius: 2px;
}



.route-actions {
    float: left;
    width: 100%;
    position: relative;
}

@media (max-width: 600px) {
    .route-actions {
/*        display: grid;
        grid-template-columns: 1fr 1fr;*/
    }

    .route-actions button {
        width: 100%;
    }
}

.user-position-marker {
    width: 18px;
    height: 18px;
    background: #1976d2;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(25, 118, 210, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.35);
}

#startContainer{
    margin-bottom: 10px;
    float: left;
    width: 100%;
}
#btnClear{
    display: none;
}

#input-wrapper{
    position: relative;
    width: calc(100% - 59px);
    float: left;
}

#startInput{
    width: 100%;
    float: left;
}

#clearstartInput{
    position: absolute;
    right: 0px;
    background-color: white;
    /*opacity: 0.8;*/
    border: solid 1px;
    color: grey;
    transition: ease all 0.2s;
}

#clearstartInput:hover{
    background: grey;
    color: white;
}

#destination-wrapper{
    position: relative;
    width: 100%;
    float: left;
}

#destinationInput{
    width: 100%;
    float: left;
}

#clearDestinationInput{
    position: absolute;
    right: 0px;
    background-color: white;
    /*opacity: 0.8;*/
    border: solid 1px;
    color: grey;
    transition: ease all 0.2s;
}

#clearDestinationInput:hover{
    background: grey;
    color: white;
}


#btnStartPosition{
    float: right;
    width: 50px;
}

#ReverseRoute{
    float: right;
    width: 50px;
}

#btnRoute{
    float: left;
    width: 100%;
    margin-top: 7px;
    margin-bottom: 10px;
}

.btnItinerary{
    width: calc(33% - 2px);
}

.btnItinerary.active{
    background: var(--danger);
    color: white;
}

#btnNavigation{
    height: 50px;
    width: 50px;
    float: right;
}

.maplibregl-ctrl-top-right {
    top: 50px;
}

.user-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
    font-size: 48px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    transform-origin: center center;
}

#trafficBarContainerDiv{
    position: relative;
    float: left;
    height: 13px;
    width: 100%;
    margin-top: 10px;
}

#trafficBarContainer {
    position: absolute;
    width: 100%;
    height: 14px;
    border-radius: 8px;
    background: #ddd;
}

#trafficBar {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.traffic-segment {
    height: 100%;
    flex: 1;
}

#trafficPosition {
    position: absolute;
    top: -4px;
    width: 3px;
    height: 22px;
    background: #111827;
    transform: translateX(-50%);
    transition: left 0.5s linear;
    z-index: 2;
}

/* Partie déjà parcourue de la barre de trafic */
#trafficTravelled {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    border-radius: 8px 0 0 8px;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    transition: width 0.5s linear;
    z-index: 1;
}

.user-location-marker {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-location-dot {
    width: 18px;
    height: 18px;
    background: #2563eb;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #2563eb;
    position: relative;
}

.user-location-direction {
    position: absolute;
    left: 50%;
    top: -13px;
    width: 4px;
    height: 13px;
    background: #2563eb;
    border-radius: 4px;
    transform: translateX(-50%);
}

.route-time {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #2aa44b;
}

.route-time.traffic-yellow {
    color: #f5b400;
}

.route-time.traffic-red {
    color: #e53935;
}

.route-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: #5f6368;
    font-size: 18px;
}

.search-result-marker-selected {
    background: #16a34a !important;
    border-color: #15803d !important;
    cursor: pointer;
}

.search-result-distance {
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 600;
}

.search-popup {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
}

.search-popup-go {
    margin-top: 6px;
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    cursor: pointer;
}        

.search-result-item-selected {
    background: #dcfce7;
    border-color: #16a34a;
}

.search-result-marker-selected {
    background: #16a34a !important;
    border-color: #15803d !important;
}

.arrival-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.45);
}

.arrival-popup-content {
    position: relative;
    width: min(90%, 380px);
    padding: 28px;
    text-align: center;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.arrival-icon {
    margin: auto;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: #16a34a;
    font-size: 32px;
}

.arrival-popup h2 {
    margin-bottom: 8px;
}

.arrival-summary {
    display: flex;
    justify-content: space-around;
    margin-top: 24px;
}

.arrival-summary div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arrival-summary strong {
    font-size: 22px;
}

.arrival-summary span {
    color: #777;
    font-size: 13px;
}

.arrival-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

/* ===========================
   INSTRUCTIONS DE NAVIGATION
=========================== */

.nav-top {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: min(440px, calc(100% - 20px));
    transform: translateX(-50%);
    pointer-events: none;
}

.nav-top > * {
    pointer-events: auto;
}

@media (max-width: 1100px) {
    .nav-top {
        top: 85px;
        left: 10px;
        right: 52px;
        width: auto;
        transform: none;
    }
}

.nav-instructions {
    overflow: hidden;
    border-radius: 16px;
    background: #0d5c36;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: background 0.4s ease;
}

.nav-instructions.imminent {
    background: #0b7a43;
}

.nav-instructions.imminent .nav-step-distance {
    color: #fde68a;
}

.nav-step-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 10px 12px 12px;
}

.nav-step-icon {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 30px;
}

.nav-step-body {
    flex: 1;
    min-width: 0;
}

.nav-step-distance {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.5px;
    transition: color 0.4s ease;
}

.nav-step-text {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nav-step-btn {
    flex: 0 0 auto;
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.nav-step-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    color: white;
}

.nav-step-then {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #083d24;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.nav-step-then span:first-child {
    font-weight: 700;
}

.nav-step-list {
    max-height: 40vh;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    list-style: none;
    background: white;
    color: var(--text);
}

.nav-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
}

.nav-step-item-icon {
    flex: 0 0 26px;
    color: #0d5c36;
    font-size: 18px;
    text-align: center;
}

.nav-step-item-text {
    flex: 1;
    min-width: 0;
}

.nav-step-item-dist {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

/* Panneaux de direction */
.nav-sign {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin-top: 8px;
    padding: 6px 8px;
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    font-size: 15px;
    font-weight: 700;
}

.nav-sign.compact {
    margin-top: 4px;
    padding: 3px 6px;
    border-width: 1px;
    font-size: 12px;
}

.sign-motorway { background: #1d4ed8; color: white; }
.sign-primary  { background: #15803d; color: white; }
.sign-local    { background: white; color: #111827; border-color: #111827; }

.sign-places {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.sign-places span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.road-shield {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.shield-red    { background: #c81e1e; color: white; border: 1px solid white; }
.shield-yellow { background: #facc15; color: #111827; border: 1px solid #111827; }
.shield-e      { background: #15803d; color: white; border: 1px solid white; }
.shield-white  { background: white; color: #111827; border: 1px solid #111827; }

.sign-exit {
    padding: 1px 6px;
    border-radius: 4px;
    background: #facc15;
    color: #111827;
    font-size: 0.85em;
    font-weight: 800;
    white-space: nowrap;
}

/* Message d'erreur / information */
.toast {
    position: absolute;
    left: 50%;
    bottom: 90px;
    z-index: 50;
    width: min(420px, calc(100% - 32px));
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.92);
    color: white;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
}

.toast[hidden] {
    display: none;
}

.nav-signal-lost {
    align-self: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f59e0b;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#btnInstructions {
    position: absolute;
    right: 18px;
    bottom: 237px;
    z-index: 5;
    padding: 12px 14px;
    color: white;
    background: #1e3a8a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

#speedValue.estimated {
    opacity: 0.6;
}

.nav-instructions[hidden],
.nav-step-then[hidden],
.nav-step-list[hidden],
.nav-signal-lost[hidden],
#btnInstructions[hidden] {
    display: none !important;
}
