/* password_reset.css */

body {
  background-color: #f8f9fa;
  font-family: system-ui, sans-serif;
}

.container-reset {
  max-width: 420px;
  margin: 70px auto;
  padding: 30px 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  color: #343a40;
}

form {
  display: flex;
  flex-direction: column;
}

form input[type="email"] {
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  transition: border-color 0.2s ease;
}

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

button[type="submit"] {
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.25s;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

p {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

p a {
  color: #007bff;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}

ul.errorlist {
  color: #dc3545;
  margin: -10px 0 10px;
  padding-left: 20px;
  list-style: disc;
  font-size: 13px;
}

@media (max-width: 480px) {
  .container-reset {
    padding: 25px 20px;
    margin: 40px 16px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  .container-reset {
    background-color: #1e1e1e;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  }

  form input {
    background-color: #2c2c2c;
    color: #fff;
    border: 1px solid #444;
  }

  button[type="submit"] {
    background-color: #0d6efd;
  }

  p a {
    color: #66b2ff;
  }

  ul.errorlist {
    color: #ff6b6b;
  }
}
