html {
    overflow: hidden;
}

:root {
    --iconSize: 40px;
    --iconMargin: -20px;
}

body {
    margin: 0;
    background-color: #2c2c2c;
    overflow: visible;
    position: relative;
}

#map {
    height: 100vh;
    width: calc(100% - 414px);
    transform: translate(414px, -50px);
}

.map-full {
    height: 100vh !important;
    width: 100% !important;
    z-index: 0 !important;
    transform: translateY(-50px) !important;
}

.mapExport {
    position: absolute !important;
    transform: none !important;
    opacity: 0;
    pointer-events: none;
}

.mapExport.low {
    width: 1024px !important;
    height: 1024px !important;
}

.mapExport.medium {
    width: 2048px !important;
    height: 2048px !important;
}

.mapExport.high {
    width: 4096px !important;
    height: 4096px !important;
}

.leaflet-control-container { 
    position: absolute;
    right: 58px;
}

.leaflet-top {
    transform: translateY(50px);
}

.leaflet-container {
    background: #2c2c2c;
}

.leaflet-tile {
    width: 257px !important;
    height: 257px !important;
    mix-blend-mode: unset !important;
    will-change: opacity !important;
}

.leaflet-bar a {
    background-color: hsl(from #232323 h s l / 0.70);
    color: #ccc;
    font-weight: 500;
    border-bottom: 1px solid #383838;
    backdrop-filter: blur(12px);
}

.leaflet-bar a:last-child {
    border-bottom: none;
}

.leaflet-bar a:hover {
    background-color: hsl(from #ccc h s l / 0.70);
    color: #000;
    font-weight: 500;
    cursor: pointer;
}

.leaflet-bar a.leaflet-disabled {
    background-color: #383838;
    color: #575757;
}

.leaflet-draw-toolbar a {
    background-image: url('Images/spritesheet.png') !important;
    background-image: linear-gradient(transparent,transparent),url('Images/spritesheet.svg') !important;
}

.leaflet-draw-toolbar a:hover {
    background-image: url('Images/spritesheet-hover.png') !important;
    background-image: linear-gradient(transparent,transparent),url('Images/spritesheet-hover.svg') !important;
}

.leaflet-touch .leaflet-draw-actions {
    right: 32px;
    left: auto;
}

.leaflet-draw-actions li a {
    background-color: #1e1e1e;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    border-right: 1px solid #383838;
}

.leaflet-draw-actions li:first-child a {
    border-radius: 4px 0 0 4px;
}

.leaflet-draw-actions li:last-child a {
    border-radius: 0;
}

.leaflet-editing-icon {
    background-color: #fff !important;
    border: 1px solid white !important;
    border-radius: 50%;
    margin: -8px 0 0 -8px !important;
    width: 14px !important;
    height: 14px !important;
    outline: 0;
}

.leaflet-tooltip-left:before {
    /* right: 0;
    margin-right: -12px;
    border-left-color: #1e1e1e; */
    display: none;
}

.leaflet-tooltip-right:before {
    /* left: 0;
    margin-left: -12px;
    border-right-color: #1e1e1e; */
    display: none;
}

.leaflet-tooltip {
    background-color: #1e1e1e;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    border: none;
    box-shadow: none;
    border-radius: 15px;
    padding: 8px 12px 8px 12px;
    line-height: 100%;
    font-size: 12px;

    max-width: 200px;
    white-space: normal !important;
    width: max-content;
}

.leaflet-tooltip:has(.tooltipSubText){
    border-radius: 10px;
}

.tooltipSubText {
    font-size: 10px;
    color: #acacac;
    font-weight: 600;
}

.mapLabelText {
    text-align: center;
    background: none;
    border: none;
    box-shadow: none;
    padding: 2px;
    border-radius: 0;

    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    white-space: nowrap;
    pointer-events: none;

    paint-order: stroke fill;
    letter-spacing: 1px;
    -webkit-text-stroke: 3.25px rgba(0, 0, 0, 0.7);
}

.mapLabelText.calloutArea {
    font-size: 14.5px;
    -webkit-text-stroke: 4px rgba(200, 0, 0, 0.7);
}

.leaflet-tooltip-left {
    left: -10px;
}

.leaflet-tooltip-right {
    left: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    min-width: 50px;
    height: 28px;
    transition: all 0.1s ease;
    margin-right: 3px;
}

.listSwitch {
    position: relative;
    display: inline-block;
    min-width: 50px;
    height: 28px;
    transition: all 0.1s ease;
    margin-left: 5px;
    margin-right: 3px;
}
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #383838;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  #solo-layer {
    background-color: #181818;
    outline: 4.1px solid #383838; 
    outline-offset: -3.9px;
  }
  
  input:checked + .slider {
    background-color: #ff0000;
  }

  input:checked + #solo-layer{
    background-color: #ff0000;
    outline: 4.1px solid transparent; 
  }

  
  input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

.navbar {
    width: 100%;
    height: 50px;
    background-color: #232323;
    overflow: visible;
    position: relative;
    z-index: 100;
    box-shadow: 0 1px 0 #04040533, 0 1.5px 0 #0707080d, 0 2px 0 #0404050d;
}

.navbar.allowScroll {
    width: calc(100% - 8px);
}

