body {
  min-height: 100vh;
  background-image: url("/Images/m/banner_1.jpg");
  background-position: center;
  background-attachment: fixed;
}

/* 背景图区域 */
.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;
}

/* 验证码容器 */
.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;
}

.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（如需整体偏移，这里统一设置） */
}

/* 隐私协议样式 */
.privacy-agreement {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.checkbox-label {
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  width: auto;
  margin: 0 2px 3px 0;
}

.privacy-checkbox {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  cursor: pointer;
  vertical-align: middle;
}

.checkbox-text {
  flex: 1;
  line-height: 20px;
  font-size: 1.4rem;
  font-weight: 300;
}

.privacy-link {
  color: #1890ff;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-link:hover {
  color: #40a9ff;
}

/* 隐私条款模态框样式 */
.modal-dialog {
  max-width: 800px;
  width: 90%;
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.modal-title {
  font-size: 1.5rem;
  color: #333;
  font-weight: 600;
}

.modal-body {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.privacy-content {
  line-height: 1.8;
  font-size: 1.4rem;
  color: #555;
  max-height: calc(100% - 60px);
  overflow-y: auto;
  padding: 20px;
}

.privacy-content h3 {
  font-size: 1.6rem;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content-ch p {
  text-align: justify;
}

.modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  justify-content: center;
}

.modal-footer .btn {
  padding: 0.7rem 1.5rem;
  font-size: 1.4rem;
  border-radius: 6px;
}

/* 注册链接样式 */
.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;
}

@media screen and (min-width: 769px) {
  .form-container {
    padding: 0px 40px 20px 40px;
  }
}
