/* Parolni tiklash oqimi: umumiy zamonaviy dizayn */
.reset-page {
  min-height: 100dvh;
  background: var(--cream, #fbf8f1);
  color: var(--ink, #16323b);
}

.reset-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
}

.reset-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 64px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(242, 181, 68, 0.18), transparent 38%),
    radial-gradient(circle at 10% 85%, rgba(18, 133, 122, 0.35), transparent 45%),
    linear-gradient(160deg, #0b1f2a 0%, #102033 58%, #0b4f4a 100%);
}

.reset-aside::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.reset-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  width: fit-content;
}

.reset-brand img { width: 46px; height: 46px; border-radius: 12px; }
.reset-brand strong { display: block; font-size: 1.2rem; font-weight: 850; letter-spacing: -0.02em; }
.reset-brand small {
  display: block;
  margin-top: 2px;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.reset-aside__body { position: relative; margin: auto 0; max-width: 440px; }
.reset-aside__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold, #f2b544);
}
.reset-aside h2 {
  margin: 16px 0 14px;
  color: #fff;
  font-family: Georgia, var(--font-serif, serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.reset-aside__body > p { margin: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.7; font-size: 0.96rem; }

.reset-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.reset-steps li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, 0.48); }
.reset-steps li.is-active { color: #fff; }
.reset-steps li.is-done { color: var(--gold, #f2b544); }
.reset-steps__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  font-weight: 800;
}
.is-active .reset-steps__num { background: var(--gold, #f2b544); border-color: var(--gold, #f2b544); color: #102033; }
.is-done .reset-steps__num { background: rgba(242, 181, 68, 0.16); border-color: rgba(242, 181, 68, 0.5); }
.reset-steps__label strong { display: block; font-size: 0.92rem; }
.reset-steps__label small { display: block; margin-top: 2px; font-size: 0.72rem; opacity: 0.75; }

.reset-aside__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.reset-main { display: grid; place-items: center; align-content: center; padding: clamp(24px, 5vw, 64px); }
.reset-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--paper, #fffdf8);
  border: 1px solid var(--line, #e7e0d3);
  border-radius: var(--radius-lg, 28px);
  box-shadow: var(--shadow-lg, 0 26px 70px rgba(22, 50, 59, 0.14));
}
.reset-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--teal-soft, #e2f3ef);
  color: var(--teal-deep, #0b4f4a);
}
.reset-card h1 {
  margin: 0 0 10px;
  font-family: Georgia, var(--font-serif, serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.reset-card__lead { margin: 0 0 26px; color: var(--ink-soft, #405a62); font-size: 0.95rem; line-height: 1.65; }
.reset-card .field { display: block; margin-bottom: 16px; }
.reset-card .btn--block { width: 100%; }
.reset-card .section-actions { display: grid; gap: 10px; margin-top: 22px; }
.reset-card .section-actions .btn { width: 100%; }
.reset-card .flash-stack { margin-bottom: 18px; }

.reset-sent-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--gold-soft, #fdf3dc);
  color: #6b5220;
  font-size: 0.86rem;
  line-height: 1.55;
}
.reset-sent-note .icon { flex: none; margin-top: 2px; }

.reset-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--teal-deep, #0b4f4a);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}
.reset-back:hover { text-decoration: underline; }

.reset-help { margin: 18px 0 0; text-align: center; font-size: 0.8rem; color: var(--muted, #6f8389); }
.reset-help a { color: var(--teal-deep, #0b4f4a); font-weight: 700; text-decoration: none; }
.reset-help a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .reset-shell { grid-template-columns: 1fr; }
  .reset-aside { padding: 26px 22px; }
  .reset-aside__body { margin: 26px 0 18px; }
  .reset-aside h2 { font-size: 2rem; }
  .reset-steps { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
  .reset-steps li { flex-direction: column; text-align: center; gap: 8px; }
  .reset-steps__label small { display: none; }
  .reset-aside__foot { display: none; }
  .reset-main { padding: 28px 16px 40px; }
}
