:root {
  --org-ink: #122033;
  --org-muted: #5f6f86;
  --org-line: rgba(18, 32, 51, 0.1);
  --org-blue: #006eff;
  --org-blue-deep: #0056d6;
  --org-soft: #eef4ff;
  --org-panel: #ffffff;
  --org-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--org-font);
  color: var(--org-ink);
  background: #f4f7fb;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.org-login {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  isolation: isolate;
  overflow: hidden;
}

.org-login__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 640px at 12% 18%, rgba(0, 110, 255, 0.14), transparent 58%),
    radial-gradient(820px 520px at 88% 12%, rgba(0, 168, 210, 0.1), transparent 55%),
    linear-gradient(160deg, #f7faff 0%, #eef3f9 48%, #f8fafc 100%);
}

.org-login__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 100px);
  animation: org-rise 0.7s ease both;
}

.org-login__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 56px;
  width: fit-content;
}

.org-login__logo img {
  height: 32px;
  display: block;
}

.org-login__logo span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--org-ink);
}

.org-login__eyebrow {
  margin: 0 0 14px;
  color: var(--org-blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.org-login__title {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--org-ink);
}

.org-login__desc {
  margin: 0;
  max-width: 26em;
  color: var(--org-muted);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
}

.org-login__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 48px 0 0;
  padding: 0;
}

.org-login__meta li {
  min-width: 88px;
}

.org-login__meta em {
  display: block;
  margin-bottom: 8px;
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: var(--org-ink);
}

.org-login__meta span {
  color: var(--org-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.org-login__panel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  animation: org-rise 0.85s 0.05s ease both;
}

.org-login__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 40px 36px 28px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 20px;
  background: var(--org-panel);
  box-shadow:
    0 1px 2px rgba(18, 32, 51, 0.04),
    0 24px 60px rgba(18, 48, 96, 0.1);
}

.org-login__switch {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--org-line);
  color: var(--org-muted);
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.org-login__switch:hover {
  color: var(--org-blue);
  border-color: rgba(0, 110, 255, 0.35);
  background: var(--org-soft);
}

.org-login__panel-title {
  margin: 4px 0 8px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--org-ink);
  letter-spacing: 0.04em;
}

.org-login__panel-sub {
  margin: 0 0 28px;
  color: var(--org-muted);
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}

.scanlogin,
.mobilelogin {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scanlogin .qrcode {
  width: 200px;
  height: 200px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--org-line);
  background: #fff;
  object-fit: contain;
}

.scan_caption {
  margin: 16px 0 0;
  color: var(--org-muted);
  font-size: 13px;
}

.scan_caption--sub {
  margin-top: 8px;
  color: #8a919f;
  font-size: 12px;
  line-height: 1.6;
}

.org-login__apps {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

.org-login__apps > p {
  margin: 0 0 12px;
  color: var(--org-muted);
  font-size: 13px;
}

.org-login__apps .download {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.org-login__apps .download a img {
  height: 36px;
  display: block;
}

.org-login--mini .mobilelogin,
.org-login--mini .qinglite-login-type {
  display: none !important;
}

.mobilelogin {
  width: 100%;
  display: none;
}

.mobilelogin .username,
.mobilelogin .smscode {
  width: 100%;
  height: 48px;
  margin-bottom: 14px;
  padding: 0 16px;
  border: 1px solid var(--org-line);
  border-radius: 12px;
  outline: none;
  color: var(--org-ink);
  background: #f8fafc;
  font-size: 15px;
}

.mobilelogin .username:focus,
.mobilelogin .smscode:focus {
  border-color: rgba(0, 110, 255, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 110, 255, 0.12);
}

.mobilelogin .username::placeholder,
.mobilelogin .smscode::placeholder {
  color: #9aa7ba;
}

.mobilelogin .code {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
}

.mobilelogin .code .smscode {
  margin-bottom: 0;
  flex: 1;
}

.mobilelogin .code .qinglite-send-v2 {
  width: 118px;
  height: 48px;
  border: 1px solid rgba(0, 110, 255, 0.28);
  border-radius: 12px;
  color: var(--org-blue);
  background: var(--org-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.qinglite-login {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: linear-gradient(135deg, var(--org-blue), var(--org-blue-deep));
  box-shadow: 0 12px 28px rgba(0, 110, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qinglite-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 110, 255, 0.34);
}

.org-login__foot {
  margin-top: 22px;
  color: #93a0b3;
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}

.org-login__foot a {
  color: var(--org-blue);
}

.org-login__foot a:hover {
  text-decoration: underline;
}

.qinglite-alert {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #122033;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.qinglite-alert.error {
  background: #b42318;
}

@keyframes org-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .org-login {
    grid-template-columns: 1fr;
  }

  .org-login__brand {
    padding: 48px 28px 8px;
    text-align: center;
    align-items: center;
  }

  .org-login__logo {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
  }

  .org-login__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .org-login__meta {
    justify-content: center;
    gap: 24px;
  }

  .org-login__panel-wrap {
    padding: 16px 20px 40px;
  }
}