.navbar-translucent {
    background: hsl(from #232323 h s l / 0.80);
    backdrop-filter: blur(20px);
}

.navbar-translucent.tran50 {
    background: hsl(from #232323 h s l / 0.50);
    backdrop-filter: blur(20px);
}

.item-drag {
    position: relative;
    left: 0;
    margin-left: -8px;
    height: 28px;
    display: none;
}

.indicator {
    height: 4px;
    background: #ff0000;
    border-radius: 999px;
    margin: 2px 0;
}

.item-button {
    width: 50px;
    height: 28px;
    position: relative;
    display: inline-block;
    transition: all 0.2s ease;
}

.item-button:hover {
    opacity: 0.7;
    cursor: pointer;
}

.item-button-back {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #383838;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.item-selected-back {
    background-color: #ff0000;
}

.item-selected-back circle {
    fill: #121212;
    stroke: #ffffff;
    opacity: 100%;
}

.item-circle {
    r: 5;
    cx: 25;
    cy: 14;
    fill: #121212;
    stroke: #cccccc;
    stroke-width: 3px;
    opacity: 50%;
}

.branding {
    height: 40px;
    background-color: transparent;
    padding: 0px;
    color: #ccc;
    margin-left: 15px;
    padding: 5px;
    position: absolute;
}

.branding .logo {
    width: auto;
    height: 45px;
    margin-top: -3px;
    margin-left: 5px;
    user-select: none;
}

.branding .logo:hover {
    cursor: pointer;
}

.branding .text {
    width: 150px;
    height: 40px;
    font-size: 28px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    margin-left: 13px;
    margin-top: 3px;
    position: absolute;
}

.pages {
    height: 40px;
    padding: 5px;
    margin-top: 0px;
    margin-right: 5px;
    background-color: transparent;
    position: absolute;
    right: 15px;
    top: 0px;
    text-align: center;
    user-select: none;
}

.pages a {
    color: transparent
}

.sign-in {
    display: inline-table;
    width: auto;
    height: 10px;
    border-radius: 10px;
    padding: 7px 10px 7px 10px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    transition: all 0.2s ease;
    background-color: #ff0000;
}

.sign-in:hover {
    opacity: 0.7;
    cursor: pointer;
}

.robloxLogo {
    position: relative;
    height: 19px;
    padding-left: 7px;
    display: inline-table;
    vertical-align: middle;
}

.logoutImg {
    position: relative;
    height: 19px;
    padding-right: 7px;
    display: inline-table;
    vertical-align: middle;
}

.page {
    display: inline-table;
    width: auto;
    height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    color: #ccc;
    font-size: 16px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    transition: all 0.1s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page:hover {
    color: #ff0000;
    cursor: pointer;
}

.pageSelected {
    color: white;
}

.profile {
    display: inline-table;
    width: auto;
    height: 35px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    transition: all 0.1s ease;
    vertical-align: middle;
    padding-left: 15px;
}

.profile:hover {
    opacity: 0.7;
    cursor: pointer;
}

.navImg {
    position: relative;
    height: 35px;
}

.profileAvatar {
    position: relative;
    height: 35px;
    border-radius: 50%;
    background-color: #121212;
}

.profile:hover .profileAvatar {
    box-shadow: 0 0 6px 2px rgba(255, 0, 0, 0.5);
}

.selectedBar {
    width: 100%;
    height: 4px;
    background-color: red;
    border-radius: 5px 5px 0px 0px;
    margin-top: 12px;
    display: block;
}

.sidebar {
    width: 384px;
    height: calc(100vh - 50px);
    background-color: #1e1e1e;
    position: relative;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    z-index: 3;
}

.sidebar-side {
    width: 384px;
    height: calc(100% - 50px);
    background-color: #1e1e1e;
    position: absolute;
    left: 0;
    z-index: 3;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    bottom: 0;
}

.selection-side {
    width: 384px;
    height: calc(100% - 50px);
    background-color: #1e1e1e;
    position: absolute;
    left: 0;
    z-index: 3;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.title {
    color: #ccc;
    font-size: 40px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
}

.list-title {
    background-color: transparent;
    height: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #ccc;
    font-size: 22px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.list-title:hover {
    cursor: pointer;
    color: #ff0000;
}

.list-title-contents {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-title-nohover {
    background-color: transparent;
    height: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #ccc;
    font-size: 22px;
    transition: all 0.2s ease;
}

.listSwitch:hover {
    opacity: 0.7;
}

.switch:hover {
    opacity: 0.7;
}

.list-text {
    padding-left: 9px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
    box-sizing: border-box;
}

.list-subtext-container {
    display: flex;
    flex-direction: column;
    padding-left: 9px;
}

.list-subtext-container .list-text {
    padding-left: 0px;
    padding-bottom: 0px;
}

.list-subtext {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    color: #acacac;
    font-size: 10px;
    padding-bottom: 4px;
}

.sublist-container {
    display: flex;
    align-items: center;
}

.sublist-container:hover {
    cursor: pointer;
    opacity: 0.7;
}

.list-text-input {
    background: #585858;
    border: none;
    border-radius: 5px;
    margin-left: 7px;
    padding-left: 2px;
    position: relative;
    height: 24px;
    width: 214px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #ccc;
    font-size: 16px;
    box-sizing: border-box;
}

.list-text-cutoff {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 276px;
}

.list-items {
    display: none;
}

.list-subitems {
    display: none;
    padding-left: 20px;
}

.list-item {
    background-color: transparent;
    min-height: 40px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 20px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #ccc;
    font-size: 16px;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    user-select: none;
}

.item-selected {
    background-color: #383838 !important;
    border-radius: 10px;
}

.dragging:hover {
    background-color: #383838 !important;
    border-radius: 15px;
    cursor: pointer;
}

.list-icon {
    height: 35px;
    padding-left: 6px;
    position: relative;
}

.list-item-options-box {
    position: absolute;
    width: 100px;
    height: auto;
    background-color: hsl(from #1e1e1e h s l / 0.70);
    backdrop-filter: blur(12px);
    border: #1e1e1e solid 1px;
    left: calc(414px + 7px);
    z-index: 10;
    padding: 7px 10px 7px 10px;
    border-radius: 15px;
    corner-shape: squircle;
    display: none;
}

.list-item-option {
    /* background-color: green; */
    width: 100%;
    height: 27px;
    align-items: center;
    display: flex;
}

.list-item-option:hover {
    cursor: pointer;
    opacity: 0.7;
}

.list-item-option img {
    height: 20px;
    display: inline-table;
    vertical-align: middle;
}

.list-item-option span {
    display: inline-table;
    vertical-align: middle;
    font-size: 15px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    padding-left: 5px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.expand-list {
    height: 28px;
    display: flex;
    align-items: center;
}

.expand-list img {
    transition: all 0.2s ease;
}

.expand-list.expand img {
    transform: rotate(180deg);
}

.options-container {
    display: flex;
    position: absolute;
    right: 25px;
    align-items: center;
}

.edit-option {
    height: 28px;
    width: 28px;
    background-color: transparent;
    vertical-align: middle;
    padding: none;
    border-radius: 10px;
}

.edit-img {
    top: 4px;
    left: 4px;
    height: 20px;
    position: relative;
    margin: auto;
}

.edit-option:hover {
    cursor: pointer;
    opacity: 0.7;
}

.leaflet-popup-content-wrapper {
    padding: 0;
    background-color: #232323;
    background: hsl(from #232323 h s l / 0.70);
    backdrop-filter: blur(12px);
}

.leaflet-popup-content-wrapper::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    border: 1.5px solid transparent;
    background: linear-gradient(#262626, #1f1f1f) border-box;
    mask: linear-gradient(black, black) border-box,
        linear-gradient(black, black) padding-box;
    mask-composite: subtract;
}

.leaflet-popup-tip {
    background-color: #232323;
}

.leaflet-popup .leaflet-popup-close-button {
    display: none;
}

.leaflet-popup-content {
    margin: 0;
    margin-right: 12px;
    margin-left: 12px;
    line-height: 1.4;
}

.selection-options {
    position: absolute;
    max-height: calc(100% - 90px);
    width: calc(100% - 30px);
    padding-right: 15px;
    overflow-y: auto;
    top: 0;
}

.selection-pages-box {
    width: 90%;
    position: relative;
    margin-top: 13px;
}

.selection-page {
    width: auto;
    height: 34px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #121212;
    padding: 8px 12px 8px 12px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    display: inline-table;
    vertical-align: middle;
    margin-right: 7px;
    border: solid 1px #cccccc40;
    transition: all 0.1s ease;
}

.selection-page:hover {
    background-color: #333333;
    border: solid 1px #cccccc80;
    cursor: pointer;
}

.selection-page-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selection-page-content img {
    height: 18px;
    margin-right: 3px;
}

.spSelected {
    background-color: color-mix(in srgb, #121212 50%, red);
    border: solid 1px #ff0000;
    color: white;
}

.spSelected:hover {
    background: color-mix(in srgb, #121212 65%, red);
    border: solid 1px #ff0000;
    cursor: pointer;
}

.spSelected img {
    filter: brightness(0) invert(1);
}

.info-box {
    width: 100%;
    height: 80px;
    background-color: #181818;
    position: absolute;
    bottom: 10px;
    left: 0;
}

.info-text {
    width: 100%;
    height: 100%;
    position: absolute;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    line-height: 22px;
    padding-top: 7px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 7px;
}

.search-box {
    width: 100%;
    height: 35px;
    border-radius: 10px;
    background-color: #333333;
    margin-top: 13px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: solid 1px #cccccc40;
    display: flex;
    align-items: center;
    position: relative;
}

.search-box-input {
    width: 100%;
    height: 35px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: transparent;
    border: none;
    padding-left: 36px;
    padding-right: 38px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    position: relative;
    font-size: 16px;
}

.search-box-input:not(:placeholder-shown) ~ .clear-search-btn {
    display: flex !important;
}

textarea:focus, input:focus{
    outline: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
    transition: all 0.5s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
    transition: all 0.2s ease;
}

::-webkit-scrollbar-track {
    background: #383838;
    border-radius: 3px;
}

.customLayerButtonContainer {
    text-align: center;
}

.customLayerBox {
    width: calc(100% - 15px - 24px - 50px);
    /* height: 40px; */
    height: 40px;
    background-color: #252525;
    border: none;
    border-radius: 10px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    margin-top: 7px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.customLayerBox:not(:disabled):hover {
    background-color: #181818;
    cursor: pointer;
}

.customLayerBox:disabled {
    opacity: 0.7;
}

.customLayerBox.reorder {
    width: 50px;
}

.customLayerBox.greenBG {
    background-color: color-mix(in srgb, #252525 80%, #00FF00);
}

.customLayerBox.greenBG:hover {
    background-color: color-mix(in srgb, #181818 90%, #00FF00);
    cursor: pointer;
}

.customLayerAddText {
    position: relative;
    display: inline-table;
    color: #cccccc;
    font-weight: 500;
    font-size: 16px;
    user-select: none;
    vertical-align: middle;
}

.CLPlusIcon {
    position: relative;
    display: inline-table;
    color: #ccc;
    font-weight: 800;
    user-select: none;
    vertical-align: middle;
}

/* section {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    background-color: #232323;
} */

section {
    width: 100%;
    max-height: 100%;
    max-height: 100%;
    position: fixed;
    z-index: 1;
    background-color: #2c2c2c;
    top: 50px;
    bottom: 0px;
}

.about-text {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 20px;
}

.link-click {
    font-family: "Roboto", sans-serif;
}

.link-click:hover {
    cursor: pointer;
    text-decoration: underline;
}

.highlight {
    color: red;
}

.menu-toggle {
    width: 30px;
    height: 30px;
    border-radius: 0px 10px 10px 0px;
    border: none;
    background-color: #333333;
    position: absolute;
    left: 414px;
    top: 50px;
    color: #ccc;
    text-align: center;
    z-index: 3;

    background: hsl(from #333333 h s l / 0.70);
    backdrop-filter: blur(12px);
    border: solid 2px #252525;
    border-left: none;

    display: flex;
    align-items: center;
}

.menu-toggle:hover {
    cursor: pointer;
    opacity: 0.7;
}

#menu-left {
    transform: translateX(-5px)
}

#menu-right {
    transform: translateX(-3px)
}

@media screen and (max-width: 1149px) {
    .menu-toggle {
        width: 45px;
        height: 60px;
    }
}

.area-text {
    position: absolute;
    font-size: 12px;
    background-color: transparent;
    border: none;
    color: white;
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    /* -webkit-text-stroke-width: 0.2px;
    -webkit-text-stroke-color: black; */
    box-shadow: none;
    text-align: center;
    line-height: 15px;
    pointer-events: none;
    /* text-shadow:
        1.5px 1.5px 0 #000,
        -1.5px 1.5px 0 #000,
        -1.5px -1.5px 0 #000,
        1.5px -1.5px 0 #000; */
    letter-spacing: 2px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.7),
        2px -2px 4px rgba(0, 0, 0, 0.7),
        -2px -2px 4px rgba(0, 0, 0, 0.7),
        -2px 2px 4px rgba(0, 0, 0, 0.7);
}

.postal-codes {
    font-size: 9px;
    letter-spacing: 0.75px;
    text-shadow: 
        1.5px 1.5px 3px rgba(0, 0, 0, 0.7),
        1.5px -1.5px 3px rgba(0, 0, 0, 0.7),
        -1.5px -1.5px 3px rgba(0, 0, 0, 0.7),
        -1.5px 1.5px 3px rgba(0, 0, 0, 0.7);
}

.building-numbers {
    font-size: 8px;
    letter-spacing: 0.85px;
    text-shadow: 
        1.25px 1.25px 2.5px rgba(0, 0, 0, 0.7),
        1.25px -1.25px 2.5px rgba(0, 0, 0, 0.7),
        -1.25px -1.25px 2.5px rgba(0, 0, 0, 0.7),
        -1.25px 1.25px 2.5px rgba(0, 0, 0, 0.7);
}

.buildings {
    font-size: 8px;
    text-shadow: 
        1.25px 1.25px 2.5px rgba(0, 0, 0, 0.7),
        1.25px -1.25px 2.5px rgba(0, 0, 0, 0.7),
        -1.25px -1.25px 2.5px rgba(0, 0, 0, 0.7),
        -1.25px 1.25px 2.5px rgba(0, 0, 0, 0.7);
    line-height: 10px;
}

.road-names {
    font-size: 8px;
    letter-spacing: 0.75px;
    text-shadow: 
        1.25px 1.25px 2.5px rgba(0, 0, 0, 0.7),
        1.25px -1.25px 2.5px rgba(0, 0, 0, 0.7),
        -1.25px -1.25px 2.5px rgba(0, 0, 0, 0.7),
        -1.25px 1.25px 2.5px rgba(0, 0, 0, 0.7);
}

/* .leaflet-marker-icon {
    width: var(--iconSize) !important;
    height: var(--iconSize) !important;
    margin-left: var(--iconMargin) !important;
    margin-top: var(--iconMargin) !important;
}*/

.leaflet-div-icon {
    border: none;
    background-color: transparent;
    /* pointer-events: none !important; */
}

.leaflet-arrow-icon {
  width: 12px;
  height: 12px;
  border-left: 2px solid black;
  border-top: 2px solid black;
  transform-origin: center;
}

.cluster-icon {
    width: 40px;
    height: 40px;
    background-size: var(--iconSize);
    color: white;
    font-size: 17px;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    text-align: center;

    paint-order: stroke fill;
    -webkit-text-stroke: 4px rgb(0, 0, 0);
}

.message {
    position: absolute;
    z-index: 10;
    width: 450px;
    height: auto;
    background-color: red;
    color: white;
    font-family: "Roboto", san-serif;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 15px;
    top: 10px;
    left: calc(50% - 225px);
    pointer-events: none;
    opacity: 0.7;
}

.graphOptionsBox {
    position: fixed;
    /* width: 510px; */
    max-width: 100%;
    height: 38px;
    background-color: transparent;
    z-index: 2;
    top: 50px;
    left: 414px;
    padding-top: 7px;
    padding-left: 10px;
    padding-right: 10px;
    color: #cccccc;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.graphOption {
    width: auto;
    height: auto;
    box-sizing: border-box;
    background-color: #1e1e1e;
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding: 6px 15px;
    display: inline-table;
    margin-left: 2.5px;
    margin-right: 2.5px;
    border: 1px solid #cccccc40;
    transition: all 0.2s ease;
}

.graphOption:hover {
    cursor: pointer;
    background-color: #333333;
    border: solid 1px #cccccc80;
}

.graphOption div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.graphOptionIcon {
    height: 22px;
    margin-right: 5px;
}

.graphOptionText {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.GOSelected {
    background-color: color-mix(in srgb, #1e1e1e 50%, red);
    border: solid 1px #ff0000;
    color: white;
}

.GOSelected .graphOptionIcon {
    filter: brightness(0) invert(1);
}

.GOSelected:hover {
    background: color-mix(in srgb, #121212 65%, red);
    border: solid 1px #ff0000;
    cursor: pointer;
}

.xAxisLabel {
    position: fixed;
    width: 200px;
    height: 20px;
    z-index: 2;
    bottom: 7px;
    left: calc((100% - 414px) / 2 + 100px + 215px);
    padding-right: 10px;
    background-color: transparent;
    text-align: center;
}

.xALFull {
    left: calc((100%) / 2 - 100px);
}

.yAxisLabel {
    position: fixed;
    width: 200px;
    height: 20px;
    z-index: 2;
    bottom: calc((100% - 50px) / 2 + 0px);
    left: calc(414px - 87px);
    padding-right: 10px;
    background-color: transparent;
    text-align: center;
    transform: rotate(270deg);
}

.yALFull {
    left: -90px;
}

.labelText {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #ccc;
}

.barChartHeader {
    display: flex;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 35px;
    padding-right: 35px;
}

@media screen and (max-width: 900px){
    .barChartHeader {
        display: block;
    }

    .barChartExtra {
        margin-top: 7px;
    }

    .barChartTitle {
        max-width: calc(100vw - 35px - 35px) !important;
    }
}

.barChartTitle {
    position: static;
    width: auto;
    min-width: 400px;
    max-width: calc(100vw - 414px - 30px - 500px);
    height: auto;
    z-index: 2;
    text-align: left;
    border: solid 2px white;
    border-left: solid 10px white;
    padding: 7px 20px 7px 20px;
}

.canvasBarChartTitle {
    position: fixed;
    z-index: 2;
    top: 70px;
    left: calc(414px + 35px);
    text-align: left;
}

.barChartExtra {
    position: static;
    width: auto;
    min-width: 250px;
    height: auto;
    z-index: 2;
    top: 60px;
    right: 35px;
}

.barChartKey {
    text-align: right;
    border: solid 2px white;
    border-left: solid 10px white;
    padding: 7px 20px 7px 20px;
}

.barChartSearchWrapper {
    /* width: calc(100% - 50px); */
    width: 100%;
    display: inline-table;
    vertical-align: middle;
    position: relative;
    margin-top: 7px;
}

.barChartSearch {
    height: 42px;
    background-color: #232323;
    border-radius: 10px;
    border: solid 1px #383838;
    padding: 0px 7px 0px 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barChartSearch:hover {
    border: solid 1px #cccccc75;
    background-color: color-mix(in srgb, #232323 75%, #383838);
}

.barChartSearch img {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    left: 7px;
    transform: translate(0px, -50%);
}

.barChartSearch input {
    width: calc(100% - 25px);
    margin-left: 25px;
    height: 40px;
    border-radius: 10px;
    background-color: transparent;
    border: none;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.barChartDropdown {
    width: 100%;
    background-color: #232323;
    border-radius: 10px;
    border: solid 1px #cccccc40;
    position: absolute;
    margin-top: 5px;
}

.barChartDropdown:last-child {
    border-bottom: none;
}

.barChartVehicle {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0px 7px;
    border-bottom: solid 1px #cccccc10;
    user-select: none;
    border-radius: 10px;
}

.barChartVehicle img {
    height: 34px;
    margin-right: 5px;
}

.barChartVehicle span {
    font-family: "Roboto", sans-serif;
    color: #ccc;
    font-weight: 500;
    font-size: 14px;
}

.barChartVehicle:hover {
    cursor: pointer;
    background-color: color-mix(in srgb, #232323 75%, black);
}

.barChartVehicle.noHover:hover {
    cursor: auto;
    background-color: transparent;
}

.barChartExport {
    width: 42px;
    height: 42px;
    background-color: #232323;
    border-radius: 10px;
    border: solid 1px #383838;
    margin-top: 7px;
    display: inline-table;
    vertical-align: middle;
    position: relative;
    float: right;
}

.barChartExport:hover {
    cursor: pointer;
    border: solid 1px #cccccc75;
    background-color: color-mix(in srgb, #232323 75%, #383838);
}

.barChartExport img {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.labelTitle {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: white;
    letter-spacing: 0.1rem;
}

.labelSubtitle {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ccc;
    letter-spacing: 0.1rem;
    word-spacing: 0.2em;
    line-height: 150%;
}

.labelSubtitle div {
    width: 16px;
    height: 16px;
    display: inline-table;
    vertical-align: middle;
    transform: translateY(-1px);
}

/* -414 width, -95 height (50 org) */
#graphBox {
    width: calc(100% - 420px);
    height: calc(100% - 48px);
    z-index: 1;
    position: absolute;
    top: 43px;
    right: 0;
}

#graphBox:hover {
    cursor: pointer;
}

#graphBox-full {
    width: 100%;
    height: calc(100% - 95px);
    z-index: 0;
    position: absolute;
    top: 40px;
    right: 0;
    bottom: 0;
    right: 0;
}

#graphBox-fullview {
    width: 100%;
    height: calc(100% - 45px);
    z-index: 0;
    position: absolute;
    top: -10px;
    right: 0;
    bottom: 0;
    right: 0;
}

/* #barGraphBox {
    width: calc(100vw - 420px - 30px);
    max-height: calc(100% - 115px);
    z-index: 1;
    position: absolute;
    bottom: 6px;
    right: 0;
    overflow-y: auto;
} */

#rankingView {
    display: none;
    position: absolute;
    width: calc(100vw - 414px);
    height: calc(100vh - 50px - 5px);
    top: 0;
    right: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

#barGraphBox {
    width: calc(100% - 35px);
    min-height: 0;
    /* max-height: 100%; */
    position: static;
    margin-left: 35px;
    overflow-y: auto;
    flex: 1;
}

#barGraphBox span {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ccc;
    display: none;
    margin-top: 10px;
}

#barGraphBox #canvasContainer {
    height: calc(100vh - 175px);
}

#xAxisBottomFloater {
    width: calc(100vw - 414px - 35px - 8px);
    bottom: 0px;
    right: 8px;
    z-index: 2;
    position: absolute;
}

#xAxisBottomContainer {
    height: 50px;
    overflow: hidden;
    overflow-y: hidden;
    bottom: 5px;
    background-color: #2c2c2c;
}

@media screen and (max-width: 1300px) {
    #rankingView {
        width: 100vw;
    }

    #xAxisBottomFloater {
        width: calc(100vw - 35px - 8px);
    }

    .barChartTitle {
        max-width: calc(100vw - 35px - 500px);
    }
}

body:has(.sidebar[style*="display: none"]) #rankingView {
    width: 100vw;
}

body:has(.sidebar[style*="display: none"]) #xAxisBottomFloater {
    width: calc(100vw - 35px - 8px);
}

body:has(.sidebar[style*="display: none"]) .barChartTitle {
    max-width: calc(100vw - 35px - 500px);
}

@media screen and (max-width: 600px) {
    #barGraphBox {
        width: calc(100% - 2px) !important;
        margin-left: 2px;
    }

    #xAxisBottomFloater {
        width: calc(100% - 2px - 8px) !important;
    }
}

.radarChartBox {
    background-color: #252525;
    border-radius: 12px;
    border: 1px solid #cccccc40;
    padding-left: 2px;
    padding-right: 2px;
}

.VS-StatsDropdown {
    position: relative;
    display: inline-block;
}

.VS-StatsContainer {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    background-color: #383838;
    display: grid;
    grid-template-columns: 1fr 55px;
    gap: 5px;
    padding: 5px 7px 5px 7px;
    border-radius: 12px;
    margin-top: 18px;
    border: 1px solid #cccccc80;
    margin-bottom: 15px;
}

.VS-StatsOption {
    box-sizing: border-box;
    padding: 9px 15px 9px 15px;
    border-radius: 12px;
    background-color: #252525;
    border: 1px solid #cccccc60;
    margin-left: 2px;
    margin-right: 2px;
    vertical-align: bottom;
    transition: all 0.2s ease;

    font-size: 15px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

.VS-StatsOption:hover {
    cursor: pointer;
    border: 1px solid #ff000080;
    background-color: color-mix(in srgb, #1e1e1e 95%, red);
}

.VS-StatsOption.selected {
    border: 1px solid #ff000080;
    background-color: color-mix(in srgb, #1e1e1e 80%, red);
}

.VS-StatsOption.collapsed {
    width: 50px;
}

#statSearch.collapsed img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
}

#statSearch.collapsed:hover {
    cursor: pointer;
}

#rankingSearch.collapsed img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
}

#rankingSearch.collapsed:hover {
    cursor: pointer;
}

.VS-StatsContainer:has(#stat-selection.collapsed) {
    grid-template-columns: 55px 1fr;
}

.VS-StatsContainer:has(#ranking-selection.collapsed) {
    grid-template-columns: 55px 1fr;
}

.VS-StatsOption.collapsed input {
    display: none;
}

.VS-StatsOption.collapsed #statOptionTitle {
    display: none;
}

.VS-StatsOption.collapsed #rankingOptionTitle {
    display: none;
}

#radarOption:hover {
    cursor: pointer;
    background-color: #1e1e1e !important;
}

.VS-StatsOption img {
    height: 18px;
    vertical-align: bottom;
    margin-right: 8px;
    pointer-events: none;
}

.VS-StatsDropdownMenu .VS-StatsOption img {
    margin-right: 0px;
}

.VS-StatsOption span {
    pointer-events: none;
}

.VS-StatsOption input {
    width: calc(100% - 18px - 25px);
    height: 34px;
    background-color: transparent;
    border: none;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 15px;
    display: inline-table;
    vertical-align: middle;
}

#statSearch {
    padding: 0px 0px 0px 15px;
}

#statSearch:hover {
    cursor: default;
}

