/* RAG Golden Set Library Styles */
.rag-panel {
    background: rgba(10, 14, 26, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.05);
}
.rag-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}
.rag-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 12px;
    cursor: grab;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.rag-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}
.rag-card:hover {
    border-color: #10b981;
    transform: translateY(-2px) translateX(2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.08);
}
.rag-card:active {
    cursor: grabbing;
}
.rag-hazard {
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-sans);
}
.rag-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    align-items: center;
}
.rag-badge {
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
}
.rag-danger-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 600;
}
.rag-card.dragging {
    opacity: 0.4;
    border: 2px dashed #10b981;
    transform: scale(0.95);
}

/* Custom scrollbar */
.rag-list::-webkit-scrollbar { width: 4px; }
.rag-list::-webkit-scrollbar-track { background: transparent; }
.rag-list::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.3); border-radius: 4px; }
.rag-list::-webkit-scrollbar-thumb:hover { background: rgba(16, 185, 129, 0.5); }
