/**
 * AI创作坊 · 节点搜索弹窗样式（Tab 快捷键在鼠标位置弹出）
 * 独立命名空间 ai-workshop-node-search-*，不与其他面板共用
 * 字体：Microsoft YaHei，符合项目字体规范
 */

.ai-workshop-node-search-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.15s ease, opacity 0.15s ease;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

.ai-workshop-node-search-overlay.is-visible {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.ai-workshop-node-search-popup {
    position: fixed;
    width: 280px;
    max-height: 320px;
    background-color: #1f1f21;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: 13px;
    color: #e0e0e0;
}

.ai-workshop-node-search-input-wrap {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.ai-workshop-node-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 13px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    outline: none;
}

.ai-workshop-node-search-input::placeholder {
    color: #888888;
}

.ai-workshop-node-search-input:focus {
    border-color: rgba(107, 140, 255, 0.5);
}

.ai-workshop-node-search-list {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    overflow-y: auto;
    max-height: 260px;
    flex: 1;
    min-height: 0;
}

.ai-workshop-node-search-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.12s ease;
    font-size: 13px;
    color: #e0e0e0;
}

.ai-workshop-node-search-item:hover,
.ai-workshop-node-search-item.is-highlight {
    background-color: rgba(107, 140, 255, 0.2);
}

.ai-workshop-node-search-empty {
    padding: 16px 12px;
    text-align: center;
    color: #888888;
    font-size: 12px;
}
