/* OTA-style destination autocomplete - contained, no overflow (z: 2000 = below modals) */
.dest-ac-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 0 1px rgba(0,0,0,0.08);
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2000;
    display: none;
    box-sizing: border-box;
}
.dest-ac-dropdown.show {
    display: block;
    animation: dest-ac-fade 0.15s ease;
}
@keyframes dest-ac-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.dest-ac-loading, .dest-ac-empty, .dest-ac-error {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: #6b7280;
}
.dest-ac-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dest-ac-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: dest-ac-spin 0.6s linear infinite;
}
@keyframes dest-ac-spin {
    to { transform: rotate(360deg); }
}
.dest-ac-error {
    color: #dc2626;
}

.dest-ac-group {
    padding: 8px 0 4px;
}
.dest-ac-group:first-child { padding-top: 8px; }
.dest-ac-group-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    padding: 4px 16px 6px;
}
.dest-ac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.1s;
}
.dest-ac-item:hover,
.dest-ac-item.selected {
    background: #f3f4f6;
}
.dest-ac-item.selected {
    background: #eff6ff;
}
.dest-ac-item:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}
.dest-ac-main .dest-ac-match {
    font-weight: 700;
    color: #111827;
    background: rgba(59, 130, 246, 0.15);
    padding: 0 1px;
    border-radius: 2px;
}
.dest-ac-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.dest-ac-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dest-ac-main {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
}
.dest-ac-sub {
    font-size: 0.8rem;
    color: #6b7280;
}
