body {
  background: linear-gradient(135deg, #e0f7fa, #e8f5e9);
  font-family: "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.register-card {
  width: 420px;
  padding: 30px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.register-card h3 {
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 24px;
}
.register-card .subtitle {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}
.register-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.register-tab {
  flex: 1;
  padding: 10px 5px;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  color: #666;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.register-tab.active {
  color: #00796b;
  border-bottom-color: #00796b;
  background: #f5f5f5;
}
.register-tab i {
  margin-right: 3px;
  font-size: 12px;
}
.form-group {
  position: relative;
  margin-bottom: 15px;
}
.form-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  z-index: 1;
}
.form-control {
  border-radius: 10px;
  padding-left: 40px;
  border: 1px solid #ddd;
}
.form-control:focus {
  border-color: #00796b;
  box-shadow: 0 0 0 0.2rem rgba(0, 121, 107, 0.25);
}
.verification-group {
  display: flex;
  gap: 10px;
}
.verification-group .form-control {
  flex: 1;
}
.btn-send-code {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  white-space: nowrap;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-send-code:hover {
  background: #218838;
}
.btn-send-code:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.btn-primary {
  background: linear-gradient(135deg, #00796b, #00695c);
  border: none;
  border-radius: 10px;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #00695c, #005a4f);
}
.agreement {
  display: flex;
  align-items: flex-start;
  margin: 15px 0;
  font-size: 14px;
  color: #666;
}
.agreement input[type="checkbox"] {
  margin-top: 3px;
  margin-right: 8px;
}
.agreement a {
  color: #00796b;
  text-decoration: none;
}
.agreement a:hover {
  text-decoration: underline;
}
.alert {
  border-radius: 10px;
  margin-bottom: 15px;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  margin-left: 40px;
  display: none;
}
.error-message.show {
  display: block;
}
.form-control.error {
  border-color: #dc3545;
}
.form-control.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
/* 顶部弹窗消息提示样式 */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  z-index: 9999;
  pointer-events: none;
}
.toast-container .toast {
  pointer-events: auto;
}
.toast {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: none;
  margin-bottom: 10px;
  animation: slideDown 0.3s ease-out;
  backdrop-filter: blur(10px);
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
.toast.alert-success {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
}
.toast.alert-error,
.toast.alert-danger {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
}
.toast.alert-warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: white;
}
.toast.alert-info {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
}
.toast-body {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
}
.toast-body .btn-close {
  filter: invert(1);
  opacity: 0.8;
}
.toast-body .btn-close:hover {
  opacity: 1;
}
.toast-body i {
  font-size: 18px;
}

