/* ========================================
   Corporate Hero Search — Tema26 Premium
   ======================================== */
@media (max-width: 991px) {
.index-home .anabanner-alan-box {
  margin-bottom: 15px !important;
}
}
.index-home .anabanner-alan-box {
  margin-bottom: 250px;
}
.index-home .corporate-search-panel {
  --csp-bg: rgba(255, 255, 255, 0.97);
  --csp-border: rgba(0, 57, 112, 0.1);
  --csp-rail: #f4f7fb;
  --csp-rail-border: rgba(0, 57, 112, 0.08);
  position: relative;
  background: var(--csp-bg);
  border: 1px solid var(--csp-border);
  border-radius: 20px;
  box-shadow:
    0 24px 64px rgba(0, 35, 70, 0.18),
    0 8px 24px rgba(0, 57, 112, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: visible;
}

.index-home .corporate-search-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--seyir-primary-dark) 0%, var(--seyir-accent) 55%, #4da3ff 100%);

  pointer-events: none;
}

/* ---- Segmented tabs ---- */
.index-home .tb-nav-shell {
  padding: 14px 18px 0;
}

.index-home .tb-nav-tabs.nav-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--csp-rail-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafd 0%, #eef3f9 100%);
  position: relative;
  width: auto;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.index-home .tb-nav-tabs.nav-tabs::-webkit-scrollbar {
  display: none;
}

.index-home .tb-nav-tabs .nav-item {
  margin: 0;
  flex-shrink: 0;
}

.index-home .tb-tab-indicator {
  display: none;
}

.index-home .tb-tab-link.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: none !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--seyir-muted) !important;
  font-family: "Metropolis", "Source Sans Pro", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  position: relative;
  z-index: 1;
}

.index-home .tb-tab-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0, 57, 112, 0.06);
  color: #7a8fa3;
  font-size: 13px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.index-home .tb-tab-link.nav-link:hover {
  color: var(--seyir-primary) !important;
}

.index-home .tb-tab-link.nav-link:hover .tb-tab-ico {
  background: rgba(1, 94, 225, 0.1);
  color: var(--seyir-accent);
}

.index-home .tb-tab-link.nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--seyir-primary-dark) 0%, var(--seyir-primary) 48%, var(--seyir-accent) 100%) !important;
  box-shadow: 0 8px 22px rgba(0, 57, 112, 0.28);
  transform: translateY(-1px);
}

