.feedbackPL-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 30;
}

.dialog-box {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.feedbackPL .btn {
    border: 0;
    margin: 0;

    background-color: #2e62c5;
    color: #ffffff;
    -webkit-appearance: button;
    cursor: pointer;
    padding: 10px 25px 11px;
    font-weight: bold;
    border-radius: 2px;
    transition-duration: 200ms;
}

.feedbackPL .btn:hover, .feedbackPL .btn:active, .feedbackPL .btn:focus {
    background-color: #3f72d2;
    border-color: #3f72d2;
}

.feedbackPL .feedbackPL-icon-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transform: rotate(0deg);
    transition-duration: 500ms;
    display: flex;
    justify-content: center;
}

.feedbackPL .feedbackPL-icon-close:hover {
    transform: rotate(180deg);
}

.feedbackPL .feedbackPL-icon-close span, .feedbackPL .feedbackPL-icon-close img {
    width: 30px;
    height: 30px;
    font-size: 30px;
}

.feedbackPL {
    --font-color: var(--color-passive);
    --color-passive: rgba(119, 119, 119, 0.8);
    --height-input: 50px;
    --color-active: #494949;
}

.feedbackPL-area {
    position: fixed; /* Фиксированное позиционирование */
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Тень для эффекта */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Центрирование */
    z-index: 31;
    padding: 50px;
    color: #757575;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feedbackPL-area .title {
    font-weight: 700;
    font-size: 1.5rem;
}

.feedbackPL-area .description {
    color: #777777;
    font-size: 0.7rem;
}

.feedbackPL .form-input {
    position: relative;
    width: 100%;
}

.feedbackPL .form-input input::placeholder {
    opacity: 0;
}

.feedbackPL .form-input input {
    width: 100%;
    height: var(--height-input);
    font-size: 1.2rem;
    padding: 10px;
    outline: none;
    border: 1px solid var(--color-passive);
    box-sizing: border-box;
    border-radius: 2px;
}

.feedbackPL .form-input label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--font-color);
    letter-spacing: 1px;
    transition: 0.15s linear;
    font-family: "Roboto", sans-serif;
}

.feedbackPL .form-input input:focus + label,
.feedbackPL .form-input input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.6rem;
    /*color: var(--color-active);*/
    background: #fff;
    padding: 0 7px;
    line-height: 5px;
}

.feedbackPL .form-input input:focus {
    border: 1px solid var(--color-active);
}

.feedbackPL .form-input input.error {
    animation: shake-error 0.75s ease-in-out;
}

.feedbackPL .form-input .phone-error {
    font-size: 0.7rem;
    line-height: 0.7rem;
    color: rgba(255, 0, 0, 0.85);
}

@keyframes shake-error {
    0%, 100% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    0%, 20% {
        border: 1px solid rgb(255, 0, 0);
        color: rgb(255, 0, 0);
    }
    20%, 40% {
        border: 1px solid rgba(255, 0, 0, 0.85);
        color: rgba(255, 0, 0, 0.85);
    }
    40%, 60% {
        border: 1px solid rgba(255, 0, 0, 0.7);
        color: rgba(255, 0, 0, 0.7);
    }
    60%, 80% {
        border: 1px solid rgba(206, 61, 61, 0.7);
        color: rgba(206, 61, 61, 0.7);
    }
    80%, 100% {
        border: 1px solid rgba(119, 119, 119, 0.7);
        color: rgba(119, 119, 119, 0.7);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translateX(-10px);
        -ms-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translateX(10px);
        -ms-transform: translateX(10px);
        transform: translateX(10px);
    }
}

.shake {
    -webkit-animation-name: shake;
    animation-name: shake;
}

.buttons-feedbackPL {
    --size-btn: 50px;
    --main-btn: 70px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
}

.btn-feedbackPL  {
    cursor: pointer;
    border-radius: 50%;
    background-color: #2e62c5;
    color: white;
    width: var(--size-btn);
    height: var(--size-btn);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.7s all ease, margin-bottom 250ms ease;
    z-index: 900;
    margin-bottom: 10px;
    position: relative;
    transition-delay: 800ms;
}

.buttons-feedbackPL a {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center; /* Выровнять по вертикали */
}

.buttons-feedbackPL .btn-feedbackPL-description {
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0px;
    height: var(--size-btn);
    font-size: 0rem;
    right: calc((var(--size-btn)/2)*-1);
    border-top-left-radius: calc(var(--size-btn)/2);
    border-bottom-left-radius: calc(var(--size-btn)/2);
    background-color: #2e62c5;
    transition: 0.7s all ease, margin-bottom 250ms ease;
    margin-bottom: calc((var(--size-btn) * -1) - (var(--main-btn) - var(--size-btn)));
}

