/* Ray-ERP 自动补全组件样式 */
.ac-wrapper { position: relative; }
.ac-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--erp-border, #e3e8ef);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 14px rgba(20, 40, 80, 0.12);
    display: none;
    font-size: 13px;
}
.ac-dropdown.show { display: block; }
.ac-item {
    padding: 7px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f3f8;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: #f2f7fe; }
.ac-item.ac-active { background: #e9f2fd; }
.ac-item-main {
    font-weight: 500;
    color: var(--erp-text, #3a4252);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ac-item-sub {
    font-size: 11.5px;
    color: var(--erp-muted, #8a93a6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ac-empty {
    padding: 12px;
    text-align: center;
    color: var(--erp-muted, #8a93a6);
    font-size: 12.5px;
}
.ac-input.ac-selected {
    border-color: var(--erp-primary, #2b6fd6);
    background: #f8fbff;
}