.index-home .tb-tab-link.nav-link.active .tb-tab-ico {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---- Tab panels ---- */
.index-home .search-boxes .tab-content,
.index-home .search-boxes .tb-tab-content {
  background: transparent !important;
  border-radius: 0 0 20px 20px;
  position: relative;
  transition: min-height 0.35s ease;
}

.index-home .search-boxes .tab-content > .tab-pane {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
  z-index: 1;
}

.index-home .search-boxes .tab-content > .tab-pane.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.index-home .search-boxes .tab-content > .tab-pane.tb-tab-leaving {
  position: absolute;
  opacity: 0;
  transform: translateY(-6px);
}

.index-home .search-boxes .tab-content > .tab-pane.tb-tab-entering {
  opacity: 0;
  transform: translateY(8px);
}

.index-home .tb-search-wrapper {
  position: relative;
  padding: 18px 22px 20px;
}

.index-home .tb-search-form {
  position: relative;
  z-index: 2;
  width: 100%;
}

.index-home .tb-search-row {
  display: block;
}

/* ---- Unified search rail ---- */
.index-home .tb-search-rail {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 76px;
  padding: 8px;
  border-radius: 16px;
  background: var(--csp-rail);
  border: 1px solid var(--csp-rail-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.index-home .tb-rail-sep {
  width: 1px;
  align-self: stretch;
  margin: 12px 4px;
  background: linear-gradient(180deg, transparent, rgba(0, 57, 112, 0.12) 18%, rgba(0, 57, 112, 0.12) 82%, transparent);
  flex-shrink: 0;
}

.index-home .tb-field-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.index-home .tb-field-col-city {
  flex: 1.35;
  padding: 4px 10px 4px 6px;
}

.index-home .tb-field-col-hotel {
  flex: 1.4;
  min-width: 0;
}

.index-home .tb-field-col-date {
  flex: 1;
  padding: 4px 10px;
}

.index-home .tb-field-col-date-sm,
.index-home .tb-field-col-guest {
  flex: 0.95;
  min-width: 0;
}

.index-home .tb-field-col-btn {
  flex: 0 0 auto;
  padding: 4px 4px 4px 8px;
  justify-content: center;
}

.index-home .tb-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.index-home .tb-btn-group-compact {
  gap: 6px;
}

/* Clear / reset selections */
.index-home .tb-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(0, 57, 112, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #5a6f84;
  font-family: "Metropolis", "Source Sans Pro", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.index-home .tb-clear-btn i {
  font-size: 13px;
  opacity: 0.9;
  transition: transform 0.35s ease;
}

.index-home .tb-clear-btn:hover {
  color: var(--seyir-primary);
  border-color: rgba(0, 57, 112, 0.28);
  background: rgba(0, 57, 112, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 57, 112, 0.08);
}

.index-home .tb-clear-btn:hover i {
  transform: rotate(-45deg);
}

.index-home .tb-clear-btn:active {
  transform: translateY(0);
}

.index-home .tb-clear-btn.is-flash {
  color: var(--seyir-accent);
  border-color: rgba(1, 94, 225, 0.35);
  background: rgba(1, 94, 225, 0.08);
}

.index-home .tb-clear-btn.is-flash i {
  transform: rotate(-180deg);
}

.index-home .tb-clear-btn-icon-only {
  width: 54px;
  min-width: 54px;
  padding: 0;
}

.index-home .tb-clear-btn-icon-only .tb-clear-btn-txt {
  display: none;
}

.index-home .tb-search-row-hotel .tb-clear-btn,
.index-home .tb-search-row-flight .tb-clear-btn,
.index-home .tb-search-row-transfer .tb-clear-btn {
  height: 50px;
}

.index-home .tb-search-row-flight .tb-clear-btn-icon-only,
.index-home .tb-search-row-transfer .tb-clear-btn-icon-only {
  width: 50px;
  min-width: 50px;
}

.index-home .tb-field-label {
  font-family: "Metropolis", "Source Sans Pro", sans-serif;
  font-size: 10px;
  color: #6b7f92;
  font-weight: 700;
  margin: 0 0 6px 2px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.index-home .tb-input-box {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 2px !important;
  height: auto !important;
  min-height: 38px;
  box-shadow: none !important;
}

.index-home .tb-field-glyph,
.index-home .tb-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 57, 112, 0.07);
  color: var(--seyir-primary);
  font-size: 14px;
  flex-shrink: 0;
  margin: 0 !important;
}

.index-home .tb-input-box:focus-within .tb-field-glyph,
.index-home .tb-input-box:focus-within .tb-input-icon {
  background: rgba(1, 94, 225, 0.12);
  color: var(--seyir-accent);
}

.index-home .tb-input-box input[type="text"],
.index-home .tb-input-box .form-readonly-control {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Metropolis", "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--seyir-text);
  width: 100%;
  padding: 0 !important;
  height: auto !important;
  min-height: 38px;
  margin: 0 !important;
  border-radius: 0 !important;
}

.index-home .tb-input-box input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.index-home .tb-input-icon-right {
  margin-left: auto !important;
  margin-right: 0 !important;
  color: var(--seyir-muted);
}

.index-home .tb-input-icon-accent,
.index-home .tb-input-icon-red {
  color: var(--seyir-accent) !important;
}

.index-home .tb-input-box-icon-right {
  padding-right: 0 !important;
}

/* Voice search mic */
.index-home .tb-input-box-mic {
  padding-right: 0 !important;
}

.index-home .tb-mic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(0, 57, 112, 0.07);
  color: var(--seyir-primary);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.index-home .tb-mic-btn:hover {
  background: rgba(1, 94, 225, 0.12);
  color: var(--seyir-accent);
}

.index-home .tb-mic-btn:focus-visible {
  outline: 2px solid var(--seyir-accent);
  outline-offset: 2px;
}

.index-home .tb-mic-btn.is-listening {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  animation: tb-mic-pulse 1.2s ease-in-out infinite;
}

.index-home .tb-mic-btn.is-processing {
  background: rgba(1, 94, 225, 0.14);
  color: var(--seyir-accent);
  animation: tb-mic-pulse 1.2s ease-in-out infinite;
  pointer-events: none;
}

.index-home .tb-mic-btn.is-unsupported {
  display: none !important;
}

.index-home .tb-search-row-flight .tb-mic-btn,
.index-home .tb-search-row-transfer .tb-mic-btn {
  width: 30px;
  height: 30px;
  font-size: 13px;
  border-radius: 8px;
}

@keyframes tb-mic-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

/* Mic sonar rings */
.index-home .tb-mic-btn {
  position: relative;
  overflow: visible;
}

.index-home .tb-mic-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.index-home .tb-mic-rings span {
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  border: 2px solid rgba(220, 38, 38, 0.45);
  opacity: 0;
  transform: scale(0.85);
}

.index-home .tb-mic-btn.is-listening .tb-mic-rings span:nth-child(1) {
  animation: tb-mic-ring 1.4s ease-out infinite;
}

.index-home .tb-mic-btn.is-listening .tb-mic-rings span:nth-child(2) {
  animation: tb-mic-ring 1.4s ease-out 0.35s infinite;
}

@keyframes tb-mic-ring {
  0% { opacity: 0.7; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.75); }
}

/* Voice-filled field flash */
.index-home .tb-voice-filled {
  animation: tb-field-glow 1.1s ease;
}

@keyframes tb-field-glow {
  0% { box-shadow: 0 0 0 0 rgba(1, 94, 225, 0.35); }
  40% { box-shadow: 0 0 0 4px rgba(1, 94, 225, 0.2); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Recent searches — floating overlay, does not grow search panel */
.index-home .tb-recent-section {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(0, 57, 112, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 35, 70, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.index-home #heroSearchBox.is-search-focused .tb-recent-section:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.index-home .tb-recent-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.index-home .tb-recent-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(0, 57, 112, 0.07);
  color: var(--seyir-primary);
  font-size: 11px;
}

.index-home .tb-recent-label {
  font-size: 10px;
  color: #6b7f92;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.index-home .tb-recent-clear {
  margin-inline-start: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: #7b8fa3;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1.2;
  transition: color 0.2s ease, background 0.2s ease;
}

.index-home .tb-recent-clear i {
  font-size: 10px;
  opacity: 0.9;
}

.index-home .tb-recent-clear:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.06);
}

.index-home .tb-recent-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  max-height: 40px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.index-home .tb-recent-chips::-webkit-scrollbar {
  display: none;
}

.index-home .tb-recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  flex-shrink: 0;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 57, 112, 0.14);
  background: #fff;
  color: var(--seyir-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.index-home .tb-recent-chip:hover,
.index-home .tb-recent-chip.is-active {
  border-color: rgba(1, 94, 225, 0.35);
  background: #fff;
  transform: translateY(-1px);
}

.index-home .tb-recent-chip > i {
  color: #94a3b8;
  font-size: 11px;
}

.index-home .tb-recent-chip > span:first-of-type {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-home .tb-recent-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 57, 112, 0.08);
  color: #64748b;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.index-home .tb-recent-remove:hover {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

/* Arabic / RTL polish */
.index-home #heroSearchBox.is-rtl {
  direction: rtl;
  text-align: right;
}

.index-home #heroSearchBox.is-rtl .tb-tab-link {
  flex-direction: row-reverse;
}

