.mixed-text {
  unicode-bidi: bidi-override;
  direction: rtl;
}

/* Fix for the first item not being visible */
.ui-helper-hidden-accessible {
    display: none;
}

/* Autocomplete dropdown styling for PORTO theme */
.ui-autocomplete {
    z-index: 10000 !important; /* Ensure it's on top */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

/* Style each item in the dropdown */
.ui-menu-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease-in-out;
    font-size: 14px;
}

/* Ensure first result is not hidden */
.ui-menu-item:first-child {
    display: block !important;
}

/* Hover effect */
.ui-menu-item:hover {
    background: #007bff;
    color: white;
}

/* Make sure the last item does not have a border */
.ui-menu-item:last-child {
    border-bottom: none;
}

.autocomplete-link {
    text-decoration: none;
    color: inherit;
}
.autocomplete-link:hover {
    text-decoration: underline;
    color: #007bff;
}
