html,
body,
#viewBI,
#viewBIM,
#viewGIS,
#viewInsight,
#viewApp {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#mapbox {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#powerbiReport {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#powerapp {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#golden-layout-container {
    width: 100%;
    height: calc(100% - 60px);
}


.ddmenuitem {
    height: 18px;
    padding-right: 10px;
}

#level-filter {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

#layerSelectContainer {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

#styleSelectContainer {
    position: absolute;
    top: 50px;
    left: 10px;
    z-index: 1;
}

#levelSelect,
#layerSelect,
#styleSelect {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid rgb(204, 204, 204);
    background-color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: medium;
}

/* Style selection UI container */
#styleSelectionContainer {
    display: none;
    position: absolute;
    top: 50px;
    left: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #b3b3b3;
    border-radius: 6px;
    padding: 10px;
    z-index: 10;
    max-width: 415px;
    overflow-x: auto;
}

/* Style selection images grid */
.style-selection-images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

/* Individual style option */
.style-option {
    cursor: pointer;
    text-align: center;
}

/* Style option image */
.style-option img {
    width: 90px;
    height: 90px;
    display: block;
    margin: 0 auto 4px auto;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border 0.2s;
}

.style-option img:hover {
    border: 2px solid #0078d4;
    /* Highlight on hover */
}

.style-option div {
    width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Highlight selected style */
.style-option img.selected-style {
    border: 2px solid #0078d4;
}

/* Style option label */
.style-option div {
    font-size: 12px;
}

#layerSelectionContainer {
    display: none;
    position: absolute;
    top: 10px;
    left: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #b3b3b3;
    border-radius: 6px;
    padding: 10px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.mapboxgl-ctrl-resetview img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}