.index-home #heroSearchBox.is-rtl .tb-input-box-mic .tb-mic-btn {
  margin-left: 0;
  margin-right: auto;
}

.index-home #heroSearchBox.is-rtl .tb-field-glyph,
.index-home #heroSearchBox.is-rtl .tb-input-icon:not(.tb-input-icon-right) {
  order: 2;
}

.index-home #heroSearchBox.is-rtl .tb-input-box-mic input {
  order: 1;
  text-align: right;
}

.index-home #heroSearchBox.is-rtl .tb-mic-btn {
  order: 0;
}

.index-home #heroSearchBox.is-rtl .tb-pop-card-arrow i,
.index-home #heroSearchBox.is-rtl .tb-popular-cards .fa-chevron-right {
  transform: scaleX(-1);
}

.index-home #heroSearchBox.is-rtl .tb-flight-swap-btn i {
  transform: scaleX(-1);
}

.index-home #heroSearchBox.is-rtl .tb-recent-clear {
  margin-inline-start: 4px;
  margin-inline-end: 0;
}

.index-home #heroSearchBox.is-rtl .tb-btn-group {
  flex-direction: row-reverse;
}

.index-home #heroSearchBox.is-rtl .tb-recent-chip {
  font-family: "Segoe UI", "Tahoma", "Arial", sans-serif;
}

/* Search CTA */
.index-home .tb-search-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 128px;
  height: 54px;
  padding: 0 26px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--seyir-primary-dark) 0%, var(--seyir-primary) 45%, var(--seyir-accent) 100%);
  color: #fff;
  font-family: "Metropolis", "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 57, 112, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.index-home .tb-search-btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.index-home .tb-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 57, 112, 0.38);
  color: #fff;
}

.index-home .tb-search-btn:hover .tb-search-btn-glow {
  transform: translateX(120%);
}

.index-home .tb-search-btn:active {
  transform: translateY(0);
}

.index-home .tb-search-btn-icon-only {
  min-width: 54px !important;
  width: 54px;
  padding: 0 !important;
}

.index-home .tb-search-btn-icon-only span:not(.tb-search-btn-glow) {
  display: none;
}

/* AYYIL — custom + native fallback */
.index-home .tb-field-col-date .tb-ayyil-wrapper,
.index-home .tb-field-col-date select#ayyil,
.index-home .tb-field-col-date select[name="ayyil"] {
  width: 100%;
}

.index-home .tb-ayyil-wrapper {
  position: relative;
  width: 100%;
}

