/**
 * 通用工程选择器组件样式
 * 
 * @version 1.0.0
 */

/* --- 搜索结果列表 --- */
.project-selector-results {
    max-height: 350px;
    overflow-y: auto;
}

/* --- 结果计数 --- */
.project-selector-count {
    font-size: 0.78rem;
    color: #6c757d;
    padding: 4px 0 8px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 4px;
}

/* --- 单个结果项 --- */
.project-selector-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
    border-radius: 4px;
}

.project-selector-item:hover {
    background: #f0f7ff;
}

/* 键盘导航高亮 */
.project-selector-item.active {
    background: #e7f1ff !important;
    border-left: 3px solid var(--bs-primary, #0d6efd);
}

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

/* --- 项中的编号 --- */
.project-selector-item-code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d6efd;
}

/* --- 项中的名称 --- */
.project-selector-item-name {
    font-size: 0.8rem;
    color: #495057;
    margin-top: 2px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- 包含历史按钮激活状态 --- */
#projectSearchIncludeInactiveBtn.active {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
}

/* --- 融合输入框搜索图标前缀 --- */
.input-fused-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    color: var(--bs-secondary, #6c757d);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* --- 内联下拉结果项 --- */
.project-inline-item {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.82rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}
.project-inline-item:last-child {
    border-bottom: none;
}
.project-inline-item:hover,
.project-inline-item.active {
    background: #f0f7ff;
}


/* --- 暗色模式适配 --- */




