.controls-center {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.search-container {
	position: relative;
	width: 240px;
	height: 100%;
}

.search {
    width: 100%;
}

.search input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    height: 32px;
    outline: none;
    font-family: var(--font);
    font-size: 14px;
}

.search input:focus {
    box-shadow: 0 0 0 3px rgba(214, 160, 0, 0.12);
}

/* Search Results - درست شده */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-height: 450px;
    overflow-y: auto;
    z-index: 9999;
    width: 100%;
}

.search-results-content {
    padding: 0;
}

.search-result-item {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.result-category {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.result-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.result-desc {
    font-size: 13px;
    color: #6b7280;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .search-container {
        width: 100%;
    }
}