.index-home .tb-ayyil-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0 2px;
  min-height: 38px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--seyir-text);
  outline: none;
}

.index-home .tb-ayyil-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 57, 112, 0.07);
  color: var(--seyir-primary);
  font-size: 14px;
  flex-shrink: 0;
}

.index-home .tb-ayyil-trigger-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--seyir-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index-home .tb-ayyil-trigger-arrow {
  color: #94a3b8;
  font-size: 11px;
  margin-left: auto;
}

.index-home .tb-ayyil-wrapper > select#ayyil,
.index-home .tb-ayyil-wrapper > select[name="ayyil"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Native select fallback (JS yüklenmeden önce) */
.index-home .tb-field-col-date > select#ayyil:not([data-tb-ayyil-enhanced]),
.index-home .tb-field-col-date > select[name="ayyil"]:not([data-tb-ayyil-enhanced]) {
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 100% !important;
  height: 44px !important;
  clip: auto !important;
  padding: 0 36px 0 12px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23003970' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center !important;
  font-family: "Metropolis", "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--seyir-text);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.index-home .tb-ayyil-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  max-width: 380px;
  width: max-content;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 57, 112, 0.1);
  box-shadow: 0 24px 56px rgba(0, 35, 70, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1050;
  overflow: hidden;
}

.index-home .tb-ayyil-wrapper.open .tb-ayyil-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.index-home .tb-ayyil-wrapper.tb-ayyil-flip .tb-ayyil-panel {
  top: auto;
  bottom: calc(100% + 10px);
  transform-origin: bottom left;
}

.index-home .tb-ayyil-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #f8fafd 0%, #eef5ff 100%);
  font-size: 12px;
  font-weight: 700;
  color: var(--seyir-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-home .tb-ayyil-panel-inner {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}

.index-home .tb-ayyil-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--seyir-text);
  cursor: pointer;
  border-radius: 10px;
  text-align: left;
  font-family: inherit;
  margin: 2px 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.index-home .tb-ayyil-option:hover {
  background: rgba(1, 94, 225, 0.06);
  color: var(--seyir-primary);
}

.index-home .tb-ayyil-option.tb-active {
  background: linear-gradient(135deg, var(--seyir-primary) 0%, var(--seyir-accent) 100%);
  color: #fff;
  font-weight: 600;
}

.index-home .tb-ayyil-option-year {
  font-weight: 700;
  color: var(--seyir-primary);
  background: #f1f5f9;
  margin-top: 6px;
}

.index-home .tb-ayyil-option-check {
  opacity: 0;
  font-size: 11px;
}

.index-home .tb-ayyil-option.tb-active .tb-ayyil-option-check {
  opacity: 1;
}

/* Popular chips */
.index-home .tb-popular-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 57, 112, 0.07);
}

.index-home .tb-popular-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.index-home .tb-popular-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(1, 94, 225, 0.1);
  color: var(--seyir-accent);
  font-size: 11px;
}

