* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding-left: 8rem;
}
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: url('image_no_background.png');
background-attachment: fixed;
background-size: 900px 700px;
background-repeat: no-repeat;
background-position: right;
background-color: #d49cf741;
filter: blur(3px);
z-index: -1;
}

.container {
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: #c066dcaa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-toggle {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-toggle button {
  background: none;
  border: none;
  color: #572d6f;
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-size: 2rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover effect for Login/Register buttons */
.form-toggle button:hover {
  color: #7a2fb6;
  text-shadow: 1px 1px 8px rgba(162, 96, 201, 0.599);
}

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

form.active {
  display: flex;
}

input {
  margin: 0.5rem 0;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button[type="submit"] {
  background-color: #a260c9;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  margin-top: 1rem;
  cursor: pointer;
}

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

@media (max-width: 400px) {
  .container {
    width: 90%;
    padding: 1.5rem;
  }
}

.welcome-text {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: #572d6f;
  margin-bottom: 4.8rem;
  text-shadow: 1px 1px 5px rgba(122, 47, 182, 0.3);
}

.forgot-password {
  text-align: right;
  margin-top: 0.5rem;
  margin-bottom: -0.5rem;
}

.forgot-password a {
  font-size: 0.9rem;
  color: #4b2c65;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #7a2fb6;
  text-decoration: underline;
}

  /* Footer */
footer {
background-color: #00000000;
color: rgb(13, 0, 0);
text-align: center;
padding: 1rem;
position: fixed;
bottom: 0;
width: 100%;
}


#forgotPasswordForm {
  flex-direction: column;
}

.containers {
  width: 100%;
  max-width: 400px;
  background: #c066dcaa; /* light purple semi-transparent */
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  margin-top: 5rem;
  z-index: 1;
}

#resetForm {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#resetForm input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#resetForm button {
  width: 100%;
  padding: 0.75rem;
  background-color: #a260c9;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#resetForm button:hover {
  background-color: #8939c4;
}

