:root {
      --primary:      #4a7c59;
      --primary-dark: #3a6147;
      --primary-light:#e8f0ea;
      --accent:       #8aab76;
      --surface:      #ffffff;
      --bg:           #f4f6f4;
      --border:       #dde4de;
      --text:         #1e2d1f;
      --muted:        #6b7c6d;
    }
    * { box-sizing: border-box; }
    body {
      background: var(--bg);
      font-family: 'Segoe UI', system-ui, sans-serif;
      color: var(--text); margin: 0; min-height: 100vh;
    }

   /* ── 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.5rem 1.5rem 9rem;
      text-align: center; color: #fff;
    }
    .hero-strip h1 { font-size: 1.55rem; font-weight: 700; margin-bottom: .4rem; }
    .hero-strip p  { font-size: .92rem; opacity: .85; margin: 0 auto; max-width: 400px; }

    /* ── CARD ── */
    .forgot-card {
      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: 460px;
      margin: -6rem auto 3rem;
      position: relative; z-index: 1;
    }

    .form-label {
      font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: .35rem;
    }
    .form-control {
      border: 1.5px solid var(--border); border-radius: 10px;
      padding: .6rem .9rem; font-size: .9rem; color: var(--text);
      background: #f8faf8; transition: all .2s;
    }
    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(74,124,89,.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: .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);
    }
    .btn-submit:hover { opacity: .9; transform: translateY(-1px); }

    /* Steps */
    .steps-wrap {
      display: flex; align-items: flex-start; gap: 0;
      margin-bottom: 2rem; position: relative;
    }
    .step-item { flex: 1; text-align: center; position: relative; }
    .step-item:not(:last-child)::after {
      content: ''; position: absolute;
      top: 14px; left: 50%; right: -50%;
      height: 2px; background: var(--border); z-index: 0;
    }
    .step-item.active:not(:last-child)::after { background: var(--primary); }
    .step-dot {
      width: 28px; height: 28px; border-radius: 50%;
      background: var(--border); color: var(--muted);
      font-size: .75rem; font-weight: 700;
      display: inline-flex; align-items: center; justify-content: center;
      position: relative; z-index: 1; transition: all .3s;
    }
    .step-item.active .step-dot {
      background: var(--primary); color: #fff;
      box-shadow: 0 0 0 4px var(--primary-light);
    }
    .step-item.done .step-dot { background: var(--accent); color: #fff; }
    .step-label { font-size: .7rem; color: var(--muted); margin-top: .35rem; }
    .step-item.active .step-label { color: var(--primary); font-weight: 600; }

    /* Divider */
    .divider {
      font-size: .7rem; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--primary);
      margin-bottom: 1.2rem; padding-bottom: .5rem;
      border-bottom: 2px solid var(--primary-light);
    }

    .hint-text { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; }
    .back-link { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 1rem; }
    .back-link a { color: var(--primary); font-weight: 600; text-decoration: none; }
    .back-link a:hover { text-decoration: underline; }

    /* Alert success */
    .alert-success-custom {
      background: var(--primary-light); border: 1.5px solid var(--accent);
      border-radius: 10px; padding: 1rem 1.25rem;
      font-size: .88rem; color: var(--primary-dark);
      display: none; align-items: flex-start; gap: .75rem;
    }
    .alert-success-custom.show { display: flex; }
    .alert-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .05rem; }
/* ── 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;
}
    @media (max-width: 600px) {
      .nav-login-group { display: none; }
      .forgot-card { padding: 1.5rem 1rem; margin: -6rem .75rem 2rem; }
      .btn-mobile-login {
    display: flex;
  }
    }