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

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

/* Glass effect */
.login-box {
  width: 380px;
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-align: center;
  color: #fff;

  animation: fadeIn 1s ease-in-out;
}

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

.signup-text {
  margin-bottom: 20px;
}

.signup-text a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

form {
  text-align: left;
}

label {
  font-size: 14px;
}

input {
  width: 100%;
  padding: 12px;
  margin: 8px 0 15px;
  border-radius: 8px;
  border: none;
  outline: none;
}

/* Password eye */
.password-box {
  position: relative;
}

.password-box i {
  position: absolute;
  right: 12px;
  top: 14px;
  cursor: pointer;
  color: #333;
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: #8bdc65;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  background: #76c957;
}

/* Social buttons */
.social-login {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.social-login button {
  background: rgba(255,255,255,0.2);
  font-size: 18px;
}

/* Passkey */
.passkey {
  background: rgba(255,255,255,0.2);
}

/* Links */
.forgot {
  display: block;
  margin: 10px 0;
  color: #fff;
  font-size: 14px;
}

.or {
  margin-top: 10px;
}


/* 📱 Mobile (up to 480px) */
@media (max-width: 480px) {
  .login-box {
    width: 90%;
    padding: 25px;
    border-radius: 15px;
  }

  h2 {
    font-size: 22px;
  }

  input {
    padding: 10px;
  }

  button {
    padding: 10px;
  }

  .social-login {
    flex-direction: column;
  }
}

/* 📱 Tablet (481px to 768px) */
@media (max-width: 768px) {
  .login-box {
    width: 80%;
    padding: 30px;
  }

  h2 {
    font-size: 24px;
  }
}

/* 💻 Small Laptop (769px to 1024px) */
@media (max-width: 1024px) {
  .login-box {
    width: 60%;
  }
}

/* 🖥️ Large Screens (above 1200px) */
@media (min-width: 1200px) {
  .login-box {
    width: 380px;
  }
}