/* Custom Autocomplete Styles */
.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: white;
    z-index: 9999 !important;
}

.ui-autocomplete-category {
    list-style: none;
    margin: 0;
    padding: 0;
    cursor: default;
}

.ui-autocomplete-category div {
    font-weight: bold;
    padding: 10px 14px;
    background: linear-gradient(90deg, #fa8f1b 0%, #e07a15 100%);
    color: #ffffff;
    border-top: 1px solid #e07a15;
    font-size: 13px;
    line-height: 1.6;
}

.ui-autocomplete-category:first-child div {
    border-top: none;
}

.ui-menu-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ui-menu-item div {
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.ui-menu-item:hover div,
.ui-menu-item.ui-state-active div,
.ui-menu-item.ui-state-focus div {
    background: #fff3e6;
    color: #333;
    border-left: 3px solid #fa8f1b;
    padding-left: 11px;
}

.ui-autocomplete .fa-solid {
    color: #fa8f1b;
    width: 18px;
    text-align: center;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
