:root {
  --geo-login-bg-image: url("../img/login-ai-geo-bg.webp");
  --geo-login-ink: #020807;
  --geo-login-panel: #ffffff;
  --geo-login-text: #111827;
  --geo-login-muted: #55616e;
  --geo-login-green: #0fb574;
  --geo-login-green-2: #12c883;
  --geo-login-cyan: #18e7d1;
  --geo-login-line: rgba(255, 255, 255, 0.16);
  --geo-login-dark-card: rgba(3, 17, 15, 0.72);
  --geo-login-shadow: 0 42px 96px rgba(0, 0, 0, 0.36), 0 18px 58px rgba(10, 16, 20, 0.16);
}

html,
body.geo-login-page {
  width: 100%;
  min-height: 100%;
}

body.geo-login-page {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  background: #020807;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0 !important;
}

body.geo-login-page * {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

body.geo-login-page a {
  color: inherit;
}

.geo-login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--geo-login-bg-image) center center / cover no-repeat;
  filter: saturate(0.86) contrast(0.96) brightness(0.96);
  transform: scale(1.006);
  transform-origin: center;
}

.geo-login-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.035) 34%, rgba(0, 0, 0, 0.035) 66%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.025) 46%, rgba(0, 0, 0, 0.12) 100%);
}

.geo-login-brand {
  position: fixed;
  left: 34px;
  top: 32px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f7fffc;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.geo-brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--geo-login-green-2);
  filter: drop-shadow(0 0 12px rgba(18, 200, 131, 0.24));
}

.geo-brand-mark svg {
  width: 100%;
  height: 100%;
}

.geo-lang-switch {
  position: fixed;
  right: 34px;
  top: 32px;
  z-index: 5;
}

