html,
body {
  min-height: 100%;
}

body.ysk-login-page {
  margin: 0;
  font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #102319;
  background:
    linear-gradient(135deg, rgba(20, 83, 45, .9), rgba(22, 163, 74, .72)),
    url("/assets/img/bj.jpg") center/cover no-repeat fixed;
}

.ysk-login-page * {
  box-sizing: border-box;
}

.ysk-login-shell {
  width: min(1080px, calc(100vw - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  align-items: center;
  gap: 28px;
  padding: 42px 0;
}

.ysk-login-brand {
  min-height: 560px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: rgba(10, 68, 35, .58);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 68, 35, .28);
  backdrop-filter: blur(10px);
}

.ysk-brand-top,
.ysk-mobile-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ysk-brand-logo,
.ysk-mobile-brand img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.ysk-brand-name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.ysk-brand-subtitle {
  margin-top: 6px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.ysk-brand-main {
  max-width: 520px;
}

.ysk-brand-main h1 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
}

.ysk-brand-main p {
  margin: 20px 0 0;
  max-width: 480px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.8;
}

.ysk-brand-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ysk-brand-metrics div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
}

.ysk-brand-metrics strong,
.ysk-brand-metrics span {
  display: block;
}

.ysk-brand-metrics strong {
  font-size: 17px;
  color: #fff;
}

.ysk-brand-metrics span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.ysk-login-panel {
  padding: 38px;
  background: rgba(255, 255, 255, .96);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 68, 35, .26);
}

.ysk-mobile-brand {
  display: none;
  margin-bottom: 28px;
}

.ysk-mobile-brand span {
  font-size: 22px;
  font-weight: 700;
  color: #14532d;
}

.ysk-login-heading {
  margin-bottom: 28px;
}

.ysk-login-heading h2 {
  margin: 0;
  color: #102319;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.ysk-login-heading p {
  margin: 8px 0 0;
  color: #6b7f73;
  font-size: 14px;
}

.ysk-login-form {
  display: grid;
  gap: 18px;
}

.ysk-field {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #24543a;
  font-size: 13px;
  font-weight: 600;
}

.ysk-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d5e4dc;
  border-radius: 6px;
  background: #f8fbf9;
  color: #102319;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ysk-field input::placeholder {
  color: #9aa8a0;
}

.ysk-field input:focus {
  border-color: #16a34a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.ysk-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  align-items: end;
  gap: 10px;
}

.ysk-captcha-img {
  height: 46px;
  padding: 0;
  border: 1px solid #d5e4dc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.ysk-captcha-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ysk-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.ysk-keep-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #5b6e63;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.ysk-keep-login input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #16a34a;
}

.ysk-login-button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(22, 163, 74, .25);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ysk-login-button:hover,
.ysk-login-button:focus {
  background: #0f7f3a;
  box-shadow: 0 14px 30px rgba(15, 127, 58, .3);
}

.ysk-login-button:active {
  transform: translateY(1px);
}

.ysk-login-form .msg-container:not(.hide) {
  padding: 10px 12px;
  border-radius: 6px;
  color: #b42318;
  background: #fff1f0;
  border: 1px solid #ffd1cc;
}

.geetest_holder.geetest_wind {
  height: 46px !important;
  min-width: 0 !important;
}

@media (max-width: 920px) {
  .ysk-login-shell {
    grid-template-columns: 1fr;
    width: min(480px, calc(100vw - 32px));
  }

  .ysk-login-brand {
    display: none;
  }

  .ysk-mobile-brand {
    display: flex;
  }
}

@media (max-width: 520px) {
  .ysk-login-shell {
    min-height: 100vh;
    padding: 18px 0;
  }

  .ysk-login-panel {
    padding: 26px 20px;
  }

  .ysk-captcha-row {
    grid-template-columns: 1fr;
  }

  .ysk-captcha-img {
    width: 140px;
  }
}
