* {
  font-family: "Puig Lettera Text Web Regular", sans-serif;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Puig Lettera Text Web Regular", sans-serif;
}

.fontpuig {
  font-family: "Paralelo Regular", sans-serif;
  font-weight: normal;
}

h5 {
  color: #fff;
  font-size: 36px;
  line-height: 33px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0px;
  font-weight: normal;
}

.main-wrapper {
  height: 100vh;
  /* Altezza dinamica basata sullo schermo */
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Impostazioni base immagine di sfondo */
  background-image: url("img/splash-hero_image.jpg");
  /* Esempio verticale per test mobile */
  background-repeat: no-repeat;
  background-position: center top;
}

/* 1) DESKTOP: Riempie tutta la pagina */
@media (min-width: 768px) {
  .main-wrapper {
    background-size: cover;
    background-position: center center;
    background-image: url("img/splash-hero_image.jpg");
    /* Immagine orizzontale */
  }
}
/* 2) MOBILE: Vede tutta l'altezza senza tagliare */
@media (max-width: 767px) {
  .main-wrapper {
    background-size: auto 100%;
    /* Forza l'altezza al 100% e adatta la larghezza */
    background-color: #f0f0f0;
    /* Opzionale: colore se l'immagine è stretta */
  }
}

/* Box contenuto */

.content {
  text-align: center;
  width: 320px;
  /* Contenitore leggermente più largo dell'immagine */
  color: #fff;
  margin-bottom: 100px;
}

.logo {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.logosmall {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.input-custom {
  background-color: transparent ;
  border: 1px solid #ffffff;
  border-radius: 0px;
  color: #ffffff !important;
  font-size: 16px !important;
  font-family: "Puig Lettera Text Web Regular", sans-serif;
  padding: 10px;
  margin-bottom: 5px;
  width: 80%;
  text-align: center;
}

/* Rende il placeholder bianco e centrato (Specifico per i vari motori browser) */
.input-custom::placeholder {
  color: #ffffff !important;
  opacity: 1;
  /* Necessario per Firefox */
  text-align: center;
}
/* Per Internet Explorer/Edge vecchio */
.input-custom:-ms-input-placeholder {
  color: #ffffff !important;
  text-align: center;
}
/* Per Microsoft Edge */
.input-custom::-ms-input-placeholder {
  color: #ffffff !important;
  text-align: center;
}
/* Rimuove l'effetto azzurro/ombra al focus */
.input-custom:focus {
  box-shadow: none;
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1) !important;
  /* Opzionale: leggero riflesso al click */
  color: #ffffff;
}

.btn-entra {
  background-color: #fff !important;
  /* Il colore azzurro dell'immagine */
  color: #2c2c2c !important;
  /* Testo scuro come in immagine */
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  /* Tutto maiuscolo */
  letter-spacing: 1px;
  border: none !important;
  border-radius: 0 !important;
  /* Rende il bottone perfettamente squadrato */
  padding: 12px 30px;
  transition: all 0.3s ease;
  /* Rende il passaggio di colore fluido */
  /* Lo rende largo quanto l'input */
}

/* Effetto Rollover (Hover) */
.btn-entra:hover {
  background-color: #46290c !important;
  /* Cambia in verde (o il colore che preferisci) */
  color: #ffffff !important;
  /* Il testo diventa bianco al passaggio */
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  /* Leggera ombra per dare profondità */
}

/* 5. SWITCH STILE iOS PERSONALIZZATO */
.custom-ios-switch {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-left: 0 !important;
  margin-bottom: 15px;
  cursor: pointer;
}

.custom-ios-switch .form-check-input {
  width: 48px !important;
  height: 26px !important;
  background-color: rgba(255, 255, 255, 0.2) ;
  border: 1px solid #ffffff;
  border-radius: 10px;
  background-image: none !important; /* Rimuove lo stile BS default */
  position: relative;
  transition: background-color 0.3s ease;
  margin-left: 0 !important;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
}

/* Il "pallino" scorrevole */
.custom-ios-switch .form-check-input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stato ON (Acceso) */
.custom-ios-switch .form-check-input:checked {
  background-color: #a37b53 !important; /* Colore azzurro come il bottone */
  border-color: #46290c !important;
}

/* Movimento pallino a destra */
.custom-ios-switch .form-check-input:checked::after {
  transform: translateX(22px);
}

.custom-ios-switch .form-check-input:focus {
  box-shadow: none !important;
}

.label-text {
  color: white;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  text-align: left;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

a {
  color: #fff;
  text-decoration: none;
}

#results {
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  margin: 0 20px;
  max-height: 400px;
  overflow-y: auto;
  background-color: #170d0490;
  color: #fff;
}

.result-item {
  padding: 10px 15px;
  font-size: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
  color: #fff;
}
.result-item:last-child {
  border-bottom: none;
}
.result-item:hover {
  background-color: #724a23;
}
.highlight {
  font-weight: bold;
  color: #46290c; /* Rosso per evidenziare */
  background-color: #ffeeee;
  padding: 1px 0;
  border-radius: 2px;
}

#results::-webkit-scrollbar {
  width: 11px;
}

#results::-webkit-scrollbar-track {
  background: transparent;
}

#results::-webkit-scrollbar-thumb {
  background: #1c1005;
  border-radius: 6px;
}

#results::-webkit-scrollbar-thumb:hover {
  background: #1c1005;
}

/* Firefox */
#results {
  scrollbar-color: #1c1005 transparent;
  scrollbar-width: thin;
}

.hr-fade {
  height: 1px;
  border: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 1) 50px,
    rgba(255, 255, 255, 1) calc(100% - 20%),
    rgba(255, 255, 255, 0) 100%
  );
  margin: 1rem 0;
  display: block;
}

/* .grecaptcha-badge {
    visibility: hidden;
} */