/* ===============================
   TAG SEARCH DROPDOWN
================================= */

.tag-search-wrapper {
    position: relative;
    width: 100%;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    margin-top: 6px;
    padding: 6px 0;

    background: #1c1c1c;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);

    max-height: 240px;
    overflow-y: auto;

    z-index: 9999;
    animation: fadeInDropdown 0.15s ease;
}

.autocomplete-suggestion {
    padding: 10px 14px;
    font-size: 13px;
    color: #ddd;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 8px;

    transition: background 0.15s ease, color 0.15s ease;
}

.autocomplete-suggestion::before {
    content: "#";
    color: #339967;
    font-weight: 700;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.active {
    background: #2a2a2a;
    color: #fff;
}

.search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}