/* ================================================================
   forgot.css — NuestroSí Forgot/Reset password page styles
   ================================================================ */

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

body {
  font-family: "Manrope", sans-serif;
  color: #1d1b1a;
  margin: 0;
  padding: 40px 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 120% 90% at 50% 0%, #f5e7d8 0%, #fef8f5 55%, #fdf3eb 100%);
}

/* ── Form controls ── */
.ns-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #7a7168;
  margin-bottom: 7px;
}

.ns-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd8d2;
  border-radius: 7px;
  font-size: 14px;
  font-family: "Manrope", sans-serif;
  background: #fff;
  color: #1d1b1a;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.ns-input::placeholder { color: #bbb3aa; }
.ns-input:focus { border-color: #a0887a; box-shadow: 0 0 0 3px rgba(122,86,66,.12); }

.ns-btn-primary {
  width: 100%;
  padding: 13px;
  background: #7a5642;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background .18s, transform .1s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(122,86,66,.22);
}
.ns-btn-primary:hover    { background: #6a4838; box-shadow: 0 4px 14px rgba(122,86,66,.30); }
.ns-btn-primary:active   { transform: scale(0.97); }
.ns-btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.ns-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
  display: none;
  line-height: 1.4;
}
.ns-success {
  font-size: 13px;
  color: #27704a;
  background: #edfaf2;
  border: 1px solid #b2dfcc;
  border-radius: 6px;
  padding: 10px 14px;
  display: none;
}

.ns-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ns-spin .55s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
}
@keyframes ns-spin { to { transform: rotate(360deg); } }

/* ── Card ── */
.forgot-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(122,86,66,.09), 0 1px 6px rgba(0,0,0,.04);
  padding: 42px 40px 38px;
  width: 100%;
  max-width: 440px;
}
@media (max-width: 480px) { .forgot-card { padding: 32px 24px 28px; } }

.forgot-card h1 {
  font-family: "Noto Serif", serif;
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 10px;
}
.forgot-card .subtitle {
  font-size: 13.5px;
  color: #7a7168;
  text-align: center;
  margin: 0 0 28px;
  line-height: 1.55;
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #7a5642;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 18px;
}
.back-link:hover { text-decoration: underline; }

/* ── Layout helpers ── */
.ns-field     { margin-bottom: 20px; }
.ns-field--sm { margin-bottom: 16px; }
.ns-error--mb { margin-bottom: 12px; }

#reset-section { display: none; }

.ns-success-link {
  font-weight: 700;
  color: #27704a;
  text-decoration: underline;
  margin-left: 4px;
}
