/* ================================================
   MOBİL ARAMA OVERLAY
   ================================================ */
@media (min-width: 769px) {
  .ibt-search-overlay { display: none !important; }
}

.ibt-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #f2f4f8;
  flex-direction: column;
}
.ibt-search-overlay.active { display: flex; }

* { -webkit-tap-highlight-color: transparent; }

/* Header */
.iso-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e4e8f0;
  flex-shrink: 0;
  min-height: 60px;
}

/* Geri butonu */
.iso-back {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #f2f4f8;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a1628;
}
.iso-back svg { width: 20px; height: 20px; display: block; }

/* Input wrap */
.iso-input-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.iso-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e6cb4;
  line-height: 1;
  padding-left: 2px;
}
.iso-input {
  width: 100%;
  max-width: 100%;
  height: 40px;
  border: 1.5px solid #e4e8f0;
  border-radius: 10px;
  padding: 0 40px 0 12px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
  color: #0a1628;
  background: #f8fafc;
  outline: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  position: relative;
}
.iso-input:focus {
  border-color: #1e6cb4;
  background: #fff;
}
.iso-clear {
  position: absolute;
  right: 10px;
  bottom: 11px;
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
  color: #94989e;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  transition: color 0.15s;
}
.iso-clear:hover { color: #0a1628; }
.iso-clear.visible { display: flex; }

/* Temizle butonu - input içinde sağda ortalanmış */



/* İçerik */
.iso-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Section başlık */
.iso-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94989e;
  padding: 1rem 1.25rem 0.4rem;
}

/* Sonuç satırı */
.iso-result-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid #f0f3f8;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.iso-result-item:first-child { border-top: 1px solid #f0f3f8; }
.iso-result-item:active { background: #eef5ff; }

.iso-result-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iso-result-icon.airport { background: #0c3b6e; }
.iso-result-icon.place   { background: #eef4ff; }
.iso-result-icon svg { width: 16px; height: 16px; display: block; }
.iso-result-icon.airport svg { stroke: #fff; fill: none; stroke-width: 1.8px; }
.iso-result-icon.place   svg { stroke: #1e6cb4; fill: none; stroke-width: 1.8px; }

.iso-result-text { flex: 1; min-width: 0; }
.iso-result-main {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a1628;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.iso-result-sub {
  font-size: 0.75rem;
  color: #94989e;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Boş / yükleniyor */
.iso-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  color: #94989e;
  font-size: 0.875rem;
  gap: 0.75rem;
  text-align: center;
}
.iso-empty svg {
  width: 36px;
  height: 36px;
  stroke: #d4d8e0;
  fill: none;
  stroke-width: 1.5px;
}

/* Hide original clear button when overlay is active */
.ibt-search-overlay.active ~ .hero .inp-clear,
body:has(.ibt-search-overlay.active) .inp-clear.visible {
  display: none !important;
}
