/* ============================================================
   TBH INDIA — FORGOT PASSWORD PAGE
   Page-scoped premium black / gold / warm cream theme.
   ============================================================ */
.forgot-password-page,
.forgot-password-page * {
    box-sizing: border-box;
}

.forgot-password-page {
    --fp-ink: #15130f;
    --fp-black: #0e0e0d;
    --fp-gold: #c8a448;
    --fp-gold-bright: #e4c875;
    --fp-cream: #f8f5ed;
    --fp-paper: #fffefa;
    --fp-muted: #6d685f;
    --fp-border: #e9e1d2;
    width: 100%;
    padding: clamp(30px, 5vw, 68px) 20px clamp(46px, 6vw, 76px);
    color: var(--fp-ink);
    background:
        radial-gradient(ellipse at 10% 4%, rgba(206, 173, 92, .13), transparent 34%),
        linear-gradient(180deg, #fbf9f3 0%, #f5f0e5 100%);
    font-family: inherit;
}

.forgot-password-page a {
    -webkit-tap-highlight-color: transparent;
}

.forgot-password-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, .8fr);
    align-items: center;
    gap: clamp(34px, 6vw, 86px);
}

.forgot-password-intro {
    padding: 12px 0;
}

.forgot-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(42px, 6vw, 74px);
    color: var(--fp-ink);
    text-decoration: none;
}

.forgot-brand__mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fp-gold);
    border-radius: 14px 14px 14px 4px;
    color: var(--fp-gold-bright);
    background: var(--fp-black);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: 0 8px 20px rgba(20, 17, 10, .12);
}

.forgot-brand__name {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .13em;
}

.forgot-brand__name strong {
    font-weight: 900;
}

.forgot-eyebrow,
.forgot-card-eyebrow {
    display: block;
    color: #9a7729;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .19em;
    line-height: 1.5;
    text-transform: uppercase;
}

.forgot-password-intro h1 {
    max-width: 650px;
    margin: 14px 0 18px;
    color: #171510;
    font-family: inherit;
    font-size: clamp(36px, 4.2vw, 60px);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: 1.06;
}

.forgot-password-intro h1 span {
    color: #b18b32;
}

.forgot-intro-copy {
    max-width: 520px;
    margin: 0;
    color: #686257;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.8;
}

.forgot-trust-list {
    display: grid;
    gap: 17px;
    margin-top: clamp(30px, 4vw, 46px);
}

.forgot-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.forgot-trust-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(177, 139, 50, .35);
    border-radius: 11px;
    color: #987426;
    background: rgba(255, 254, 250, .8);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .03em;
}

.forgot-trust-item strong,
.forgot-trust-item small {
    display: block;
}

.forgot-trust-item strong {
    padding-top: 1px;
    color: #28251f;
    font-size: 14px;
    font-weight: 800;
}

.forgot-trust-item small {
    margin-top: 4px;
    color: #777064;
    font-size: 12px;
    line-height: 1.55;
}

.forgot-password-card {
    position: relative;
    width: 100%;
    padding: clamp(25px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(200, 164, 72, .28);
    border-radius: 24px;
    background: var(--fp-paper);
    box-shadow: 0 22px 70px rgba(31, 25, 11, .10), 0 3px 12px rgba(31, 25, 11, .035);
}

.forgot-password-card::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a77c22, #e5ce82, #b08a32);
    content: "";
}

.forgot-card-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(213, 177, 91, .28);
    border-radius: 18px;
    color: #e1c16a;
    background: #171612;
}

.forgot-card-icon svg {
    width: 34px;
    height: 34px;
}

.forgot-password-card h2 {
    margin: 8px 0 9px;
    color: #171510;
    font-size: clamp(25px, 2.4vw, 31px);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.18;
}

.forgot-card-copy {
    margin: 0 0 24px;
    color: #777064;
    font-size: 13px;
    line-height: 1.7;
}

.forgot-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.forgot-message__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.forgot-message--error {
    border-color: #f0c8c5;
    color: #88251e;
    background: #fff3f1;
}

.forgot-message--error .forgot-message__icon {
    color: #fff;
    background: #a83a30;
}

.forgot-message--success {
    border-color: #bddfc7;
    color: #195b31;
    background: #eff9f1;
}

.forgot-message--success .forgot-message__icon {
    color: #fff;
    background: #267643;
}

.forgot-password-form label {
    display: block;
    margin: 0 0 8px;
    color: #302c25;
    font-size: 13px;
    font-weight: 800;
}

.forgot-input-wrap {
    position: relative;
}

.forgot-input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: #9a8d73;
    pointer-events: none;
}

