  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background: #0f1117;
    color: #e2e8f0;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px 48px;
  }
  .card {
    background: #1a1d27;
    border: 1px solid #2d3149;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  }
  .logo { text-align: center; margin-bottom: 28px; }
  .logo-icon { font-size: 48px; margin-bottom: 8px; }
  .logo h1 { font-size: 24px; color: #25D366; font-weight: 700; }
  .logo p { font-size: 13px; color: #64748b; margin-top: 4px; }

  .section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    margin: 22px 0 12px;
  }
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .form-group { margin-bottom: 14px; }
  label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 5px;
    font-weight: 500;
  }
  label .req { color: #f87171; margin-left: 2px; }

  input[type=text],
  input[type=password],
  input[type=tel] {
    width: 100%;
    background: #0f1117;
    border: 1px solid #2d3149;
    color: #e2e8f0;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  input:focus { border-color: #25D366; box-shadow: 0 0 0 2px rgba(37,211,102,0.12); }
  input.err-field { border-color: #ef4444 !important; }

  /* Agreement boxes */
  .agree-box {
    background: #0f1117;
    border: 1px solid #2d3149;
    border-radius: 10px;
    padding: 14px 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
    user-select: none;
  }
  .agree-box:hover { border-color: #3d4260; }
  .agree-box.checked { border-color: #25D366; background: rgba(37,211,102,0.05); }
  .agree-box input[type=checkbox] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #25D366;
    cursor: pointer;
    margin-top: 1px;
    padding: 0;
    border: none;
    background: transparent;
  }
  .agree-box input[type=checkbox]:focus { box-shadow: none; border-color: transparent; }
  .agree-text { font-size: 13px; color: #94a3b8; line-height: 1.55; }
  .agree-text strong { color: #e2e8f0; }
  .agree-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

  /*
   * Tombol submit = trigger reCAPTCHA invisible.
   * Styling manual karena .g-recaptcha override display dari Google.
   */
  .btn-submit {
    width: 100%;
    background: #25D366;
    color: #000;
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 18px;
    transition: background 0.2s, opacity 0.2s;
    display: block;
  }
  .btn-submit:hover:not(:disabled) { background: #1ebe59; }
  .btn-submit:disabled { background: #1a4a2e; color: #64748b; cursor: not-allowed; opacity: 0.7; }

  /* Alerts */
  .alert {
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
    line-height: 1.5;
  }
  .alert.show { display: block; }
  .alert-error   { background: #2d1717; border: 1px solid #7f1d1d; color: #fca5a5; }
  .alert-success { background: #0d2b1a; border: 1px solid #166534; color: #86efac; }
  .alert-info    { background: #0f1f3d; border: 1px solid #1e3a8a; color: #93c5fd; }

  .hint { font-size: 11px; color: #475569; margin-top: 4px; }
  .divider { border: none; border-top: 1px solid #2d3149; margin: 20px 0 16px; }

  .back-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #2d3149;
    font-size: 13px;
    color: #64748b;
  }
  .back-link a { color: #25D366; font-weight: 600; text-decoration: none; }
  .back-link a:hover { opacity: 0.75; }

  /* Password strength */
  .pw-strength { height: 3px; border-radius: 99px; background: #2d3149; margin-top: 6px; overflow: hidden; }
  .pw-strength-bar { height: 100%; border-radius: 99px; width: 0%; transition: width 0.3s, background 0.3s; }
  .pw-label { font-size: 11px; margin-top: 4px; color: #475569; }

  /* reCAPTCHA notice — wajib per Google ToS saat badge invisible/tersembunyi */
  .recaptcha-notice {
    font-size: 11px;
    color: #475569;
    text-align: center;
    margin-top: 12px;
    line-height: 1.7;
  }
  .recaptcha-notice a { color: #64748b; text-decoration: underline; }

  @media (max-width: 480px) {
    body { padding: 20px 12px 30px; }
    .card { padding: 24px 16px; }
    .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .logo-icon { font-size: 36px; }
    .logo h1 { font-size: 20px; }
  }
