/* ==========================================================================
   ЛАЙМТАЙМ · Пошук турів Otpusk · ПОВНИЙ CSS (без мобільної рамки)
   ========================================================================== */

/* ==========================================================================
   1. СПІЛЬНІ СТИЛІ
   ========================================================================== */

/* Дозволяємо випадаючим вікнам виходити за межі контейнерів */
.new_os,
.new_os .new_f-container,
.new_os .new_f-wrapper,
.new_os .new_f-form,
.new_os .new_f-form > .clearfix,
.new_os .new_f-form-field,
.new_os .new_f-dropdown-container,
.new_os .new_f-dates-container {
  overflow: visible !important;
}

.new_os,
.new_os .new_f-container {
  position: relative !important;
  z-index: 100 !important;
}

/* Z-index для випадаючих списків та календаря */
.new_os .new_f-dropdown-body,
.new_os .new_f-dropdown-body-date,
.new_os .ui-datepicker,
#ui-datepicker-div,
.new_os .new_f-dates-container {
  z-index: 99999 !important;
}

/* Приховуємо статичне оформлення Otpusk */
.new_os .new_f-title,
.new_os .new_f-ext-btn-container,
.new_os .new_f-ext-container,
.new_os .new_f-wrapper-bg-imgs { 
  display: none !important; 
}

/* Кольори елементів усередині випадаючих списків */
.new_os .new_f-ext-bl-title,
.new_os .new_f-label-name,
.new_os .new_f-ext-clear-btn { color: #0C643B !important; }
.new_os .new_f-dropdown-btn-apply { background: #0C643B !important; }
.new_os .new_f-dropdown-btn-apply:hover { background: #014B3F !important; }
.new_os .new_f-people-item.active {
  background-color: #0C643B !important;
  color: #ffffff !important;
}
.new_os .ui-datepicker-month,
.new_os .ui-datepicker-year { color: #0C643B !important; }


/* ==========================================================================
   2. СТИЛІ ДЛЯ ДЕСКТОПА (ширина екрана від 769px)
   ========================================================================== */
@media (min-width: 769px) {

  .new_os .new_f-container {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 20px !important;
    padding: 28px !important;
  }

  .new_os .new_f-form > .clearfix {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 14px !important;
    padding-top: 28px !important;
  }

  .new_os .new_f-form-field {
    position: relative !important;
    flex: 1 1 auto !important;
    min-width: 150px !important;
    height: 56px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .new_os .new_f-form-field > .new_f-dropdown-btn,
  .new_os .new_f-form-field > .new_f-autocomplete-input,
  .new_os .new_f-form-field .new_f-search-dates-wrap {
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 0 22px !important;
    line-height: normal !important;
  }

  .new_os .new_f-dropdown-btn,
  .new_os .new_f-autocomplete-input,
  .new_os .new_f-dropdown-btn-text {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-align: center !important;
  }

  .new_os .new_f-autocomplete-input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
  }

  .new_os .new_f-dropdown-btn::after,
  .new_os .new_f-dropdown-btn .cnt::after {
    border-color: #ffffff transparent transparent !important;
  }

  .new_os .new_f-input-mask,
  .new_os .new_f-input-mask-country,
  .new_os .new_f-input-mask-cities,
  .new_os .new_f-to-mobile-shield,
  .new_os .new_f-dropdown-btn .cnt {
    display: none !important;
  }

  .new_os .new_f-search-dates-wrap {
    gap: 8px !important;
    justify-content: center !important;
  }

  .new_os .new_f-search-dates-wrap svg {
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 auto !important;
  }

  .new_os .ui-datepicker-trigger {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }

  .new_os .new_f-form-field::after {
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    z-index: 5 !important;
  }

  .new_os .new_f-form-field.to::after       { content: "Країна"; }
  .new_os .new_f-form-field.from::after     { content: "Виліт із"; }
  .new_os .new_f-form-field.date::after     { content: "Початок туру"; }
  .new_os .new_f-form-field.duration::after { content: "Ночей"; }
  .new_os .new_f-form-field.people::after   { content: "Гості"; }

  .new_os .new_f-form-field.duration .new_f-dropdown-btn { font-size: 0 !important; }
  .new_os .new_f-form-field.duration .new_f-dropdown-btn-text { font-size: 15px !important; }

  .new_os .new_f-form-submit {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 200px !important;
    height: 56px !important;
    margin: 22px auto 0 auto !important;
    padding: 0 44px !important;
    background: #379237 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(55, 146, 55, 0.4) !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
  }

  .new_os .new_f-form-submit:hover {
    background: #2C7A2C !important;
    transform: translateY(-1px) !important;
  }
}


/* ==========================================================================
   3. СТИЛІ ДЛЯ МОБІЛЬНИХ (ширина екрана до 768px включно)
   ========================================================================== */
@media (max-width: 768px) {

  /* 3.1. ПОВНІСТЮ ПРИБИРАЄМО ЗОВНІШНЮ РАМКУ, ФОН ТА ТІНЬ */
  .new_os .new_f-container {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* 3.2. Поля вводу (Країна, Виліт, Дати тощо) */
  .new_os .new_f-form-field {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px !important;
  }

  /* 3.3. Колір тексту в полях та іконки */
  .new_os .new_f-dropdown-btn-text,
  .new_os .new_f-autocomplete-input,
  .new_os .ui-datepicker-trigger {
    color: #ffffff !important;
  }

  /* 3.4. Підписи над полями */
  .new_os .new_f-form-field::after {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
  }

  /* 3.5. Кнопка «Знайти» */
  .new_os .new_f-form-submit {
    background: #379237 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(55, 146, 55, 0.4) !important;
  }
}.uag-blocks-common-selector{z-index:var(--z-index-desktop) !important}@media(max-width: 976px){.uag-blocks-common-selector{z-index:var(--z-index-tablet) !important}}@media(max-width: 767px){.uag-blocks-common-selector{z-index:var(--z-index-mobile) !important}}.wp-block-uagb-icon svg{width:30px}.uagb-icon-wrapper .uagb-svg-wrapper{transition:box-shadow .2s ease} .uagb-block-afcf1d4b.uagb-icon-wrapper{text-align: center;} .uagb-block-afcf1d4b.uagb-icon-wrapper .uagb-svg-wrapper a{display: contents;} .uagb-block-afcf1d4b.uagb-icon-wrapper svg{width: 40px;height: 40px;transform: rotate(0deg);box-sizing: content-box;fill: #333;filter: drop-shadow( 0px 0px 0px #00000070 );} .uagb-block-afcf1d4b.uagb-icon-wrapper .uagb-svg-wrapper{display: inline-flex;padding-top: 5px;padding-right: 5px;padding-bottom: 5px;padding-left: 5px;border-style: default;box-shadow: 0px 0px 0 #00000070 ;} .uagb-block-afcf1d4b.uagb-icon-wrapper .uagb-svg-wrapper:hover{box-shadow: 0px 0px 0 #00000070 ;} .uagb-block-afcf1d4b.uagb-icon-wrapper .uagb-svg-wrapper:focus-visible{box-shadow: 0px 0px 0 #00000070 ;}@media only screen and (max-width: 976px) { .uagb-block-afcf1d4b.uagb-icon-wrapper .uagb-svg-wrapper{display: inline-flex;}}@media only screen and (max-width: 767px) { .uagb-block-afcf1d4b.uagb-icon-wrapper .uagb-svg-wrapper{display: inline-flex;}}