/* This CSS file will be loaded at last. Any CSS customization should be placed here */

.vbdivsearch .vb-search-inner {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   GESTIONE COMPONENTI STRUTTURALI (Date e Input)
   ========================================================================== */

.vbdivsearch .vbo-search-inpblock {
  display: flex;
  flex-direction: column;
  flex: 1 1 220px;
}

.vbdivsearch .vbo-search-inpblock label {
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.vbdivsearch .vbo-search-inpblock .input-group {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 4px;
  height: 48px;
  display: flex;
  align-items: center;
}

.vbdivsearch .vbo-search-inpblock input[type="text"] {
  border: none;
  background: transparent;
  padding: 0 15px;
  height: 48px;
  width: 100%;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  box-shadow: none;
}

.vbdivsearch .vbo-search-inpblock .vbo-caltrigger {
  position: absolute;
  right: 15px;
  color: #999;
  pointer-events: none;
  background: none;
  border: none;
}

/* ==========================================================================
   NUOVA GESTIONE E STILE CAMPO OSPITI (ADULTI) - FIX STRUTTURA
   ========================================================================== */

/* Spazio flessibile per il blocco e allineamento in basso sulla riga */
.vb-home-search .vbo-search-num-aduchild-block {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 140px;
  align-self: flex-end;
  position: relative; /* Serve per ancorare la scritta sopra */
}

/* Trasforma il container degli adulti nel box bianco identico alle date */
.vb-home-search .vbo-search-num-adults-entry {
  background: #fff;
  border-radius: 4px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Spinge il numero a destra */
  padding: 0 15px;
  box-sizing: border-box;
  width: 100%;
}

/* Prende la scritta "Adulti" interna e la sposta SOPRA il box bianco */
.vb-home-search .vbo-search-num-adults-entry label,
.vb-home-search .vbo-search-num-aduchild-block label {
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
  position: absolute;
  top: -25px; /* Spinge la scritta verso l'alto fuori dal box */
  left: 0;
  margin: 0;
  display: block !important;
  white-space: nowrap;
}

/* Modifica il selettore numerico rimasto nel box */
.vb-home-search .vbo-search-num-adults-entry input,
.vb-home-search .vbo-search-num-adults-entry select {
  border: none !important;
  background: transparent !important;
  height: 100%;
  width: 50px; /* Stringe il campo numerico lasciando pulito il box */
  font-size: 16px;
  font-weight: bold;
  outline: none;
  box-shadow: none !important;
  padding: 0;
  cursor: pointer;
  text-align: right;
}

/* Nasconde elementi superflui nel widget (Bambini, Camere residue o Totale notti) */
.vb-home-search #vbjstotnights,
.vb-home-search .vbo-search-num-rooms {
  display: none !important;
}

.vbo-search-num-children-entry {
  display: none !important;
}

/* ==========================================================================
   PULSANTI E COMPONENTI DI LAYOUT GENERALI
   ========================================================================== */

.vbdivsearch .vbo-search-submit .btn.vbo-pref-color-btn {
  background-color: #5c6b3a;
  background-image: none;
  color: #fff;
  border: none;
  border-radius: 4px;
  height: 48px;
  padding: 0 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.vbdivsearch .vbo-search-submit .btn.vbo-pref-color-btn:hover {
  background-color: #4a5730;
}

.vbdivsearch {
  background: none;
}

.vblegbusy {
  background: #e45d5d;
  border: 1px solid #c54747;
}

.vbo-listing-details-wrap .vbo-listing-details-desc-cont {
  padding: 0;
  font-size: .9em;
  line-height: 1.65em;
  float: none;
  border: 0;
  width: initial;
  flex: 1;
  background: #ffffff00 !important;
}

.vbo-results-head.vbo-results-head-showprc {
  background: white;
}
