.popup-window {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    display: none;
    background: #fff;
    transform: none;
}

.popup__header {
    background: #4486ff;
    font-size: 24px;
    padding: 33px 56px 27px 56px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
}

.popup__body {
    padding: 30px 56px 40px;
}

.popup__btn {
    height: 40px;
    min-width: 240px;
    line-height: 43px;
    border-radius: 2px;
    background: #4486ff;
    box-shadow: 0 2px 0 #2165df;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #4486ff;
    -webkit-transition: .5s;
    transition: .5s;
    padding: 0 60px;
    display: inline-block;
    cursor: pointer;
}

.popup__btn:hover {
    background-color: #2165df;
}

.popup__body p {
    margin-bottom: 20px;
}

.popup-unsubscribe .close-popup {
    right: 2px;
    top: 2px;
    width: 24px;
    height: 24px;
}

.popup-unsubscribe .close-popup .close-popup-icon {
    fill: #fff;
    background-color: #4486ff;
    width: 16px;
    height: 16px;
    padding: 4px;
}

.popup-unsubscribe .close-popup .close-popup-icon:hover {
    fill: #fff;
    background-color: #4486ff;
}

.popup-unsubscribe .popup__header {
    padding: 33px 15px 27px;
}

.popup-unsubscribe .popup__body {
    padding: 30px 15px 40px;
}

.popup-unsubscribe .popup__btn {
    padding: 0;
    display: block;
}

@media (min-width: 600px) and (min-height: 600px) {
    .popup-window {
        width: auto;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .popup-unsubscribe {
        min-width: 420px;
    }

    .popup-unsubscribe .close-popup {
        top: 0;
        right: -35px;
    }

    .popup-unsubscribe .close-popup .close-popup-icon:hover {
        fill: #4486ff;
        background-color: #fff;
    }

    .popup-agreements {
        max-height: 600px;
        height: inherit;
    }
}


@media (min-width: 480px) {
    .popup-unsubscribe .popup__btn {
        padding: 0 60px;
        display: inline-block;
    }
}

@media (min-width: 360px) {
    .popup-unsubscribe .popup__header {
        padding: 33px 56px 27px;
    }

    .popup-unsubscribe .popup__body {
        padding: 30px 56px 40px;
    }
}

.popup-agreements__wrap {
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.popup-agreements__content {
    overflow-y: auto;
    word-break: break-word;
}

.signupform-agreement {
    display: flex;
    margin-bottom: 20px;
}

#reset-password-form .signupform-agreement {
    margin-top: 20px;
}

.field-signupform-agreement,
.field-loginform-agreement,
.field-agreementform-agreement,
.field-resetpasswordform-agreement {
    margin-right: 12px;
}

.login-form__submit:hover:not(:disabled),
.reset__submit:hover:not(:disabled) {
    background: #2165df;
}

.login-form__submit:disabled,
.reset__submit:disabled {
    background: #808080;
    box-shadow: none;
    border: 1px solid #c0c0c0;
}

.popup-agreement {
    padding: 20px;
}

.submit_button_container {
    display: flex;
    justify-content: center;
}

.agreement-form {
    max-width: 400px;
}