/* Search Suggestions Dropdown - "Google Style" Clean List */
.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
}

.search-suggestions.active {
    display: block;
    animation: fadeInDrop 0.2s ease-out;
}

@keyframes fadeInDrop {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flex container for List Items */
.suggestions-container-inner {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.1s ease;
    width: 100%;
    box-shadow: none;
    border-bottom: 1px solid #f3f4f6;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f9fafb;
    transform: none;
    box-shadow: none;
}

.suggestion-icon {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 8px;
    /* Soft square */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 14px;
    flex-shrink: 0;
}

.suggestion-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: normal;
    flex: 1;
}

/* Category Tag */
.suggestion-category {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.suggestion-text {
    font-size: 15px;
    color: #111827;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Highlight matching text */
.suggestion-text strong {
    color: #0066FF;
    font-weight: 600;
}

/* Dark Mode */
body.dark-mode .search-suggestions {
    background: #1f2937;
    border-color: #374151;
}

body.dark-mode .suggestion-item:hover {
    background: #374151;
}

body.dark-mode .suggestion-item {
    border-bottom-color: #374151;
}

body.dark-mode .suggestion-text {
    color: #f9fafb;
}

body.dark-mode .suggestion-icon {
    background: #374151;
    color: #9ca3af;
}