#rankingSearch {
    padding: 0px 0px 0px 15px;
}

#rankingSearch:hover {
    cursor: default;
}

#radarDropdown {
    width: calc(100% - 16px);
    margin-left: 8px;
    margin-top: 8px;
}

#radarOption {
    padding-top: 2px;
    padding-bottom: 2px;
}

#VS-RadarDropdownMenu .VS-StatsOption {
    padding-top: 5px;
    padding-bottom: 5px;
}

#radarDropdown .VS-StatsOption span {
    padding-top: 7px;
    padding-bottom: 7px;
}

#radarDropdown .VS-StatsOption img {
    height: 32px;
    margin-right: 8px;
}

.VS-StatsDropdown .VS-StatsOption {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.VS-StatsDropdownMenu {
    display: none;
    position: absolute;
    z-index: 10;
    margin-top: 4px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #cccccc60;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    background-color: #252525;
}

.VS-StatsDropdownMenu .VS-StatsOption {
    border-radius: 0;
    border: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #383838;
}

.VS-StatsDropdownMenu .VS-StatsOption:last-child {
  border-bottom: none;
}

.VS-StatsDropdownMenu .VS-StatsOption:hover {
    cursor: pointer;
    background-color: color-mix(in srgb, #1e1e1e 80%, red);
}

.VS-StatsDropdownMenu #radarOption2:hover {
    /* border: 1px solid #ffff0080; */
    background-color: color-mix(in srgb, #1e1e1e 80%, #ffff00);
}

.VS-StatsDropdownMenu #radarOption3:hover {
    /* border: 1px solid #29d70a80; */
    background-color: color-mix(in srgb, #1e1e1e 80%, #29d70a);
}

.VS-StatsDropdownMenu #radarOption4:hover {
    /* border: 1px solid #ff8c0080; */
    background-color: color-mix(in srgb, #1e1e1e 80%, #ff8c00);
}

#VS-FilterDropdown {
    width: 100%;
}

.checkbox-box {
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border: 1.5px solid #cccccc60;
    border-radius: 4px;
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}

.VS-StatsOption:hover .checkbox-box {
    border-color: #ff000080;
}

.VS-StatsOption.selected .checkbox-box {
    border-color: #ff0000;
    background-color: color-mix(in srgb, #1e1e1e 30%, red);
}

.checkbox-indicator {
    font-weight: bold;
    font-size: 11px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.1s ease;
    line-height: 1;
}

.VS-StatsOption.selected .checkbox-indicator {
  opacity: 1;
}

.VS-statsBox {
    margin-top: 7px;
    background-color: #252525;
    border-radius: 12px;
    border: 1px solid #cccccc40;
}

.noteTextBox {
    position: fixed;
    width: auto;
    height: 20px;
    z-index: 10;
    bottom: 7px;
    right: 0;
    padding-right: 10px;
    background-color: transparent;
}

.noteText {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #ccc;
}

.vehicleBox {
    width: 100%;
    /* height: 40px; */
    height: 45px;
    background-color: #252525;
    border: none;
    border-radius: 10px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    border: 1px solid #cccccc40;
}

.vehicleBox.confirm {
    background-color: #383838;
    border: 1px solid #cccccc80;
}

.vehicleColor {
    height: 45px;
    width: 10px;
    position: absolute;
    left: 0px;
    background-color: red;
    border-radius: 10px 0 0 10px;
}

.vehiclePhoto {
    height: 30px;
    position: absolute;
    left: 20px;
    top: 7.5px;
}

.vehicleText {
    position: absolute;
    left: 80px;
    transform: translateY(5px);
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 15px;
    width: 245px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.vehicleSubText {
    position: absolute;
    left: 80px;
    transform: translateY(25px);
    color: #cccccc95;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
}

.vehicleOverallScore {
    width: auto;
    height: auto;
    position: absolute;
    right: 10px;
    top: 14.5px;
    padding: 2px 5px 2px 5px;
    border-radius: 5px;
    color: #cccccc;
    font-size: 10px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    background-color: #383838;
    border: 1px solid #cccccc40;
}

/* .vehicleText {
    position: relative;
    left: 30px;
    bottom: 5px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    white-space: normal;
    word-break: break-word;
} */

.vehicleAddText {
    position: relative;
    display: inline-table;
    color: #cccccc;
    font-weight: 500;
    font-size: 16px;
    user-select: none;
    vertical-align: middle;
}

.plusIcon {
    position: relative;
    display: inline-table;
    color: #ccc;
    font-weight: 800;
    user-select: none;
    vertical-align: middle;
}

.vehicleRemove {
    position: absolute;
    margin: auto;
    transform: translateY(12px);
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    left: calc((100% - 112px) / 2);
    text-align: center;
    display: none;
}

.vehicleBox:hover {
    background-color: #181818;
    cursor: pointer;
}

.vehicleBox:hover .vehicleColor {
    opacity: 0.1;
}

.vehicleBox:hover .vehiclePhoto, .vehicleBox:hover .vehicleText, .vehicleBox:hover .vehicleSubText, .vehicleBox:hover .vehicleOverallScore {
    opacity: 0.05;
}

.vehicleBox:hover .vehicleRemove {
    display: block;
}

.statBox {
    width: 100%;
    box-sizing: border-box;
    /* height: 40px; */
    background-color: #252525;
    border-radius: 10px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    margin-bottom: 15px;
    padding-top: 7px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid #cccccc40;
}

.statBox:hover {
    border: 1px solid #cccccc60;
    /* cursor: pointer; */
}

.statBox.rankings {
    margin-top: 2px;
    margin-bottom: 2px;
    padding-top: 5px;
    display: grid;
    grid-template-row: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 7px 10px 7px 10px;
}

.statBox.rankings:hover {
    border: solid 1px #cccccc40;
}

.rankingStat {
    background-color: #323232;
    padding: 5px 7px 5px 7px;  
    border-radius: 7px;
    border: solid 1px #cccccc40;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.rankingStat.selected {
    background-color: color-mix(in srgb, #323232 80%, red);
    border: solid 1px #ff000080;
    color: white;
}

.rankingStat:hover {
    cursor: pointer;
    border: 1px solid #ff000080;
    background-color: color-mix(in srgb, #323232 95%, red);
}

.statHeader {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 3px;
    padding-right: 3px;
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
}

.statTitle {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.statSubTitle {
    color: #ccccccc0;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 9px;
    line-height: 125%;
    float: right;
    text-align: right;
    /* transform: translateY(5px); */
}

.statVehicleImage {
    height: 30px;
    display: inline-table;
    vertical-align: middle;
    /* float: left; */
    margin-right: 7px;
}

.progressBar { 
    display: inline-table;
    vertical-align: middle;
    /* background-color: color-mix(in srgb, #323232 98%, red);  */
    width: calc(100% - 51.42px - 14px); 
    border-radius: 5px; 
    height: 20px;
    margin-bottom: 7px;
    /* border: 1px solid #ff000040; */
    float: right;
    transform: translateY(4px);
} 

.progressBarInside { 
    background-color: #29d70a;
    color: white;
    /* padding: 1%;  */
    text-align: right; 
    font-size: 20px; 
    border-radius: 5px; 
    height: 20px;

    width: 0%;
    display: flex;
    align-items: center;
    justify-content: right;
}

.statToolTip {
    position: absolute;
    z-index: 20;
    text-align: left;
    pointer-events: none;
    opacity: 1;
    top: 100px;
    /* left: 79.42px; */
    /* width: calc(100% - 51.42px - 14px - 47px); */
    left: 420px;
    display: none;
}

#statContainer:hover .statToolTip {
    opacity: 1;
}

.statToolTipSpan {
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 2.5px;
    padding-bottom: 2.5px;
    border-radius: 5px;
    background-color: hsl(from #383838 h s l / 0.80);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #cccccc40;
    color: white;
    height: 100%;
    font-family: "Roboto", sans-serif;
}

.statText {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    margin-right: 4px;
    /* position: absolute;
    left: 0; */
}

.statScore {
    font-size: 12px;
    font-weight: 600;
    float: right;
    position: relative;
}

.selectionMenuBox {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    overflow: visible;
}

.vehicleSelectionOptionsBox {
    position: fixed;
    max-height: calc(100vh - 85px);
    width: 16em;
    overflow-y: auto;
    top: 85px;
    transform: translateX(-186%);
    scroll-padding-left: 10px;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.VSOptionsBox1 {
    transform: translateX(-90%);
}

.VSOptionsBox2 {
    transform: none;
}

.vehicleSortBox {
    background-color: #1e1e1e;
    border-radius: .5rem;
    padding: 5px;
    position: relative;
    box-sizing: border-box;
    width: calc(14em + 1px);
    margin: auto;
    margin-bottom: 15px;
    border: 1px solid #cccccc40;
}

.vehicleSortSelect {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0 center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    border: none;
    outline: none;
    padding: 4px 5px;
    width: 100%;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

.vehicleSortSelect option {
    color: #000;
}

.filterWrapper {
    box-sizing: border-box;
    width: 15em;
    max-height: 170px;
    background-color: #1e1e1e;
    border-radius: .5rem;
    position: relative;
    margin: auto;
    text-align: left;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 15px;
    overflow: hidden;
    /* padding-bottom: 10px; */
    margin-bottom: 15px;
    border: 1px solid #cccccc40;
}

.filterWrapper.rankings {
    width: 100%;
    background-color: #252525;
    border: 1px solid #cccccc40;
}

.filterWrapper.rankings-2 {
    width: calc(50% - 6px);
    background-color: #252525;
    border: 1px solid #cccccc40;
    display: inline-table;
}

.filterWrapper.rankings-2.right {
    float: right;
}

.filterSearchContainer {
    background-color: #363636;
    padding: 5px 10px 5px 10px;
}

.filterIcon {
    width: 20px;
    height: 20px;
    display: inline-table;
    vertical-align: middle;
}

.filterSearch {
    width: calc(100% - 30px);
    height: 20px;
    display: inline-table;
    vertical-align: middle;
    background-color: transparent;
    border: none;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.filterTitle {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    padding-left: 15px;
    margin-top: 10px;
}

.filterContainer {
    max-height: 130px;
    overflow: auto;
    /* margin-bottom: 5px; */
    padding: 5px 15px 5px 15px;
}

.filterOption {
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
}

.filterOption span:hover {
    cursor: pointer;
}

.filterCheckbox {
    background-color: #1e1e1e;
    cursor: pointer;
}

.sliders_control {
    position: relative;
    width: 100%;
    min-height: 15px;
    margin-top: 15px;
}

.rangeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}

.rangeSlider::-moz-range-thumb {
    pointer-events: all;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;  
}

.rangeSlider::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

.rangeSlider::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px red, 0 0 9px red;
    -webkit-box-shadow: inset 0 0 3px red, 0 0 9px red;
}

.rangeSlider {
    -webkit-appearance: none; 
    appearance: none;
    height: 2px;
    width: calc(100% - 30px);
    position: absolute;
    background-color: red;
    pointer-events: none;
    left: 15px;
}

#fromSlider, #fromSlider2 {
  height: 0;
  z-index: 1;
}

.filterDRTextContainer {
    padding: 5px 15px 5px 15px;
    margin-bottom: 5px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 12px;
}

.vehicleSelectionBox {
    max-width: 62em;
    flex-grow: 1;
    margin-left: 16em;
    height: auto;
    margin-top: 35px;
}

.VS-StickyHeaderWrapper {
    position: sticky;
    top: 35px;
    z-index: 100;
    /* background-color: #2c2c2c; 
    padding: 10px 0 20px 0; */
    width: 100%;
    margin-bottom: 25px;
}

.vehicleOptionsBar {
    max-width: 935px;
    width: 100%;
    margin: 0 auto;
    height: 56px;
    background-color: #383838;
    border: 1px solid #cccccc80;
    border-radius: 14px;
    padding: 0 12px;
    box-sizing: border-box;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); */
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
}

.vehicleOptionsBar.shrink {
    max-width: 840px;
    box-shadow: 0 0 32px 8px rgba(0, 0, 0, 0.5);
}

.vehicleTeamSelectorWrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.vehicleTeamSelectorWrapper::after {
    content: '▼';
    font-size: 10px;
    color: #888;
    position: absolute;
    right: 12px;
    pointer-events: none;
}

.vehicleTeamSelect {
    appearance: none;
    -webkit-appearance: none;
    background-color: #252525;
    border: 1px solid #cccccc60;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 15px;
    height: 38px;
    padding: 0 32px 0 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vehicleTeamSelect:hover {
    border-color: #ff000080;
    color: #fff;
}

.vehicleTeamSelect:focus {
    outline: none;
    border-color: #ff0000;
}

.vehicleSearchBox {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #666;
    pointer-events: none;
    transition: color 0.2s ease;
}

.vehicleSearch {
    width: 100%;
    height: 38px;
    background-color: #252525;
    border: 1px solid #cccccc60;
    border-radius: 8px;
    padding: 0 36px 0 38px;
    box-sizing: border-box;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 15px;
    transition: all 0.2s ease;
}

.vehicleSearch:hover {
    border-color: #ff000080;
}

.vehicleSearch:focus {
    outline: none;
    border-color: #ff0000;
}

.vehicleSearch:focus {
    outline: none;
    border-color: #ff000080;
    color: #fff;
    background-color: #1a1a1a;
}

.vehicleSearch:focus + .search-icon {
    color: #ff000080;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) translateY(-1px);
    background: none;
    border: none;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
}

.vehicleSearch:not(:placeholder-shown) ~ .clear-search-btn {
    display: flex !important;
}

.clear-search-btn:hover {
    color: #ff0000;
}

.closeSelectionMenu {
    width: 38px;
    height: 38px;
    background-color: #252525;
    border: 1px solid #cccccc60;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.closeSelectionMenu img {
    width: 100%;
    height: 100%;
    transition: all 0.2s ease;
}

.closeSelectionMenu:hover {
    border-color: #ff000080;
    background-color: color-mix(in srgb, #1e1e1e 95%, red);
}

.vehicleSelection {
    width: 450px;
    height: auto;
    background-color: #1e1e1e;
    border-radius: .5rem;
    display: inline-table;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 25px;
    border: 1px solid #cccccc40;
    transition: all 0.1s ease;
}

.vehicleSelection:hover {
    /* opacity: 0.7;
    cursor: pointer; */
    border: 1px solid #cccccc60;
    scale: 102%;
}

/* .vehicleSelection:hover .selectionImage {
    scale: 105%;
} */

.vehicleSelection:hover .selectionButton {
    background-color: #cccccc30;
    border: 1px solid #cccccc60;
}

.selectionImageBox {
    width: 40%;
    height: 100%;
    border-radius: 15px 0px 0px 15px;
    position: relative;
    display: inline-table;
}

.selectionImage {
    width: 100%;
    position: relative;
    margin: auto;
    transition: all 0.1s ease;
    /* filter:
        drop-shadow(1px 0px 0px #cccccc15) 
        drop-shadow(-1px 0px 0px #cccccc15) 
        drop-shadow(0px 1px 0px #cccccc15) 
        drop-shadow(0px -1px 0px #cccccc15); */
    filter:
        drop-shadow(1.5px 0px 0px #cccccc15) 
        drop-shadow(-1.5px 0px 0px #cccccc15) 
        drop-shadow(0px 1.5px 0px #cccccc15) 
        drop-shadow(0px -1.5px 0px #cccccc15);
}

.selectionInfo {
    width: 56%;
    height: 100%;
    border-radius: 0 15px 15px 0;
    position: relative;
    display: inline-table;
    float: right;
    /* padding: 10px 7px 10px 7px; */
    padding: 7px 8px 7px 8px;
    text-align: left;
}

.selectionMainBox {
    position: relative;
    width: 100%;
    user-select: none;
}

.selectionTitle {
    color: #ccc;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    display: block;
    padding-top: 3px;
    height: 39px;
    user-select: text;
    width: 200px;
}

.selectionType {
    color: #cccccc99;
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

.selectionScore {
    width: 45px;
    height: auto;
    padding: 6px 0 6px 0;
    border-radius: 5px;
    color: #cccccc;
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    background-color: color-mix(in srgb, #363636 90%, #e86100);
    border: 1px solid #e8610075;
    display: inline-table;
    margin-top: 2px;
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: center;
}

.selectionButton {
    width: 100%;
    height: auto;
    padding: 4.5px 0 4.5px 0;
    border-radius: 5px;
    color: #dddddd;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    background-color: #cccccc10;
    border: 1px solid #cccccc40;
    display: inline-table;
    margin-top: 2px;
    text-align: center;
    transition: all 0.1s ease;
    float: right;
}

.selectionButton.history + .selectionButton {
    width: calc(100% - 40px);
}

.selectionButton.history {
    width: 30px;
    float: left;
    padding: 0;
    padding-top: 3px;
}

.selectionButton.history img {
    height: 19px;
}

.selectionButton:hover {
    cursor: pointer;
    background-color: color-mix(in srgb, #363636 90%, red) !important;
    border: 1px solid #ff000075 !important;
}

.selectionDetail {
    width: auto;
    height: auto;
    padding: 1px 5px 1px 5px;
    border-radius: 5px;
    color: #cccccc;
    font-size: 10px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    background-color: #363636;
    border: 1px solid #cccccc40;
    display: inline-table;
    margin-bottom: 2px;
    margin-right: 4px;
}

.selectionDetail.price {
    background-color: color-mix(in srgb, #363636 95%, #29d70a);
    border: 1px solid #29d70a75;
}

.SDPrestige {
    background-color: color-mix(in srgb, #363636 95%, #7C3AED);
    border: 1px solid #7C3AED;
}

.SDElectric {
    background-color: color-mix(in srgb, #363636 95%, #2563EB);
    border: 1px solid #2563EB;
}

.SDClassic {
    background-color: color-mix(in srgb, #363636 95%, #D97706);
    border: 1px solid #D97706;
}

.messageContainer {
    width: 300px;
    height: 240px;
    position: fixed;
    z-index: 2;
    margin: auto;
    left: calc(50% - 150px);
    top: 75px;
    pointer-events: none;
    overflow-y: hidden;

    /* mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 98%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 98%); */
}

.messageBox {
    width: calc(100% - 20px);
    height: auto;
    background-color: #1e1e1e;
    border-radius: 1rem;
    text-align: center;
    /* box-shadow: 0px 0px 8px 1px #ff0000; */
    padding-top: 12px;
    padding-bottom: 12px;
    margin-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
    transition: all 0.5s ease;

    background-color: hsl(from #121212 h s l / 0.50);
    backdrop-filter: blur(12px);
}

.messageBox::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background-color: linear-gradient(hsl(0, 0%, 15%), hsl(0, 0%, 12%)) border-box;
  mask: linear-gradient(black, black) border-box,
    linear-gradient(black, black) padding-box;
  mask-composite: subtract;
}

.translucent-red::before {
  background: linear-gradient(rgba(255, 0, 0, 0.25), rgba(255, 0, 0, 0.25)) border-box;
}

.translucent-orange::before {
  background: linear-gradient(rgba(255, 165, 0, 0.25), rgba(255, 165, 0, 0.25)) border-box;
}

.translucent-green::before {
  background: linear-gradient(rgba(0, 255, 0, 0.25), rgba(0, 255, 0, 0.25)) border-box;
}

.messageText {
    position: relative;
    width: 50px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 14px;
    overflow-wrap: break-word;
    line-height: 150%;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.embedBox {
    width: 500px;
    height: auto;
    background-color: #1e1e1e;
    position: fixed;
    top: calc(50% - 125px);
    left: calc(50% - 250px);
    border-radius: 25px;
    padding: 20px;
    text-align: left;
}

.embedOptions {
    margin-bottom: 10px;
}

.embedBox span {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    margin-right: 10px;
}

.embedCode {
    background-color: #333;
    border-radius: 10px;
    padding: 10px;
    color: #ccc;
    font-family: "Roboto Mono", monospace;
    margin-bottom: 10px;
    word-wrap: break-word;
    position: relative;
}

.copyButton {
    position: absolute;
    bottom: 2px;
    right: 10px;
    background-color: transparent;
    color: #ffffffa2;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
}

.copyButton:hover {
    opacity: 0.7;
}

.checkbox-container {
    display: inline-block;
    vertical-align: middle;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-container label {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-container label:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: all 0.2s ease;
}

.checkbox-container input[type="checkbox"]:checked + label {
    background-color: #4285f4;
    border-color: #4285f4;
}

.checkbox-container input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.graphWatermark {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 12px;
    display: none;
}

.graphWatermarkLogo {
    width: 100%;
    height: 100%;
}

#selectionMenu {
    width: calc(100% - 414px);
    right: 0;
    z-index: 10;
}

.toggleFilterButton {
    width: 70px;
    height: 70px;
    position: fixed;
    z-index: 15;
    background-color: #121212;
    left: 10px;
    bottom: 10px;
    border-radius: 20px;
    border: none;
}

.detailedBox {
    width: 50em;
    height: auto;
    background-color: #1e1e1e;
    position: fixed;
    top: calc(50% - auto);
    left: calc(50% - 50em / 2);
    border-radius: 25px;
    padding: 20px;
    text-align: left;
}

.detailedBoxTitle {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    margin-right: 10px;
}

.statDetailContainer {
    width: 100%;
    color: #ccc;
    font-family: "Roboto", sans-serif;
}

.statDetailVehicleContainer {
    display: inline-table;
    width: 12em;
    margin-left: 2.5px;
    margin-right: 2.5px;
}

.statDetailVehicle {
    color: #cccccc99;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    margin-top: 2px;
    float: right;
    font-size: 12px;
}

.navbar-dropdown {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    display: none;
    align-items: center;
    z-index: 10;
    padding-right: 10px;
}

.navbar-dropdown-btn {
    /* background: #232323; */
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 28px;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.navbar-dropdown-btn:hover {
    /* background: #383838; */
    opacity: 0.7;
    cursor: pointer;
}

.navbar-dropdown-content {
    display: none;
    position: fixed;
    top: 48px;
    right: 10px;
    background-color: #1e1e1e;
    min-width: 170px;
    border-radius: 10px;
    box-shadow: 0 4px 16px #00000055;
    z-index: 99999;
    flex-direction: column;
    /* padding: 8px 0; */
    border: solid 1px #cccccc40;
    
    background: hsl(from #1e1e1e h s l / 0.90);
    backdrop-filter: blur(12px);
}

.navbar-dropdown-content a {
    color: #ccc;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    border-bottom: solid 1px #cccccc10;
    background: none;
    border-radius: 10px;
}

.navbar-dropdown-content a:last-child {
    border-bottom: none;
}

.navbar-dropdown-content a:hover {
    background-color: #232323;
    color: #ff0000;
    cursor: pointer;
}

@media (max-width: 960px) {
    .navbar-dropdown {
        display: flex;
    }
    .pages  {
        display: none;
    }
}

.area-text, .postal-codes, .building-numbers, .buildings, .road-names {
    pointer-events: none;
}

.liveries-title {
    font-size: 64px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    margin: auto;
    margin-top: 0.67em;
}

.livery-search-bar {
    width: 100%;
    height: 35px;
    border-radius: 10px;
    background-color: #333333;
    margin-top: 13px;
    margin-bottom: 10px;
}

.liveries-container {
    max-width: 100em;
    height: auto;
    background-color: transparent;
    margin: auto;
    text-align: center;
}

.livery-box {
    width: 18em;
    height: 215px;
    /* background-color: #333333; */
    display: inline-table;
    margin-left: 0.75em;
    margin-right: 0.75em;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 20px;
}

.livery-box-img {
    width: 100%;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.livery-box-profile-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 7px;
    margin-top: 5px;
}

.livery-text-box {
    background-color: transparent;
    width: calc(18em - 52px);
    min-height: 30px;
    position: absolute;
    margin-left: 7px;
    margin-top: 6px;
}

.livery-box-title {
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: grid;
}

.livery-box-subtexts {
    width: 100%;
    height: 20px;
    display: grid;
    position: relative;
}

.livery-box-subtext {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 10px;
    position: absolute;
}

.livery-page {
    max-width: 104em;
    height: auto;
    background-color: transparent;
    margin: auto;
    text-align: left;
    padding-left: 1em;
    padding-right: 1em;
}

.livery-title {
    font-size: 54px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: white;
}

.livery-author-box {
    min-width: 30px;
    height: 30px;
    display: inline-table;
    position: relative;
    vertical-align: top;
    margin-top: 3px;
}

.livery-author-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
}

.livery-author {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    display: table-cell;
    vertical-align: middle;
    padding-left: 4px;
}

.livery-img {
    width: 100%;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-top: 15px;
}

.livery-img-carousel {
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 7px;
}

.livery-carousel-img {
    width: 24%;
    border-radius: 7px;
    background-size: cover;
    background-position: center;
    display: inline-table;
    vertical-align: top;
}

.carousel-img-selected {
    box-sizing: border-box;
    border: 3px solid red;
}

.livery-img-carousel-spacer {
    width: 0.32%;
    display: inline-table;
}

.picker {
    display: grid;
    grid-template-columns: auto 20px;
    grid-template-rows: 20px auto 40px;
    gap: 10px;
    padding-top: 15px;
}

.hue {
    position: relative;
    grid-column: 1 / 2;
    grid-row: 1;
    background: linear-gradient(to right,
            red, yellow, lime, cyan, blue, magenta, red);
    cursor: pointer;
    border-radius: 4px;
}

.sv {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    width: 150px;
    height: 150px;
    background: red;
    cursor: crosshair;
}

.sv::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.sv::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000, transparent);
}

.alpha {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    background: linear-gradient(to top, transparent, white);
    cursor: pointer;
    border-radius: 4px;
}

.preview {
    width: 60px;
    height: 25px;
    border-radius: 6px;
    border: 1px solid #444;
    display: inline-table;
    vertical-align: middle;
    transform: translateX(-40px);
}

.handle {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid white;
    border-radius: 50%;
    background: none;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 3px black;
}

.handlerIcon {
    width: 25px;
    height: 25px;
    display: inline-table;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.preSelectedColor {
    width: 40px;
    height: 25px;
    display: inline-table;
    background-color: white;
    vertical-align: middle;
    border-radius: 5px;
    margin-left: 7px;
}

.preSelectedColor:hover {
    cursor: pointer;
    opacity: 0.7;
}

.polylineArrowType {
    width: 40px;
    height: 27px;
    display: inline-table;
    background-color: #1e1e1e;
    vertical-align: middle;
    border-radius: 5px;
    margin-left: 7px;
}

.polylineArrowType:hover {
    cursor: pointer;
    opacity: 0.7;
}

.polylineArrowTypeSelect {
    box-shadow: 0 0 2px 2px #FF0000;
}

#tooltipText {
    width: 171px;
    height: 25px;
    border-radius: 5px;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    background-color: #383838;
    background: hsl(from #1e1e1e h s l / 0.50);
    backdrop-filter: blur(12px);
    display: inline-table;
    vertical-align: middle;
    margin-top: 10px;
    margin-bottom: 15px;
}

#tooltipDescText {
    width: 171px;
    min-height: 15px;
    border-radius: 5px;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0px;
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #ccc;
    background-color: #383838;
    background: hsl(from #1e1e1e h s l / 0.50);
    backdrop-filter: blur(12px);
    display: inline-table;
    vertical-align: middle;
    margin-top: 15px;
    margin-bottom: 15px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    resize: none;
    field-sizing: content;
}

#colorText {
    width: 100px;
    height: 25px;
    border-radius: 5px;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
    font-family: monospace;
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
    background-color: #383838;
    background: hsl(from #1e1e1e h s l / 0.50);
    backdrop-filter: blur(12px);
    display: inline-table;
    vertical-align: middle;
}

.confirmColor {
    width: 180px;
    height: 40px;
    border-radius: 6px;
    background-color: #383838;
    background: hsl(from #1e1e1e h s l / 0.50);
    backdrop-filter: blur(12px);
    display: inline-table;
    vertical-align: middle;
    border: none;
    margin-bottom: 15px;
}

.confirmColor:hover {
    cursor: pointer;
    opacity: 0.7;
}




.featureHandler {
    width: 100%;
    height: auto;
    background-color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
    outline: 0;
}

.featureHandler label {
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 14px;
    display: inline-table;
    vertical-align: middle;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.featureHandler div {
    width: 20px;
    height: 20px;
    display: inline-table;
    background-color: white;
    vertical-align: middle;
    border-radius: 5px;
    margin-left: 2px;
}

.featureHandler div:hover {
    cursor: pointer;
    opacity: 0.7;
}

.featureHandler #colorPicker {
    width: 40px;
    height: 20px;
    border: none;
    border-width: 0;
    border-style: none;
    outline: none;
    border-radius: 5px;
    display: inline-table;
    padding: none !important;
    vertical-align: middle;
    margin-left: 2px;
}

.featureHandler #colorPicker:hover {
    cursor: pointer;
    opacity: 0.7;
}

.featureHandler #tooltipText {
    width: 170px;
    height: 20px;
    border-radius: 5px;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    background-color: #383838;
    background: hsl(from #1e1e1e h s l / 0.50);
    backdrop-filter: blur(12px);
}

.logMain {
    max-width: 62rem;
    /* max-width: 52rem; */
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ccc;
    padding-left: 1rem;
    padding-right: 2rem;
}

.logMain h1 {
    margin-bottom: -10px;
}

.logMain h3 {
    margin-bottom: -10px;
}

.logMain a {
    color: red;
}

.pnlm-controls-container {
    top: auto !important;
    bottom: 5px !important;
}

#panorama {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
}

#WIE-main .infoBox {
    position: fixed;
    z-index: 10;
    width: auto;
    height: 65px;
    top: 65px;
    right: 15px;
    background: hsl(from #121212 h s l / 0.80);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
}

#WIE-main .infoBox::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    background: linear-gradient(#121212, #121212) border-box;
    mask: linear-gradient(black, black) border-box,
        linear-gradient(black, black) padding-box;
    mask-composite: subtract;
}

.infoBox .scoreText {
    width: 100px;
    margin-left: 2px;
    margin-right: 2px;
    display: inline-block;
    text-align: center;
    margin-top: -5px
}

.infoBox .scoreText #header {
    font-size: 10px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
}

.infoBox .scoreText #stat {
    font-size: 20px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    transition: color 0.5s ease;
}

.infoBox .scoreText img {
    height: 100%;
    vertical-align: middle;
    transform: rotate(180deg) translateY(-2.5px);
}

.infoBox .scoreText img:hover {
    cursor: pointer;
    opacity: 0.7;
}

#guessHover {
    background-color: transparent;
    width: 20vw;
    height: 75px;
    position: fixed;
    z-index: 9;
    bottom: 10px;
    right: 15px;
    transition: all 0.2s ease;
}

#WIE-map {
    width: 20vw;
    height: 15vw;
    position: fixed;
    z-index: 10;
    bottom: 65px;
    right: 15px;
    border-radius: 15px;
    opacity: 0.8;
    transition: all 0.2s ease;
    background-color: #2c2c2c;
}

#WIE-map-hover {
    width: 20vw;
    height: 15vw;
    position: fixed;
    z-index: 10;
    bottom: 65px;
    right: 15px;
    border-radius: 15px;
    opacity: 0.8;
    transition: all 0.2s ease;
    background-color: #2c2c2c;

    transform: scale(1.5);
    right: calc(5vw + 15px);
    bottom: calc(3.75vw + 65px);
    opacity: 1;
}

.guess {
    width: 20vw;
    height: 45px;
    position: absolute;
    z-index: 10;
    bottom: 10px;
    right: 15px;
    background-color: color-mix(in srgb, #232323 75%, red);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    opacity: 0.8;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.markerPlaced {
    background-color: red;
}

.markerPlaced:hover {
    cursor: pointer;
    border: 2px solid red;
    color: red;
    background-color: color-mix(in srgb, #232323 90%, red);
}

#mapGuessDisplay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 15;
    top: 0;
    background-color: #2c2c2c;
}

.guessDisplayContainer {
    width: 600px;
    height: 100px;
    position: fixed;
    z-index: 15;
    bottom: 0;
    background-color: hsl(from #1e1e1e h s l / 0.70);
    justify-content: center;
    align-items: center;
    display: flex;
    backdrop-filter: blur(12px);
    border-radius: 30px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
    transition: all 0.2s ease;
}

.guessDisplayContainer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  border: solid transparent;
  border-width: 2px;
  background: linear-gradient(#1e1e1e, #1e1e1e) border-box;
  mask: linear-gradient(black, black) border-box,
    linear-gradient(black, black) padding-box;
  mask-composite: subtract;
}

#guessInfo {
    position: absolute;
    margin: auto;
}

#guessInfo #nextRoundBtn {
    width: 250px;
    height: 65px;
    background-color: hsl(from red h s l / 0.70);
    backdrop-filter: blur(12px);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    transition: all 0.2s ease;
    display: inline-table;
    vertical-align: middle;
}

#guessInfo #nextRoundBtn:hover {
    cursor: pointer;
    background-color: hsl(from red h s l / 0.50);
    color: hsl(from white h s l / 0.75);
}

.guessText {
    width: 150px;
    display: inline-table;
    text-align: center;
    vertical-align: middle;
}

.guessText #stat {
    font-size: 30px;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
}

.guessText #header {
    font-size: 10px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

/* #WIE-main #score {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background-color: linear-gradient(hsl(0, 0%, 15%), hsl(0, 0%, 12%)) border-box;
  mask: linear-gradient(black, black) border-box,
    linear-gradient(black, black) padding-box;
  mask-composite: subtract;
} */

#WIE-home {
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    transition: all 0.5s ease;
}

#WIE-home img {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    filter: blur(12px);
    opacity: 1;
    z-index: -1;
}

#WIE-home #greyOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(46, 46, 46);
    opacity: 0.5;
    z-index: -1;
}

#WIE-home #container {
    max-width: 50em;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 100px;
    z-index: 10;
}

#WIE-home #title {
    font-size: 90px;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    padding-top: 100px;
}

#WIE-home #subtext {
    font-size: 20px;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

#WIE-home #optionTitle {
    font-size: 25px;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
}

#WIE-home #optionsContainer {
    background-color: hsl(from #1e1e1e h s l / 0.80);
    display: block;
    width: fit-content;
    margin: auto;
    padding: 5px 7px 5px 7px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    margin-top: 5px;
    border: 2px solid #1e1e1e;
}

.WIE-option {
    display: inline-block;
    padding: 9px 15px 9px 15px;
    border-radius: 12px;
    background-color: #232323;
    border: 1px solid #cccccc80;
    margin-left: 2px;
    margin-right: 2px;
    transition: all 0.2s ease;

    font-size: 15px;
    color: #ccc;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

.WIE-option-selected {
    background-color: color-mix(in srgb, #232323 90%, red);
    border: 1px solid #ff000060;
    
    color: red;
    font-weight: 600;
}

.WIE-option:hover {
    cursor: pointer;
    border: 1px solid #ff000080;
    background-color: #1e1e1e;
}

#WIE-home #play {
    width: 200px;
    height: 75px;
    background-color: red;
    margin: auto;
    margin-top: 50px;
    border-radius: 12px;
    border: none;
    border: 2px solid #ff000080;
    transition: all 0.2s ease;

    font-size: 25px;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
}

#WIE-home #play:hover {
    cursor: pointer;
    background-color: color-mix(in srgb, #232323 90%, red);
    border: 2px solid #ff000080;
    color: red;
}

.pnlm-load-box {
    display: none !important;
}

#panorama.pnlm-container {
    background-image: none;
    background-color: transparent; /* Or set to your desired background color */
}

#WIE-main .leaflet-control-container { 
    position: absolute;
    right: 0px;
}

#mapGuessDisplay .leaflet-control-container {
    top: 50px;
}

#WIE-main .leaflet-top {
    transform: none;
}

#WIE-main .leaflet-container {
    background: #2c2c2c;
}

