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

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

body {
  height: 100vh;
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 380px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  color: white;
}

.login-form h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

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

.input-group input {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-size: 16px;
  outline: none;
}

.input-group label {
  position: absolute;
  left: 0;
  top: 10px;
  pointer-events: none;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -15px;
  font-size: 12px;
  color: #fff;
}

button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hint {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.hint a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 500px) {
  .container {
    margin: 20px;
    padding: 30px;
  }
}