.index-home .tb-popular-label {
  font-size: 10px;
  color: #6b7f92;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Flex layout before JS wraps {{POPULERMENU}} */
.index-home .tb-popular-cards,
.index-home .tb-popular-cardsOtel,
.index-home .tb-popular-cards-flight {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.index-home .tb-popular-cards > ul,
.index-home .tb-popular-cardsOtel > ul,
.index-home .tb-popular-cards .tb-popular-tags,
.index-home .tb-popular-cardsOtel .tb-popular-tags,
.index-home .tb-popular-cards-flight .tb-popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.index-home .tb-popular-cards .tb-tag,
.index-home .tb-popular-cardsOtel .tb-tag,
.index-home .tb-popular-cards-flight .tb-tag,
.index-home .tb-popular-cards li.baslik,
.index-home .tb-popular-cards li.baslikson,
.index-home .tb-popular-cardsOtel li.baslik,
.index-home .tb-popular-cardsOtel li.baslikson {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.index-home .tb-pop-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px 6px 8px;
  background: #fff;
  border: 1px solid rgba(0, 57, 112, 0.1);
  border-radius: 999px;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
}

/* Fallback chips: style raw {{POPULERMENU}} links before JS enhances them */
.index-home .tb-popular-cards > a,
.index-home .tb-popular-cardsOtel > a,
.index-home .tb-popular-cards .tb-tag a:not(.tb-pop-card-link),
.index-home .tb-popular-cardsOtel .tb-tag a:not(.tb-pop-card-link),
.index-home .tb-popular-cards li.baslik a:not(.tb-pop-card-link),
.index-home .tb-popular-cards li.baslikson a:not(.tb-pop-card-link),
.index-home .tb-popular-cardsOtel li.baslik a:not(.tb-pop-card-link),
.index-home .tb-popular-cardsOtel li.baslikson a:not(.tb-pop-card-link),
.index-home .tb-popular-cards .tb-popular-tags > a:not(.tb-pop-card-link),
.index-home .tb-popular-cardsOtel .tb-popular-tags > a:not(.tb-pop-card-link) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--seyir-primary, #003970);
  background: #fff;
  border: 1px solid rgba(0, 57, 112, 0.1);
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.index-home .tb-popular-cards > a:hover,
.index-home .tb-popular-cardsOtel > a:hover,
.index-home .tb-popular-cards .tb-tag a:not(.tb-pop-card-link):hover,
.index-home .tb-popular-cardsOtel .tb-tag a:not(.tb-pop-card-link):hover,
.index-home .tb-popular-cards li.baslik a:not(.tb-pop-card-link):hover,
.index-home .tb-popular-cards li.baslikson a:not(.tb-pop-card-link):hover,
.index-home .tb-popular-cardsOtel li.baslik a:not(.tb-pop-card-link):hover,
.index-home .tb-popular-cardsOtel li.baslikson a:not(.tb-pop-card-link):hover,
.index-home .tb-popular-cards .tb-popular-tags > a:not(.tb-pop-card-link):hover,
.index-home .tb-popular-cardsOtel .tb-popular-tags > a:not(.tb-pop-card-link):hover {
  border-color: rgba(1, 94, 225, 0.35);
  background: #f8fbff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 57, 112, 0.08);
  color: var(--seyir-primary, #003970);
}

.index-home .tb-pop-card-link:hover {
  border-color: rgba(1, 94, 225, 0.35);
  background: #f8fbff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 57, 112, 0.08);
}

.index-home .tb-pop-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 57, 112, 0.06);
  color: var(--seyir-primary);
  font-size: 11px;
}

.index-home .tb-pop-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--seyir-primary);
  white-space: nowrap;
}

.index-home .tb-pop-card-arrow {
  color: #c5d0dc;
  font-size: 9px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.index-home .tb-pop-card-link:hover .tb-pop-card-arrow {
  color: var(--seyir-accent);
  transform: translateX(2px);
}

.index-home .tb-pop-card-link.tb-pop-card-active {
  border-color: rgba(1, 94, 225, 0.45);
  background: #f0f7ff;
}

/* Multi-field rows (hotel / flight / transfer) */
.index-home .tb-search-row-hotel,
.index-home .tb-search-row-flight,
.index-home .tb-search-row-transfer {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  background: var(--csp-rail);
  border: 1px solid var(--csp-rail-border);
}

.index-home .tb-search-row-hotel .tb-input-box,
.index-home .tb-search-row-flight .tb-input-box,
.index-home .tb-search-row-transfer .tb-input-box {
  background: #fff !important;
  border: 1px solid rgba(0, 57, 112, 0.1) !important;
  border-radius: 12px !important;
  padding: 0 12px !important;
  height: 50px !important;
  min-height: 50px;
}

.index-home .tb-search-row-hotel .tb-input-box:focus-within,
.index-home .tb-search-row-flight .tb-input-box:focus-within,
.index-home .tb-search-row-transfer .tb-input-box:focus-within {
  border-color: var(--seyir-accent) !important;
  box-shadow: 0 0 0 3px rgba(1, 94, 225, 0.1) !important;
}

.index-home .tb-search-row-hotel .tb-field-glyph,
.index-home .tb-search-row-flight .tb-field-glyph,
.index-home .tb-search-row-transfer .tb-field-glyph,
.index-home .tb-search-row-hotel .tb-input-icon,
.index-home .tb-search-row-flight .tb-input-icon,
.index-home .tb-search-row-transfer .tb-input-icon {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

/* Guest / flight / transfer widgets */
.index-home .tb-guest-wrap {
  position: relative;
}

.index-home .tb-guest-trigger {
  cursor: pointer;
  user-select: none;
  justify-content: space-between;
}

.index-home .tb-guest-trigger .person-total {
  border: none !important;
  padding: 0 !important;
  margin: 0;
  background: none !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--seyir-text);
}

.index-home .tb-guest-popup,
.index-home .tb-flight-guest-popup,
.index-home .tb-transfer-guest-popup {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid rgba(0, 57, 112, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 35, 70, 0.14);
  z-index: 120;
  padding: 14px 16px;
}

.index-home .tb-guest-popup.open,
.index-home .tb-flight-guest-popup.show,
.index-home .tb-transfer-guest-popup.show {
  display: block;
}

.index-home .tb-guest-popup-inner label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
  display: block;
}

.index-home .tb-guest-popup-inner select {
  width: 100%;
  height: 36px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 13px;
}

.index-home .tb-flight-type-bar {
  margin-bottom: 12px;
}

