:root {
    --form-range-track-bg: red;
}

body {
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

#style-generator {
    position: absolute;
    bottom: 0px;
}

.btn-gen {
    height: 36px;
    width: 240px;
    background-color: hsla(0, 0%, 15%, 0.8);
    border-radius: 10px;
    border: 0;
    color: white;
    font-weight: 600;
}

.btn-gen:hover {
    cursor: pointer;
    background-color: hsla(0, 0%, 10%, 0.8);
}

#range-container {
    visibility: hidden;
    width: 370px;
}

/* Custom slider color */
#range::-webkit-slider-thumb {
  background-color: hsl(0, 0%, 15%); /* Bootstrap primary blue */
}

#range::-webkit-slider-thumb:hover {
  background-color: hsla(0, 0%, 15%);
}

/* For Firefox */
#range::-moz-range-thumb {
  background-color: hsl(0, 0%, 15%);
}

#range::-moz-range-thumb:hover {
  background-color: hsl(0, 0%, 15%);
}

/* For IE / Edge */
#range::-ms-thumb {
  background-color: hsl(0, 0%, 15%);
}

#range::-moz-range-track {
  background-color: hsla(0, 0%, 15%, 0.3);
}

#range::-webkit-slider-runnable-track {
  background-color: hsla(0, 0%, 15%, 0.3);
}

.form-label {
    font-weight: 600;
}

.basemap-switcher {
position: absolute;
bottom: 30px;
right: 10px;
display: flex;
flex-direction: row;
gap: 8px;
background: transparent;  
padding: 0;
border-radius: 0;
box-shadow: none;         
font-family: sans-serif;
}

@media only screen and (max-width: 1100px) {
    .basemap-switcher {
        top: 10px;
        left: 10px;
        right: 50px;
        bottom: auto;
    }
}

.basemap-option {
display: flex;
flex-direction: column;
align-items: center;
border: 2px solid hsla(0, 0%, 0%, 0.2);
border-radius: 6px;
cursor: pointer;
overflow: hidden;
background: white;
width: 90px;
}

.basemap-option img {
width: 100%;
height: 60px;
object-fit: cover;
display: block;
}

.basemap-option span {
font-size: 12px;
padding: 4px;
text-align: center;
}

.basemap-option:hover {
border-color: #aaa;
}

.basemap-option.active {
border-color: #0078ff;
}
