/* SIDEBAR � zwevend, geen invloed op viewer */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: #f5f5f5;
    color: #333;
    box-sizing: border-box;
    z-index: 2000;
    border-right: 1px solid #ddd;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px; /* kies jouw ideale grootte */
}

/* Rechthoekige slider */
.sidebar input[type="range"] {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px; /* EXTRA RUIMTE */
    height: 6px;
    background: #555;
    border-radius: 0; /* geen ronding */
    appearance: none;
}

/* Rechthoekige thumb */
.sidebar input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: hsl(181, 100%, 40%); /* turquoise */
    border-radius: 4px;
    cursor: pointer;
}

.sidebar input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: hsl(181, 100%, 40%); /* turquoise */
    border-radius: 4px;
    cursor: pointer;
}

.sidebar input[type="range"] {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    height: 6px;
    background: #fff; /* WIT TRACK */
    border-radius: 0;
    appearance: none;
}

.sidebar button {
    width: 100%;
    padding: 10px 12px;
    background: turquoise;
    color: #000;
    margin-bottom: 8px; /* ruimte tussen knoppen */
    border: none;
    border-radius: 4px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.sidebar label {
    display: block;
    margin-bottom: 4px;
}

.sidebar label input[type="checkbox"] {
    margin-right: 6px;
}

.sidebar button:hover {
    background: #e8f0fe; /* Google Maps hover-blauw */
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* VIEWPORT � blijft fullscreen */
.viewport {
    position: fixed;
    left: 0;   /* blijft 0! */
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #111;
    background:  #e8f0fe; 
}

/* MAP WRAPPER */
.map-wrapper {
    position: absolute;
    transform-origin: top left;
}

/* MAP + OVERLAYS */
#map,
.overlay {
    display: block;
    pointer-events: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#departementList {
    margin-top: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    color: hsl(181, 100%, 40%); 
}

.dep-item {
    padding: 4px 0;
}

.regio-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.regioBtn {
    width: 100%;
    padding: 6px 8px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #f7f7f7;
    border-radius: 4px;
    text-align: left;
}

.regioBtn:hover {
    background: #eaeaea;
}