#WIE-main .leaflet-container:focus {
    outline: none !important;
}

#WIE-main .leaflet-bar a {
    background-color: hsl(from #232323 h s l / 0.70);
    color: #ccc;
    font-weight: 500;
    border-bottom: 1px solid #383838;
    backdrop-filter: blur(12px);
}

#WIE-main .leaflet-bar a:last-child {
    border-bottom: none;
}

#WIE-main .leaflet-bar a:hover {
    background-color: hsl(from #ccc h s l / 0.70);
    color: #000;
    font-weight: 500;
    cursor: pointer;
}

#WIE-main .leaflet-bar a.leaflet-disabled {
    background-color: #383838;
    color: #575757;
}

#WIE-main .leaflet-control-zoom {
    transition: all 0.2s ease;
}

#WIE-map {
    cursor: crosshair;
}

#WIE-map-hover {
    cursor: crosshair;
}

.VS-HistoryDropdown {
    display: none;
    position: absolute;
    z-index: 9999;
    background-color: #252525;
    border: 1px solid #cccccc60;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 260px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    font-family: "Roboto", sans-serif;
}

.VS-TimelineContainer {
    position: relative;
    padding-left: 22px;
}

.VS-TimelineContainer::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background-color: #cccccc30;
}

.VS-TimelineItem {
    position: relative;
    margin-bottom: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: opacity 0.2s ease;
}

