/* admin/css/qr_search.css */
#qrSearchPopup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 20px;
    width: 320px;
    max-height: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: qrPopupIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#qrSearchPopup.hidden {
    display: none !important;
}

@keyframes qrPopupIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qr-search-header {
    padding: 8px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    justify-content: space-between;
}

.qr-search-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
}

.qr-search-item {
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.qr-search-item:last-child {
    margin-bottom: 0;
}

.qr-search-item:hover,
.qr-search-item.selected {
    background: #f0f7ff;
}

.qr-search-item.selected {
    border-left: 3px solid #1890ff;
    padding-left: 9px;
}

.qr-search-index {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 11px;
    color: #1890ff;
    font-weight: 700;
    min-width: 18px;
}

.qr-search-content {
    flex: 1;
    min-width: 0;
}

.qr-search-title {
    font-size: 12px;
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qr-search-preview {
    font-size: 10px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.qr-search-empty {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

.qr-search-hint {
    font-size: 10px;
    color: #94a3b8;
    font-weight: normal;
}