

/* Start:/bitrix/templates/dn2020/components/bitrix/system.auth.forgotpasswd/custom26/style.css?17818093705488*/
/* ============================================
   ВОССТАНОВЛЕНИЕ ПАРОЛЯ - СТИЛЬ
   ============================================ */

.forgot-form .btn-danger {
    background-color: #eb202a;
    border-color: #eb202a;
    font-weight: 600;
}

.forgot-form .btn-danger:hover {
    background-color: #c41e24;
}

.forgot-form .form-control:focus {
    border-color: #f79322;
    box-shadow: 0 0 0 0.2rem rgba(247,147,34,0.25);
}

/* ---------- КОНТЕЙНЕР ФОРМЫ ---------- */
.forgot-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ---------- ЗАГОЛОВОК ---------- */
.forgot-header {
    text-align: center;
    margin-bottom: 28px;
}

.forgot-header h2 {
    font-weight: 700;
    font-size: 24px;
    color: #2C3E50;
    margin: 0 0 8px;
}

.forgot-header p {
    font-size: 15px;
    color: #7F8C8D;
    margin: 0;
    line-height: 1.5;
}

/* ---------- КАРТОЧКА ФОРМЫ ---------- */
.forgot-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    border: 1px solid #E5E8EC;
    padding: 32px 36px;
    transition: all 0.2s ease;
}

.forgot-card:hover {
    box-shadow: 0 6px 16px rgba(44, 62, 80, 0.12);
}

/* ---------- ГРУППЫ ПОЛЕЙ ---------- */
.forgot-form .form-group {
    margin-bottom: 18px;
}

.forgot-form .form-group:last-of-type {
    margin-bottom: 24px;
}

.forgot-form .form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #2C3E50;
    margin-bottom: 6px;
}

.forgot-form .form-group label .required {
    color: #E74C3C;
}

.forgot-form .field-description {
    display: block;
    font-size: 13px;
    color: #7F8C8D;
    margin-top: 4px;
}

/* ---------- ПОЛЯ ВВОДА ---------- */
.forgot-form .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E5E8EC;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #FFFFFF;
    color: #2C3E50;
    box-sizing: border-box;
}

.forgot-form .form-control:focus {
    border-color: #f79322;
    box-shadow: 0 0 0 0.2rem rgba(247,147,34,0.25);
    outline: none;
}

/* ---------- CAPTCHA ---------- */
.forgot-captcha {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.forgot-captcha img {
    border-radius: 6px;
    border: 1px solid #E5E8EC;
    background: #F4F6F8;
    height: 44px;
    width: auto;
}

.forgot-captcha .captcha-input {
    flex: 1;
    min-width: 150px;
}

/* ---------- КНОПКИ ---------- */
.forgot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #eb202a;
    border-color: #eb202a;
    color: #FFFFFF;
}

.forgot-btn:hover {
    background-color: #c41e24;
    color: #FFFFFF;
    text-decoration: none;
}

/* ---------- ССЫЛКА НА ВХОД ---------- */
.forgot-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E5E8EC;
}

.forgot-footer a {
    color: #eb202a;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
}

.forgot-footer a:hover {
    color: #c41e24;
    text-decoration: underline;
}

/* ---------- СООБЩЕНИЯ (для системных ошибок) ---------- */
.errortext,
.notetext {
    /*padding: 12px 16px;*/
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.errortext {
    background: #FDEAEA;
    border: 1px solid #F5C6C6;
    color: #E74C3C;
}

.notetext {
    background: #EAFAF1;
    border: 1px solid #A9DFBF;
    color: #27AE60;
}

/* ---------- АДАПТИВНОСТЬ ---------- */
@media (max-width: 576px) {
    .forgot-container {
        margin: 20px auto;
        padding: 0 16px;
    }
    
    .forgot-card {
        padding: 24px 20px;
    }
    
    .forgot-header h2 {
        font-size: 20px;
    }
    
    .forgot-header p {
        font-size: 14px;
    }
    
    .forgot-form .form-control {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .forgot-btn {
        font-size: 15px;
        padding: 10px 20px;
    }
    
    .forgot-captcha {
        flex-direction: column;
        align-items: stretch;
    }
    
    .forgot-captcha img {
        height: 40px;
        width: 100%;
        max-width: 180px;
    }
    
    .forgot-captcha .captcha-input {
        min-width: auto;
    }
}

/* ---------- АНИМАЦИЯ ПОЯВЛЕНИЯ ---------- */
.forgot-card {
    animation: forgotFadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes forgotFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* End */
/* /bitrix/templates/dn2020/components/bitrix/system.auth.forgotpasswd/custom26/style.css?17818093705488 */
