/* Reset default styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(120deg, #04172d, #09203f, #0f2c55); /* Dark blue gradient */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #dedddd;
}

/* Parent container to hold both image and forgot password box */
.container {
  display: flex;
  align-items: center; /* Align vertically */
  justify-content: center;
  gap: 80px; /* Spacing between image and forgot password box */
  width: 90%;
  max-width: 1200px;
}

/* Image and Forgot Password Box - Same Square Shape */
.image-container,
.forgot-container {
  width: 400px;
  height: 400px; /* Ensures both are perfect squares */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image Styling - Square Shape */
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the box properly */
  border-radius: 10px; /* Slight rounded corners */
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Forgot Password Box - Square Shape */
.forgot-container {
  height: 65vh; /* Slightly decreased height */
  width: 30%; /* Same as image container */
  background: rgba(15, 40, 85, 0.9);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  padding: 45px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

/* Forgot Password Heading */
h1 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

/* Forgot Password Form */
form {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
}

/* Input Fields */
form input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  border: none;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Placeholder Styling */
form input::placeholder {
  color: rgba(197, 195, 195, 0.6);
  font-size: 12px;
}

/* Submit Button */
form button {
  padding: 10px;
  margin-top: 15px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(90deg, #00ffff, #0077ff);
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  width: 100%;
}

form button:hover {
  color: #fff;
  background: #1a1b26;
  box-shadow: 0 0 15px #00ffff;
}

/* Responsive Design */
@media (max-width: 900px) {
  .container {
      flex-direction: column;
      gap: 30px;
  }

  .image-container,
  .forgot-container {
      width: 80%;
      height: auto;
      min-height: auto;
  }

  .image-container img {
      height: 300px;
  }
}
