.search-container {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.event-suggestion {
    cursor: pointer;
}

.event-suggestion:hover {
    background-color: #f8f9fa;
}

.event-suggestion img {
    object-fit: cover;
}

.event-name {
    font-weight: bold;
}

.event-info {
    font-size: 0.9em;
    color: #6c757d;
}
#searchResults {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ced4da;
    /* Remove border-radius */
    max-height: 500px;
    overflow-y: auto;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.44);
-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.44);
box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.44);
    
    /* Apply border-radius via clip-path */
    -webkit-clip-path: inset(0 round 20px);
    clip-path: inset(0 round 20px);
}

/* Scrollbar Styling */
/* WebKit Browsers (Chrome, Safari, Edge) */
#searchResults::-webkit-scrollbar {
    width: 10px;
}

#searchResults::-webkit-scrollbar-thumb {
    background-color: #CE79E4;
    border-radius: 20px;
}

#searchResults::-webkit-scrollbar-track {
    background-color: #E7CFEE;
    border-radius: 20px;
}

/* Firefox Scrollbar */
#searchResults {
    scrollbar-width: thin;
    scrollbar-color: #CE79E4 #E7CFEE;
}
/* Flexbox responsiveness */
@media (min-width: 768px) {
    form {
        flex-wrap: nowrap;
    }
    #searchInput {
        flex: 1 1 50%;
    }
    #searchDateFrom, #searchDateTo {
        flex: 1 1 25%;
    }
}


