body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f0f2f5;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex; /* quan trọng: dùng flexbox */
  justify-content: center; /* căn giữa ngang */
  align-items: center; /* căn giữa dọc */
  position: relative;
  overflow: hidden;
}

/* Ảnh nền phủ full màn hình */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/backgroud1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.75) blur(1.5px);
  z-index: -1;
}

/* Header */
#header {
  position: absolute;
  top: 40px; /* đẩy header lên cao */
  width: 100%;
  text-align: center;
}

#header h1 {
  color: #ffffff;
  font-weight: 700;
  font-size: 34px;
  margin: 0;
}

/* Form box */
.reset-box {
  background: #fff;
  max-width: 480px;
  width: 90%;
  padding: 45px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.reset-box:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.01);
}

/* Title */
.reset-box h3 {
  color: #1877f2;
  margin-bottom: 25px;
  font-size: 22px;
}

/* Inputs */
.reset-box input {
  width: 95%;
  margin: 12px 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.reset-box input:focus {
  border-color: #1877f2;
  outline: none;
}

/* Button */
.reset-box button {
  background-color: #42b72a;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  width: 95%;
  margin-top: 20px;
  transition: background-color 0.3s, transform 0.2s;
}

.reset-box button:hover {
  background-color: #36a420;
  transform: scale(1.03);
}

/* Link */
.reset-box a {
  display: block;
  margin-top: 15px;
  color: #1877f2;
  text-decoration: none;
  font-size: 15px;
}

.reset-box a:hover {
  text-decoration: underline;
}

/* Message */
#message {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
}
