/* search-bar-lock.css — ALWAYS last (after styles_last).
   Beats main.min active pill / ::after chevron / flex-wrap icon stack. */

html body .cs-loc-date-d-1,
html body .cs-search-locDate-area-1 .cs-loc-date-d-1,
html body .cs-homepage-sec-2 .cs-loc-date-d-1,
html body .cs-rentcar-section-1 .cs-loc-date-d-1 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.7fr) auto !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 72px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(26, 31, 54, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 40px rgba(26, 31, 54, 0.08) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  flex-wrap: nowrap !important;
}

html body .cs-loc-date-d-1 .csld1-col-1,
html body .cs-loc-date-d-1 .csld1-col-2,
html body .cs-loc-date-d-1 .csld1-col-3,
html body .cs-loc-date-d-1 .csld1-col-1.active,
html body .cs-loc-date-d-1 .csld1-col-2.active,
html body .cs-loc-date-d-1 .csld1-col-1.deactive,
html body .cs-loc-date-d-1 .csld1-col-2.deactive {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  flex: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  position: relative !important;
}

html body .cs-loc-date-d-1 .csld1-col-1,
html body .cs-loc-date-d-1 .csld1-col-2 {
  border-right: 1px solid rgba(26, 31, 54, 0.1) !important;
}

html body .cs-loc-date-d-1 .csld1-col-3 {
  padding: 10px !important;
  justify-content: center !important;
}

/* Tarih çifti */
html body .cs-loc-date-d-1 .cs-date-pair,
html body .cs-loc-date-d-1 .csld1-col-2 > .row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  min-width: 0 !important;
  float: none !important;
}

html body .cs-loc-date-d-1 .cs-date-pair > .cs-icon-box-1 + .cs-icon-box-1,
html body .cs-loc-date-d-1 .csld1-col-2 > .row > [class*="col-"] + [class*="col-"] {
  border-left: 1px solid rgba(26, 31, 54, 0.1) !important;
  padding-left: 14px !important;
}

html body .cs-loc-date-d-1 .cs-date-pair > .cs-icon-box-1:first-child {
  padding-right: 14px !important;
}

html body .cs-loc-date-d-1 .csld1-col-2 > .row > [class*="col-"] {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}

/* İkon | metin — GRID (wrap imkânsız), asla üst üste binmez */
html body .cs-loc-date-d-1 .cs-icon-box-1,
html body .cs-loc-date-d-1 .csld1-col-1.active .cs-icon-box-1,
html body .cs-loc-date-d-1 .csld1-col-2.active .cs-icon-box-1,
html body .cs-search-locDate-area-1 .cs-icon-box-1 {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  float: none !important;
  position: relative !important;
}

/* main.min chevron — öldür */
html body .cs-loc-date-d-1 .cs-icon-box-1::before,
html body .cs-loc-date-d-1 .cs-icon-box-1::after,
html body .cs-loc-date-d-1 .csld1-col-1.active .cs-icon-box-1::after,
html body .cs-loc-date-d-1 .csld1-col-2.active .cs-icon-box-1::after,
html body .cs-loc-date-d-1 .csld1-col-2 .row .col-12 .cs-icon-box-1::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html body .cs-loc-date-d-1 .csib1-col-1,
html body .cs-search-locDate-area-1 .csib1-col-1 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  flex: none !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  background: rgba(15, 158, 150, 0.12) !important;
  float: none !important;
  align-self: center !important;
}

html body .cs-loc-date-d-1 .csib1-col-1 .desc-1 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

html body .cs-loc-date-d-1 .csib1-col-1 .desc-1 i,
html body .cs-loc-date-d-1 .csib1-col-1 i {
  margin: 0 !important;
  color: #0b827b !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

html body .cs-loc-date-d-1 .csib1-col-2,
html body .cs-search-locDate-area-1 .csib1-col-2 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  gap: 2px !important;
  align-self: center !important;
}

html body .cs-loc-date-d-1 .csib1-col-2 label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #8b93a7 !important;
  -webkit-text-fill-color: #8b93a7 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

html body .cs-loc-date-d-1 .csib1-col-2 .form-control,
html body .cs-loc-date-d-1 .csib1-col-2 .desc-2,
html body .cs-loc-date-d-1 .jsStartTimeZone,
html body .cs-loc-date-d-1 .jsEndTimeZone {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1a1f36 !important;
  -webkit-text-fill-color: #1a1f36 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  height: auto !important;
  min-height: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body .cs-loc-date-d-1 .cs-secondary-btn-1,
html body .cs-loc-date-d-1 button.cs-secondary-btn-1,
html body .cs-loc-date-d-1 #searchButton {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 120px !important;
  max-width: none !important;
  min-height: 48px !important;
  height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #0f9e96 !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
}

html body .cs-loc-date-d-1 .cs-datetime-picker-1,
html body .cs-loc-date-d-1 #jsdatetimes1 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: -1 !important;
}

