/* 忘记密码页面特定样式 */

.restpassword-page .login-section {
  /* 复用登录页的位置和大小，轻微调整宽度以适应步骤指示 */
  width: 420px;
}

.restpassword-container {
  /* 相比登录略微加大顶部间距 */
  padding-top: 24px;
}

/* 步骤指示器 */
.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(170, 170, 170, 1);
  font-size: 14px;
}

.step-item .step-index {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(204, 204, 204, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.step-item.active {
  color: rgba(1, 84, 152, 1);
}

.step-item.active .step-index {
  border-color: rgba(1, 84, 152, 1);
  background: rgba(1, 84, 152, 1);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 1px;
  background: rgba(238, 238, 238, 1);
  margin: 0 12px;
}

/* 两步表单显隐 */
.reset-step {
  display: none;
}

.reset-step.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reset-button {
  margin-top: 8px;
}

.reset-links {
  margin-top: 12px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .step-indicator {
    margin-bottom: 16px;
  }

  .step-text {
    font-size: 13px;
  }
}
