/* Team Page */
.team-page {
  padding: 30px;
}

.team-header {
  margin-bottom: 30px;
}

.team-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  color: var(--text-primary);
}

.team-header p {
  margin: 0;
  color: var(--text-secondary);
}

/* Kanban Grid */
.kanban-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.user-kanban {
  display: flex;
  flex-direction: column;
  max-height: 700px;
}

.kanban-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.user-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.user-status {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.lead-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.count-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 12px;
}

.count-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}

/* Kanban Leads */
.kanban-leads {
  overflow-y: auto;
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empty-kanban {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-kanban i {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-kanban p {
  margin: 0;
  font-size: 0.9rem;
}

/* Lead Card */
.lead-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lead-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.lead-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.lead-id {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.lead-tag {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.lead-title {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.lead-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.lead-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lead-meta i {
  width: 14px;
  height: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .kanban-grid {
    grid-template-columns: 1fr;
  }
}
