/* Suggestions Dropdown Container */
.suggestions-container {
    position: absolute;
    top: calc(100% + 5px); /* Slight space below the search bar */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f1f1f, #232526); /* Subtle gradient */
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    padding: 5px 0;
    opacity: 0;
    transform: translateY(-10px); /* Initial position for slide-in effect */
    transition: all 0.3s ease-in-out;
}

/* Show the dropdown with slide-in effect */
.suggestions-container.show {
    opacity: 1;
    transform: translateY(0);
}

/* Individual Suggestion Item */
.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin: 2px 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.suggestion-item:hover {
    background-color: rgba(75, 75, 75, 0.2); /* Slight background change on hover */
    box-shadow: 0 0 8px rgba(90, 90, 255, 0.3); /* Subtle glow on hover */
}

/* Style for "No suggestions found" text */
.suggestion-item.no-result {
    justify-content: center;
    color: #b0b0b0; /* Lighter color for "No suggestions found" text */
    cursor: default;
    padding: 15px;
    font-style: italic;
}

/* Suggestion Image */
.suggestion-image {
    width: 45px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* Shadow to lift the image */
    transition: transform 0.3s;
}

.suggestion-item:hover .suggestion-image {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Suggestion Text */
.suggestion-text {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.suggestion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e6e6ff; /* Light color for better contrast */
    margin-bottom: 2px;
    line-height: 1.2;
}

.suggestion-info {
    font-size: 0.85rem;
    color: #c2c2c2; /* Slightly lighter color for secondary info */
    margin-top: 2px;
}

/* Scrollbar Styling */
.suggestions-container::-webkit-scrollbar {
    width: 8px;
}

.suggestions-container::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 8px;
}

.suggestions-container::-webkit-scrollbar-thumb {
    background: #5a5aff; /* Blue scrollbar */
    border-radius: 8px;
}

.suggestions-container::-webkit-scrollbar-thumb:hover {
    background: #7070ff; /* Lighter blue on hover */
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .suggestion-title {
        font-size: 1rem;
    }
    .suggestion-info {
        font-size: 0.8rem;
    }
}
