/* Mahalli Auth Recovery — v12
   Extends login.css and reuses the existing login backgrounds. */
.recovery-screen{background:#edf8f2}
.recovery-screen .auth-backdrop{
  background-image:linear-gradient(90deg,rgba(247,253,249,.04),rgba(245,252,248,.02)),url('../assets/auth/login-bg-desktop.png');
  background-size:cover;background-position:center center;background-repeat:no-repeat;transform:scale(1.002)
}
.recovery-page{padding:clamp(26px,4vw,58px)}
.recovery-shell{width:min(1360px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,500px);grid-template-areas:"hero card";align-items:center;gap:clamp(46px,7vw,118px);direction:ltr}
.recovery-hero{grid-area:hero;direction:rtl;display:flex;align-items:center;min-height:650px;padding:24px 0 24px clamp(32px,7vw,110px)}
.recovery-hero-copy{width:min(520px,100%);margin-inline:auto 0;animation:heroIn .7s .08s cubic-bezier(.2,.8,.2,1) both}
.recovery-hero-copy h2{margin:0;color:#0a3429;font-size:clamp(43px,4.4vw,68px);line-height:1.14;letter-spacing:-.045em;font-weight:800;text-wrap:balance;text-shadow:0 1px 0 rgba(255,255,255,.45)}
.recovery-hero-copy h2 strong{color:#0b5d46;font-weight:800}
.recovery-hero-copy>p{max-width:475px;margin:20px 0 28px;color:#60776f;font-size:14px;line-height:2;font-weight:500}
.recovery-points{display:grid;gap:13px;max-width:445px}
.recovery-point{display:grid;grid-template-columns:48px 1fr;gap:13px;align-items:center;padding:11px 13px;border-radius:16px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.7);box-shadow:0 10px 28px rgba(34,87,65,.035);backdrop-filter:blur(10px);transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.recovery-point:hover{transform:translateY(-2px);background:rgba(255,255,255,.72);box-shadow:0 13px 30px rgba(34,87,65,.06)}
.recovery-point-icon{width:46px;height:46px;border:1px solid rgba(10,139,96,.14);border-radius:14px;background:rgba(255,255,255,.72);display:grid;place-items:center;color:#0c8a61;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.recovery-point-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.recovery-point b{display:block;margin-bottom:2px;color:#173d31;font-size:14px}.recovery-point small{display:block;color:#72847d;font-size:11px;line-height:1.6}

.recovery-card{grid-area:card;direction:rtl;width:100%;padding:31px 34px 27px;background:rgba(255,255,255,.91);border-color:rgba(255,255,255,.72);box-shadow:0 28px 75px rgba(18,78,58,.14),inset 0 1px 0 rgba(255,255,255,.95)}
.recovery-card.flow-card::before{height:2px;opacity:.16}
.recovery-utility{margin:-2px 0 7px}
.recovery-login-link{min-height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 4px;color:#71847d;text-decoration:none;font-size:10.5px;font-weight:800;transition:color .16s ease,transform .16s ease}
.recovery-login-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.recovery-login-link:hover{color:var(--auth-primary);transform:translateX(2px)}
.recovery-card .flow-brand{margin:0 0 2px}.recovery-card .flow-brand .brand-logo-wrap{width:140px;height:94px}
.recovery-card .step-badge{display:flex;align-items:center;gap:6px;margin:0 auto 11px;padding:5px 10px;background:rgba(232,248,240,.92);border:1px solid rgba(10,139,96,.08)}
.recovery-card .step-badge span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#0b8c62;color:#fff;font-size:9px;box-shadow:0 5px 12px rgba(11,140,98,.15)}
.recovery-card .flow-head{margin-bottom:21px}.recovery-card .flow-head h1{font-size:27px}.recovery-card .flow-head p{max-width:355px;margin-inline:auto}
.field-hint{margin:7px 2px 0;color:#81928c;font-size:9.8px;line-height:1.7}
.recovery-card .primary-button{margin-top:3px}
.recovery-secure{margin-top:17px}
.password-requirement{margin:-3px 2px 15px;padding:9px 11px;border-radius:11px;background:rgba(235,248,241,.72);color:#6e837a;font-size:9.5px;line-height:1.7}

.recovery-card .reset-success-panel{padding-top:2px}
.recovery-card .reset-success-panel strong{color:#0b6f50;font-weight:800;word-break:break-all}
.recovery-card .success-mark{border-radius:50%;width:54px;height:54px;background:linear-gradient(135deg,#087d58,#27c789);box-shadow:0 12px 28px rgba(13,122,90,.2)}
.recovery-card .success-mark svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.recovery-card .secondary-button{margin-top:2px}
.recovery-card .verified-account{display:flex;align-items:center;justify-content:center;min-height:44px;margin:-4px 0 15px;padding:10px 12px;background:rgba(235,248,241,.76);font-weight:700}
.recovery-card .verify-loader{height:76px}

.recovery-status-line{display:flex;align-items:center;justify-content:center;gap:7px;margin:9px 0 0;color:#657c73;font-size:10px}
.recovery-status-line>span:first-child{width:7px;height:7px;border-radius:50%;background:#20af78;box-shadow:0 0 0 4px rgba(32,175,120,.09)}

@media(max-width:1100px){
  .recovery-shell{grid-template-columns:minmax(0,1fr) minmax(400px,460px);gap:42px}.recovery-hero{padding-left:20px}.recovery-hero-copy h2{font-size:47px}.recovery-hero-copy>p{font-size:13px}.recovery-points{max-width:400px}
}
@media(max-width:860px){
  .recovery-screen .auth-backdrop{background-image:linear-gradient(180deg,rgba(247,253,249,.2),rgba(245,252,248,.1)),url('../assets/auth/login-bg-mobile.png');background-position:center center}
  .recovery-page{padding:max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom))}
  .recovery-shell{display:block;width:min(500px,100%)}
  .recovery-hero{display:none}
  .recovery-card{width:100%;padding:29px 26px 25px;background:rgba(255,255,255,.92);box-shadow:0 22px 62px rgba(18,78,58,.13)}
}
@media(max-width:560px){
  .recovery-card{padding:23px 18px 21px;border-radius:22px;background:rgba(255,255,255,.93)}
  .recovery-card .flow-brand .brand-logo-wrap{width:128px;height:84px}.recovery-card .flow-head h1{font-size:24px}.recovery-card .flow-head p{font-size:11.5px}
  .recovery-login-link,.recovery-card .connection-pill{font-size:10px}.recovery-card .step-badge{font-size:9.6px}.field-hint{font-size:9.3px}
}
@media(max-width:380px){.recovery-card{padding:20px 15px}.recovery-card .flow-head h1{font-size:22px}}
