/* ===========================================================
   lost-password.css &mdash; TIM4biz portal password recovery
   Loaded only by Intro/lost-password.aspx via HeadContent.
   Shares visual language with signin.css.
   =========================================================== */

/*rh*/
h1{color:white;}
.lp-shell {
    background:
        radial-gradient(1200px 600px at 110% -10%, rgba(0, 194, 168, .18), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(31, 77, 216, .18), transparent 60%),
        #f5f7fb;
    padding: 56px 0 80px;
    min-height: calc(100vh - 160px);
}

.lp-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: stretch;
}

/* --- Aside --- */
.lp-aside {
    /*from join*/
    background: radial-gradient(1200px 600px at 0% 0%, rgba(99, 102, 241, 0.22), transparent 60%), linear-gradient(165deg, #0b1220 0%, #1a1b3a 55%, #2a1f5c 100%);
    /*    background: linear-gradient(160deg, #1f4dd8 0%, #173bb0 55%, #0e2a85 100%);
*/ color: #fff;
    border-radius: 20px;
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
}
.lp-aside::after {
    content: "";
    position: absolute; inset: auto -20% -40% auto;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(0,194,168,.35), transparent 60%);
    filter: blur(10px);
}
.aside-inner { position: relative; z-index: 1; }
.aside-badge {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    padding: 6px 12px; border-radius: 999px;
    font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 22px;
}
.aside-title { font-size: 32px; line-height: 1.15; margin: 0 0 14px; font-weight: 700; }
.aside-title span { color: #00c2a8; }
.aside-sub { font-size: 15px; line-height: 1.6; opacity: .92; margin: 0 0 28px; max-width: 48ch; }

/* Numbered steps */
.lp-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.lp-steps li {
    display: grid; grid-template-columns: 36px 1fr; gap: 14px;
    padding: 14px; border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}
.lp-steps strong { display: block; font-size: 14px; margin-bottom: 2px; }
.lp-steps p { margin: 0; font-size: 13px; line-height: 1.5; opacity: .85; }
.step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: #00c2a8; color: #0e2a85;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
}

.lp-help {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.18);
}
.lp-help h3 { margin: 0 0 6px; font-size: 14px; letter-spacing: .02em; }
.lp-help p { margin: 0; font-size: 13px; line-height: 1.55; opacity: .85; }
.lp-help a { color: #9ff0e0; text-decoration: underline; }

/* --- Recovery card --- */
.lp-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px -20px rgba(15, 42, 133, .25),
                0 4px 12px rgba(15, 42, 133, .06);
/*    align-self: center; RH remove so aligns top and stretchs same as aside
*/}
.card-head h2 { margin: 0 0 6px; font-size: 24px; color: #0e2a85; }
.card-sub { margin: 0 0 14px; color: #5b6478; font-size: 14px; }

.step-pill {
    display: inline-block;
    background: #eef3ff; color: #1f4dd8;
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 10px; border-radius: 999px;
    margin: 0 0 14px;
}

.inline-note {
    margin: 0 0 18px; font-size: 14px; line-height: 1.55;
    color: #1d2433; background: #f4f6fb;
    border: 1px solid #e3e7f0; border-radius: 12px;
    padding: 12px 14px;
}

/* --- Alerts --- */
.alert {
    padding: 12px 14px; border-radius: 10px;
    font-size: 14px; margin-bottom: 16px;
    border: 1px solid transparent;
}
.alert-info  { background: #eef3ff; border-color: #c9d6ff; color: #1f4dd8; }
.alert-error { background: #fdecec; border-color: #f5b8b8; color: #b3261e; }

/* --- Fields --- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #1d2433; margin-bottom: 6px; }
.field-hint { margin: 6px 0 0; font-size: 12px; color: #6b7388; line-height: 1.45; }
.input {
    width: 100%; padding: 11px 12px;
    border: 1px solid #d6dbe7; border-radius: 10px;
    font-size: 15px; background: #fff; color: #1d2433;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.input:focus {
    outline: none; border-color: #1f4dd8;
    box-shadow: 0 0 0 4px rgba(31, 77, 216, .15);
}
.input-code {
    letter-spacing: .5em; text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 18px; font-weight: 600;
}
.field-error {
    display: inline-block; margin-top: 6px;
    color: #b3261e; font-size: 12px;
}
.link-muted { font-size: 13px; color: #1f4dd8; text-decoration: none; font-weight: 600; }
.link-muted:hover { text-decoration: underline; }

/* Password reveal toggle */
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 64px; }
.pw-toggle { position: absolute; opacity: 0; pointer-events: none; }
.pw-toggle-label {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%);
    font-size: 12px; font-weight: 600; color: #1f4dd8;
    cursor: pointer; padding: 4px 6px; border-radius: 6px;
    user-select: none;
}
.pw-toggle-label:hover { background: #eef3ff; }
.pw-toggle:checked ~ .input { -webkit-text-security: none; }
.pw-toggle:checked ~ .pw-toggle-label { color: #0e2a85; }

/* Password rules */
.pw-rules {
    list-style: none; padding: 0; margin: 4px 0 18px;
    display: grid; gap: 6px;
    font-size: 12px; color: #5b6478;
}
.pw-rules li {
    position: relative; padding-left: 18px;
}
.pw-rules li::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #c9d6ff;
}

/* --- Primary button --- */
.btn {
    display: inline-block; border: 0; cursor: pointer;
    font-weight: 700; font-size: 15px; padding: 13px 18px;
    border-radius: 10px; text-decoration: none; text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, #1f4dd8 0%, #00c2a8 130%);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(31, 77, 216, .55);
    transition: transform .05s, box-shadow .15s, filter .15s;
}
.btn-primary:hover  { filter: brightness(1.05); box-shadow: 0 14px 28px -10px rgba(31, 77, 216, .7); }
.btn-primary:active { transform: translateY(1px); }
.btn-block { display: block; width: 100%; }

/* Footer text */
.card-foot {
    margin: 18px 0 0; font-size: 14px; color: #5b6478; text-align: center;
}
.card-foot a { color: #1f4dd8; text-decoration: none; font-weight: 600; }
.card-foot a:hover { text-decoration: underline; }
.card-fineprint {
    margin: 14px 0 0; font-size: 11px; color: #8a93a6;
    text-align: center; line-height: 1.5;
}

/* Responsive */
@media (max-width: 960px) {
    .lp-grid { grid-template-columns: 1fr; gap: 28px; }
    .lp-aside { padding: 32px 28px; }
    .aside-title { font-size: 26px; }
    .lp-card { padding: 28px 22px; }
}
@media (max-width: 460px) {
    .lp-shell { padding: 24px 0 48px; }
    .input-code { letter-spacing: .35em; font-size: 16px; }
}
