/* ============================
   GLOBAL PAGE LAYOUT
   ============================ */
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* ============================
   SHARED BOX STYLING
   ============================ */
.reset-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 340px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.reset-box img {
  width: 160px;
  margin-bottom: 15px;
}

/* ============================
   HEADERS
   ============================ */
.reset-box h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Success page */
.success h2 {
  color: green;
}

/* Failure page */
.failure h2 {
  color: red;
}

/* Reset-password page */
.reset h2 {
  color: #333;
}

/* Forgot page */
.forgot h2 {
  color: #333;
}

#forgotMessage {
  margin-top: 15px;
  color: green;
  font-size: 14px;
}

#forgotError {
  margin-top: 15px;
  color: red;
  font-size: 14px;
}

/* ============================
   PARAGRAPHS
   ============================ */
.reset-box p {
  font-size: 15px;
  color: #333;
}

/* ============================
   LINKS & BUTTONS
   ============================ */
a.button,
button {
  display: block;
  width: 100%;
  padding: 10px 20px;
  margin-top: 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
}


a.button:hover,
button:hover {
  background: #0056b3;
}

/* ============================
   INPUTS (reset-password only)
   ============================ */
.reset-box input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;   /* ? FIXES uneven padding */
}




/* ============================
   MESSAGES
   ============================ */
#message {
  margin-top: 15px;
  color: green;
  font-size: 14px;
}

#error {
  margin-top: 15px;
  color: red;
  font-size: 14px;
}

/* Back link */
#backLink {
  margin-top: 20px;
  font-size: 14px;
}

#backLink a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

#backLink a:hover {
  color: #0056b3;
}


.pw-rules {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    line-height: 1.2;
}

    .pw-rules div {
        margin: 2px 0;
    }