/* Konum dropdown — grid çocuğu olmasın; kapalıyken gizle, açıkken absolute panel */
html body .cs-loc-date-d-1 .cs-icon-box-1 > .search-m-d-1,
html body .cs-loc-date-d-1 .search-m-d-1 {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 80 !important;
  display: block !important;
  float: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  background: #ffffff !important;
  border: 1px solid rgba(26, 31, 54, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px rgba(26, 31, 54, 0.14) !important;
  transform: none !important;
}

html body .cs-loc-date-d-1 .csld1-col-1.active .search-m-d-1,
html body .cs-loc-date-d-1 .jsSearchParents1.active .search-m-d-1,
html body .cs-loc-date-d-1 .cs-icon-box-1 .search-m-d-1.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html body .cs-loc-date-d-1 .csld1-col-1,
html body .cs-loc-date-d-1 .cs-icon-box-1 {
  position: relative !important;
  overflow: visible !important;
}

html body .cs-loc-date-d-1 .search-m-d-1 .smm-d-1 {
  max-height: min(220px, 40vh) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html body .cs-loc-date-d-1 .search-m-d-1 a {
  display: block !important;
  width: 100% !important;
  padding: 10px 12px !important;
  margin: 0 0 4px !important;
  border-radius: 10px !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
}

html body .cs-loc-date-d-1 .search-m-d-1 > a.mb-4 {
  margin-bottom: 8px !important;
  font-weight: 700 !important;
}

@media (max-width: 991.98px) {
  html body .cs-loc-date-d-1,
  html body .cs-search-locDate-area-1 .cs-loc-date-d-1,
  html body .cs-homepage-sec-2 .cs-loc-date-d-1,
  html body .cs-rentcar-section-1 .cs-loc-date-d-1,
  html body.page-rent-car .cs-rentcar-section-1 .cs-loc-date-d-1 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    min-height: 0 !important;
  }

  html body .cs-loc-date-d-1 .csld1-col-1,
  html body .cs-loc-date-d-1 .csld1-col-2,
  html body .cs-loc-date-d-1 .csld1-col-3,
  html body.page-rent-car .cs-rentcar-section-1 .csld1-col-1,
  html body.page-rent-car .cs-rentcar-section-1 .csld1-col-2,
  html body.page-rent-car .cs-rentcar-section-1 .csld1-col-3 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(26, 31, 54, 0.1) !important;
    padding: 12px 14px !important;
  }

  html body .cs-loc-date-d-1 .csld1-col-3,
  html body.page-rent-car .cs-rentcar-section-1 .csld1-col-3 {
    border-bottom: 0 !important;
  }

  html body .cs-loc-date-d-1 .cs-secondary-btn-1,
  html body .cs-loc-date-d-1 button.cs-secondary-btn-1,
  html body.page-rent-car .cs-rentcar-section-1 #searchButton,
  html body.page-rent-car .cs-rentcar-section-1 .csld1-col-3 .cs-secondary-btn-1 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html body .cs-loc-date-d-1 .cs-date-pair,
  html body .cs-loc-date-d-1 .csld1-col-2 > .row,
  html body.page-rent-car .cs-rentcar-section-1 .cs-date-pair,
  html body.page-rent-car .cs-rentcar-section-1 .csld1-col-2 > .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  html body .cs-loc-date-d-1 .cs-date-pair > .cs-icon-box-1 + .cs-icon-box-1,
  html body .cs-loc-date-d-1 .csld1-col-2 > .row > [class*="col-"] + [class*="col-"],
  html body.page-rent-car .cs-rentcar-section-1 .cs-date-pair > .cs-icon-box-1 + .cs-icon-box-1 {
    border-left: 0 !important;
    border-top: 1px solid rgba(26, 31, 54, 0.1) !important;
    padding-left: 0 !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
  }

  html body .cs-loc-date-d-1 .cs-icon-box-1,
  html body.page-rent-car .cs-rentcar-section-1 .cs-icon-box-1 {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    width: 100% !important;
  }

  html body .cs-loc-date-d-1 .csib1-col-2,
  html body.page-rent-car .cs-rentcar-section-1 .csib1-col-2 {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body .cs-loc-date-d-1 .csib1-col-2 label,
  html body .cs-loc-date-d-1 .csib1-col-2 .desc-1,
  html body .cs-loc-date-d-1 .csib1-col-2 input,
  html body.page-rent-car .cs-rentcar-section-1 .csib1-col-2 label,
  html body.page-rent-car .cs-rentcar-section-1 .csib1-col-2 .desc-1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #1a1f36 !important;
    -webkit-text-fill-color: #1a1f36 !important;
  }

  html body .cs-loc-date-d-1 .csib1-col-2 label,
  html body.page-rent-car .cs-rentcar-section-1 .csib1-col-2 label {
    color: #8b93a7 !important;
    -webkit-text-fill-color: #8b93a7 !important;
  }
}

@media (max-width: 575.98px) {
  html body .cs-loc-date-d-1 .cs-date-pair,
  html body .cs-loc-date-d-1 .csld1-col-2 > .row {
    grid-template-columns: 1fr !important;
  }

  html body .cs-loc-date-d-1 .cs-date-pair > .cs-icon-box-1 + .cs-icon-box-1,
  html body .cs-loc-date-d-1 .csld1-col-2 > .row > [class*="col-"] + [class*="col-"] {
    border-left: 0 !important;
    border-top: 1px solid rgba(26, 31, 54, 0.1) !important;
    padding-left: 0 !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
  }

  html body .cs-loc-date-d-1 .cs-date-pair > .cs-icon-box-1:first-child {
    padding-right: 0 !important;
  }
}
