body {
  background: linear-gradient(135deg, #83407e, #782525, #8f2b2b);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

/* This applies to BOTH your login box AND your dashboard */
.glass-box {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  color: white; /* Make text white so it's readable on your dark background */
}
.glass-box input {
  display: block;
  width: 100%;
  margin-bottom: 15px; /* Adds breathing room between fields */
  padding: 10px;
  border-radius: 5px;
  border: none;
}

input {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border-radius: 15px;
  border: 1px solid rgba(219, 112, 147, 0.3);
  background: rgba(255, 255, 255, 0.6);
}

button {
  width: 100%;
  padding: 15px;
  border-radius: 15px;
  border: none;
  background: linear-gradient(135deg, #d97fa8, #c97aa0);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(217, 127, 168, 0.4);
}

#dashboard {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px; /* Dashboard can be slightly wider than login */
  text-align: center;
  margin: 20px;
}

#dashboard h2 {
  color: #d97fa8;
  margin-bottom: 20px;
}

#dashboard button {
  margin-top: 20px;
  background: #ff758c; /* Slightly different shade for the logout button */
}
#dashboard {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}