#searchQueryInput:focus {
    border-color: #4285f4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.autocomplete-results.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
    display: block;
    color: #333;
    text-decoration: none;
}

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

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #f5f5f5;
}

.autocomplete-item mark {
    background: #fff3cd;
    font-weight: 600;
    padding: 2px 0;
}

.autocomplete-item .product-code {
    color: #666;
    font-size: 0.85em;
    margin-left: 8px;
    font-weight: normal;
}

.autocomplete-loading {
    padding: 12px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.autocomplete-no-results {
    padding: 12px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #e0e0e0;
    border-top-color: #4285f4;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}