/**
 * BrownTrout 2026 - Customer Forgot Password Stylesheet
 */

body.customer-account-forgotpassword {
    background-color: #faf8fc !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
}

body.customer-account-forgotpassword .page-main {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 16px 60px !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .columns,
body.customer-account-forgotpassword .column.main {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .bt-forgot-header {
    text-align: center !important;
    margin: 15px auto 32px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    max-width: 540px !important;
}

body.customer-account-forgotpassword .bt-forgot-header .bt-forgot-title {
    font-size: 34px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.6px !important;
    line-height: 1.25 !important;
}

body.customer-account-forgotpassword .bt-forgot-header .bt-forgot-subtitle {
    font-size: 14.5px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

body.customer-account-forgotpassword .forgotpassword-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 50px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .block-customer-forgotpassword {
    width: 100% !important;
    max-width: 480px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border: 1px solid #e5dfe9 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(54, 9, 70, 0.05) !important;
    padding: 38px 36px 34px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

body.customer-account-forgotpassword .block-customer-forgotpassword .block-content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword form.password.forget {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field {
    margin: 0 0 20px 0 !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    clear: both !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field > .label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #292332 !important;
    margin-bottom: 7px !important;
    text-align: left !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field.required > .label:after,
body.customer-account-forgotpassword .fieldset.forgotpassword .field._required > .label:after {
    content: " *" !important;
    color: #b62034 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field .control {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field .control input.input-text {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #111827 !important;
    background-color: #fdfcfe !important;
    border: 1.5px solid #e5dfe9 !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    display: block !important;
    transition: all 0.2s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field .control input.input-text::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field .control input.input-text:focus {
    border-color: #88529a !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(70, 14, 89, 0.1) !important;
    outline: none !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword .field .control input.input-text.mage-error {
    border-color: #b62034 !important;
    background-color: #fffbfa !important;
}

body.customer-account-forgotpassword div.mage-error {
    color: #b62034 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
    line-height: 1.35 !important;
    display: block !important;
    word-break: break-word !important;
    text-align: left !important;
}

body.customer-account-forgotpassword .field-recaptcha,
body.customer-account-forgotpassword .g-recaptcha,
body.customer-account-forgotpassword div[data-recaptcha] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 78px !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    display: block !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .g-recaptcha iframe {
    display: block !important;
    vertical-align: top !important;
    border: none !important;
    max-width: 100% !important;
}

body.customer-account-forgotpassword .field-recaptcha .field {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}

body.customer-account-forgotpassword .field-recaptcha input.required-captcha {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

body.customer-account-forgotpassword .actions-toolbar {
    margin: 6px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .actions-toolbar .primary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .actions-toolbar .primary button.action.submit.primary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    background: #460e59 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(70, 14, 89, 0.2) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .actions-toolbar .primary button.action.submit.primary:hover {
    background: #30083e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(70, 14, 89, 0.26) !important;
}

body.customer-account-forgotpassword .actions-toolbar .primary button.action.submit.primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(70, 14, 89, 0.2) !important;
}

body.customer-account-forgotpassword .actions-toolbar .secondary {
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    margin: 0 !important;
}

body.customer-account-forgotpassword .actions-toolbar .secondary a.action.back {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #460e59 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

body.customer-account-forgotpassword .actions-toolbar .secondary a.action.back svg.back-arrow {
    stroke: currentColor !important;
    transition: transform 0.2s ease !important;
}

body.customer-account-forgotpassword .actions-toolbar .secondary a.action.back:hover {
    color: #88529a !important;
}

body.customer-account-forgotpassword .actions-toolbar .secondary a.action.back:hover svg.back-arrow {
    transform: translateX(-3px) !important;
}

body.customer-account-forgotpassword .fieldset.forgotpassword[data-hasrequired]:after {
    display: none !important;
    content: none !important;
}

body.customer-account-forgotpassword .page.messages {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto 20px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

body.customer-account-forgotpassword .page.messages .message {
    border-radius: 10px !important;
    font-size: 13.5px !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
}

@media (max-width: 767px) {
    body.customer-account-forgotpassword .page-main {
        padding: 20px 12px 40px !important;
    }

    body.customer-account-forgotpassword .bt-forgot-header {
        margin: 10px auto 24px auto !important;
    }

    body.customer-account-forgotpassword .bt-forgot-header .bt-forgot-title {
        font-size: 26px !important;
    }

    body.customer-account-forgotpassword .bt-forgot-header .bt-forgot-subtitle {
        font-size: 13.5px !important;
    }

    body.customer-account-forgotpassword .block-customer-forgotpassword {
        padding: 28px 20px 26px !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 480px) {
    body.customer-account-forgotpassword .block-customer-forgotpassword {
        padding: 24px 16px 22px !important;
        border-radius: 14px !important;
    }

    body.customer-account-forgotpassword .bt-forgot-header .bt-forgot-title {
        font-size: 23px !important;
    }
}
