body {
    font-family: sans-serif;
    background-color: #1e2024;
    color: #fff;
    display: flex;
    margin: 0;
    height: 100vh;
    width: 100vw;
}

footer {
    background: black;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    width: 100vw;
    height: 60px;
    z-index: 1;
    opacity: 0.75;
}

#panel {
    z-index: 1;
    box-sizing: border-box;
    flex: 1;
    overflow: auto;
    flex-direction: column;
    color: #fff;
    padding: 10px;
    width: 25vh;
    height: calc(100vh - 60px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    height: 40px;
    background-color: #4d4c4c;
    color: #ffffff;
    border: none;
    text-align: center;
    font-size: 15px;
    transition:
        opacity,
        color,
        background-color 0.5s;
}
.btn:hover {
    background-color: #9e9e9e;
}

.choice {
    height: 40px;
    width: 50%;
    background-color: #4d4c4c;
    border: none;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    height: 40px;
    transition:
        color,
        background-color 0.5s;
    cursor: pointer;
}

.text-feefback {
    width: 60%;
    line-height: 40px;
    border: none;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    height: 40px;
}

#ttl {
    display: flex;
    align-items: center;
}

#logo {
    width: 100px;
    height: 100px;
}

#name {
    flex: 1;
}

#docref {
    padding-left: 5px;
}

#coord-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#select-road-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#roadnet-label {
    width: 50%;
}

#edit-road-container {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
#edit-road-container button {
    flex: 1;
    font-size: 15px;
    height: 40px;
    border: none;
    transition:
        opacity,
        color,
        background-color 0.5s;
}

.active {
    padding: 10px 50px;
    background-color: #bbb;
}
.inactive {
    color: #fff;
    background-color: #4d4c4c;
}

#x-container {
    width: 100%;
    display: flex;
    align-items: center;
}

#x-intro {
    width: 25%;
}
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 65%;
    height: 12px;
    background: #4d4c4c;
    outline: none;
    -webkit-transition: 0.5s;
}
.slider:hover {
    background-color: #9e9e9e;
}
.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #fff;
    outline: none;
}
#x-outro {
    width: 10%;
    text-align: right;
}

/*===================== KPIs =================== */

#select-kpi-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}
#select-kpi-label {
    width: 50%;
}

.kpi-result-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-feedback {
    text-align: right;
    max-width: 50%;
}

#hit-chart {
    height: 100%;
    width: 100%;
    padding: 0px;
}

#map {
    z-index: 1;
    box-sizing: border-box;
    flex: 3;
}

#imgarray {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping to the next line */
}

.footerimg {
    padding: 10px;
    height: 35px;
}

#iedlref {
    margin: 10px;
}

#loader-container {
    display: none;
    text-align: center;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0.5;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid;
    border-radius: 50%;
    border-top: 16px solid #000000;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

a {
    color: white;
}

a:visited {
    color: white;
}
