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

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #4b4b4b, #2e2e2e);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 15px;
  align-items: center;
}

.login-box input {
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.8);
  transition: 0.3s ease;
}

.login-box input:focus {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.login-box button {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s ease;
}

.login-box button:hover {
  color: white;
  transform: scale(1.1);
  color: transparent;
  content: ""
}

.login-box button:hover::after {
  content: "🔓";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: black;
}

#error-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 0, 0, 0.15);
  color: #ff4d4d;
  font-weight: 500;
  text-align: center;

  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

#error-message.show {
  opacity: 1;
}
