body {
  background-image: url('../img/background.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Overlay scuro per leggibilità */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* Box login - effetto vetro */
#kc-container-wrapper,
.card-pf {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

/* Testo bianco su sfondo scuro */
#kc-header-wrapper, label, h1 {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* Input */
.form-control {
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 6px !important;
  border: none !important;
}

/* Bottone */
.btn-primary {
  background-color: #0066cc !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: bold !important;
  transition: all 0.2s ease !important;
}

.btn-primary:hover {
  background-color: #0052a3 !important;
  transform: translateY(-1px);
}