a:hover .btn-feedbackPL, a:hover #btn-wow-feedbackPL:hover {
    -webkit-animation: hoverWaveCallback linear 1s infinite !important;
    animation: hoverWaveCallback linear 1s infinite !important;
}

.buttons-feedbackPL .btn-feedbackPL {
    margin-bottom: -70px;
}

.buttons-feedbackPL a:nth-last-child(2) div {
    transition-delay: 0ms;
}

.buttons-feedbackPL a:nth-last-child(3) div {
    transition-delay: 100ms;
}

.buttons-feedbackPL a:nth-last-child(4) div{
    transition-delay: 200ms;
}

.buttons-feedbackPL a:nth-last-child(5) div{
    transition-delay: 300ms;
}

.buttons-feedbackPL a:nth-last-child(6) div{
    transition-delay: 400ms;
}

.buttons-feedbackPL a:nth-last-child(7) div{
    transition-delay: 500ms;
}

.buttons-feedbackPL a:nth-last-child(8) div{
    transition-delay: 600ms;
}

/* START анимация при клике на иконку */
.open-buttons-feedbackPL div {
    margin-bottom: 10px !important;
}
.open-buttons-feedbackPL #btn-wow-feedbackPL {
    -webkit-animation: none;
    animation: none;
    background-color: #3f72d2;
}
.open-buttons-feedbackPL .btn-feedbackPL-description {
    width: 300px;
    font-size: calc(var(--size-btn)/3);
    font-weight: 700;
    color: white;
    -webkit-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.75);
}
.open-buttons-feedbackPL #btn-wow-feedbackPL {
    width: var(--size-btn);
    height: var(--size-btn);
}
/* END анимация при клике на иконку */

@media (pointer: fine) {
    .buttons-feedbackPL:hover div {
        margin-bottom: 10px;
    }

    .buttons-feedbackPL:hover #btn-wow-feedbackPL {
        -webkit-animation: none;
        animation: none;
        background-color: #3f72d2;
    }

    .buttons-feedbackPL:hover .btn-feedbackPL-description {
        width: 300px;
        font-size: calc(var(--size-btn)/3);
        font-weight: 700;
        color: white;
        -webkit-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.75);
    }

    .buttons-feedbackPL:hover #btn-wow-feedbackPL {
        width: var(--size-btn);
        height: var(--size-btn);
    }

}

@media only screen and (width: 1300px)/*(hover: none) and (pointer: coarse)*/ {
    .buttons-feedbackPL a:nth-last-child(1) .btn-feedbackPL {
        transition-delay: 0ms;
    }

    .buttons-feedbackPL a:nth-last-child(2) .btn-feedbackPL {
        transition-delay: 100ms;
    }

    .buttons-feedbackPL a:nth-last-child(3) .btn-feedbackPL{
        transition-delay: 200ms;
    }

    .buttons-feedbackPL a:nth-last-child(4) .btn-feedbackPL{
        transition-delay: 300ms;
    }

    .buttons-feedbackPL a:nth-last-child(5) .btn-feedbackPL{
        transition-delay: 400ms;
    }

    .buttons-feedbackPL a:nth-last-child(6) .btn-feedbackPL{
        transition-delay: 500ms;
    }

    .buttons-feedbackPL a:nth-last-child(7) .btn-feedbackPL{
        transition-delay: 600ms;
    }

    .buttons-feedbackPL a:nth-last-child(8) .btn-feedbackPL{
        transition-delay: 700ms;
    }
}

#btn-wow-feedbackPL {
    background-color: #f26522;
    -webkit-animation: hoverWaveCallback linear 1s infinite;
    animation: hoverWaveCallback linear 1s infinite;
    z-index: 999;
    margin-bottom: 0;
    width: var(--main-btn);
    height: var(--main-btn);
    transition-delay: 0ms;
}

#btn-wow-feedbackPL span {
    width: 30px;
    height: 30px;
}
#close-buttons-feedbackPL {
    display: none;
}
#close-buttons-feedbackPL .btn-feedbackPL {
    background-color: red;
    font-size: 5px;
    width: 35px;
    height: 35px;
    animation: none;
}
#close-buttons-feedbackPL .btn-feedbackPL span {
    font-size: 15px;
    width: 15px;
    height: 15px;
    animation: none;
}

