/* =====================================================
   PAROLNI TIKLASH — bosqichlar (register.css ustiga qo'shiladi)
   Ulash tartibi: register.css  →  reset.css
   ===================================================== */

/* ===== BOSQICHLAR ===== */
.reset-steps {
  position: relative;
}

.reset-step {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.reset-step.is-active {
  display: flex;
}

.auth__step-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--a-text);
}

.js .auth__step-title:not(.split-ready) {
  opacity: 0;
  animation: showNow 0s linear 2s forwards;
}

/* Server xatosi (bosqich ichida, formadan tashqarida) */
.reset-step > .auth__server-error {
  margin: 0 0 12px;
  animation: rDrop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1.2s backwards;
}

/* Sarlavhadan keyingi izoh (formadan tashqarida) */
.reset-step > .auth__form-lead {
  margin: 0 0 14px;
  text-align: center;
  animation: rDrop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1.15s backwards;
}

.reset-step > .auth__switch {
  margin-top: 14px;
  animation: rUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 1.8s backwards;
}

/* "Qayta yuborish" tugmasi — havola ko'rinishida, lekin <button> */
button.auth__switch-link {
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

button.auth__switch-link:disabled {
  color: var(--a-muted);
  text-decoration: none;
  cursor: default;
}

/* 6 xonali kod maydoni */
#otpInput {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.45em;
  padding-left: calc(14px + 0.45em);
}

#otpInput::placeholder {
  letter-spacing: 0.2em;
  font-weight: 600;
}

#resetContactDisplay {
  font-weight: 800;
  color: var(--a-text);
  word-break: break-all;
}

/* ===== BOSQICH INDIKATORI (nuqtalar) ===== */
.step-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  animation: rUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.9s backwards;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--a-line-hover);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.step-dot.is-active {
  width: 24px;
  background: var(--blue);
}