/* Search Component Styles */

.search-result-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-content {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.search-result-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-item {
    padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
    display: block;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover,
.search-result-item.search-highlighted {
    background-color: var(--bg-secondary);
}

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

.search-result-item mark {
    background-color: var(--primary-color);
    color: white;
    padding: 1px 3px;
    border-radius: 2px;
    font-weight: 500;
}

.search-no-results {
    padding: var(--space-4, 1rem);
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-sm, 0.875rem);
    font-style: italic;
}

/* Compatibility with different CSS variable naming */
.search-result-item {
    padding: 0.75rem 1rem;
}

.search-no-results {
    padding: 1rem;
    font-size: 0.875rem;
}