/* base */
body {
  margin: 0;
  padding: 0;
  font: 14px/1.5715 "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: rgba(0, 0, 0, 0.88);
  background: #f5f6f8;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

img {
  vertical-align: top;
  border: 0;
}

ol,
ul {
  list-style: none;
}

input,
select {
  outline: 0;
  vertical-align: middle;
}

/* layout utilities */
.left {
  float: left;
}

.t_center {
  text-align: center;
}

.clear {
  zoom: 1;
}

.clear::after {
  content: '';
  display: block;
  clear: both;
}

.wrap {
  width: 900px;
  margin: 0 auto;
}

.arial {
  font-family: Arial, sans-serif;
}

.pointer {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #1677ff;
}

a:hover {
  color: #4096ff;
}

.yellow {
  color: #1677ff;
}

.gray {
  color: rgba(0, 0, 0, 0.88);
}

.red {
  color: #ff4d4f;
}

.f36 {
  font-size: 28px;
}

.f24 {
  font-size: 24px;
}

.f18 {
  font-size: 18px;
}

.f14 {
  font-size: 14px;
}

.box20 {
  height: 20px;
  overflow: hidden;
}

/* ===== find-pwd page shell ===== */
.find-pwd-page {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 40px 16px 64px;
  background:
    radial-gradient(1200px 480px at 50% -120px, rgb(22 119 255 / 8%), transparent 70%),
    #f5f6f8;
}

.find-pwd-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.find-pwd-brand-logo {
  display: block;
  height: 48px;
  width: auto;
}

.find-pwd-brand-divider {
  width: 1px;
  height: 28px;
  background: #d9d9d9;
}

.find-pwd-brand-title {
  color: rgba(0, 0, 0, 0.65);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.find-pwd-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
  overflow: hidden;
}

.find-pwd-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 28px 40px 8px;
  list-style: none;
}

.find-pwd-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  position: relative;
  padding-right: 56px;
}

.find-pwd-step:last-child {
  padding-right: 0;
}

.find-pwd-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #e5e7eb;
  transform: translateY(-50%);
}

.find-pwd-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.find-pwd-step.is-process {
  color: rgba(0, 0, 0, 0.88);
  font-weight: 500;
}

.find-pwd-step.is-process .find-pwd-step-index {
  color: #fff;
  background: #1677ff;
  border-color: #1677ff;
}

.find-pwd-step.is-finish {
  color: rgba(0, 0, 0, 0.65);
}

.find-pwd-step.is-finish .find-pwd-step-index {
  color: #1677ff;
  background: #e6f4ff;
  border-color: #91caff;
}

.find-pwd-step.is-finish:not(:last-child)::after {
  background: #91caff;
}

/* content inside card */
.content {
  background: transparent;
  border: none;
}

.c_title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 40px 0;
  padding: 20px 0 16px;
  border-bottom: 1px solid #f0f0f0;
  background: none;
  color: rgba(0, 0, 0, 0.88);
  font-size: 18px;
  font-weight: 500;
}

.c_title .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: #e6f4ff;
  color: #1677ff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.c_info {
  padding: 40px 48px 56px;
  min-height: 320px;
  box-sizing: border-box;
}

.c_info a {
  text-decoration: none;
  color: #1677ff;
}

.c_info a:hover {
  color: #4096ff;
}

/* find-pwd / reset-phone form: one control width for all fields */
.find-pwd-form {
  --control-width: 360px;
  max-width: 640px;
  margin: 0 auto;
}

.find-pwd-form .ant-form-item {
  margin-bottom: 28px;
}

.find-pwd-form .ant-form-item:last-child {
  margin-bottom: 0;
  margin-top: 8px;
}

.find-pwd-form.ant-form-horizontal .ant-form-item-label {
  flex: 0 0 148px;
  max-width: 148px;
}

.find-pwd-form .ant-input {
  box-sizing: border-box;
  width: var(--control-width);
  max-width: 100%;
  height: 40px;
  padding: 7px 12px;
  font-size: 14px;
  border-radius: 8px;
}

.find-pwd-form .ant-input-group {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: var(--control-width);
  max-width: 100%;
  flex-wrap: nowrap;
  gap: 8px;
}

.find-pwd-form .ant-input-group > .ant-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
}

.find-pwd-form .ant-input-group > .btn,
.find-pwd-form .ant-input-group > .find-pwd-captcha {
  flex: none;
}

.find-pwd-form .ant-form-item-extra,
.find-pwd-form .ant-form-item-explain {
  max-width: var(--control-width);
}

.find-pwd-form .ant-form-item-extra {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  line-height: 1.6;
}

.find-pwd-form .find-pwd-action .btn {
  width: auto;
  min-width: 120px;
  height: 40px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 15px;
}

.find-pwd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 8px;
  font-size: 13px;
}

.find-pwd-links a {
  text-decoration: none;
}

.find-pwd-captcha {
  height: 40px;
  width: 104px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background: #fafafa;
  object-fit: cover;
  vertical-align: middle;
  transition: border-color 0.2s;
}

.find-pwd-form .ant-input-group > .btn {
  height: 40px;
  min-width: 120px;
  padding: 0 12px;
  white-space: nowrap;
}

.find-pwd-captcha:hover {
  border-color: #1677ff;
}

.find-pwd-phone {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.88);
}

.find-pwd-success {
  padding: 56px 40px 72px;
  text-align: center;
}

.find-pwd-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #f6ffed;
  color: #52c41a;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.find-pwd-success-title {
  margin: 0 0 12px;
  color: rgba(0, 0, 0, 0.88);
  font-size: 24px;
  font-weight: 600;
}

.find-pwd-success-desc {
  margin: 0 0 28px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
}

.find-pwd-success-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  max-width: 560px;
  margin: 0 auto;
  font-size: 14px;
}

/* reset-phone shares find-pwd visual language */
.header {
  height: 72px;
  margin-bottom: 16px;
  background-image: var(--find-pwd-logo);
  background-repeat: no-repeat;
  background-position: 0 center;
  background-size: auto 48px;
}

.header a {
  display: block;
  width: 192px;
  height: 72px;
}

.reset-phone-page .find-pwd-card,
.wrap > .content {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
}

.reset-phone-tip {
  margin: 0 0 28px;
  padding: 12px 16px;
  color: #ad6800;
  font-size: 14px;
  line-height: 1.6;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
}

.reset-phone-form {
  --control-width: 360px;
  max-width: 720px;
}

.reset-phone-upload {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: var(--control-width);
  max-width: 100%;
}

@media (width <= 940px) {
  .wrap {
    width: 100%;
    max-width: 900px;
  }

  .find-pwd-steps {
    padding: 24px 20px 8px;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .c_title {
    margin: 8px 20px 0;
  }

  .c_info {
    padding: 28px 20px 40px;
  }

  .find-pwd-form.ant-form-horizontal .ant-form-item-label {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
    margin-bottom: 6px;
  }

  .find-pwd-form.ant-form-horizontal .ant-form-item-label > label {
    height: auto;
  }

  .find-pwd-form {
    --control-width: 100%;
  }

  .find-pwd-form .ant-input,
  .find-pwd-form .ant-input-group,
  .reset-phone-upload {
    width: 100%;
  }
}
