/* Pipeline
Header Colors are inline in JS, but we can add helper classes if needed. 
   Currently app.js handles the color logic in
'getStageColor'. */
/* Pipeline
/ Kanban */
.pipeline-board
{
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-lg);
    height: calc(100vh - 180px);
    /* Adjust based on header */
}

.pipeline-column
{
    flex: 0 0 300px;
    background-color: rgba(255, 255, 255,
0.02);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.column-header
{
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid transparent;
}

.stage-badge
{
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.deals-container
{
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.deal-card
{
    background-color: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    cursor: grab;
    transition: var(--transition);
}

.deal-card:hover
{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.deal-title
{
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: block;
}

.deal-value
{
    color: var(--success);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.deal-company
{
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/*
Scrollbar for container */
.deals-container::-webkit-scrollbar
{
    width: 6px;
}

.deals-container::-webkit-scrollbar-track
{
    background: transparent;
}

.deals-container::-webkit-scrollbar-thumb
{
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}