* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #fff;
  overflow: hidden;
}

.login-page {
  width: 100%;
  height: 100vh;
  display: flex;
}

/* 左边蓝色区域 */
.left-panel {
  flex: 1;
  background: #2f49c4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 右侧过渡弧形 */
.left-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 0;
  width: 240px;
  height: 100%;
  background: #fff;
  border-top-left-radius: 50% 60%;
  border-bottom-left-radius: 50% 60%;
}

.left-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  margin-left: -60px;
}

.left-content h1 {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 700;
}

.left-content p {
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
}

/* 右边白色区域 */
.right-panel {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 登录卡片 */
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 20px 30px;
  margin-top: -40px;
}

.login-card h2 {
  margin: 0 0 28px;
  font-size: 34px;
  font-weight: 700;
  color: #111;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form input {
  width: 100%;
  height: 48px;
  border: 1px solid #d6d6d6;
  border-radius: 14px;
  padding: 0 16px;
  outline: none;
  font-size: 14px;
  background: #fff;
  transition: 0.2s ease;
}

.form input::placeholder {
  color: #999;
}

.form input:focus {
  border-color: #2f49c4;
  box-shadow: 0 0 0 3px rgba(47, 73, 196, 0.12);
}

.btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: #2f66df;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: #2457bf;
}

.msg {
  min-height: 20px;
  font-size: 14px;
  color: #e11d48;
  margin-top: -6px;
}

/* 手机端适配 */
@media (max-width: 900px) {
  .login-page {
    flex-direction: column;
  }

  .left-panel {
    min-height: 220px;
  }

  .left-panel::after {
    display: none;
  }

  .left-content {
    margin-left: 0;
    padding: 20px;
  }

  .left-content h1 {
    font-size: 26px;
  }

  .login-card {
    margin-top: 0;
    padding: 24px 20px;
  }

  .login-card h2 {
    font-size: 28px;
  }