
.custom-button-blocks-container_fixed {
    position: fixed!important;
    z-index: 10000!important;
    right: 0!important;
    top: 350px;
}

.custom-button-blocks__container.custom-button-blocks-container_fixed {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.custom-button-blocks__container.custom-hide {
    display: none;
}
.custom-button-blocks__button {
    display: block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all .2s ease-out;
    color: var(--custom-button-blocks-button-text-color, #fff) !important;
    border: 1px solid var(--custom-button-blocks-button-color, #d34085);
    background-color: var(--custom-button-blocks-button-color, #d34085);
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    overflow: hidden;
    position: relative;
    opacity: 0.65;
}

.custom-button-blocks__button:hover,
.custom-button-blocks__button:focus {
    color: var(--custom-button-blocks-button-text-color, #fff) !important;
    filter: brightness(105%);
    text-decoration: none !important;
}

.custom-button-blocks__button_shadow {
    box-shadow: 1.7px 5.8px 21px 0 var(--custom-button-blocks-button-alpha-color, var(--custom-button-blocks-button-color));
}

.custom-button-blocks__button_blicked:after {
    content: '';
    position: absolute;
    top: -50%;
    bottom: -50%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.6) 100%);
    width: 45px;
    transform: skewX(-22deg);
    left: -65%;
    animation-name: blick;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

@keyframes blick {
    60% { left: 100% }
    to { left: 130% }
}

.custom-button-blocks__button_rounded {
    border-radius: 50px;
}

.custom-button-blocks__button_fixed {
    transition: none;
    height: 48px;
    line-height: 1.5;
    box-sizing: border-box;
    white-space: nowrap;
    display: -ms-inline-flexbox;
    display: inline-flex;
    padding: 7px 20px 7px 7px;
    font-size: 19px;
}

.custom-button-blocks__button_fixed span {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}

.custom-button-blocks-button_text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 768px) {
    .custom-button-blocks-container_fixed {
        top: 100px;
    }
    .custom-button-blocks__button_fixed {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
        transform: none !important;
        width: 55px;
        height: 55px;
        line-height: 55px;
        border-radius: 50px !important;
        bottom: 20px;
        top: auto !important;
    }

    .custom-button-blocks__button_fixed-left {
        left: 15px !important;
        padding: 0 !important;
    }

    .custom-button-blocks__button_fixed-right {
        right: 15px !important;
        left: auto !important;
        padding: 0 !important;
    }

    .custom-button-blocks__button_fixed .custom-button-blocks__text,
    .custom-button-blocks__button_fixed .script__buttonText {
        display: none;
    }
}

.custom-button-blocks__button_fixed.custom-button-blocks__button_rounded {
    border-radius: 0 0 10px 10px;
}

.custom-button-blocks__button_fixed.custom-button-blocks__button_shadow {
    box-shadow: 1.7px 5.8px 21px 0 var(--custom-button-blocks-button-alpha-color, var(--custom-button-blocks-button-color));
}

.custom-button-blocks__button_fixed-left {
    position: fixed;
    left: 0;
    transform: rotate(-90deg) translate(-40.2%, 0%);
    transform-origin: calc(0% - 1px) 0%;
    top: 50%;
    z-index: 99999;
    border-radius: 4px;
}

.custom-button-blocks__button_fixed-left.custom-button-blocks__button_rounded {
    border-radius: 0 0 4px 4px;
}

.custom-button-blocks__button_fixed-right {
    position: fixed;
    left: calc(100% - 48px);
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    transform: rotate(-90deg) translate(-40.2%, 0%);
    transform-origin: calc(0% - 1px) 0%;
    top: 50%;
    padding: 7px 20px 7px 7px;
    z-index: 99999;
}

.custom-button-blocks__button_fixed-right.custom-button-blocks__button_rounded {
    border-radius: 4px 4px 0 0;
}

.custom-button-blocks__button_fixed .icon-quiz {
    height: 32px;
    width: 32px;
    padding: 7px 5px 7px 7px;
    border-radius: 4px;
    background: var(--color-text, #fff);
    box-sizing: border-box;
    transform: rotate(90deg);
    margin-right: 12px;
}

.custom-button-blocks__button_fixed .icon-quiz path {
    fill: var(--color, var(--custom-button-blocks-button-color, #d34085));
}

@media (max-width: 768px) {
    .custom-button-blocks__button_fixed .icon-quiz {
        height: 30px;
        width: 30px;
        margin-right: 0 !important;
        transform: rotate(0) !important;
    }
}

.custom-button-blocks__button_red {
    background-color: #f86c6b;
    border-color: #f86c6b;
}

.custom-button-blocks__button_yellow {
    background-color: #f8cb00;
    border-color: #f8cb00;
    color: #000;
}

.custom-button-blocks__button_yellow:hover,
.custom-button-blocks__button_yellow:focus {
    color: #000;
}

.custom-button-blocks__button_blue {
    background-color: #20a8d8;
    border-color: #20a8d8;
}

.custom-button-blocks__button_green {
    background-color: #4dbd74;
    border-color: #4dbd74;
}

/* Дополнительные стили для ваших кнопок */
.custom-button-blocks-button_left {
    margin-top: 15px;
    --custom-button-blocks-button-color: #f2722c;
    --custom-button-blocks-button-text-color: #ffffff;
    --custom-button-blocks-button-alpha-color: false;
}

.custom-button-blocks-button_right {
    margin-top: 15px;
    --custom-button-blocks-button-color: #208142;
    --custom-button-blocks-button-text-color: #ffffff;
    --custom-button-blocks-button-alpha-color: false;
}
