.search-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.search-suggestions.active {
    display: block;
}

.sug-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sug-item:hover {
    background: #1a1a1a;
    border-left: 3px solid var(--primary-blue);
    padding-left: 13px;
}

.sug-type {
    font-size: 0.8rem;
    padding: 2px 8px;
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.sug-text {
    flex: 1;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sug-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

#searchInput.searching {
    border-color: var(--primary-blue);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" stroke="%230000db" stroke-width="2" fill="none" stroke-dasharray="25"><animateTransform attributeName="transform" type="rotate" from="0 10 10" to="360 10 10" dur="1s" repeatCount="indefinite"/></circle></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}