body {
      font-family: "Helvetica Neue", sans-serif;
      background-color: #f9fafb;
      margin: 0;
      padding: 0;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    .register-container {
      width: 100%;
      max-width: 420px;
      margin: 60px auto;
      padding: 0 16px;
      text-align: center;
    }

    .register-icon {
      width: 48px;
      height: 48px;
      background-color: #1e40af;
      color: white;
      font-size: 24px;
      line-height: 48px;
      border-radius: 12px;
      margin: 0 auto 12px;
    }

    h2 {
      margin: 8px 0;
      font-size: 22px;
    }

    p {
      font-size: 14px;
      color: #6b7280;
      margin-bottom: 20px;
    }

    .form-group {
      text-align: left;
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 14px;
      margin-bottom: 6px;
      color: #111827;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
    }

    .form-group input:focus {
      border-color: #2563eb;
    }

    .captcha-group {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .captcha-group input {
      flex: 1;
      min-width: 0;
    }

    .captcha-code {
      text-align: center;
      flex: 0 0 108px;
      padding: 7px 9px;
      background-color: #fff;
      border: 1px solid #cba059;
      color: #cba059;
      border-radius: 8px;
      user-select: none;
      cursor: pointer;
    }

    .captcha-refresh {
      font-size: 12px;
      color: #6b7280;
      margin-top: 6px;
      cursor: pointer;
    }

    .form-group input[type="checkbox"] {
      margin-right: 6px;
    }

    .checkbox-label {
      font-size: 14px;
      color: #111827;
    }

    .submit-btn {
      width: 100%;
      background-color: #111827;
      color: white;
      padding: 12px;
      font-size: 16px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 12px;
    }

    .submit-btn:hover {
      background-color: #1f2937;
    }

    .submit-btn:disabled {
      background-color: #9ca3af;
      cursor: not-allowed;
    }

    .form-status {
      min-height: 20px;
      margin-top: 10px;
      font-size: 13px;
      color: #475569;
      text-align: left;
    }

    .footer-text {
      font-size: 14px;
      margin-top: 20px;
      color: #6b7280;
    }

    .footer-text a {
      color: #2563eb;
      text-decoration: none;
      margin-left: 4px;
    }

    .terms {
      font-size: 12px;
      color: #9ca3af;
      margin-top: 8px;
    }

    .terms a {
      color: #2563eb;
      text-decoration: underline;
    }


    .logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 30px;
      text-decoration: none;
    }

    .logo-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      background-color: #3b82f6;
      border-radius: 8px;
      /* 移除margin-left，避免图标偏移 */
    }

    .logo span {
      font-size: 24px;
      font-weight: 700;
      color: #1f2937;
    }


    .password-toggle {
      width: 100%;
      position: relative;
      display: flex;
      align-items: center;
    }

    .password-toggle input {
      flex: 1;
      min-width: 0;
      padding-right: 42px;
    }

    .password-toggle-icon {
      position: absolute;
      right: 12px;
      cursor: pointer;
    }
