.settings-popup {
    position: fixed;
    flex-shrink: 0;
    width: 64px;
    max-width: fit-content;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.setpop-primary {
    background-color: #ddd;
    border-radius: 20px;
    cursor: pointer;
    padding: 0.25rem;
}

.setpop-secondary {
    position: relative;
    padding: 0;
    margin: 0;
    text-align: right;
}

.setpop-secondary a {
    cursor: pointer;
}

.setpop-primary a img {
    width: 64px;
    height: 64px;
}


.setpop-secondary a img {
    width: 16px;
    height: 16px;
    margin: 0;
    transition: all 0.15s; /* Kürzere Transition-Dauer für schnellere Animation */
}

.setpop-secondary a .title {
    display: none;
    position: relative;
    background-color: #fff;
    border-radius: 3px;
    border-width: 10px;
    border-left: 4px solid #9effff !important;
    border-bottom: 2px solid #9effff !important;
    /*box-shadow: -1px 1px 6px 0px #777;*/
    box-shadow: -3.5px 2.5px 5px 0px #777;
}

.settings-popup.active .setpop-secondary {
    background: linear-gradient(to left, #BDC9D4 0%, rgba(189 201 212 / 0) 90%);
    border-radius: 3px;
    border-width: 10px;
    border-right: 4px solid #aaa !important;
    padding-right: 0.1rem !important;
}

.settings-popup.active .setpop-secondary a img {
    width: 32px;
    height: 32px;
}

.settings-popup.active .setpop-secondary a .title {
    display: block;
    right: 0;
}

@media (max-width: 900px) {
    .settings-popup {
        width: 32px !important;
        bottom: none;
        right: none;
        left: 0.3rem;
        top: 0.3rem;
    }

    .setpop-primary {
        border-radius: 10px;
        padding: 0.1rem;
    }

    .setpop-secondary {
        position: relative;
        text-align: left !important;
    }

    .settings-popup.active .setpop-secondary {
        background: linear-gradient(to right, #BDC9D4 0%, rgba(189 201 212 / 0) 90%) !important;
        border-radius: 3px;
        border-width: 10px;
        border-left: 4px solid #aaa !important;
        padding-left: 0.1rem !important;
        border-right: none !important;
        padding-right: 0 !important;
    }

    .setpop-secondary a .title {
        font-size: 11px !important;
    }

    .setpop-primary a img {
        width: 32px;
        height: 32px;
    }
    .setpop-secondary a img {
        width: 4px;
        height: 4px;
    }
}
