body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  width: 300px;
  transition: transform 0.3s ease;
}

.login-container:hover {
  transform: scale(1.05);
}

h2 {
  text-align: center;
  color: #333;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  outline: none;
}

.show-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 0.9rem;
  color: #888;
}

.btn-login {
  width: 100%;
  background: #9b59b6;
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: #8e44ad;
}

.error-message {
  color: red;
  font-size: 0.8rem;
  text-align: center;
  display: none;
}
