.ms-review-thanks {
    position: fixed;
    inset: 0;
    z-index: 7000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

.ms-review-thanks.is-open {
    display: flex;
}

.ms-review-thanks__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.58);
    backdrop-filter: blur(6px);
}

.ms-review-thanks__window {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 390px;
    padding: 28px 22px 24px;
    border-radius: 28px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    animation: msReviewThanksShow 0.22s ease;
    box-sizing: border-box;
}

.ms-review-thanks__close {
    position: absolute;
    top: 12px;
    right: 14px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;

    background: #f2f4f7;
    color: #344054;

    font-size: 0;
    line-height: 1;

    cursor: pointer;
    box-sizing: border-box;

    appearance: none;
    -webkit-appearance: none;
}

.ms-review-thanks__close::before {
    content: "×";
    display: block;
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

.ms-review-thanks__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f8023, #98e83b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(79, 128, 35, 0.32);
}

.ms-review-thanks h3 {
    margin: 0 28px 10px;
    color: #101828;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
}

.ms-review-thanks p {
    margin: 0 0 20px;
    color: #667085;
    font-size: 15px;
    line-height: 1.45;
}

.ms-review-thanks__button {
    width: 100%;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;
    margin: 0;

    border: none;
    border-radius: 18px;

    background: linear-gradient(135deg, #4f8023, #98e83b);
    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
    line-height: 1;

    text-align: center;
    cursor: pointer;

    box-shadow: 0 10px 22px rgba(79, 128, 35, 0.25);
    box-sizing: border-box;

    appearance: none;
    -webkit-appearance: none;
}

.ms-review-thanks__button:active {
    transform: scale(0.98);
}

body.ms-review-thanks-open {
    overflow: hidden;
}

@keyframes msReviewThanksShow {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}