/* =====================================================
   PURETEGO CRM - Page Specific Components
   ===================================================== */

/* Kanban Board Styles */
.kanban-column {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    min-height: 400px;
}

.kanban-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.kanban-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-sm);
    cursor: grab;
    transition: all var(--transition-fast);
}

.kanban-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-xl) + 4px);
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-base);
}

/* Empty States & Spinners */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.spinner-border {
    color: var(--primary);
}

/* Dark Mode Overrides for specific elements */
[data-theme="dark"] .stat-number,
[data-theme="dark"] .card-title {
    color: #ffffff !important;
}

[data-theme="dark"] .text-muted {
    color: #cbd5e1 !important;
}