@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  font-family: 'Poppins', sans-serif;
  animation: backgroundFade 10s ease-in-out infinite alternate;
}

@keyframes backgroundFade {
  0% { background-position: left; }
  100% { background-position: right; }
}

.login-container {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  text-align: center;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.title {
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 2em;
  text-shadow: 0 0 10px cyan;
}

.login-form .input-group {
  position: relative;
  margin-bottom: 25px;
}

.login-form input {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #ffffff;
  color: #ffffff;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.login-form label {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #aaa;
  pointer-events: none;
  transition: 0.3s ease;
}

.login-form input:focus ~ label,
.login-form input:valid ~ label {
  top: -15px;
  font-size: 12px;
  color: #00ffff;
}

button {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #00ffff;
  color: #000;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

button:hover {
  background-color: #00ccff;
}
