/* ==========================================================
   PARTSSTART — FORGOT PASSWORD
   2026-09-09
   ========================================================== */

.ps-forgot-page-title {
    margin-bottom: 28px !important;

    color: #4d4d4d !important;

    font-size: 34px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}


/* ----------------------------------------------------------
   CARD
   ---------------------------------------------------------- */

.ps-forgot-form {
    width: calc(100% - 32px) !important;
    max-width: 760px !important;

    margin: 0 auto 80px !important;
    padding: 32px 36px 30px !important;

    border: 1px solid #eadcc4 !important;
    border-radius: 14px !important;

    background: #fff !important;

    box-shadow:
        0 12px 34px rgba(38, 38, 37, 0.06) !important;

    box-sizing: border-box !important;
}


/* ----------------------------------------------------------
   INTRO
   ---------------------------------------------------------- */

.ps-forgot-intro {
    margin: 0 0 27px !important;
}

.ps-forgot-intro h2 {
    margin: 0 0 8px !important;
    padding: 0 !important;

    color: #262625 !important;

    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.ps-forgot-intro p {
    max-width: 610px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #777 !important;

    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}


/* ----------------------------------------------------------
   LABELS
   ---------------------------------------------------------- */

.ps-forgot-label {
    display: block !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    color: #373531 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}


/* ----------------------------------------------------------
   EMAIL GROUP
   ---------------------------------------------------------- */

.ps-forgot-email-group {
    display: flex !important;
    align-items: stretch !important;

    width: 100% !important;

    margin: 0 0 26px !important;

    border: 1px solid #ded4c4 !important;
    border-radius: 10px !important;

    background: #fff !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}

.ps-forgot-email-group:focus-within {
    border-color: #c99428 !important;

    box-shadow:
        0 0 0 3px rgba(201, 148, 40, 0.10) !important;
}

.ps-forgot-email-group .input-group-addon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 54px !important;

    width: 54px !important;
    min-width: 54px !important;
    height: 52px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-right: 1px solid #e6ddcf !important;
    border-radius: 0 !important;

    background: #faf8f4 !important;

    color: #737373 !important;

    box-sizing: border-box !important;
}

.ps-forgot-email-group input.form-control,
.ps-forgot-email-group #forgot_password_contact_input {
    display: block !important;

    flex: 1 1 auto !important;

    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    background: #fff !important;

    color: #262625 !important;

    font-size: 15px !important;
    line-height: 52px !important;

    box-shadow: none !important;

    box-sizing: border-box !important;
}

.ps-forgot-email-group input::placeholder {
    color: #aaa !important;
    opacity: 1 !important;
}


/* ----------------------------------------------------------
   CAPTCHA
   ---------------------------------------------------------- */

#captcha.ps-forgot-captcha {
    display: block !important;

    width: 100% !important;

    margin: 0 0 24px !important;
    padding: 21px 22px !important;

    border: 1px solid #ece3d5 !important;
    border-radius: 11px !important;

    background: #fbfaf7 !important;

    box-sizing: border-box !important;
}

.ps-forgot-captcha-title {
    margin: 0 0 13px !important;

    color: #373531 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.ps-forgot-captcha-row {
    display: flex !important;
    align-items: center !important;

    gap: 12px !important;

    margin-bottom: 17px !important;
}

.ps-forgot-captcha-row img {
    display: block !important;

    width: auto !important;
    max-width: 190px !important;
    height: 72px !important;

    margin: 0 !important;

    border: 1px solid #ddd4c6 !important;
    border-radius: 8px !important;

    object-fit: contain !important;

    background: #fff !important;
}

.ps-forgot-captcha-refresh {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px !important;

    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid #ded4c4 !important;
    border-radius: 8px !important;

    background: #fff !important;

    color: #626262 !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    text-decoration: none !important;

    cursor: pointer !important;
}

.ps-forgot-captcha-refresh:hover {
    border-color: #c99428 !important;

    color: #b17d15 !important;

    text-decoration: none !important;
}

.ps-forgot-captcha-refresh-symbol {
    font-size: 20px !important;
    line-height: 1 !important;
}

.ps-forgot-captcha-input-label {
    display: block !important;

    margin: 0 0 8px !important;

    color: #737373 !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

#captcha.ps-forgot-captcha #capcha_input,
#captcha.ps-forgot-captcha #captcha_input {
    display: block !important;

    width: 100% !important;
    height: 50px !important;

    margin: 0 !important;
    padding: 0 15px !important;

    border: 1px solid #ded4c4 !important;
    border-radius: 9px !important;

    outline: 0 !important;

    background: #fff !important;

    color: #262625 !important;

    font-size: 16px !important;
    line-height: 50px !important;

    box-shadow: none !important;

    box-sizing: border-box !important;
}

#captcha.ps-forgot-captcha #capcha_input:focus,
#captcha.ps-forgot-captcha #captcha_input:focus {
    border-color: #c99428 !important;

    box-shadow:
        0 0 0 3px rgba(201, 148, 40, 0.10) !important;
}


/* ----------------------------------------------------------
   SUBMIT
   ---------------------------------------------------------- */

.ps-forgot-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 54px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    border: 0 !important;
    border-radius: 9px !important;

    background: #262625 !important;

    color: #fff !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    text-align: center !important;

    box-shadow: none !important;

    cursor: pointer !important;
}

.ps-forgot-submit:hover,
.ps-forgot-submit:focus {
    background: #343433 !important;

    color: #fff !important;
}


/* ----------------------------------------------------------
   FOOTER LINKS
   ---------------------------------------------------------- */

.ps-forgot-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: 8px !important;

    width: 100% !important;

    margin: 22px 0 0 !important;
    padding: 19px 0 0 !important;

    border-top: 1px solid #eee7da !important;

    text-align: center !important;
}

