@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple-50: #eeedfe;
  --purple-100: #d4d0f8;
  --purple-200: #afa9ec;
  --purple-400: #7f77dd;
  --purple-600: #533ab7;
  --purple-700: #3f2d9e;
  --purple-900: #26215c;
  --green-50: #eaf6e8;
  --green-400: #6dbb6d;
  --green-500: #4caf50;
  --green-600: #3a9e3a;
  --red-50: #fef0f0;
  --red-500: #e03c3c;
  --text-primary: #1a1a1a;
  --text-secondary: #5f5e5a;
  --text-tertiary: #9a9890;
  --bg-primary: #ffffff;
  --bg-secondary: #f4f3f8;
  --bg-page: #f0eff7;
  --border-light: rgba(0,0,0,0.09);
  --border-mid: rgba(0,0,0,0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
}

html, body {
  min-height: 100%;
  font-family: "DM Sans", sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 60px;
  position: relative;
}

/* background blobs */
.page::before {
  content: "";
  position: fixed;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 119, 221, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page::after {
  content: "";
  position: fixed;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 58, 183, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Steps indicator ── */
.steps-wrap {
  width: 100%;
  max-width: 440px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

.step-circle.done {
  background: var(--green-500);
  color: #fff;
  border: 2px solid var(--green-500);
}

.step-circle.active {
  background: var(--purple-600);
  color: #fff;
  border: 2px solid var(--purple-600);
  box-shadow: 0 0 0 4px rgba(83, 58, 183, 0.15);
}

.step-circle.idle {
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  border: 2px solid var(--border-mid);
}

.step-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.step-label.active {
  color: var(--purple-600);
}

.step-label.done {
  color: var(--green-500);
}

.step-label.idle {
  color: var(--text-tertiary);
}

.step-connector {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  margin: 0 6px;
  margin-bottom: 22px;
  max-width: 60px;
  transition: background 0.3s;
}

.step-connector.done {
  background: var(--green-500);
}

.step-connector.active {
  background: var(--purple-200);
}

.step-connector.idle {
  background: var(--border-light);
}

/* ── Card ── */
.card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-primary);
  border-radius: var(--radius-2xl);
  border: 0.5px solid var(--border-light);
  box-shadow: 0 4px 32px rgba(83, 58, 183, 0.1), 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--purple-900), var(--purple-400));
  transition: background 0.4s;
}

.card-body {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  text-decoration: none;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--purple-900);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(38, 33, 92, 0.28);
}

.logo-icon svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-family: "Sora", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 28px;
  text-align: center;
}

/* ── Icon header ── */
.icon-header {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s;
}

.icon-header svg {
  width: 30px;
  height: 30px;
}

.icon-header.lock {
  background: var(--purple-50);
  border: 2px solid var(--purple-100);
  color: var(--purple-600);
}

.icon-header.mail {
  background: #e8f4fd;
  border: 2px solid #c5dff5;
  color: #1a6fa8;
}

.icon-header.key {
  background: var(--purple-50);
  border: 2px solid var(--purple-100);
  color: var(--purple-600);
}

.icon-header.check {
  background: var(--green-50);
  border: 2px solid #b6e0b4;
  color: var(--green-500);
}

.step-title {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 320px;
}

.step-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Form ── */
.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  position: relative;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
}

.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.field-icon svg {
  width: 17px;
  height: 17px;
}

.field input {
  width: 100%;
  height: 52px;
  background: var(--bg-secondary);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 44px 0 44px;
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.field input::-moz-placeholder {
  color: var(--text-tertiary);
}

.field input::placeholder {
  color: var(--text-tertiary);
}

.field input:focus {
  border-color: var(--purple-400);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(127, 119, 221, 0.14);
}

.field input.error {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(224, 60, 60, 0.1);
}

.field input.success {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

.eye-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.12s;
}

.eye-toggle:hover {
  color: var(--purple-600);
}

.eye-toggle svg {
  width: 17px;
  height: 17px;
}

/* OTP grid */
.otp-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.otp-input {
  width: 52px;
  height: 60px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--purple-600);
  text-align: center;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  caret-color: var(--purple-600);
}

