* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f8ff;
  color: #0f172a;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* 顶部导航 */

.topbar {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 48px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;

  border-radius: 10px;
  background: #eaf2ff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #172554;
}

.language-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-icon {
  font-size: 16px;
}

.language-select {
  border: none;
  background: transparent;

  font-size: 14px;
  color: #1e293b;

  cursor: pointer;
  outline: none;
}


/* 主区域 */

.main-content {
  flex: 1;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  min-height: calc(100vh - 120px);
}


/* 左侧介绍区域 */

.left-panel {
  background:
    linear-gradient(
      135deg,
      #f7fbff 0%,
      #edf5ff 50%,
      #e8f1ff 100%
    );

  display: flex;
  align-items: center;

  padding: 70px 8%;
}

.left-content {
  max-width: 560px;
}

.left-content h1 {
  font-size: 46px;
  line-height: 1.18;
  color: #0f172a;

  margin-bottom: 22px;
}

.left-content h1 span {
  color: #1366e8;
}

.intro-text {
  font-size: 17px;
  line-height: 1.7;

  color: #475569;

  max-width: 440px;
  margin-bottom: 40px;
}


/* 左侧功能列表 */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  width: 46px;
  height: 46px;

  border-radius: 50%;

  background: #dceaff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;

  flex-shrink: 0;
}

.feature-item strong {
  display: block;

  font-size: 15px;

  margin-bottom: 5px;

  color: #0f172a;
}

.feature-item p {
  font-size: 13px;
  color: #64748b;
}


/* 右侧登录区域 */

.right-panel {
  background: #f8fafc;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 50px;
}

.login-card {
  width: 100%;
  max-width: 470px;

  background: #ffffff;

  border-radius: 16px;

  padding: 44px 40px;

  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08);

  border: 1px solid #e5e7eb;
}

.login-card h2 {
  text-align: center;

  font-size: 28px;

  color: #0f172a;

  margin-bottom: 8px;
}

.login-subtitle {
  text-align: center;

  font-size: 14px;

  color: #64748b;

  margin-bottom: 34px;
}


/* 表单 */

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;

  font-size: 13px;
  font-weight: 600;

  margin-bottom: 8px;

  color: #334155;
}

.input-wrapper {
  height: 52px;

  border: 1px solid #d6deea;

  border-radius: 9px;

  background: #ffffff;

  display: flex;
  align-items: center;

  padding: 0 14px;

  transition: 0.2s;
}

.input-wrapper:focus-within {
  border-color: #1463e5;

  box-shadow:
    0 0 0 3px rgba(20, 99, 229, 0.1);
}

.input-icon {
  margin-right: 10px;

  font-size: 15px;

  opacity: 0.7;
}

.input-wrapper input {
  flex: 1;

  border: none;
  outline: none;

  font-size: 14px;

  color: #0f172a;

  min-width: 0;
}

.input-wrapper input::placeholder {
  color: #94a3b8;
}

.password-eye {
  border: none;
  background: transparent;

  cursor: pointer;

  font-size: 16px;

  padding: 4px;
}


/* 忘记密码 */

.forgot-row {
  text-align: right;

  margin-top: -8px;
  margin-bottom: 24px;
}

.forgot-row a {
  color: #1263e6;

  font-size: 13px;
}

.forgot-row a:hover {
  text-decoration: underline;
}


/* 登录按钮 */

.login-button {
  width: 100%;
  height: 52px;

  border: none;

  border-radius: 8px;

  background: #1263e6;

  color: #ffffff;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition: 0.2s;
}

.login-button:hover {
  background: #0d55c8;
}

.login-button:active {
  transform: scale(0.99);
}


/* 分割线 */

.divider {
  display: flex;
  align-items: center;

  gap: 12px;

  margin: 25px 0;
}

.divider span {
  flex: 1;

  height: 1px;

  background: #e2e8f0;
}

.divider p {
  font-size: 12px;
  color: #94a3b8;
}


/* 注册框 */

.register-box {
  min-height: 48px;

  border: 1px solid #e2e8f0;

  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;

  color: #475569;

  padding: 10px;
}

.register-box a {
  margin-left: 4px;

  color: #1263e6;

  font-weight: 600;
}


/* 底部 */

.footer {
  min-height: 48px;

  display: flex;
  align-items: center;

  padding: 0 48px;

  background: #ffffff;

  border-top: 1px solid #e5e7eb;

  font-size: 12px;

  color: #64748b;
}


/* 平板 */

@media (max-width: 1000px) {

  .main-content {
    grid-template-columns: 1fr 1fr;
  }

  .left-panel {
    padding: 50px 6%;
  }

  .left-content h1 {
    font-size: 36px;
  }

  .right-panel {
    padding: 35px;
  }

}


/* 手机 */

@media (max-width: 768px) {

  .topbar {
    height: 64px;

    padding: 0 18px;
  }

  .logo-text {
    font-size: 14px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .main-content {
    display: block;

    min-height: auto;
  }

  .left-panel {
    display: none;
  }

  .right-panel {
    min-height: calc(100vh - 112px);

    padding: 30px 18px;

    align-items: flex-start;
  }

  .login-card {
    max-width: 100%;

    padding: 36px 22px;

    margin-top: 12px;

    border-radius: 14px;

    box-shadow:
      0 8px 25px rgba(15, 23, 42, 0.06);
  }

  .login-card h2 {
    font-size: 25px;
  }

  .login-subtitle {
    margin-bottom: 30px;
  }

  .input-wrapper {
    height: 50px;
  }

  .login-button {
    height: 50px;
  }

  .footer {
    min-height: 48px;

    justify-content: center;

    padding: 0 15px;
  }

}


/* 超小屏手机 */

@media (max-width: 420px) {

  .language-icon {
    display: none;
  }

  .language-select {
    font-size: 12px;
  }

  .login-card {
    padding: 30px 18px;
  }

  .register-box {
    font-size: 12px;
  }

}