#main #client-login .custom-form #sb_terms_and_conditions .promotions-letter-flag label[role=button]{
    display: none;
}
#sb-main-container #main #sb-timeline #steps #details .detail-step-wrap .detail-step .license-links-container .promotions-letter-flag label[role=button]{
  display: none;
}

/*
	Custom CSS
	Please make sure your CSS rules are 
	more particular / have higher priority
	then other page styles
*/
 #events h3   {
	/* add your css rule here */
}


 #events p.duration, #events div.duration   {
	/* add your css rule here */
}


 #events p.description, #events div.description   {
	/* add your css rule here */
}


 #events .selectedEvent   {
	/* add your css rule here */
}


 #events input.reserve_time_btn   {
	/* add your css rule here */
}


 #events input.select_another_btn   {
	/* add your css rule here */
}


 #eventForm #start_date-block-container h3, #eventForm #timeline-container h3   {
	/* add your css rule here */
}


 #eventForm #save_button   {
	/* add your css rule here */
}


 div.ui-widget-content   {
	/* add your css rule here */
}


 div.ui-widget-header   {
	/* add your css rule here */
}


 #timeline-container table.timeline   {
	/* add your css rule here */
}


 .timeline td.not_worked_time   {
	/* add your css rule here */
}


 .timeline td.free_time   {
	/* add your css rule here */
}


 .timeline td.selected_time   {
	/* add your css rule here */
}


 .timeline td.reserved_time   {
	/* add your css rule here */
}


 div#loading   {
	/* add your css rule here */
}


 #start_date-block-container .zend_form dt, start_date-block-container .zend_form dt b, start_date-block-container .zend_form dd label   {
	/* add your css rule here */
}
/* ===========================
   LOGICA OSPITE (solo CSS)
   =========================== */

/* 1) NASCONDI all'avvio i 3 campi dell'ospite.
   - Usiamo :has() sulla form-group che contiene ciascun input
   - Riconosciamo i campi tramite il placeholder visibile nella tua pagina
*/
form#sb_booking_form .form-group:has(input[placeholder*="Nome ospite"]),
form#sb_booking_form .form-group:has(input[placeholder*="Cognome ospite"]),
form#sb_booking_form .form-group:has(input[placeholder*="Email ospite"]) {
  display: none !important;
}

/* 2) MOSTRA i 3 campi dell'ospite quando il select "Porta un ospite?"
      NON è impostato su "NO".
   - Questo evita di dover indovinare il valore esatto di "Sì"
   - Se il valore della tua opzione negativa è diverso da "NO",
     sostituisci NO con il valore reale (vedi note sotto)
*/
form#sb_booking_form:has(select[name*="Porta"][name*="ospite"] option:checked:not([value*="NO"]))
  .form-group:has(input[placeholder*="Nome ospite"]),
form#sb_booking_form:has(select[name*="Porta"][name*="ospite"] option:checked:not([value*="NO"]))
  .form-group:has(input[placeholder*="Cognome ospite"]),
form#sb_booking_form:has(select[name*="Porta"][name*="ospite"] option:checked:not([value*="NO"]))
  .form-group:has(input[placeholder*="Email ospite"]) {
  display: block !important;
}

/* 3) (OPZ.) piccola transizione di comparsa */
form#sb_booking_form .form-group:has(input[placeholder*="Nome ospite"]),
form#sb_booking_form .form-group:has(input[placeholder*="Cognome ospite"]),
form#sb_booking_form .form-group:has(input[placeholder*="Email ospite"]) {
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}

/* Lascia SEMPRE visibili Intolleranze/Allergie e Note (nessun hide applicato) */
