/**
 * Callback and contact form success modal.
 * Scope all rules to .popup_thanks so the shared modal styles stay untouched.
 */
.popup_thanks {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 32px 28px;
    border: 1.5px solid #b5c985;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    text-align: center;
}

.popup_thanks .popup_thanks_close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4a5536;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.popup_thanks .popup_thanks_close:hover,
.popup_thanks .popup_thanks_close:focus {
    background: #eef4dc;
    color: #1a2408;
    outline: none;
}

.popup_thanks .popup_thanks_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 50%;
    background: #e6efd0;
    color: #5a6e1b;
}

.popup_thanks .popup_thanks_icon svg {
    display: block;
    width: 26px;
    height: 26px;
}

.popup_thanks .popup_thanks_title {
    margin: 16px 0 8px;
    color: #1a2408;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
}

.popup_thanks .popup_thanks_sub_title {
    display: block;
    margin: 0;
    color: #4a5536;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-style: normal;
    line-height: 1.5;
    text-align: center;
}

@media only screen and (max-width: 480px) {
    .popup_thanks {
        padding: 28px 18px 24px;
    }

    .popup_thanks .popup_thanks_title {
        font-size: 20px;
    }
}
