.modal-stoerer-container {
    display: flex;
    position: fixed;
    right: 0;
    bottom: 32px;
    z-index: 999;
    -webkit-transition: right .3s ease-out;
    -moz-transition: right .3s ease-out;
    -o-transition: right .3s ease-out;
    transition: right .3s ease-in-out;
}

.modal-stoerer-container.blurred {
    z-index: 899;
}

.modal-stoerer-container.close {
    right: -360px;
}

.modal-stoerer-label {
    background-color: var(--background-paper);
    align-self: flex-start;
    /*box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.05), 0px 10px 15px 0px rgba(0, 0, 0, 0.1);*/
    padding: 24px 16px;
    border-radius: 24px 0 0 24px;
    position: absolute;
    top: 0;
    right: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-size: 16px;
    line-height: 32px;
    -webkit-tap-highlight-color: transparent;
    height: calc(100% - 21px);
}

/*.modal-stoerer-label:after {*/
/*    content: '';*/
/*    height: 100%;*/
/*    width: 5px;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: -5px;*/
/*    background-color: var(--background-paper);*/
/*}*/

.modal-stoerer-container .modal-stoerer-label svg {
    transform: rotate(0deg);
    -webkit-transition: transform .3s ease-out;
    -moz-transition: transform .3s ease-out;
    -o-transition: transform .3s ease-out;
    transition: transform .3s ease-in-out;
    flex-shrink: 0;
}

.modal-stoerer-container.close .modal-stoerer-label svg {
    transform: rotate(-180deg);
}

.modal-stoerer-container.close .modal-stoerer-label svg rect {
    fill: var(--action-active);
    stroke: var(--action-active);
}

.modal-stoerer-container.close .modal-stoerer-label svg path {
    fill: var(--action-disabledBackground);
}

.modal-stoerer-label__text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.modal-stoerer-content {
    padding: 24px;
    border-radius: 0 24px 24px 24px;
    box-shadow: var(--shadow--large);
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: var(--background-paper);
    min-height: 300px;
}

.modal-stoerer-content svg {
    margin-bottom: -8px;
}

.modal-stoerer__description {
    font-size: 16px;
    line-height: 32px;
    color: var(--text-secondary);
}

.modal-stoerer__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-stoerer__button.button-fill,
.modal-stoerer__button.button-outline {
    width: 100%;
    justify-content: center;
}

/* Layout Tablet */
@media (max-width: 904px) {
    .modal-stoerer-container {
        flex-direction: column;
        left: 0;
        bottom: 0;
        right: unset;
        transform: translateY(0);
        -webkit-transition: transform .3s ease-out;
        -moz-transition: transform .3s ease-out;
        -o-transition: transform .3s ease-out;
        transition: transform .3s ease-in-out;
        max-width: 375px;
        width: 100%;
    }

    .modal-stoerer-container.close {
        right: unset;
        transform: translateY(calc(100% - 64px));
    }

    .modal-stoerer-label {
        flex-direction: row;
        position: static;
        border-radius: 24px 24px 0 0;
        padding: 16px 16px 8px;
        margin-right: 21px;
    }

    .modal-stoerer-label:after {
        content: none;
    }

    .modal-stoerer-label__text {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        order: 2;
    }

    .modal-stoerer-container .modal-stoerer-label svg {
        width: 40px;
        height: 40px;
        transform: rotate(90deg);
    }

    .modal-stoerer-container.close .modal-stoerer-label svg {
        transform: rotate(-90deg);
    }

    .modal-stoerer-content {
        padding: 16px;
        border-radius: 0 24px 0 0;
        min-height: auto;
        max-width: 375px;
        width: 100%;
    }

    .modal-stoerer__description {
        font-size: 14px;
        line-height: 24px;
    }

    .modal-stoerer__button.button-fill,
    .modal-stoerer__button.button-outline {
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
        padding: 4px 16px;
    }
}