.index-home .tb-flight-type-toggle {
  display: inline-flex;
  padding: 4px;
  background: #eef3f9;
  border: 1px solid rgba(0, 57, 112, 0.08);
  border-radius: 999px;
}

.index-home .tb-flight-type-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.index-home .tb-flight-type-option span {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--seyir-muted);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.index-home .tb-flight-type-option.is-active span,
.index-home .tb-flight-type-option input:checked + span {
  background: #fff;
  color: var(--seyir-primary);
  box-shadow: 0 2px 8px rgba(0, 57, 112, 0.1);
}

.index-home .tb-flight-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.index-home .tb-flight-route-group {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex: 2;
  min-width: 0;
}

.index-home .tb-flight-swap-btn {
  width: 42px;
  height: 50px;
  border: 1px solid rgba(0, 57, 112, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--seyir-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.index-home .tb-flight-swap-btn:hover {
  border-color: var(--seyir-accent);
  color: var(--seyir-accent);
}

.index-home .tb-flight-swap-btn.is-swapping i {
  transform: rotate(180deg);
}

.index-home .tb-input-box.is-disabled,
.index-home .tb-input-box:has(input:disabled) {
  background: #eef2f7 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed;
}

.index-home .tb-input-box.is-disabled input,
.index-home .tb-input-box:has(input:disabled) input {
  color: #94a3b8;
  cursor: not-allowed;
}

.index-home #flightReturnBox:not(.is-disabled) {
  cursor: pointer;
}

.index-home #flightReturnBox:not(.is-disabled) input {
  cursor: pointer;
}

.index-home .tb-guest-summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--seyir-text);
}

.index-home .tb-guest-chevron {
  color: #94a3b8;
  font-size: 11px;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.index-home .tb-guest-trigger.show .tb-guest-chevron,
.index-home .tb-guest-trigger.open .tb-guest-chevron {
  transform: rotate(180deg);
  color: var(--seyir-accent);
}

.index-home .tb-guest-picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.index-home .tb-guest-picker-label strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--seyir-text);
}

.index-home .tb-guest-picker-label small {
  font-size: 11px;
  color: #94a3b8;
}

.index-home .tb-guest-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.index-home .tb-stepper-btn,
.index-home .tb-guest-stepper .buttonSelect {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  color: var(--seyir-primary);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.index-home .tb-stepper-btn:hover:not(.disabled),
.index-home .tb-guest-stepper .buttonSelect:hover:not(.disabled) {
  border-color: var(--seyir-accent);
  color: var(--seyir-accent);
  background: rgba(1, 94, 225, 0.06);
}

.index-home .tb-stepper-btn.disabled,
.index-home .tb-guest-stepper .buttonSelect.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.index-home .tb-stepper-count,
.index-home .tb-guest-stepper .txt {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.index-home .tb-guest-apply-btn,
.index-home .tb-flight-guest-popup .closed,
.index-home .tb-transfer-guest-popup .transfer-guest-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--seyir-primary) 0%, var(--seyir-accent) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.index-home .tb-autocomplete-wrap {
  position: relative;
}

.index-home .tb-autocomplete-wrap #searchwordunder-nereden,
.index-home .tb-autocomplete-wrap #searchwordunder-nereye {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow: auto;
  list-style: none;
  display: none;
  padding: 6px 0;
  margin: 0;
  z-index: 1200;
  background: #fff;
  border: 1px solid rgba(0, 57, 112, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 35, 70, 0.12);
}

.index-home .searchbox {
  background: #fff;
  padding: 8px;
  max-height: 220px;
  border: 1px solid rgba(0, 57, 112, 0.1);
  border-radius: 14px;
  position: absolute;
  visibility: hidden;
  z-index: 1200;
  box-shadow: 0 16px 40px rgba(0, 35, 70, 0.12);
}

/* Responsive */
@media (max-width: 991px) {
  .index-home .tb-search-rail {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }

  .index-home .tb-rail-sep {
    display: none;
  }

  .index-home .tb-field-col-city,
  .index-home .tb-field-col-date,
  .index-home .tb-field-col-hotel,
  .index-home .tb-field-col-date-sm,
  .index-home .tb-field-col-guest {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 6px);
    padding: 0;
  }

  .index-home .tb-field-col-btn {
    flex: 1 1 100%;
    padding: 0;
  }

  .index-home .tb-btn-group {
    width: 100%;
  }

  .index-home .tb-btn-group .tb-search-btn {
    flex: 1;
  }

  .index-home .tb-btn-group-compact .tb-clear-btn-icon-only {
    flex: 0 0 auto;
  }

  .index-home .tb-btn-group-compact .tb-search-btn-icon-only {
    flex: 1;
    width: auto !important;
  }

  .index-home .tb-search-row-flight .tb-field-col-flight-sm,
  .index-home .tb-search-row-transfer .tb-field-col-transfer-sm {
    flex: 1 1 calc(50% - 6px);
  }

  .index-home .tb-flight-route-group {
    flex: 1 1 100%;
  }
}