.otp-input:focus {
  border-color: var(--purple-400);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(127, 119, 221, 0.14);
}

.otp-input.filled {
  border-color: var(--purple-600);
  background: var(--purple-50);
}

/* password strength */
.strength-wrap {
  margin-top: -4px;
}

.strength-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 5px;
}

.sbar {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--border-light);
  transition: background 0.3s;
}

.sbar.weak {
  background: var(--red-500);
}

.sbar.medium {
  background: #f0a500;
}

.sbar.strong {
  background: var(--green-500);
}

.strength-text {
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  justify-content: space-between;
}

.strength-text span {
  font-weight: 600;
}

.strength-text .w {
  color: var(--red-500);
}

.strength-text .m {
  color: #f0a500;
}

.strength-text .s {
  color: var(--green-500);
}

/* requirements */
.requirements {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
}

.req {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

.req.met {
  color: var(--green-600);
}

.req-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.req.met .req-dot {
  background: var(--green-500);
  border-color: var(--green-500);
}

.req-dot svg {
  width: 8px;
  height: 8px;
  color: #fff;
  display: none;
}

.req.met .req-dot svg {
  display: block;
}

/* ── Resend row ── */
.resend-row {
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
}

.resend-btn {
  background: none;
  border: none;
  color: var(--purple-600);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  padding: 0;
  transition: color 0.12s;
}

.resend-btn:hover {
  color: var(--purple-700);
  text-decoration: underline;
}

.resend-btn:disabled {
  color: var(--text-tertiary);
  cursor: default;
  text-decoration: none;
}

/* ── Alert ── */
.alert {
  width: 100%;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  display: none;
}

.alert.show {
  display: flex;
}

.alert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.alert.error {
  background: var(--red-50);
  color: var(--red-500);
  border: 1px solid rgba(224, 60, 60, 0.18);
}

.alert.info {
  background: var(--purple-50);
  color: var(--purple-600);
  border: 1px solid var(--purple-100);
}

/* ── CTA Button ── */
.cta-btn {
  width: 100%;
  height: 54px;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 18px rgba(83, 58, 183, 0.3);
  margin-top: 4px;
}

.cta-btn:hover {
  opacity: 0.92;
  box-shadow: 0 6px 24px rgba(83, 58, 183, 0.4);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.cta-btn svg {
  width: 17px;
  height: 17px;
}

.cta-btn.green {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  box-shadow: 0 4px 18px rgba(76, 175, 80, 0.3);
}

.cta-btn.green:hover {
  box-shadow: 0 6px 24px rgba(76, 175, 80, 0.4);
}

/* spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ── Divider ── */
.divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
}

.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: var(--border-light);
}

.divider span {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  white-space: nowrap;
}

/* ── Back to login ── */
.back-row {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.back-row a {
  color: var(--purple-600);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.12s;
}

.back-row a:hover {
  color: var(--purple-700);
}

.back-row a svg {
  width: 14px;
  height: 14px;
}

/* ── Success state ── */
.success-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-50);
  border: 3px solid var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.success-check svg {
  width: 36px;
  height: 36px;
  color: var(--green-500);
}

.success-title {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.success-sub {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ── Terms ── */
.terms {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.65;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 0.5px solid var(--border-light);
  width: 100%;
}

.terms a {
  color: var(--purple-600);
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

/* ── Step panels ── */
.step-panel {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.step-panel.active {
  display: flex;
}

/* ── Responsive ── */
@media (min-width: 480px) {
  .card-body {
    padding: 40px 40px 36px;
  }
  .otp-input {
    width: 58px;
    height: 66px;
    font-size: 26px;
  }
}
@media (min-width: 768px) {
  .page {
    padding: 60px 24px;
  }
}/*# sourceMappingURL=reset-password.css.map */