/* ================================
   Forgot Password – On-brand Theme
   ================================ */

/* Page background + base text */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #0b1220;          /* deep navy page bg */
  color: #e6f0ff;               /* soft light text */
  font-family: Arial, sans-serif;
}

/* Card */
.auth-container {
  background-color: #12243f;    /* navy card */
  border: 1px solid #1e293b;    /* subtle border */
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6); /* deep shadow */
}

/* Heading */
.auth-container h2 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 22px;
}

/* Inputs */
.auth-container input[type="text"],
.auth-container input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  margin: 14px 0;
  border-radius: 26px;
  border: 1px solid #1f2a44;    /* subtle border */
  background: #0f172a;          /* dark input field */
  color: #e6f0ff;
  font-size: 16px;
  text-align: center;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.auth-container input::placeholder {
  color: #94a3b8;               /* slate placeholder */
}

.auth-container input:focus {
  border-color: #38bdf8;        /* sky ring */
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .25);
}

/* Autofill fix (Chrome/Safari) */
.auth-container input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
  -webkit-text-fill-color: #e6f0ff !important;
  caret-color: #e6f0ff;
}

/* Button */
.auth-container .btn {
  width: 100%;
  padding: 12px 14px;
  margin-top: 18px;
  border: none;
  border-radius: 26px;
  font-weight: bold;
  color: #fff;
  background: #2563eb;          /* primary blue */
  cursor: pointer;
  transition: background-color .2s ease, transform .1s ease;
}

.auth-container .btn:hover {
  background: #1d4ed8;          /* darker hover */
  transform: translateY(-1px);
}

.auth-container .btn:active {
  transform: translateY(0);
}

/* Body copy + links */
.auth-container p {
  color: #c7d2fe;               /* light periwinkle */
  margin-top: 14px;
  font-size: 15px;
}

.auth-container a {
  color: #93c5fd;               /* light blue link */
  text-decoration: none;
}

.auth-container a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* Validation helpers (optional) */
.input-valid {
  border-color: #22c55e !important;           /* green */
  box-shadow: 0 0 0 2px rgba(34, 197, 94, .25) !important;
}

.input-error {
  border-color: #ef4444 !important;           /* red */
  box-shadow: 0 0 0 2px rgba(239, 68, 68, .25) !important;
}

/* Messages (if you show them) */
.success-message {
  color: #22c55e;
  font-weight: 600;
  margin: 10px 0;
  background: transparent;
  border: none;
  padding: 0;
}

.error-message {
  color: #ef4444;
  font-weight: 600;
  margin: 10px 0 0;
  text-align: center;
}
/* --- Force dark-blue page background (load LAST) --- */
html, body {
  background: #0b1220 !important;   /* deep navy */
  color: #e6f0ff;
  min-height: 100%;
}

/* If any wrappers are setting a light bg, make them transparent */
#content,
main,
.page-wrap,
.content-container,
.wrapper,
.container {
  background: transparent !important;
}

/* Keep the card on-theme */
.auth-container {
  background-color: #12243f !important; /* card/navy */
  border-color: #1e293b !important;
}


/* Small screens */
@media (max-width: 480px) {
  .auth-container {
    margin: 24px 16px;
    padding: 24px;
  }
}
