/* Shared Driver Map radar + dark Google Maps chrome */

.ds-map-radar-host,
.clock-driver-map-wrap {
    position: relative;
}

.ds-map-radar-time {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(10, 14, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    color: #eaf0ff;
    font-size: 12px;
    line-height: 1.2;
    pointer-events: none;
}

.ds-map-radar-time[hidden] {
    display: none !important;
}

.ds-map-radar-time__label {
    color: #20d4c4;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: 10px;
}

.ds-map-radar-time__value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ds-map-type-control {
    display: inline-flex;
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(18, 24, 37, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    font-family: Roboto, Arial, sans-serif;
}

.ds-map-type-control button {
    appearance: none;
    border: 0;
    margin: 0;
    background: transparent;
    color: rgba(234, 240, 255, 0.72);
    font-size: 14px;
    font-weight: 600;
    line-height: 36px;
    padding: 0 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}

.ds-map-type-control button + button {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ds-map-type-control button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #eaf0ff;
}

.ds-map-type-control button.is-active {
    color: #eaf0ff;
    background: rgba(79, 140, 255, 0.16);
}

.ds-map-type-control button.ds-map-radar-btn.is-active {
    color: #dffffb;
    background: rgba(32, 212, 196, 0.18);
}

.ds-map-radar-host .gm-style .gm-fullscreen-control,
.ds-map-radar-host .gm-style button.gm-control-active,
.ds-map-radar-host .gm-style .gm-control-active,
.ds-map-radar-host .gm-bundled-control .gmnoprint > div,
.ds-map-radar-host .gm-svpc,
.clock-driver-map-wrap #map .gm-style .gm-fullscreen-control,
.clock-driver-map-wrap #map .gm-style button.gm-control-active,
.clock-driver-map-wrap #map .gm-style .gm-control-active,
.clock-driver-map-wrap #map .gm-bundled-control .gmnoprint > div,
.clock-driver-map-wrap #map .gm-svpc {
    background-color: rgba(18, 24, 37, 0.96) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
    color: #eaf0ff !important;
}

.ds-map-radar-host .gm-style .gm-fullscreen-control:hover,
.ds-map-radar-host .gm-style button.gm-control-active:hover,
.ds-map-radar-host .gm-style .gm-control-active:hover,
.ds-map-radar-host .gm-bundled-control .gmnoprint > div:hover,
.ds-map-radar-host .gm-svpc:hover,
.clock-driver-map-wrap #map .gm-style .gm-fullscreen-control:hover,
.clock-driver-map-wrap #map .gm-style button.gm-control-active:hover,
.clock-driver-map-wrap #map .gm-style .gm-control-active:hover,
.clock-driver-map-wrap #map .gm-bundled-control .gmnoprint > div:hover,
.clock-driver-map-wrap #map .gm-svpc:hover {
    background-color: rgba(28, 36, 54, 0.98) !important;
}

.ds-map-radar-host .gm-style .gm-fullscreen-control > img,
.ds-map-radar-host .gm-style button.gm-control-active > img,
.ds-map-radar-host .gm-style .gm-control-active > img,
.ds-map-radar-host .gm-bundled-control img,
.clock-driver-map-wrap #map .gm-style .gm-fullscreen-control > img,
.clock-driver-map-wrap #map .gm-style button.gm-control-active > img,
.clock-driver-map-wrap #map .gm-style .gm-control-active > img,
.clock-driver-map-wrap #map .gm-bundled-control img {
    filter: invert(1) brightness(1.2);
    opacity: 0.92;
}

.ds-map-radar-host .gm-svpc img,
.clock-driver-map-wrap #map .gm-svpc img {
    filter: none;
    opacity: 1;
}
