/* Global Reset */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: whitesmoke; /* updated */
  color: #1a1a1a; /* changed text color to dark for contrast */
}

html {
  scroll-behavior: smooth;
}

/* Container for the form */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #2d001f; /* updated container bg */
  position: relative;
}

/* Reset Box */
.reset-box {
  background-color: #3b0033; /* slightly lighter than container for contrast */
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  max-width: 400px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: whitesmoke; /* text color lightened for readability */
}

.reset-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.5);
}

/* Headings */
.reset-box h2 {
  color: #ffb3ff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.reset-box p {
  font-size: 1rem;
  color: #e0c7e9; /* softer text */
  margin-bottom: 2rem;
}

/* Input Field */
.reset-box input[type="email"] {
  width: 100%;
  padding: 1rem;
  background-color: #2d001f; /* match container tone */
  border: 2px solid #ff00ff;
  border-radius: 8px;
  color: whitesmoke;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.reset-box input[type="email"]:focus {
  border-color: #ff66ff;
}

/* Submit Button */
.reset-box button {
  width: 100%;
  padding: 1rem;
  background-color: #ff00ff;
  color: whitesmoke;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.reset-box button:hover {
  background-color: #ff66ff;
  transform: scale(1.03);
}

/* Responsive Tweaks */
@media (max-width: 480px) {
  .reset-box {
    padding: 2rem 1.5rem;
  }

  .reset-box h2 {
    font-size: 1.5rem;
  }

  .reset-box button {
    font-size: 0.95rem;
  }
}

/* Back Arrow */
.back-arrow {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  color: #ffb3ff;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-arrow:hover {
  color: #ffffff;
  text-decoration: underline;
}