@media (max-width: 575px) {
  .index-home .tb-nav-shell {
    padding: 12px 12px 0;
  }

  .index-home .tb-search-wrapper {
    padding: 14px 14px 16px;
  }

  .index-home .tb-tab-link.nav-link {
    padding: 9px 14px;
    font-size: 12px;
  }

  .index-home .tb-tab-ico {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .index-home .tb-field-col-city,
  .index-home .tb-field-col-date,
  .index-home .tb-field-col-hotel,
  .index-home .tb-field-col-date-sm,
  .index-home .tb-field-col-guest,
  .index-home .tb-field-col-btn,
  .index-home .tb-search-row-flight .tb-field-col-flight-sm,
  .index-home .tb-search-row-transfer .tb-field-col-transfer-sm {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .index-home .tb-search-btn-icon-only {
    width: 100% !important;
  }

  .index-home .tb-btn-group-compact .tb-search-btn-icon-only {
    width: auto !important;
    flex: 1;
  }

  .index-home .tb-clear-btn-txt {
    display: none;
  }

  .index-home .tb-clear-btn:not(.tb-clear-btn-icon-only) {
    width: 54px;
    min-width: 54px;
    padding: 0;
  }

  .index-home .tb-btn-group:not(.tb-btn-group-compact) .tb-search-btn {
    flex: 1;
  }

  .index-home .tb-popular-cards,
  .index-home .tb-popular-cardsOtel,
  .index-home .tb-popular-cards-flight,
  .index-home .tb-popular-cards .tb-popular-tags,
  .index-home .tb-popular-cardsOtel .tb-popular-tags,
  .index-home .tb-popular-cards-flight .tb-popular-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .index-home .tb-popular-cards > a,
  .index-home .tb-popular-cardsOtel > a,
  .index-home .tb-pop-card-link,
  .index-home .tb-popular-cards a:not(.tb-pop-card-link),
  .index-home .tb-popular-cardsOtel a:not(.tb-pop-card-link) {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-home .search-boxes .tab-content > .tab-pane,
  .index-home .tb-tab-link.nav-link,
  .index-home .tb-search-btn,
  .index-home .tb-pop-card-link {
    transition: none !important;
    transform: none !important;
  }
}

/* ========================================
   Destination autocomplete (jQuery UI)
   Body-appended — keep outside .index-home
   ======================================== */

.ui-autocomplete.ui-menu.ui-widget {
  max-width: min(420px, calc(100vw - 24px));
  max-height: 340px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 6px 0 0 !important;
  padding: 8px !important;
  list-style: none;
  background: #fff !important;
  border: 1px solid rgba(0, 57, 112, 0.1) !important;
  border-radius: 16px !important;
  box-shadow:
    0 24px 56px rgba(0, 35, 70, 0.16),
    0 8px 20px rgba(0, 57, 112, 0.08) !important;
  font-family: "Metropolis", "Source Sans Pro", sans-serif !important;
  z-index: 10050 !important;
  box-sizing: border-box;
}

.ui-autocomplete.ui-menu.ui-widget::-webkit-scrollbar {
  width: 8px;
}

.ui-autocomplete.ui-menu.ui-widget::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}

.ui-autocomplete.ui-menu.ui-widget::-webkit-scrollbar-thumb {
  background-color: rgba(0, 57, 112, 0.22);
  border-radius: 999px;
  border: 2px solid #fff;
}

.ui-autocomplete .ui-autocomplete-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 6px;
  padding: 10px 14px 8px !important;
  border: none !important;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fafd 0%, #eef5ff 100%) !important;
  color: var(--seyir-primary, #003970) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: default;
  pointer-events: none;
}

.ui-autocomplete .ui-autocomplete-category:first-child {
  margin-top: 0;
}

.ui-autocomplete .ui-menu-item {
  margin: 2px 0;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.ui-autocomplete .ui-menu-item > div,
.ui-autocomplete .ui-menu-item > a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 14px !important;
  border: none !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--seyir-text, #1e2d3d) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ui-autocomplete .ui-menu-item > div::before,
.ui-autocomplete .ui-menu-item > a::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 57, 112, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003970'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.ui-autocomplete .ui-menu-item > div.ui-state-active,
.ui-autocomplete .ui-menu-item > div.ui-state-focus,
.ui-autocomplete .ui-menu-item > a.ui-state-active,
.ui-autocomplete .ui-menu-item > a.ui-state-focus,
.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-state-focus {
  background: rgba(1, 94, 225, 0.08) !important;
  color: var(--seyir-primary, #003970) !important;
  border: none !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

.ui-autocomplete .ui-menu-item > div.ui-state-active::before,
.ui-autocomplete .ui-menu-item > div.ui-state-focus::before,
.ui-autocomplete .ui-menu-item > a.ui-state-active::before,
.ui-autocomplete .ui-menu-item > a.ui-state-focus::before {
  background-color: rgba(1, 94, 225, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23015ee1'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ========================================
   Air Datepicker — corporate calendar
   ======================================== */

.datepicker {
  width: 292px !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(0, 57, 112, 0.1) !important;
  border-radius: 16px !important;
  box-shadow:
    0 24px 56px rgba(0, 35, 70, 0.16),
    0 8px 20px rgba(0, 57, 112, 0.08) !important;
  font-family: "Metropolis", "Source Sans Pro", sans-serif !important;
  font-size: 14px !important;
  color: var(--seyir-text, #1e2d3d) !important;
  overflow: hidden;
  z-index: 10050 !important;
}

.datepicker--pointer {
  display: none !important;
}

.datepicker--nav {
  min-height: 48px;
  padding: 10px 12px !important;
  border-bottom: 1px solid #eef2f7 !important;
  background: linear-gradient(135deg, #f8fafd 0%, #eef5ff 100%);
}

.datepicker--nav-title,
.datepicker--nav-title i {
  border-radius: 8px;
  color: var(--seyir-primary, #003970) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

.datepicker--nav-title:hover {
  background: rgba(1, 94, 225, 0.08) !important;
}

.datepicker--nav-action {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  color: var(--seyir-primary, #003970) !important;
  transition: background 0.15s ease;
}

.datepicker--nav-action:hover {
  background: rgba(1, 94, 225, 0.1) !important;
}

.datepicker--nav-action path {
  fill: none !important;
  stroke: var(--seyir-primary, #003970) !important;
}

.datepicker--content {
  padding: 10px 12px 14px !important;
}

.datepicker--days-names {
  margin: 4px 0 6px !important;
}

.datepicker--day-name {
  color: #6b7f92 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  height: 28px;
}

.datepicker--cell {
  height: 36px !important;
  border-radius: 10px !important;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.datepicker--cell.-focus- {
  background: rgba(1, 94, 225, 0.1) !important;
  color: var(--seyir-primary, #003970) !important;
}

.datepicker--cell.-current- {
  color: var(--seyir-accent, #015ee1) !important;
  font-weight: 700 !important;
  box-shadow: inset 0 0 0 1.5px rgba(1, 94, 225, 0.35);
}

.datepicker--cell.-current-.-focus- {
  color: var(--seyir-primary, #003970) !important;
}

.datepicker--cell.-current-.-selected-,
.datepicker--cell.-selected- {
  color: #fff !important;
  background: linear-gradient(135deg, var(--seyir-primary, #003970) 0%, var(--seyir-accent, #015ee1) 100%) !important;
  box-shadow: 0 6px 14px rgba(0, 57, 112, 0.28);
  font-weight: 700 !important;
}

.datepicker--cell.-selected-.-focus- {
  background: linear-gradient(135deg, #002d5c 0%, var(--seyir-primary, #003970) 100%) !important;
}

.datepicker--cell.-in-range- {
  background: rgba(1, 94, 225, 0.08) !important;
  color: var(--seyir-text, #1e2d3d) !important;
  border-radius: 0 !important;
}

.datepicker--cell.-in-range-.-focus- {
  background: rgba(1, 94, 225, 0.14) !important;
}

.datepicker--cell.-range-from- {
  border: none !important;
  border-radius: 10px 0 0 10px !important;
  background: linear-gradient(135deg, var(--seyir-primary, #003970) 0%, var(--seyir-accent, #015ee1) 100%) !important;
  color: #fff !important;
}

.datepicker--cell.-range-to- {
  border: none !important;
  border-radius: 0 10px 10px 0 !important;
  background: linear-gradient(135deg, var(--seyir-primary, #003970) 0%, var(--seyir-accent, #015ee1) 100%) !important;
  color: #fff !important;
}

.datepicker--cell.-range-from-.-range-to- {
  border-radius: 10px !important;
}

.datepicker--cell.-disabled- {
  color: #c5d0dc !important;
}

.datepicker--cell-day.-other-month-,
.datepicker--cell-year.-other-decade- {
  color: #c5d0dc !important;
}

.datepicker--cell-month,
.datepicker--cell-year {
  border-radius: 10px !important;
}

@media (max-width: 575px) {
  .ui-autocomplete.ui-menu.ui-widget {
    max-width: calc(100vw - 16px);
  }

  .datepicker {
    width: min(292px, calc(100vw - 24px)) !important;
  }
}
