/* Live Search Suggestion Styles */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 500px;
    max-width: 90vw;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 5px;
    overflow-y: auto;
    max-height: 450px;
    display: none;
    border: 1px solid #ccc;
}
@media (max-width: 768px) {
    .search-suggestions {
        min-width: 100%;
        left: 0;
        right: 0;
    }
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #111;
    transition: background 0.1s;
    border-bottom: 1px solid #eee;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(47, 160, 132, 0.08); /* Brand color light hover */
}

.suggestion-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 4px;
    margin-right: 15px;
    background: #fff;
}

.suggestion-info {
    flex: 1;
    min-width: 0; /* allows text truncation */
}

.suggestion-name {
    font-size: 14px;
    font-weight: 500;
    display: block;
    line-height: 1.4;
    color: #0f172a;
}

.suggestion-type {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-suggestions {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Scrollbar for suggestions if many */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}
.search-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
