.password-page-wrap {
  align-content: flex-start;
  padding: 30px 16px 50px;
}

.password-wizard {
  width: 100%;
  max-width: 580px;
  margin: 10px auto 0;
  background: rgba(20, 20, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 50px;
  box-sizing: border-box;
}

.password-steps {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}

.password-steps .step {
  color: #8a8f9f;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-steps .step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #b7bed0;
}

.password-steps .step.on {
  color: #fff;
}

.password-steps .step.on span {
  background: #e21c1c;
  color: #fff;
}

.password-steps .line {
  height: 1px;
  flex: 1;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.12);
}

.password-step-panel h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #fff;
}

.step-tips {
  margin: 0 0 20px;
  color: #9da4b5;
  font-size: 14px;
  line-height: 1.6;
}

.password-step-panel .form-item {
  margin-bottom: 20px;
}

.password-step-panel .form-item label {
  display: block;
  color: #9da4b5;
  margin-bottom: 10px;
}

.password-step-panel .login-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 5px;
  color: #000;
  border: 1px solid transparent;
}

.email-input-wrap {
  position: relative;
}

.email-domain-suggest {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0f1218;
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.email-domain-item {
  padding: 9px 12px;
  color: #e7ecf7;
  cursor: pointer;
  font-size: 14px;
}

.email-domain-item.on,
.email-domain-item:hover {
  background: rgba(226, 28, 28, 0.16);
}

.recover-method-card {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.recover-method-card:hover {
  border-color: #2f7cd6;
  background: rgba(47, 124, 214, 0.08);
}

.method-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(47, 124, 214, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f7cd6;
  font-size: 24px;
  margin-right: 16px;
}

.method-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
}

.method-desc {
  color: #9da4b5;
  font-size: 15px;
}

.captcha-row {
  display: flex;
  gap: 10px;
}

.captcha-row .btn-captcha {
  white-space: nowrap;
  min-width: 118px;
  text-align: center;
  align-self: center;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid transparent;
}

.step-actions {
  display: flex;
  gap: 12px;
  padding-top: 20px;
}

.step-actions .btn-heise{
  border: 0;
  border-radius: 5px;
  padding: 12px;
  cursor: pointer;
  background: var(--block-hover);
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}
.step-actions .btn_default {
  border: 0;
  border-radius: 5px;
  padding: 12px;
  cursor: pointer;
}

.step-actions .btn_default {
  flex: 1;
}

@media (max-width: 640px) {
  .password-wizard {
    padding: 0.5rem;
    border-radius: 12px;
  }
  .password-step-panel h2 {
    font-size: 20px;
  }
  .password-steps {
    flex-wrap: wrap;
    gap: 0.1rem;
    margin-bottom: 0.3rem;
    justify-content: space-between;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--line-1);
  }
  .password-steps .line {
    display: none;
  }
  .captcha-row {
    flex-direction: column;
  }
  .captcha-row .btn-captcha {
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
  }
  .step{
    margin: 0;
  }
  .password-steps .step{
    gap: 0.12rem;
    font-size: 0.24rem;
    white-space: nowrap;
  }
  .password-steps .step span{
    width: 0.32rem;
    height: 0.32rem;
  }
  .recover-method-card{
    padding: 0.25rem;
  }
  .step-actions .btn-heise{
    padding: 0.2rem;
    font-size: 0.28rem;
  }
  .step-actions .btn_default{
    padding: 0.2rem;
    font-size: 0.28rem;
  }
  .captcha-row .btn-captcha{
    padding: 0.2rem;
    font-size: 0.28rem;
  }
  .password-step-panel .login-input{
    padding: 0.2rem;
    font-size: 0.26rem;
  }
  .method-title{
    font-size: 0.35rem;
  }
  .btn-login-tc{
    font-size: 0.28rem;
  }
  .method-desc{
    font-size: 0.22rem;
  }
}
