:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: #f3f8fc;
  color: #082b52;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #f3f8fc;
}

button,
input,
select {
  font: inherit;
}

.yz-login-main {
  width: min(100% - 28px, 430px);
  margin: 0 auto;
  padding: 28px 0 88px;
}

.yz-login-intro {
  margin-bottom: 18px;
}

.yz-login-intro h1 {
  margin: 0 0 8px;
  color: #07284b;
  font-size: 25px;
  line-height: 1.3;
}

.yz-login-intro p {
  margin: 0;
  color: #536b84;
  font-size: 14px;
  line-height: 1.75;
}

.yz-login-card {
  padding: 20px 16px;
  border: 1px solid #dce8f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 73, 116, 0.06);
}

.yz-login-card-head {
  margin-bottom: 16px;
}

.yz-login-card-head strong {
  display: block;
  margin-bottom: 4px;
  color: #082b52;
  font-size: 19px;
}

.yz-login-card-head span {
  color: #718399;
  font-size: 13px;
}

.yz-login-form {
  display: grid;
  gap: 12px;
}

.yz-login-field {
  display: grid;
  min-width: 0;
  height: 50px;
  overflow: hidden;
  border: 1px solid #cbdceb;
  border-radius: 9px;
  background: #fff;
}

.yz-login-field-phone {
  grid-template-columns: 118px minmax(0, 1fr);
}

.yz-login-field-code {
  grid-template-columns: minmax(0, 1fr) 118px;
}

.yz-login-field input,
.yz-login-field select,
.yz-login-field button {
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #082b52;
}

.yz-login-field select {
  width: 100%;
  padding: 0 10px;
  border-right: 1px solid #dce6ef;
  font-size: 13px;
  font-weight: 700;
}

.yz-login-field input {
  width: 100%;
  padding: 0 12px;
  font-size: 14px;
}

.yz-login-field input::placeholder {
  color: #9aa9b8;
}

.yz-login-field button {
  border-left: 1px solid #dce6ef;
  background: #edf6ff;
  color: #0871bd;
  font-size: 14px;
  font-weight: 700;
}

.yz-login-field:focus-within {
  border-color: #1988d4;
  box-shadow: 0 0 0 3px rgba(25, 136, 212, 0.12);
}

.yz-login-consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #5c7187;
  font-size: 12px;
  line-height: 1.6;
}

.yz-login-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
}

.yz-login-consent a {
  color: #0871bd;
  text-decoration: none;
}

.yz-login-tip {
  margin: 0;
  color: #6a7d90;
  font-size: 12px;
  line-height: 1.65;
}

.yz-login-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 9px;
  background: #1684d6;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.yz-login-submit:disabled {
  background: #c7d5e0;
  color: #f7fafc;
}

.yz-login-support {
  margin: 16px 2px 0;
  color: #5f7489;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.yz-login-support a {
  color: #0871bd;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 768px) {
  .yz-login-main {
    padding-top: 48px;
  }
}

