[data-theme="dark"] #search-results-dropdown {
    background-color: var(--color-surface) !important;
    border-color: var(--color-border) !important;
}

#search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 1.5rem;
    right: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    margin-top: 0.5rem;
}

#search-results-dropdown.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

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

.search-result-item:hover {
    background-color: #f8fafc;
}

.search-result-image {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    object-fit: cover;
    margin-right: 0.75rem;
    background-color: #f1f5f9;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.search-result-meta {
    font-size: 0.7rem;
    color: #64748b;
    display: flex;
    gap: 0.75rem;
}

.search-result-highlight {
    background-color: #fef08a;
    color: #854d0e;
    padding: 0 2px;
    border-radius: 2px;
}

.no-search-results {
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

.no-search-results i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

#global-search-overlay {
    z-index: 10000;
}

#global-search-overlay img {
    width: 100px;
    height: auto;
}
