:root{
    --floorSelectorSize:29px;
    --floorSelectorColor:#FFFFFF;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    left:0;
}

#floorSelectorContainer{
    position: absolute;
    top: 8px;
    right: 45px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    /* gap: 2px; */
    background-color: #00000011;
    padding: 2px;
    border-radius: 5px;
}

.floorSelector{
    width: var(--floorSelectorSize);
    height: var(--floorSelectorSize);
    text-align: center;
    background-color: var(--floorSelectorColor);
    /* border-radius: 5px; */
    font-size: large;
    line-height: var(--floorSelectorSize);
}

#floorNumberSelect {
    appearance: none;
    text-align: center;
    width: var(--floorSelectorSize);
    height: var(--floorSelectorSize);
    background-color: var(--floorSelectorColor);
    border:none;
    /* border-radius: 5px; */
    cursor: pointer;
}

#floorUpBtn{
    border-radius: 5px 5px 0 0;
    cursor: pointer;
}
#floorDownBtn{
    border-radius: 0 0 5px 5px;
    cursor: pointer;
}






#style-selector-container {
    position: absolute;
    top: 10px;
    /* left: 10px; */
    right: 85px;
    z-index: 1000; /* Über der Map */
}

#style-selector-btn {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#style-selector-btn:hover {
    background: #f0f0f0;
}

.style-popup-hidden {
    display: none;
}

#style-popup {
    position: absolute;
    /* top: 45px;
    left: 0; */
    top: 0px;
    right: 45px;
    width: 200px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 5px 0;
    max-height: 400px;
    overflow-y: auto;
}

/* Einzelne Style-Option im Popup */
.style-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.style-option:hover {
    background-color: #f5f5f5;
}

.style-option img {
    width: 50px;
    height: 30px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 12px;
    border: 1px solid #eee;
}

.style-option span {
    font-family: sans-serif;
    font-size: 14px;
    color: #333;
}




.disabled{
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}