/* Add this to your theme's CSS file */
.ui-autocomplete {
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa; /* Update with your website's background color */
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-thumbnail {
    width: 60px;
    height: auto;
    /*margin-right: 10px;*/
    border-radius: 4px;
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 0 0 0 1em;
}

.autocomplete-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.autocomplete-title {
    text-decoration: none;
    color: #333; /* Update with your website's text color */
    font-weight: 500;
    margin-bottom: 4px;
}

.autocomplete-info {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.autocomplete-info > i {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ui-widget-content a {
    color: #000 !important;
}

.autocomplete-duration {
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.autocomplete-watched-icon {
    width: 16px;
    height: 16px;
}

.autocomplete-item:hover {
    background-color: #e9ecef; /* Update with your website's hover color */
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background-color: transparent;
    border: none;
    color: var(--secondary);;
}