/* Algemene reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Achtergrond met geblurde weide */
body {
  background: url("https://www.hollandbiketours.com/_Files_Tours/11-img_1-houses-facades-central-delft_hdr.jpg")
    no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #ffffff;
}

/* Login container met aero-effect */
.login-container {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 100%;
  animation: floatIn 0.9s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
}

.login-form h2 {
  font-size: 2em;
  font-weight: 700;
  color: #000000;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.login-form p {
  font-size: 0.95em;
  color: #fff;
}

.login-form label {
  font-size: 0.9em;
  color: #fff;
}

/* Inputs */
.login-form input[type="text"],
.login-form input[type="password"] {
  padding: 12px;
  border: none;
  border-radius: 14px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Submit Button */
.login-form input[type="submit"] {
  background: linear-gradient(135deg, #ff7eb3, #ff758c, #ffb347);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(255, 121, 97, 0.3);
}

.login-form input[type="submit"]:hover {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

/* Error Message */
.error {
  background-color: rgba(255, 80, 80, 0.15);
  padding: 10px;
  border-radius: 8px;
  color: #ff5e5e;
  font-size: 0.9em;
  border-left: 4px solid #ff8787;
}

/* Animaties */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
