body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: #f3f8fc;
}

body.reset-page {
  background-color: #f3f8fc !important;
}

body.reset-page .page-wrapper {
  background-color: transparent !important;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ✅ Centering the reset box */
.reset-container {
  background-color: #ffffff;
  max-width: 420px;
  width: 90%;
  margin: 4rem auto;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: center;
}

/* ✅ Logo styling */
.reset-logo {
  width: 160px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.6rem;
  color: #002f5c;
  margin-bottom: 1rem;
}

/* ✅ Form styling */
.reset-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reset-form input {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.reset-form input:focus {
  border-color: #007bff;
  outline: none;
}

/* ✅ Password field containers */
.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  flex: 1;
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1rem;
  color: #333;
}

/* ✅ Submit button */
.reset-form button {
  padding: 0.9rem;
  background-color: #22c55e;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.reset-form button:hover {
  background-color: #16a34a;
}

/* ✅ Link back to login */
.reset-container p a {
  display: block;
  margin-top: 0.8rem;
  color: #002f5c;
  font-weight: 500;
  text-decoration: none;
}

.reset-container p a:hover {
  text-decoration: underline;
}

/* ✅ Error message */
.error-msg {
  color: #dc2626;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ✅ Footer spacing */
footer {
  margin-top: 2rem;
}
