.hero-search-new, .search-container-new {
    overflow: visible !important;
    z-index: 999 !important;
}

.search-container-new {
    position: relative !important;
}


#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 9999 !important;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8fafc;
    border-left: 3px solid #2563eb;
    padding-left: calc(1.25rem - 3px);
}

.result-info {
    display: flex;
    flex-direction: column;
}

.result-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.result-location {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.result-action-icon {
    color: #94a3b8;
    opacity: 0;
    transition: all 0.2s ease;
    transform: translateX(-5px);
}

.search-result-item:hover .result-action-icon {
    opacity: 1;
    transform: translateX(0);
    color: #2563eb;
}

/* Scrollbar Styling */
#search-results::-webkit-scrollbar {
    width: 6px;
}

#search-results::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 0.75rem 0.75rem 0;
}

#search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

#search-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Loading Spinner */
.search-loading {
    padding: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #FF9933;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
