.cocktail-form-box {
  max-width: 300px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
}

.cocktail-form-box h2 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 20px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cocktail-form-box label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  cursor: pointer;
}

.cocktail-form-box input[type="radio"] {
  margin-right: 10px;
}

.cocktail-form-box button {
  margin-top: 20px;
  display: inline-block;
  background: #ffcc00;
  color: #555;
  font-weight: bold;
  font-size: 16px;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
}

.cocktail-form-box button:hover {
  background: #dddddd;
}
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-inner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #ffcc00;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
body.cocktail-background {
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cocktail-form-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 30px;
  border-radius: 16px;
  max-width: 300px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.cocktail-form-box-result {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  margin:auto;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
}
.cocktail-form-box-step0 {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  margin:auto;
  text-align: center;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
}
.cocktail-form-box-step0 button {
  margin-top: 20px;
  display: inline-block;
  background: #ffcc00;
  color: #555;
  font-weight: bold;
  font-size: 16px;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
}
.cocktail-form-box-step0 button:hover {
  background: #dddddd;
}
@media (max-width: 768px) {
  .cocktail-form-box-result {
    margin-top: 230px; /* Più spazio sopra sui dispositivi mobili */
    padding-bottom: 100px; /* Più spazio sotto per evitare il taglio */
    text-align: center;
  }
}
/* ✅ Stile base per checkbox e radio */
.cocktail-form-box input[type="checkbox"],
.cocktail-form-box input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #555;
  border-radius: 50%; /* tondo */
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  top: 2px;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

/* 🔘 Checkbox e radio selezionati */
.cocktail-form-box input[type="checkbox"]:checked,
.cocktail-form-box input[type="radio"]:checked {
  background-color: #ffcc00;
  border-color: #ffcc00;
}

/* ✅ Spaziatura label */
.cocktail-form-box label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  cursor: pointer;
}

