.forgot-password--hidden {
    display: none;
}

.forgot-password {
    background: #fff;
    position: relative;
    max-width: 380px;
}

.forgot-password__close {
    position: absolute;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    cursor: pointer;
    right: 10px;
    top: 10px;
}

.forgot-password__close:hover {
    opacity: 1;
}

.forgot-password__title, .forgot-password__restore-title, .reset-password__header {
    font-size: 24px;
    text-align: center;
    padding-top: 20px;
    font-weight: bold;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
}

.forgot-password__form, .reset-password__form {
    text-align: center;
    padding: 0 30px 30px;
}

.forgot-password__label, .reset-password__form-label {
    display: block;
    margin-top: 32px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.forgot-password__input, .reset-password__form-input {
    display: block;
    width: 100%;
    height: 33px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

.forgot-password__input:focus, .reset-password__form-input:focus {
    border-color: #e20932;
    outline: 0;
}

.forgot-password__description, .reset-password__text {
    font-size: 14px;
    color: #666;
    padding-top: 25px;
    text-align: center;
    padding-bottom: 30px;
}

.forgot-password__submit, .reset-password__form-submit {
    width: 155px;
    line-height: 1;
    padding: 12px;
    font-size: 14px;
    background: #E20932;
    font-weight: bold;
    color: white;
    font-weight: bold;
    border: 2px solid #E20932;
    transition: 200ms ease all;
}

.forgot-password__submit:hover, .reset-password__form-submit:hover {
    color: #e20932;
    background: none;
}
.forgot-password__restore-info{
    display: none;
}
.forgot-password__restore-sataus{
    padding: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}
.forgot-password__restore-description{
    padding: 0 30px 30px;
    text-align: center;
}
.forgot-password--success .forgot-password__title{
    display: none;
}
.forgot-password--success .forgot-password__form{
    display: none;
}
.forgot-password--success .forgot-password__restore-info{
    display: block;
}

/* страницы сброса пароля без попапа (views/user/reset-password*.php) — та же форма, что в попапе: стили выше общие */
.reset-password {
    width: 100%;
    max-width: 380px;
    margin: 30px auto 60px;
    padding: 0 15px;
}
/* боковые отступы — у самой страницы: reCAPTCHA EU шириной 304px не влезала в форму на телефоне 360px */
.reset-password__form {
    padding-left: 0;
    padding-right: 0;
}
.reset-password__form-field {
    margin-bottom: 20px;
}
.reset-password__recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
