﻿.vani-search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    max-height: 420px;
    overflow-y: auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


.vani-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
}


.vani-search-item {
    border-bottom: 1px solid #f3f4f6;
}


.vani-search-item:last-child {
    border-bottom: none;
}


.vani-search-item a {
    display: block;
    padding: 10px 14px;
    color: #1f2937;
    text-decoration: none;
    transition: background-color 0.15s ease;
}


.vani-search-item a:hover {
    background-color: #f9fafb;
}


.vani-item-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}


.vani-item-title {
    color: #111827;
    font-size: 14px;
}


.vani-item-section {
    color: #6b7280;
    font-size: 12px;
}


.vani-item-snippet {
    color: #4b5563;
    font-size: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.vani-wiki-badge {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #e5e7eb;
    color: #374151;
}


.badge-vaniquotes { background-color: #fef3c7; color: #92400e; }
.badge-vanisource { background-color: #dbeafe; color: #1e40af; }
.badge-vanipedia  { background-color: #d1fae5; color: #065f46; }


.vani-search-no-results {
    padding: 12px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}