body {
  background: linear-gradient(to bottom right, #e0eafc, #cfdef3);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 400px;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

.login-box form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-box label {
  font-weight: 600;
  color: #444;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  padding: 0.6rem 0.8rem;
  border: 2px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.login-box input:focus {
  border-color: #4dabf7;
}

.login-box button {
  padding: 0.6rem;
  border: none;
  border-radius: 8px;
  background-color: #4dabf7;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-box button:hover {
  background-color: #339af0;
}

.error-message {
  color: #d9534f;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input input {
  flex: 1;
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  user-select: none;
  color: #4dabf7;
}