.ps-forgot-footer-row {
    margin: 0 !important;
    padding: 0 !important;

    color: #999 !important;

    font-size: 14px !important;
    line-height: 20px !important;
}

.ps-forgot-footer a {
    color: #c58c13 !important;

    font-weight: 600 !important;

    text-decoration: none !important;
}

.ps-forgot-footer a:hover {
    color: #a8730a !important;

    text-decoration: underline !important;
}


/* ----------------------------------------------------------
   OLD SELECTOR
   ---------------------------------------------------------- */

#forgot_password_contact_select {
    display: none !important;
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .ps-forgot-page-title {
        font-size: 28px !important;
    }

    .ps-forgot-form {
        width: calc(100% - 24px) !important;

        margin-bottom: 50px !important;
        padding: 25px 20px 24px !important;
    }

    .ps-forgot-intro h2 {
        font-size: 22px !important;
    }

    .ps-forgot-captcha-row {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .ps-forgot-captcha-row img {
        max-width: 100% !important;
        height: auto !important;
        min-height: 68px !important;
    }

    .ps-forgot-captcha-refresh {
        width: 100% !important;
    }
}


/* PARTSSTART FORGOT FINAL POLISH V2 START */


/* ----------------------------------------------------------
   Убираем дублирующий внешний заголовок страницы
   ---------------------------------------------------------- */

.ps-forgot-page-title {
    display: none !important;
}


/* ----------------------------------------------------------
   Карточка
   ---------------------------------------------------------- */

.ps-forgot-form {
    max-width: 720px !important;

    margin-top: 34px !important;
    margin-bottom: 70px !important;

    padding: 34px 36px 30px !important;
}


/* ----------------------------------------------------------
   Заголовок карточки
   ---------------------------------------------------------- */

.ps-forgot-intro {
    margin-bottom: 28px !important;
}

.ps-forgot-intro h2 {
    margin-bottom: 9px !important;

    font-size: 26px !important;
    line-height: 1.25 !important;
}

.ps-forgot-intro p {
    font-size: 15px !important;
    line-height: 1.55 !important;
}


/* ----------------------------------------------------------
   Поле E-mail
   ---------------------------------------------------------- */

.ps-forgot-label {
    margin-bottom: 9px !important;
}

.ps-forgot-email-group {
    margin-bottom: 28px !important;
}


/* ----------------------------------------------------------
   CAPTCHA
   ---------------------------------------------------------- */

#captcha.ps-forgot-captcha {
    padding: 22px 22px 20px !important;

    background: #fcfbf8 !important;
}

.ps-forgot-captcha-title {
    margin-bottom: 14px !important;

    font-size: 15px !important;
}

.ps-forgot-captcha-row {
    gap: 14px !important;

    margin-bottom: 18px !important;
}

.ps-forgot-captcha-row img {
    min-width: 150px !important;
    height: 68px !important;
}

.ps-forgot-captcha-refresh {
    min-height: 44px !important;

    padding-left: 15px !important;
    padding-right: 15px !important;
}


/* ----------------------------------------------------------
   Кнопка
   ---------------------------------------------------------- */

.ps-forgot-submit {
    height: 56px !important;

    font-size: 16px !important;
}


/* ----------------------------------------------------------
   Нижний блок
   ---------------------------------------------------------- */

.ps-forgot-footer {
    gap: 10px !important;

    margin-top: 24px !important;
    padding-top: 20px !important;
}

.ps-forgot-footer-row {
    font-size: 14px !important;
}

.ps-forgot-footer a {
    color: #c58c13 !important;
    font-weight: 600 !important;
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .ps-forgot-form {
        margin-top: 24px !important;
        margin-bottom: 45px !important;

        padding: 26px 20px 24px !important;
    }

    .ps-forgot-intro h2 {
        font-size: 22px !important;
    }
}


/* PARTSSTART FORGOT FINAL POLISH V2 END */



/* PARTSSTART FORGOT — FINAL MICRO POLISH */

#captcha.ps-forgot-captcha {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

.ps-forgot-captcha-row img {
    min-width: 165px !important;
    height: 72px !important;
}

.ps-forgot-footer-row {
    color: #7f7f7f !important;
}

.ps-forgot-footer a {
    color: #c58c13 !important;
    font-weight: 600 !important;
}


/* PARTSSTART CAPTCHA COMPACT FINAL V4 START */

#captcha.ps-forgot-captcha {
    padding: 18px !important;
}

/* Картинка + обновление снова в одной строке */
#captcha .ps-forgot-captcha-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 12px !important;

    width: 100% !important;
    margin: 0 0 16px !important;
}

/* Компактная CAPTCHA */
#captcha .ps-forgot-captcha-row img,
#captcha #captcha-image,
#captcha #capcha-image {
    display: block !important;

    flex: 0 0 320px !important;

    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;

    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;

    margin: 0 !important;

    object-fit: fill !important;

    border-radius: 8px !important;
    box-sizing: border-box !important;
}

/* Кнопка обновления */
#captcha .ps-forgot-captcha-refresh {
    flex: 0 0 112px !important;

    width: 112px !important;
    min-width: 112px !important;

    height: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    align-self: center !important;
}

/* Поле ввода остаётся на всю ширину */
#captcha #captcha_input,
#captcha #capcha_input {
    width: 100% !important;
}

/* Телефон */
@media (max-width: 600px) {

    #captcha .ps-forgot-captcha-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    #captcha .ps-forgot-captcha-row img,
    #captcha #captcha-image,
    #captcha #capcha-image {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 320px !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}

/* PARTSSTART CAPTCHA COMPACT FINAL V4 END */


