/* ESW — Forgot Password page (twin-card design, matches login) 2026-06-24 */
body.customer-account-forgotpassword{--fpn:#14296b;--fpb:#1344b1;--fpr:#114ccf;--fpg:#0f9447;--fpm:#6b7280;--fpl:#e7eaf3}
/* hide default page title + breadcrumbs noise; rail-align body to header/footer */
body.customer-account-forgotpassword .page-title-wrapper{display:none}
body.customer-account-forgotpassword .page-main{
    max-width:none;margin-left:0;margin-right:0;
    padding-left:max(28px,calc((100% - 1320px)/2));
    padding-right:max(28px,calc((100% - 1320px)/2));
}
body.customer-account-forgotpassword .column.main{padding-bottom:54px}

.fp-head{padding-top:6px}
.fp-title{font-size:30px;font-weight:800;color:var(--fpn);margin:8px 0 4px}
.fp-lede{color:var(--fpm);margin:0 0 26px;font-size:15px;max-width:62ch}

.fp-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:start}
.fp-card{border:1px solid var(--fpl);border-radius:16px;padding:34px;background:#fff;box-shadow:0 1px 2px rgba(20,41,107,.05),0 10px 30px rgba(20,41,107,.07)}
.fp-card.fp-alt{background:linear-gradient(170deg,#f7faff,#fdfeff);border-color:#e1e9ff}
.fp-tag{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:var(--fpb);background:#eaf0ff;border-radius:999px;padding:6px 13px;margin-bottom:14px}
.fp-h2{margin:0 0 6px;font-size:21px;font-weight:800;color:var(--fpn)}
.fp-sub{color:var(--fpm);margin:0 0 22px;font-size:14px}
.fp-req{color:#c0392b}

body.customer-account-forgotpassword .fp-form .fieldset{margin:0}
body.customer-account-forgotpassword .fp-form .field{margin:0 0 6px}
body.customer-account-forgotpassword .fp-form .label{font-weight:600;font-size:13px;color:var(--fpn);margin-bottom:7px;text-align:left;float:none;width:auto;padding:0}
body.customer-account-forgotpassword .fp-form .control{width:auto;float:none}
body.customer-account-forgotpassword .fp-form input.input-text{
    width:100%;height:50px;border:1.5px solid var(--fpl);border-radius:11px;padding:0 15px;font-size:15px;background:#fbfcff;box-shadow:none}
body.customer-account-forgotpassword .fp-form input.input-text:focus{border-color:var(--fpb);box-shadow:0 0 0 3px rgba(19,68,177,.12);background:#fff}
.fp-hint{font-size:12.5px;color:var(--fpm);margin-top:7px}
/* reCAPTCHA (injected via form_additional_info) gets breathing room */
body.customer-account-forgotpassword .fp-form .field-recaptcha,
body.customer-account-forgotpassword .fp-form .g-recaptcha{margin:18px 0 0}

.fp-actions{display:flex;flex-direction:column;margin-top:22px;padding:0;border:0}
body.customer-account-forgotpassword .fp-actions .primary{margin:0;float:none;width:100%}
/* match the login "Sign In" button exactly — high specificity to beat Luma .action.primary */
body.customer-account-forgotpassword .fp-actions .action.submit.primary.fp-btn{
    display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
    width:100%;border:0;border-radius:999px;font-weight:800;font-size:16px;line-height:1.2;
    padding:15px;cursor:pointer;color:#fff;opacity:1;
    background:linear-gradient(180deg,#114ccf,#1344b1);
    box-shadow:0 10px 22px rgba(17,76,207,.26)}
body.customer-account-forgotpassword .fp-actions .action.submit.primary.fp-btn:hover{filter:brightness(1.06)}
body.customer-account-forgotpassword .fp-actions .secondary,
body.customer-account-forgotpassword .fp-actions .fp-secondary{display:block !important;margin:0;float:none}
/* un-hide + style the "Back to login" link (Luma hides .action.back by default) */
body.customer-account-forgotpassword .fp-actions .fp-secondary .action.back.fp-back{
    display:inline-flex !important;align-items:center;justify-content:center;width:100%;
    margin-top:16px;font-size:14px;font-weight:600;color:var(--fpn);text-decoration:none}
body.customer-account-forgotpassword .fp-actions .fp-secondary .action.back.fp-back:hover{color:var(--fpb);text-decoration:underline}

.fp-steps{list-style:none;padding:0;margin:0 0 22px;counter-reset:s}
.fp-steps li{display:flex;gap:13px;padding:11px 0;border-bottom:1px dashed #e6ebf6;font-size:14px}
.fp-steps li:last-child{border-bottom:0}
.fp-steps .n{width:28px;height:28px;border-radius:50%;background:#eef3ff;color:var(--fpb);font-weight:800;font-size:13px;display:grid;place-items:center;flex:0 0 auto}
.fp-steps b{color:var(--fpn);display:block}.fp-steps small{color:var(--fpm)}
.fp-note{display:flex;gap:10px;align-items:flex-start;background:#fff8e3;border:1px solid #ffe9a8;border-radius:10px;padding:12px 14px;font-size:13px;color:#7a5b00}
.fp-help{margin-top:16px;font-size:13.5px;color:var(--fpm)}.fp-help a{font-weight:600;color:var(--fpb)}

@media(max-width:820px){.fp-grid{grid-template-columns:1fr}}
