:root {
  --za-bg: #040c17;
  --za-panel: #081827;
  --za-line: rgba(148, 199, 226, .16);
  --za-mint: #75ead7;
  --za-cyan: #9cecff;
  --za-white: #edf9ff;
  --za-copy: #95aebe;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--za-bg); }
body.login.zhuoer-login-screen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr);
  align-items: stretch;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--za-white);
  background: radial-gradient(circle at 76% 14%, rgba(66, 96, 203, .2), transparent 31%), linear-gradient(135deg, #030a13, #071522 58%, #071425);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.login.zhuoer-login-screen::before,
body.login.zhuoer-login-screen::after {
  content: "";
  position: fixed;
  z-index: 0;
  border: 1px solid rgba(126, 223, 225, .1);
  border-radius: 50%;
  pointer-events: none;
}
body.login.zhuoer-login-screen::before { width: 54vw; height: 54vw; left: -20vw; bottom: -34vw; }
body.login.zhuoer-login-screen::after { width: 38vw; height: 13vw; left: 9vw; top: 43vh; transform: rotate(-23deg); }
.zauth-native-story {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: clamp(38px, 5vw, 76px);
  border-right: 1px solid var(--za-line);
  background: radial-gradient(circle at 12% 83%, rgba(117, 234, 215, .13), transparent 35%);
}
.zauth-native-brand { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.zauth-native-brand img { width: 54px; height: 54px; border-radius: 50%; filter: drop-shadow(0 0 18px rgba(117,234,215,.2)); }
.zauth-native-brand span { display: grid; gap: 4px; }
.zauth-native-brand strong { color: #fff; font-size: 19px; letter-spacing: .09em; }
.zauth-native-brand small { color: #6e8799; font-size: 7px; letter-spacing: .2em; }
.zauth-native-story > div { position: relative; max-width: 670px; padding: 90px 0 70px; }
.zauth-native-story > div > span { color: var(--za-mint); font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.zauth-native-story > div > i {
  position: absolute;
  right: 2%;
  top: 16%;
  display: grid;
  width: 106px;
  height: 106px;
  place-items: center;
  border: 1px solid rgba(117, 234, 215, .24);
  border-radius: 50%;
  color: rgba(117, 234, 215, .58);
  background: radial-gradient(circle, rgba(117,234,215,.11), transparent 68%);
  font-size: 36px;
  font-style: normal;
}
.zauth-native-story h2 { max-width: 700px; margin: 24px 0; color: #fff; font-size: clamp(46px, 5.7vw, 82px); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; }
.zauth-native-story p { max-width: 570px; margin: 0; color: var(--za-copy); font-size: 15px; line-height: 1.9; }
.zauth-native-story footer { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; padding-top: 22px; border-top: 1px solid var(--za-line); }
.zauth-native-story footer b { color: var(--za-mint); font-size: 8px; letter-spacing: .18em; }
.zauth-native-story footer span { color: #6f8798; font-size: 9px; }
body.login #login {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(450px, calc(100% - 64px));
  margin: 40px auto 112px;
  padding: 0;
}
body.login #login h1 { margin: 0 0 20px; }
body.login #login h1 a { width: 68px; height: 68px; margin: 0; background-size: 68px; }
.zauth-native-intro { display: grid; gap: 7px; margin: 0 0 22px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.zauth-native-intro span { color: var(--za-mint); font-size: 8px; font-weight: 900; letter-spacing: .19em; }
.zauth-native-intro strong { color: #fff; font-size: 27px; letter-spacing: -.03em; }
body.login form {
  margin: 0;
  padding: 30px;
  border: 1px solid var(--za-line);
  border-radius: 23px;
  background: rgba(8, 23, 38, .9);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .32);
  backdrop-filter: blur(22px);
}
body.login label { color: #b5c8d4; font-size: 11px; font-weight: 700; }
body.login form .input,
body.login input[type=text],
body.login input[type=password],
body.login input[type=email] {
  min-height: 52px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(151, 197, 226, .18);
  border-radius: 11px;
  outline: 0;
  color: #fff;
  background: #061421;
  font-size: 14px;
  box-shadow: none;
}
body.login form .input:focus,
body.login input:focus { border-color: var(--za-mint); box-shadow: 0 0 0 3px rgba(117,234,215,.12); }
body.login .wp-pwd button { color: #7f9bac; }
body.login .forgetmenot { margin-top: 9px; }
body.login .forgetmenot label { color: #819aaa; font-size: 10px; }
body.login .button-primary {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  color: #06141b;
  background: linear-gradient(135deg, var(--za-mint), var(--za-cyan));
  font-size: 11px;
  font-weight: 900;
  text-shadow: none;
  box-shadow: 0 12px 30px rgba(117,234,215,.15);
}
body.login .button-primary:hover,
body.login .button-primary:focus { color: #06141b; background: #a7f7eb; }
body.login #nav,
body.login #backtoblog { margin: 16px 0 0; padding: 0 3px; }
body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a { color: #86a0b1; font-size: 10px; }
body.login #nav a:hover,
body.login #backtoblog a:hover { color: var(--za-mint); }
body.login .message,
body.login .notice,
body.login #login_error {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(117, 234, 215, .2);
  border-left: 3px solid var(--za-mint);
  border-radius: 11px;
  color: #b9cbd6;
  background: rgba(8, 28, 42, .92);
  font-size: 11px;
  line-height: 1.6;
  box-shadow: none;
}
body.login #login_error { border-color: rgba(255,133,133,.25); border-left-color: #ff8585; }
body.login .language-switcher { display: none; }
.zauth-native-switcher {
  position: fixed;
  z-index: 3;
  right: 4vw;
  bottom: 30px;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 44vw;
}
.zauth-native-switcher > span { margin-right: 5px; color: #698294; font-size: 8px; }
.zauth-native-switcher a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 10px; border: 1px solid var(--za-line); border-radius: 99px; color: #90a8b8; background: rgba(255,255,255,.025); font-size: 8px; text-decoration: none; }
.zauth-native-switcher a:hover { border-color: rgba(117,234,215,.45); color: var(--za-mint); }
.zauth-native-switcher i { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #071622; background: var(--za-mint); font-style: normal; font-weight: 900; }
body.zhuoer-portal-parent { --za-mint: #80dff3; --za-cyan: #c6f4ff; }
body.zhuoer-portal-teacher { --za-mint: #8caeff; --za-cyan: #b8c9ff; }
body.zhuoer-portal-admin { --za-mint: #c5a5ff; --za-cyan: #9fb5ff; }

@media (max-width: 940px) {
  body.login.zhuoer-login-screen { grid-template-columns: minmax(300px, .82fr) minmax(380px, 1.18fr); }
  .zauth-native-story { padding: 38px; }
  .zauth-native-story h2 { font-size: 48px; }
  .zauth-native-story > div > i { width: 72px; height: 72px; font-size: 25px; }
}
@media (max-width: 720px) {
  body.login.zhuoer-login-screen { display: block; min-height: 100%; }
  .zauth-native-story { min-height: auto; padding: 24px 22px 62px; border-right: 0; border-bottom: 1px solid var(--za-line); }
  .zauth-native-brand img { width: 42px; height: 42px; }
  .zauth-native-brand strong { font-size: 15px; }
  .zauth-native-story > div { padding: 54px 0 0; }
  .zauth-native-story > div > i { right: 0; top: 27px; width: 58px; height: 58px; font-size: 20px; }
  .zauth-native-story h2 { max-width: calc(100% - 55px); margin: 18px 0; font-size: 39px; }
  .zauth-native-story p { font-size: 12px; line-height: 1.75; }
  .zauth-native-story footer { display: none; }
  body.login #login { width: calc(100% - 30px); margin: -30px auto 120px; }
  body.login #login h1 { display: none; }
  body.login form { padding: 24px 19px; border-radius: 18px; }
  .zauth-native-switcher { right: 15px; left: 15px; bottom: 18px; max-width: none; justify-content: center; }
  .zauth-native-switcher > span { display: none; }
  .zauth-native-switcher a { padding: 7px 8px; }
}
@media (max-width: 380px) {
  .zauth-native-switcher a { font-size: 0; }
  .zauth-native-switcher i { font-size: 8px; }
}

/* Readable native login and password-recovery hierarchy. */
.zauth-native-brand small { font-size: 9px; }
.zauth-native-story > div > span { font-size: 10px; letter-spacing: .16em; }
.zauth-native-story h2 { font-size: clamp(44px, 4.5vw, 60px); line-height: 1.06; letter-spacing: -.045em; }
.zauth-native-story p { font-size: 15px; line-height: 1.8; }
.zauth-native-story footer b,
.zauth-native-story footer span { font-size: 10px; }
.zauth-native-intro span { font-size: 10px; }
.zauth-native-intro strong { font-size: 26px; }
body.login label,
body.login .forgetmenot label { font-size: 12px; }
body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a { font-size: 11px; }
.zauth-native-switcher > span,
.zauth-native-switcher a { font-size: 11px; }
@media (max-width: 720px) {
  .zauth-native-story h2 { font-size: 34px; line-height: 1.08; }
  .zauth-native-story p { font-size: 14px; }
}
@media (max-width: 380px) {
  .zauth-native-switcher a { font-size: 11px; }
}
