/* ===================================================
   Location Autocomplete — Istanbul Airport Transfer 365
   =================================================== */

.lac-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #DEE2E6;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(26, 60, 94, 0.14);
  z-index: 9999;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}

.lac-dropdown::-webkit-scrollbar { width: 4px; }
.lac-dropdown::-webkit-scrollbar-track { background: #f1f1f1; }
.lac-dropdown::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

.lac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f0f0f0;
}
.lac-item:last-child { border-bottom: none; }
.lac-item:hover,
.lac-item.lac-active {
  background: #EEF2F7;
}

.lac-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.lac-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lac-main {
  font-size: 0.93rem;
  font-weight: 600;
  color: #1A3C5E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lac-sub {
  font-size: 0.78rem;
  color: #6B7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lac-loading {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lac-spin {
  display: inline-block;
  animation: lac-spin 1s linear infinite;
}

@keyframes lac-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Input selected state */
input.lac-selected {
  border-color: #1A3C5E !important;
  background: #F0F5FF !important;
}

input.lac-error {
  border-color: #E53E3E !important;
}

/* Form group'un position:relative olduğundan emin ol */
.form-group {
  position: relative;
}
