:root {
  --primary: #4a7c59;
  --primary-dark: #3a6147;
  --primary-light: #e8f0ea;
  --accent: #8aab76;
  --surface: #ffffff;
  --bg: #f4f6f4;
  --border: #dde4de;
  --text: #1e2d1f;
  --muted: #6b7c6d;
}

body {
  background: var(--bg);
  font-family: "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  color: var(--text);
}

/* ── NAVBAR ── */
.navbar-custom {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar-brand-wrap img {
  height: 44px;
  width: auto;
}
.btn-website {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.28rem 0.75rem;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn-website:hover {
  background: var(--primary);
  color: #fff;
}

/* Desktop login group */
.nav-login-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
  width: 155px;
  background: #f8faf8;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}
.nav-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
  background: #fff;
}
.btn-nav-login {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.46rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-nav-login:hover {
  background: var(--primary-dark);
}
.link-forgot {
  font-size: 0.78rem;
  color: var(--primary);
  text-decoration: none;
}
.link-forgot:hover {
  text-decoration: underline;
}

/* Mobile login toggle button */
.btn-mobile-login {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  gap: 0.4rem;
  align-items: center;
}

/* Mobile login dropdown */
.mobile-login-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.25rem;
  z-index: 200;
  flex-direction: column;
  gap: 0.65rem;
}
.mobile-login-dropdown.open {
  display: flex;
}
.mobile-login-dropdown .nav-input {
  width: 100%;
}
.mobile-login-dropdown .btn-nav-login {
  width: 100%;
  padding: 0.55rem;
  font-size: 0.9rem;
}
.mobile-login-dropdown .link-forgot {
  text-align: center;
}

/* ── HERO ── */
.hero-strip {
  background: linear-gradient(
    to bottom,
    #2e5438 0%,
    var(--primary) 40%,
    var(--bg) 100%
  );
  padding: 2.75rem 1.5rem 8rem;
  text-align: center;
  color: #fff;
}
.hero-strip h1 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.hero-strip p {
  font-size: 0.92rem;
  opacity: 0.85;
  margin: 0;
}

/* ── CARD ── */
.register-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  padding: 2.25rem 2rem;
  max-width: 660px;
  margin: -6rem auto 2.5rem;
  position: relative;
  z-index: 1;
}
.register-card-done {
      background: var(--surface);
      border-radius: 16px;
      border: 1px solid var(--border);
      box-shadow: 0 4px 24px rgba(0,0,0,.07);
      padding: 2.25rem 2rem;
      max-width: 660px;
      margin: -6rem auto 2.5rem;
      position: relative; z-index: 1;
      text-align: center;
    }
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  background: #f8faf8;
  transition: all 0.2s;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
  background: #fff;
  outline: none;
}
.form-control::placeholder {
  color: #aab8ac;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 0.78rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s;
  box-shadow: 0 4px 14px rgba(74, 124, 89, 0.35);
  letter-spacing: 0.02em;
}
.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.login-hint {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
}
.login-hint a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.login-hint a:hover {
  text-decoration: underline;
}
 /* ── BUTTON Done ── */
    .btn-submit-done {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border: none; color: #fff; border-radius: 10px;
      padding: .78rem 2rem; font-size: .95rem; font-weight: 700;
      width: 100%; cursor: pointer;
      transition: opacity .2s, transform .15s;
      box-shadow: 0 4px 14px rgba(74,124,89,.35);
      letter-spacing: .02em; text-decoration: none;
      display: block; text-align: center;
    }
    .btn-submit-done:hover { opacity: .9; transform: translateY(-1px); color: #fff; }

    .login-hint-done { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 1rem; }
    .login-hint-done a { color: var(--primary); font-weight: 600; text-decoration: none; }
    .login-hint-done a:hover { text-decoration: underline; }
/* ── TOAST ── */
.toast-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast-item {
  background: var(--text);
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
/* ── SUCCESS ICON ── */
    .success-icon-wrap {
      width: 80px; height: 80px;
      background: var(--primary-light);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.5rem;
    }
    .success-icon-wrap i {
      font-size: 2.2rem;
      color: var(--primary);
    }

    .thankyou-title {
      font-size: 1.35rem; font-weight: 700;
      color: var(--text); margin-bottom: .5rem;
    }
    .thankyou-sub {
      font-size: .9rem; color: var(--muted);
      margin-bottom: 2rem; line-height: 1.6;
    }
    /* ── INFO ROWS ── */
    .info-box {
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: 12px;
      padding: 1.2rem 1.4rem;
      text-align: left;
      margin-bottom: 1.5rem;
    }
    .info-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: .45rem 0;
      border-bottom: 1px solid var(--border);
      font-size: .875rem;
    }
    .info-row:last-child { border-bottom: none; }
    .info-label { color: var(--muted); font-weight: 500; }
    .info-value { font-weight: 600; color: var(--text); }
    /* ── STEPS ── */
    .next-steps { text-align: left; margin-bottom: 1.75rem; }
    .step-item {
      display: flex; gap: .85rem; align-items: flex-start;
      margin-bottom: .9rem;
    }
    .step-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 24px; height: 24px; border-radius: 50%;
      background: var(--primary); color: #fff;
      font-size: .7rem; font-weight: 700; flex-shrink: 0;
      margin-top: .1rem;
    }
    .step-text { font-size: .875rem; color: var(--text); line-height: 1.5; }
    .step-text strong { color: var(--primary-dark); }
@media (max-width: 600px) {
     .register-card-done { padding: 1.5rem 1rem; margin: -1.5rem .75rem 2rem; }
  .register-card {
    padding: 1.5rem 1rem;
    margin: -5rem 0.75rem 2rem;
  }
  /* hide desktop login, show mobile button */
  .nav-login-group {
    display: none;
  }
  .btn-mobile-login {
    display: flex;
  }
}
