#searchContainer {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#searchBar {
    width: 100%;
    padding: 12px 50px 12px 15px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}

#searchBtn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#searchBtn:hover {
    background-color: #0056b3;
}

#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.suggestion:hover {
    background-color: #f9f9f9;
}

.suggestion img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.suggestion div {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0 15px;
}

@media (max-width: 768px) {
    #searchContainer {
        max-width: 100%;
    }

    #searchBar {
        padding: 10px 40px 10px 12px;
        font-size: 14px;
    }

    #searchBtn {
        padding: 6px 15px;
        font-size: 12px;
    }

    .suggestion img {
        width: 40px;
        height: 40px;
    }

    .suggestion {
        padding: 8px;
    }

    .search-container {
        justify-content: flex-start;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    #searchBar {
        font-size: 12px;
        padding: 8px 35px 8px 10px;
    }

    #searchBtn {
        padding: 5px 12px;
        font-size: 10px;
    }

    .suggestion img {
        width: 30px;
        height: 30px;
    }

    .suggestion {
        padding: 6px;
        gap: 8px;
    }
}       