.no-hover {
    pointer-events: none; /* Отключаем все hover-эффекты */
}

@media only screen and (hover: none) and (pointer: coarse) {
    #close-buttons-feedbackPL {
        display: flex;
    }
}

@media only screen and (max-width: 991px) {
    .buttons-feedbackPL {
        right: 5vw;
        bottom: 5vw;
    }
}

@media only screen and (min-width: 1399px) {
    #btn-wow-feedbackPL {
        /*right: calc(((100vw - 1399px) / 2) + 50px);*/
    }
}

.btn-feedbackPL span, .btn-feedbackPL img {
    transition: 0.3s ease-in-out;
    animation: 1200ms ease 0s normal none 1 running shakecallback;
    animation-iteration-count: infinite;
    width: 30px;
    height: 30px;
    font-size: 30px;
}

/* START алерт */
.alert {
    --line-height-result: 3rem;
    transition-duration: 200ms;
    line-height: var(--line-height-result);
    font-size: 1.1rem;
    z-index: 999;
    transform: scale(1);
}

#result_success {
    position: fixed;
    bottom: 50px;
    width: 100vw;
}

#result_success.close {
    transform: scale(0);
}

#result_success .result-block {
    position: relative;
    margin: 0 auto;
    width: 80vw;
    padding: 30px;
    border: 1px solid rgba(247, 247, 247, 73%);
    background-color: rgba(13, 13, 13, 64%);
    box-shadow: 0px 0px 2px #259c08;
    color: #dfdfdf;
    text-shadow: 2px 1px #00040a;
    transition: 0.5s;
    cursor: pointer;
}

#result_success .result-block:before {
    content: '';
    position: absolute;
    width: 0;
    border-left: 1px solid;
    border-right: 2px solid;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    height: 20px;
}

#result_success .animated-tada {
    margin-right: var(--line-height-result);
    width: var(--line-height-result);
    height: var(--line-height-result);
    font-size: 3rem;
    animation: tada 2s linear infinite;
}


#result_success .button-close {
    position: absolute;
    right: 30px;
    line-height: var(--line-height-result);
    font-size: calc(var(--line-height-result) / 2);
    -webkit-animation: blink-1 2s infinite both;
    animation: blink-1 2s infinite both;
}

@-webkit-keyframes blink-1 {
    0%,
    50%,
    100% {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0;
    }
}

@keyframes tada {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    10%, 20% {
        -webkit-transform: scale(.9) rotate(-8deg);
        transform: scale(.9) rotate(-8deg);
    }
    30%, 50%, 70% {
        -webkit-transform: scale(1.3) rotate(8deg);
        transform: scale(1.3) rotate(8deg);
    }
    40%, 60% {
        -webkit-transform: scale(1.3) rotate(-8deg);
        transform: scale(1.3) rotate(-8deg);
    }
    100%, 80% {
        -webkit-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0);
    }
}

/* END алерт */

@keyframes hoverWaveCallback {
    0% {
        box-shadow: 0 8px 10px rgba(253, 31, 35, 0.7), 0 0 0 0 rgba(253, 31, 35, 0.2), 0 0 0 0 rgba(253, 31, 35, 0.2);
    }
    40% {
        box-shadow: 0 8px 10px rgba(253, 31, 35, 0.7), 0 0 0 15px rgba(253, 31, 35, 0.2), 0 0 0 0 rgba(253, 31, 35, 0.2);
    }
    80% {
        box-shadow: 0 8px 10px rgba(253, 31, 35, 0.7), 0 0 0 30px rgba(253, 31, 35, 0), 0 0 0 26.7px rgba(253, 31, 35, 0.067);
    }
    100% {
        box-shadow: 0 8px 10px rgba(253, 31, 35, 0.7), 0 0 0 30px rgba(253, 31, 35, 0), 0 0 0 40px rgba(253, 31, 35, 0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translate(0) rotate(0deg)
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate(0.1em) rotate(0.5deg)
    }
    20%, 40%, 60%, 80% {
        transform: translate(-0.1em) rotate(-0.5deg)
    }
}

@keyframes shakecallback {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }
    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }
    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }
    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }
    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }
    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }
    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }
    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }
    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }
    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@media only screen and (max-width: 991px) {
    #result_success .animated-tada {
        margin-right: unset;
    }

    #result_success .result-block {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
    }
}

@media only screen and (max-width: 500px) {
    .feedbackPL-area {
        width: 100%;
        box-sizing: border-box;
    }
}