.geo-lang-btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(184, 255, 232, 0.18);
  border-radius: 999px;
  background: rgba(3, 17, 15, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  color: rgba(247, 255, 252, 0.9);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.geo-lang-btn:hover {
  border-color: rgba(18, 200, 131, 0.46);
  color: #ffffff;
}

.geo-lang-btn svg {
  width: 17px;
  height: 17px;
  color: var(--geo-login-green-2);
}

.geo-lang-menu {
  position: absolute;
  top: 46px;
  right: 0;
  min-width: 130px;
  display: none;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(184, 255, 232, 0.18);
  border-radius: 10px;
  background: rgba(3, 17, 15, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.geo-lang-menu.show {
  display: block;
}

.geo-lang-menu a {
  display: block;
  padding: 9px 11px;
  border-radius: 7px;
  color: rgba(247, 255, 252, 0.78);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.geo-lang-menu a:hover,
.geo-lang-menu li.active a {
  background: rgba(16, 185, 129, 0.16);
  color: #ffffff;
}

.geo-login-shell {
  position: relative;
  z-index: 2;
  width: min(1210px, calc(100vw - 96px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 630px 420px;
  gap: 0;
  justify-content: space-between;
  align-items: center;
  padding: 92px 0 70px;
}

.geo-login-left {
  min-width: 0;
  padding-top: 70px;
}

.geo-login-hero {
  max-width: 680px;
  margin-left: 0;
}

.geo-login-hero h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(44px, 4vw, 58px);
  line-height: 1.06;
  font-weight: 850;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.geo-login-hero h1 span {
  color: var(--geo-login-green-2);
}

.geo-login-hero p {
  max-width: 550px;
  margin: 0;
  color: rgba(244, 255, 251, 0.92);
  font-size: 21px;
  line-height: 1.52;
  font-weight: 400;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.geo-info-card {
  width: min(500px, 100%);
  min-height: 408px;
  margin-top: 38px;
  padding: 30px 30px 26px;
  border: 1px solid rgba(205, 242, 232, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(1, 10, 10, 0.72) 0%, rgba(1, 10, 10, 0.66) 40%, rgba(1, 10, 10, 0.48) 68%, rgba(1, 10, 10, 0.18) 88%, rgba(1, 10, 10, 0.04) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.geo-info-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: #f7fffc;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.geo-info-mark {
  width: 40px;
  height: 40px;
  color: var(--geo-login-green-2);
  flex: 0 0 auto;
}

.geo-info-mark svg {
  width: 100%;
  height: 100%;
}

.geo-info-card h2 {
  margin: 0 0 22px;
  color: var(--geo-login-green-2);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 750;
}

.geo-info-copy {
  max-width: 420px;
  margin: 0 0 22px;
  color: rgba(246, 255, 251, 0.92);
  font-size: 16px;
  line-height: 1.55;
}

.geo-feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo-feature-list li {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f7fffc;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

.geo-feature-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--geo-login-green-2);
  flex: 0 0 auto;
}

.geo-feature-icon svg {
  width: 24px;
  height: 24px;
}

.geo-login-card {
  width: 100%;
  align-self: start;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  margin-top: 96px;
  padding: 48px 36px 36px;
  color: var(--geo-login-text);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  box-shadow: var(--geo-login-shadow);
}

.geo-login-card h2 {
  margin: 0 0 12px;
  color: #101010;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 820;
}

.geo-login-subtitle {
  max-width: 290px;
  margin: 0 0 34px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.55;
}

.geo-login-form {
  margin: 0;
}

.geo-form-group {
  margin-bottom: 24px;
}

.geo-form-group label {
  display: block;
  margin: 0 0 9px;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.geo-form-group .form-control {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #dbe3ec;
  border-radius: 7px;
  background: #fbfcfd;
  box-shadow: none;
  color: #111827;
  font-size: 15px;
  line-height: 48px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.geo-form-group .form-control::placeholder {
  color: #6b7280;
}

.geo-form-group .form-control:focus {
  border-color: var(--geo-login-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.geo-password-field,
.geo-captcha-field {
  position: relative;
}

.geo-password-field .form-control {
  padding-right: 46px;
}

.geo-password-toggle {
  position: absolute;
  right: 11px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.geo-password-toggle:hover {
  color: #111827;
  background: #f3f6f8;
}

.geo-password-toggle svg {
  width: 19px;
  height: 19px;
}

.geo-captcha-field .form-control {
  padding-right: 118px;
}

.geo-captcha-image {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 104px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

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

.geo-login-options {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 34px;
  color: #111827;
  font-size: 14px;
  line-height: 1.3;
}

.geo-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #111827;
  font-weight: 500;
  cursor: pointer;
}

.geo-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--geo-login-green);
}

.geo-forgot-link {
  margin-left: auto;
  color: #0068ff;
  font-weight: 500;
  white-space: nowrap;
}

.geo-login-submit {
  width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #12b879 0%, #079862 100%);
  box-shadow: 0 16px 34px rgba(7, 152, 98, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.geo-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(7, 152, 98, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  filter: brightness(1.02);
}

.geo-login-submit:active {
  transform: translateY(0);
}

.geo-login-note {
  margin: auto 0 0;
  padding-top: 32px;
  color: #55616e;
  font-size: 13px;
  line-height: 1.45;
}

.geo-login-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(233, 255, 248, 0.66);
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}

.geo-login-footer a {
  color: rgba(233, 255, 248, 0.66);
  text-decoration: none;
  pointer-events: auto;
}

.geo-login-footer a:hover {
  color: #ffffff;
}

body.geo-login-page .hide {
  display: none !important;
}

body.geo-login-page .toast {
  letter-spacing: 0 !important;
}

@media (max-width: 1180px) {
  .geo-login-shell {
    width: min(1080px, calc(100vw - 64px));
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 54px;
  }

  .geo-login-hero h1 {
    font-size: clamp(40px, 4.5vw, 52px);
  }

  .geo-info-card {
    width: min(470px, 100%);
  }
}

@media (min-width: 1800px) {
  .geo-login-shell {
    width: min(1320px, calc(100vw - 128px));
    grid-template-columns: 630px 420px;
    gap: 0;
  }

  .geo-login-left {
    padding-top: 62px;
  }

  .geo-login-card {
    margin-top: 152px;
  }
}

@media (max-width: 920px) {
  body.geo-login-page {
    overflow: auto;
  }

  .geo-login-brand {
    position: relative;
    left: auto;
    top: auto;
    margin: 24px 22px 0;
    font-size: 20px;
  }

  .geo-brand-mark {
    width: 34px;
    height: 34px;
  }

  .geo-lang-switch {
    top: 22px;
    right: 18px;
  }

  .geo-lang-btn {
    height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .geo-login-shell {
    width: min(520px, calc(100vw - 36px));
    min-height: auto;
    display: block;
    padding: 58px 0 36px;
  }

  .geo-login-left {
    padding-top: 0;
  }

  .geo-login-hero h1 {
    font-size: 38px;
  }

  .geo-login-hero p {
    font-size: 17px;
  }

  .geo-info-card {
    width: 100%;
    min-height: auto;
    margin-top: 28px;
    padding: 26px 24px;
  }

  .geo-login-card {
    min-height: auto;
    margin-top: 22px;
    padding: 34px 26px 30px;
  }

  .geo-login-note {
    margin-top: 28px;
    padding-top: 0;
  }

  .geo-login-footer {
    position: relative;
    bottom: auto;
    padding: 0 18px 24px;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .geo-login-brand {
    margin-top: 20px;
    margin-left: 18px;
    font-size: 18px;
  }

  .geo-lang-switch {
    top: 20px;
    right: 15px;
  }

  .geo-lang-btn span {
    display: none;
  }

  .geo-lang-btn {
    width: 34px;
    justify-content: center;
    padding: 0;
  }

  .geo-login-shell {
    width: calc(100vw - 30px);
    padding-top: 40px;
  }

  .geo-login-hero h1 {
    font-size: 34px;
  }

  .geo-login-hero p {
    font-size: 15px;
  }

  .geo-info-brand {
    font-size: 20px;
  }

  .geo-info-card h2 {
    font-size: 20px;
  }

  .geo-info-copy,
  .geo-feature-list li {
    font-size: 14px;
  }

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

  .geo-login-subtitle {
    font-size: 15px;
  }
}
