.feedback-popup {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    max-width: 503px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding: 30px;
    margin: auto;
    background-color: #ffffff;
    background-color: var(--white-color, #ffffff);
    border-radius: 10px;
    border-radius: var(--main-radius, 10px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.feedback-popup .feedback-popup__content-form.hidden {
    display: none;
}

.feedback-popup .feedback-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.feedback-popup .feedback-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.feedback-popup form button[type=submit] {
    margin-top: 16px;
}

.feedback-popup .feedback-popup__agreement {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 16px;
    color: #78909C;
    color: var(--grey-color, #78909C);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 15.6px;
}

.feedback-popup .feedback-popup__agreement a {
    color: #0065DC;
    color: var(--blue-color, #0065DC);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 15.6px;
    text-decoration-line: underline;
}

.feedback-popup .alert {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .feedback-popup {
        width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: -webkit-fit-content;
        min-height: -moz-fit-content;
        min-height: fit-content;
        padding: 20px;
        border-radius: 0;
    }
}

.feedback-popup:has(form[target^="formTarget"]):before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 5;
    opacity: 0.8;
}

.feedback-popup:has(form[target^="formTarget"])::after {
    content: '';
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    border: 6px solid rgb(0 87 188 / 25%);
    border-top-color: #0057BC;
    border-radius: 50%;
    animation: feedbackPopupLoading 1s linear infinite;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    z-index: 10;
}

@keyframes feedbackPopupLoading {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}