body {
  min-height: 100vh;
  background-image: url("/Images/m/banner_1.jpg");
  background-position: center;
  background-attachment: fixed;
  display: flex;
  width: 100%;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 背景图区域 */
.background-banner {
  position: relative;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo容器 */
.logo-container {
  margin-bottom: 30px;
  text-align: -webkit-center;
}

.logo-image {
  width: 90%;
  height: auto;
  display: block;
  padding: 10px;
  border-radius: 8px;
  transition: width 0.3s ease;
}

/* 登录方式切换标签 */
.login-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 1rem 0.8rem;
  font-size: 1.6rem;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  background-color: transparent;
}

.login-tab.active {
  color: #333;
  font-weight: 500;
}

.login-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #c92a29;
}

.login-tab:hover {
  color: #333;
}

.login-tab.active:hover {
  color: #333;
}

/* 表单样式 */
.form-container {
  margin-bottom: 2rem;
}

.register-form {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 1.6rem;
  transition: border-color 0.3s;
  background-color: #f9f9f9;
  text-indent: 10px; /* 文本缩进为 0（如需整体偏移，这里统一设置） */
}

/* 密码组样式 */
.password-group {
  position: relative;
}

.forgot-password {
  position: absolute;
  right: 1.5rem;
  top: 70%;
  transform: translateY(-50%);
  color: #0066cc;
  font-size: 1.3rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* 记住密码复选框样式 */
.password-panel {
  display: flex;
  flex-direction: column;
}

.remember-me-wrapper {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.remember-me-checkbox {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  cursor: pointer;
  accent-color: #0066cc;
}

.remember-me-label {
  color: #666;
  font-size: 1.4rem;
  cursor: pointer;
  user-select: none;
  font-weight: normal;
  margin: 1px 0 0 6px;
}

/* 验证码组布局 */
/* 验证码整体容器 */
.verify-code-wrapper {
  position: relative;
}

/* 验证码内部容器 - 合并输入框和图片 */
.verify-code-inner {
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f9f9f9;
}

/* 验证码输入框 */
.verify-code-input {
  flex: 1;
  border: none;
  background-color: transparent;
  padding: 0.7rem;
  font-size: 1.6rem;
  transition: none;
  box-shadow: none;
  border-radius: 0px !important;
  border: 0px !important;
}

.verify-code-input:focus {
  border: none;
  outline: none;
  box-shadow: none;
  background-color: transparent;
}

/* 验证码图片样式 */
.captcha-image {
  width: 120px;
  height: 45px;
  border: none;
  border-left: 1px solid #d9d9d9;
  cursor: pointer;
  background-color: #f9f9f9;
  object-fit: cover;
}

/* 邮箱验证码容器 */
.validate-code-container {
  display: flex;
  gap: 10px;
}

.validate-code-container .form-control {
  flex: 1;
}

/* 获取验证码按钮 */
.btn-get-code {
  padding: 0.7rem 1rem;
  border: 1px solid #c92a29;
  border-radius: 6px;
  font-size: 1.4rem;
  background-color: #c92a29;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-get-code:hover {
  background-color: #c92a29;
  border-color: #c92a29;
}

.btn-get-code:disabled {
  background-color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.btn-get-code.sending {
  background-color: #c92a29;
  border-color: #c92a29;
}

/* 按钮样式 */
.next-step-btn,
.prev-step-btn,
.submit-payment-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  border: none;
  outline: none;
  box-shadow: none;
}

.next-step-btn:hover,
.submit-payment-btn:hover {
  background-color: #a61c1a;
}

.next-step-btn,
.submit-payment-btn {
  width: 100%;
  margin-top: 1rem;
  background-color: #c92a29;
  color: white;
}

.next-step-btn:active,
.submit-payment-btn:active {
  background-color: #a61c1a !important;
  color: white !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background-color: #c92a29;
  color: white;
}

.next-step-btn:focus,
.next-step-btn:focus-visible,
.submit-payment-btn:focus,
.submit-payment-btn:focus-visible,
.prev-step-btn:focus,
.prev-step-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  color: white !important;
  background-color: #c92a29 !important;
}

.form-actions {
  margin-top: 0rem;
}

/* 第三方账号登录 */
.third-party-login {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.third-party-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 10px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #ddd;
  max-width: 60px;
}

.divider-text {
  font-size: 1.4rem;
  color: #999;
}

.third-party-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.third-party-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #eee;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.third-party-btn:hover {
  transform: scale(1.1);
}

.third-party-btn i {
  font-size: 24px;
  margin-bottom: 4px;
}

.third-party-btn span {
  font-size: 1.2rem;
  color: #666;
}

/* 微信按钮 */
.wechat-icon {
  width: 32px;
  height: 32px;
}

/* 注册链接样式 */
.register-link {
  text-align: center;
  font-size: 1.4rem;
  color: #999;
  margin-top: 4rem;
}

.register-link a {
  color: #0066cc;
  margin-left: 4px;
  text-decoration: underline;
}

.register-link a:hover {
  text-decoration: underline;
  color: #0066cc;
}
