﻿html,
body {
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

#map {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    height: 100vh;
    width: 100vw;
}

.custom-div button.selected {
   background-color: #f8f9fa;
}

.static-feedback-desktop {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2100;
    max-width: 350px;
}

@media (max-width: 767.98px) {
    .static-feedback-desktop {
        display: none !important;
    }
}

/* Scrollbar för enkätfrågor - endast fråge-området scrollar */
.survey-questions-scroll {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1);
}

/* Snyggare scrollbar för webkit-browsers (Chrome, Edge, Safari) */
.survey-questions-scroll::-webkit-scrollbar {
    width: 8px;
}

.survey-questions-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.survey-questions-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.survey-questions-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Responsiv anpassning för mindre skärmar */
@media (max-width: 767.98px) {
    .survey-questions-scroll {
        max-height: 40vh;
    }
}

@media (min-width: 768px) and (max-height: 600px) {
    .survey-questions-scroll {
        max-height: calc(100vh - 180px);
    }
}
