:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: #172536;
  --login-navy: #083d68;
  --login-navy-deep: #062f53;
  --login-blue: #0b568f;
  --login-orange: #ed7908;
  --login-orange-light: #ff9d3e;
  --login-line: #d9e2e9;
  --login-muted: #64768a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body.login-page {
  min-width: 1080px;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  background: #f4f7f9;
  color: #172536;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

.login-screen {
  display: grid;
  grid-template-columns: 56% 44%;
  width: 100%;
  min-height: 100vh;
}

.login-brand-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: 64px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(5, 38, 67, 0.97), rgba(7, 69, 114, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, 0.04) 79px 80px);
}

.login-brand-panel::before {
  position: absolute;
  right: -185px;
  bottom: -155px;
  width: 560px;
  height: 560px;
  border: 72px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 30px rgba(238, 121, 8, 0.10),
    0 0 0 34px rgba(255, 255, 255, 0.04);
  content: "";
}

.login-bearing {
  position: absolute;
  right: 80px;
  bottom: 120px;
  width: 310px;
  height: 310px;
  border: 28px solid rgba(230, 237, 242, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 38px rgba(3, 31, 55, 0.36),
    inset 0 0 0 67px rgba(231, 239, 244, 0.11);
  transform: rotate(-13deg);
}

.login-bearing::before {
  position: absolute;
  inset: 68px;
  border: 22px solid rgba(238, 121, 8, 0.75);
  border-radius: 50%;
  content: "";
}

.login-bearing::after {
  position: absolute;
  inset: 113px;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(3, 31, 55, 0.75);
  content: "";
}

.login-brand-copy {
  position: relative;
  z-index: 2;
  width: min(610px, 90%);
  margin-top: -12px;
}

.login-eyebrow {
  margin: 0 0 18px;
  color: var(--login-orange-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.login-brand-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1.22;
  letter-spacing: 0;
}

.login-brand-description {
  max-width: 500px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 17px;
  line-height: 1.8;
}

.login-signals {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.login-signals span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.login-signals i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--login-orange);
  box-shadow: 0 0 0 4px rgba(238, 121, 8, 0.15);
}

.login-brand-foot {
  position: absolute;
  z-index: 2;
  bottom: 50px;
  left: 64px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.login-form-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: 48px 82px;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.login-form-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 126px;
  background: var(--login-orange);
  content: "";
}

.login-card {
  width: 100%;
  max-width: 430px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.login-logo-wrap {
  display: flex;
  width: 250px;
  height: 64px;
  margin: 0 0 32px;
  align-items: center;
  gap: 12px;
}

.login-logo-icon {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
}

.login-logo-wordmark {
  display: block;
  width: 174px;
  height: auto;
  object-fit: contain;
}

.login-card h2 {
  margin: 0;
  color: #10243a;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.login-subtitle {
  margin: 11px 0 34px;
  color: var(--login-muted);
  font-size: 14px;
}

.login-field {
  margin-bottom: 20px;
  text-align: left;
}

.login-field label {
  display: block;
  margin-bottom: 8px;
  color: #34495e;
  font-size: 13px;
  font-weight: 700;
}

.login-field input {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--login-line);
  border-radius: 6px;
  outline: none;
  background: #f8fafb;
  color: #172536;
  font-size: 14px;
  box-shadow: none;
  appearance: none;
}

.login-field input:focus {
  border-color: var(--login-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 77, 131, 0.10);
}

.login-field input::placeholder {
  color: #8a9bb0;
  opacity: 1;
}

.login-error {
  margin: -14px 0 20px;
  padding: 10px 12px;
  border: 1px solid #e8b9b6;
  border-radius: 6px;
  background: #fff4f3;
  color: #b42318;
  font-size: 12px;
}

.login-btn {
  display: flex;
  width: 100%;
  height: 48px;
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  background: var(--login-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(11, 77, 131, 0.18);
  cursor: pointer;
}

.login-btn:hover {
  background: #084a7d;
}

.login-btn:focus-visible {
  outline: 3px solid rgba(237, 121, 8, 0.34);
  outline-offset: 3px;
}

.login-security {
  margin: 21px 0 0;
  color: #7c8b99;
  font-size: 12px;
  text-align: center;
}

.login-security::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border: 1px solid #9aa7b2;
  vertical-align: 1px;
  content: "";
}

.login-copyright {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  color: #8996a3;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  body.login-page {
    min-width: 0;
  }

  .login-screen {
    grid-template-columns: 1fr;
  }

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

  .login-form-panel {
    min-height: 100svh;
    padding: 36px 24px 68px;
  }

  .login-card {
    max-width: 430px;
  }

  .login-logo-wrap {
    width: 224px;
    height: 58px;
    margin-bottom: 34px;
  }

  .login-logo-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .login-logo-wordmark {
    width: 154px;
  }

  .login-card h2 {
    font-size: 29px;
  }

  .login-subtitle {
    margin-bottom: 30px;
  }

  .login-copyright {
    bottom: 22px;
  }
}

@media (max-width: 420px) and (max-height: 760px) {
  .login-form-panel {
    padding-top: 28px;
    align-items: flex-start;
  }

  .login-logo-wrap {
    width: 204px;
    height: 52px;
    margin-bottom: 24px;
  }

  .login-logo-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .login-logo-wordmark {
    width: 140px;
  }

  .login-subtitle {
    margin-bottom: 24px;
  }

  .login-field {
    margin-bottom: 16px;
  }

  .login-security {
    margin-top: 16px;
  }
}
