.userlogin-modal {
  display: none;
  position: fixed;
  z-index: 99999; /* ALTIJD bovenaan! */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(20, 20, 20, 0.77); /* Iets transparant zwart */
  align-items: center;
  justify-content: center;
  animation: fadeInScaleUp 0.35s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.93);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.userlogin-modal-content {
  background: linear-gradient(135deg, rgba(30,30,30,0.97) 80%, rgba(255,140,0,0.10) 100%);
  border: 2px solid orange;
  margin: 60px auto;
  padding: 38px 32px 30px 32px;
  border-radius: 18px;
  color: #fff;
  max-width: 400px;
  width: 96vw;
  box-shadow: 0 12px 40px 0 rgba(0,0,0,0.43), 0 1.5px 6px 0 rgba(255,140,0,0.09);
  position: relative;
  font-family: 'Century Gothic', 'Segoe UI', Arial, sans-serif;
  text-align: center;
  transition: box-shadow 0.18s;
  animation: fadeInScaleUp 0.38s;
}

.userlogin-modal-content h2 {
  color: orange;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(255,140,0,0.08), 0 1px 1px #000;
  filter: brightness(1.11);
}

.userlogin-close {
  color: #ffd18a;
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.19s, text-shadow 0.2s;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(255,140,0,0.08), 0 1px 1px #000;
}
.userlogin-close:hover,
.userlogin-close:focus {
  color: orange;
  text-shadow: 0 0 8px orange;
}

#userlogin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#userlogin-form label {
  color: #ffdca9;
  text-align: left;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px #111;
}

#userlogin-email,
#userlogin-password {
  font-size: 1.11em;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1.5px solid #ffab40;
  background: rgba(255, 255, 255, 0.88);
  color: #181818;
  transition: border-color 0.22s, box-shadow 0.18s;
  outline: none;
  box-shadow: 0 1px 3px rgba(255,140,0,0.06);
}

#userlogin-email:focus,
#userlogin-password:focus {
  border-color: orange;
  box-shadow: 0 0 8px 0 orange;
}

.userlogin-modal-content button[type="submit"] {
  font-size: 1.19em;
  padding: 12px 0;
  border: none;
  border-radius: 7px;
  background: linear-gradient(90deg, orange 80%, #ffb347 100%);
  color: #181818;
  font-weight: bold;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  box-shadow: 0 2px 12px 0 rgba(255,140,0,0.18);
  letter-spacing: 0.05em;
}
.userlogin-modal-content button[type="submit"]:hover {
  background: linear-gradient(90deg, #ffab40 70%, orange 100%);
  color: #fff;
}

#userlogin-error {
  color: #ff6b6b;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  padding: 7px 0 5px 0;
  margin-top: 6px;
  min-height: 20px;
  font-size: 1.03em;
  font-weight: bold;
  text-shadow: 0 1px 2px #000;
}

@media (max-width: 600px) {
  .userlogin-modal-content {
    padding: 22px 4vw 18px 4vw;
    min-width: 0;
    width: 98vw;
    max-width: 99vw;
  }
  .userlogin-modal-content h2 {
    font-size: 1.15em;
  }
}
