/* 拓飞云登录页 v2 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body.lg-body {
  min-height: 100%;
  margin: 0;
  background: #fff;
  color: #152235;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lg-page {
  display: flex;
  min-height: 100vh;
}

/* Brand visual */
.lg-visual {
  position: relative;
  display: none;
  flex: 1 1 auto;
  align-items: flex-end;
  overflow: hidden;
  min-width: 0;
  margin: 16px 0 16px 16px;
  border-radius: 16px;
  background-color: #061427;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.lg-visual::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(4, 14, 30, 0) 30%, rgba(4, 14, 30, .72) 64%, rgba(4, 14, 30, .94) 100%);
  content: "";
}

.lg-visual-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 56px;
}

.lg-visual-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.3;
}

.lg-visual-copy p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  line-height: 1.8;
}

.lg-visual-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lg-visual-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .94);
  font-size: 15px;
}

.lg-visual-copy svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #7fb0ff;
}

@media (min-width: 992px) {
  .lg-visual {
    display: flex;
    background-image: url(../login-bg/login_bg_20260403124736_0c1da153.png);
    background-image: image-set(url(../login-bg/login_bg_20260403124736_0c1da153.webp) type("image/webp"), url(../login-bg/login_bg_20260403124736_0c1da153.png) type("image/png"));
  }
}

/* Form column */
.lg-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  padding: 0 20px;
}

.lg-header {
  padding-top: 20px;
}

.lg-logo {
  display: inline-block;
  line-height: 0;
}

.lg-logo img {
  display: block;
  width: auto;
  height: 36px;
}

.lg-content {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 0 32px;
}

.lg-card {
  width: 100%;
  max-width: 400px;
}

.lg-footer {
  padding: 18px 0 22px;
  border-top: 1px solid #eef1f6;
  color: #6f7d92;
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.lg-footer a {
  color: inherit;
  text-decoration: none;
}

.lg-footer a:hover {
  color: #0056ff;
}

@media (max-width: 479px) {
  .lg-footer-ask {
    display: block;
  }
}

.lg-footer .lg-strong {
  color: #0056ff;
  font-weight: 600;
}

.lg-sep {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 8px;
  background: #d5dce8;
  vertical-align: -1px;
}

@media (min-width: 992px) {
  .lg-main {
    flex: 0 0 clamp(480px, 44%, 640px);
    padding: 0 56px;
  }

  .lg-header {
    padding-top: 32px;
  }

  .lg-logo img {
    height: 40px;
  }

  .lg-content {
    align-items: center;
    padding: 32px 0;
  }
}

/* Tabs */
.lg-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #e4e9f1;
}

.lg-tab {
  position: relative;
  margin: 0;
  padding: 0 0 14px;
  border: 0;
  background: none;
  color: #6f7d92;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .2s ease;
}

@media (max-width: 479px) {
  .lg-tabs {
    gap: 14px;
  }

  .lg-tab {
    font-size: 16px;
  }
}

.lg-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: #0056ff;
  content: "";
  opacity: 0;
  transition: opacity .2s ease;
}

.lg-tab:hover {
  color: #152235;
}

.lg-tab.is-active {
  color: #152235;
  font-weight: 700;
}

.lg-tab.is-active::after {
  opacity: 1;
}

.lg-pane {
  display: none;
  padding-top: 28px;
}

.lg-pane.active {
  display: block;
}

/* Fields */
.lg-field {
  margin-bottom: 20px;
}

.lg-field[hidden],
.lg-alert[hidden] {
  display: none;
}

.lg-field label {
  display: block;
  margin-bottom: 8px;
  color: #46556b;
  font-size: 14px;
  font-weight: 500;
}

.lg-input {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d5dce8;
  border-radius: 8px;
  background: #fff;
  color: #152235;
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.lg-input::placeholder {
  color: #a5b2c5;
}

.lg-input:hover {
  border-color: #aebbd0;
}

.lg-input:focus {
  border-color: #0056ff;
  box-shadow: 0 0 0 3px rgba(0, 86, 255, .14);
  outline: 0;
}

.lg-row {
  display: flex;
  gap: 12px;
}

.lg-row .lg-input {
  flex: 1 1 auto;
  min-width: 0;
}

.lg-captcha {
  flex: 0 0 117px;
  width: 117px;
  height: 46px;
  border: 1px solid #d5dce8;
  border-radius: 8px;
  background: #f3f6fb;
  cursor: pointer;
}

.lg-code-btn {
  flex: 0 0 117px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid #0056ff;
  border-radius: 8px;
  background: #fff;
  color: #0056ff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.lg-code-btn:hover {
  background: #f2f6ff;
}

.lg-code-btn:disabled {
  border-color: #d5dce8;
  background: #f7f9fc;
  color: #94a1b5;
  cursor: not-allowed;
}

.lg-hint {
  margin: 8px 0 0;
  color: #6f7d92;
  font-size: 13px;
  line-height: 1.6;
}

.lg-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin: 28px 0 0;
  border: 0;
  border-radius: 8px;
  background: #0056ff;
  box-shadow: 0 8px 20px rgba(0, 86, 255, .22);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  transition: background-color .2s ease;
}

.lg-submit:hover {
  background: #0046d1;
}

.lg-tab:focus-visible,
.lg-submit:focus-visible,
.lg-code-btn:focus-visible,
.lg-captcha:focus-visible {
  outline: 2px solid #0056ff;
  outline-offset: 3px;
}

/* Messages */
.lg-alert {
  margin-bottom: 20px;
  padding: 10px 14px;
  border: 1px solid #ffd3ce;
  border-radius: 8px;
  background: #fff4f2;
  color: #c9341b;
  font-size: 14px;
  line-height: 1.6;
}

.lg-alert.is-success {
  border-color: #cfe0ff;
  background: #f2f6ff;
  color: #24406f;
}

.lg-register {
  margin: 20px 0 0;
  color: #6f7d92;
  font-size: 14px;
  text-align: center;
}

.lg-register a {
  margin-left: 4px;
  color: #0056ff;
  font-weight: 600;
  text-decoration: none;
}

.lg-register a:hover {
  text-decoration: underline;
}

.lg-tip {
  margin: 16px 0 0;
  color: #6f7d92;
  font-size: 13px;
  line-height: 1.7;
}