.forgot-input-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.forgot-password-form input[type="email"] {
    display: block;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 14px 15px 14px 46px;
    border: 1px solid #ded5c5;
    border-radius: 12px;
    outline: none;
    color: #1f1c16;
    background: #fff;
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    box-shadow: inset 0 1px 2px rgba(20, 16, 8, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.forgot-password-form input[type="email"]::placeholder {
    color: #aaa293;
    opacity: 1;
}

.forgot-password-form input[type="email"]:focus {
    border-color: #b58b31;
    background: #fffefa;
    box-shadow: 0 0 0 4px rgba(197, 159, 64, .16);
}

.forgot-field-help {
    margin: 8px 1px 0;
    color: #82796a;
    font-size: 11px;
    line-height: 1.55;
}

.forgot-password-btn {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 23px;
    padding: 14px 18px;
    border: 1px solid #b28a2f;
    border-radius: 12px;
    color: #15130e;
    background: linear-gradient(135deg, #e7cc7c 0%, #cfaa4d 52%, #c29a39 100%);
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .015em;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(164, 124, 35, .18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.forgot-password-btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.forgot-password-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 12px 24px rgba(164, 124, 35, .24);
}

.forgot-password-btn:focus-visible,
.forgot-back-login:focus-visible,
.forgot-password-page a:focus-visible {
    outline: 3px solid rgba(169, 127, 38, .65);
    outline-offset: 4px;
}

.forgot-password-btn:disabled {
    cursor: wait;
    opacity: .75;
    transform: none;
    box-shadow: none;
}

.forgot-form-note {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 7px;
    margin: 15px 0 0;
    color: #797163;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.forgot-form-note span {
    flex: 0 0 auto;
    font-size: 11px;
}

.forgot-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 19px;
    color: #9a9181;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.forgot-divider::before,
.forgot-divider::after {
    height: 1px;
    flex: 1 1 auto;
    background: #eee7db;
    content: "";
}

.forgot-back-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    border-radius: 10px;
    color: #39342a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.forgot-back-login svg {
    width: 18px;
    height: 18px;
}

.forgot-back-login:hover {
    color: #906b1e;
    background: #f8f3e7;
}

.forgot-help-strip {
    width: min(1120px, 100%);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 30px auto 0;
    padding: 18px 20px;
    border: 1px solid #e8dfcd;
    border-radius: 15px;
    background: rgba(255, 254, 250, .72);
}

.forgot-help-strip__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #e5cb82;
    background: #1b1913;
    font-size: 14px;
    font-family: Georgia, serif;
    font-weight: 800;
}

.forgot-help-strip strong {
    display: block;
    margin: 1px 0 4px;
    color: #302b22;
    font-size: 13px;
}

.forgot-help-strip p {
    margin: 0;
    color: #777064;
    font-size: 12px;
    line-height: 1.65;
}

.forgot-help-strip a {
    color: #8e681b;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.forgot-help-strip a:hover {
    color: #4b3710;
}

@media (max-width: 850px) {
    .forgot-password-shell {
        grid-template-columns: minmax(0, 1fr);
        width: min(560px, 100%);
        gap: 28px;
    }

    .forgot-password-intro {
        padding: 0;
    }

    .forgot-brand {
        margin-bottom: 32px;
    }

    .forgot-trust-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 26px;
    }

    .forgot-trust-item {
        flex-direction: column;
        gap: 9px;
        padding: 14px 12px;
        border: 1px solid rgba(212, 195, 157, .7);
        border-radius: 13px;
        background: rgba(255, 254, 250, .63);
    }
}

@media (max-width: 560px) {
    .forgot-password-page {
        padding: 28px 14px 40px;
    }

    .forgot-password-shell {
        gap: 23px;
    }

    .forgot-brand {
        gap: 10px;
        margin-bottom: 30px;
    }

    .forgot-brand__mark {
        width: 42px;
        height: 42px;
        border-radius: 12px 12px 12px 4px;
        font-size: 12px;
    }

    .forgot-brand__name {
        font-size: 14px;
    }

    .forgot-eyebrow,
    .forgot-card-eyebrow {
        font-size: 10px;
        letter-spacing: .15em;
    }

    .forgot-password-intro h1 {
        margin: 11px 0 12px;
        font-size: clamp(34px, 9vw, 44px);
    }

    .forgot-intro-copy {
        font-size: 14px;
        line-height: 1.7;
    }

    .forgot-trust-list {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 20px;
    }

    .forgot-trust-item {
        flex-direction: row;
        align-items: center;
        gap: 11px;
        padding: 11px;
    }

    .forgot-trust-icon {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
    }

    .forgot-password-card {
        padding: 24px 19px;
        border-radius: 19px;
    }

    .forgot-card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 17px;
        border-radius: 15px;
    }

    .forgot-password-card h2 {
        font-size: 26px;
    }

    .forgot-password-card input[type="email"] {
        min-height: 52px;
        font-size: 16px;
    }

    .forgot-password-btn {
        min-height: 52px;
    }

    .forgot-help-strip {
        gap: 11px;
        margin-top: 20px;
        padding: 15px 13px;
        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .forgot-password-page *,
    .forgot-password-page *::before,
    .forgot-password-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
