/* ARSALAR.APP CRM & Kanban Board Styles */

.crm-header {
    background: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.crm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-icon.blue { background: #EFF6FF; color: #2563EB; }
.stat-icon.green { background: #ECFDF5; color: #059669; }
.stat-icon.gold { background: #FEF3C7; color: #D97706; }
.stat-icon.purple { background: #F3E8FF; color: #9333EA; }

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Kanban Pipeline Columns */
.kanban-wrapper {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    min-height: 600px;
}

.kanban-col {
    flex: 0 0 280px;
    background: #F1F5F9;
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border: 1px solid #E2E8F0;
}

.kanban-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.kanban-count {
    background: #CBD5E1;
    color: var(--text-primary);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

.kanban-cards-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
    min-height: 200px;
}

.kanban-card {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: grab;
    transition: var(--transition);
}

.kanban-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.kanban-card.dragging {
    opacity: 0.5;
    border: 2px dashed var(--accent-color);
}

.kanban-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.kanban-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.kanban-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 0.5rem;
}
