.register-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  padding: 20px;
  margin-top: 80px;
}

.register-box {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.register-box h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: 24px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #333;
  outline: none;
}

.form-tip {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.form-options {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.form-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.agreement-link, .privacy-link {
  color: #333;
  text-decoration: none;
}

.agreement-link:hover, .privacy-link:hover {
  text-decoration: underline;
}

.register-submit {
  background-color: #333;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register-submit:hover {
  background-color: #444;
}

.login-link {
  text-align: center;
  font-size: 14px;
  color: #666;
}

.login-link a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .register-box {
    padding: 20px;
  }

  .register-box h2 {
    font-size: 20px;
  }

  .form-group input {
    padding: 10px;
  }

  .register-submit {
    padding: 10px;
    font-size: 14px;
  }
} 