.VS-TimelineItem:last-child {
    margin-bottom: 0;
}

.VS-TimelineItem:hover {
    opacity: 1 !important;
}

.VS-TimelineDot {
    position: absolute;
    left: -22px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #252525; 
    border: 2px solid #555;
    box-sizing: border-box;
    transition: all 0.2s ease;
    z-index: 2;
}

.VS-TimelineDot.dot-newest {
    background-color: #ff4d4d;
    border-color: #ff4d4d;
    box-shadow: 0 0 6px rgba(255, 77, 77, 0.5);
}

.VS-TimelineItem:hover .VS-TimelineDot {
    border-color: #ff000080;
    background-color: #ff0000;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

.VS-TimelineItem:hover .VS-TimelineDot.dot-newest {
    border-color: #ff000080;
    background-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.VS-TimelineDate {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
}

.VS-TimelineItem:hover .VS-TimelineDate {
    color: #ffffff;
}

.VS-TimelineOldName {
    display: block;
    width: 100%;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    font-weight: 400;
    font-style: italic;
}

/* Fixed Blur Backdrop Layout Overlay */
#downloadSection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    box-sizing: border-box;
    padding: 20px;
}

/* Modal Adaptive Container */
.export-modal {
    background-color: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    width: 100%;
    max-width: 1100px;
    max-height: 95vh;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.export-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.export-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.close-btn {
    background: none;
    border: none;
    color: #777;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}
.close-btn:hover { color: #fff; }

.canvas-preview-container {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Fixes pixelation: standard smooth scaling handles high-res preview downscaling cleanly */
#downloadChart {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    image-rendering: auto; 
}

/* Action Utility Grouping */
.export-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }

.btn-secondary {
    background-color: #262626;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}
.btn-secondary:hover { background-color: #333; }

.btn-primary {
    background-color: #Ce2029;
    color: #ffffff;
}
.btn-primary:hover { background-color: #e6222c; }