/* =========================
   PIPELINE V2 — KOMMO STYLE
========================= */

.pipeline-v2 {
  padding: 20px 24px;
}

/* HEADER */
.pipeline-v2__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.pipeline-v2__title {
  font-size: 22px;
  font-weight: 600;
}

/* FILTERS */
.pipeline-v2__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pipeline-v2__filters input,
.pipeline-v2__filters select {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text);
}

/* BOARD */
.pipeline-v2__board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

/* COLUMN */
.pipeline-v2__column {
  min-width: 260px;
  max-width: 260px;
  background: var(--panel);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

/* HEADER COLUMN */
.pipeline-v2__column-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

/* CARDS */
.pipeline-v2__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 240px);
  overflow-y: auto;
}

/* CARD */
.pipeline-v2__card {
  background: var(--panel-2);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: .2s;
}

.pipeline-v2__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* CARD HEADER */
.pipeline-v2__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* AVATAR */
.pipeline-v2__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #000;
}

/* INFO */
.pipeline-v2__info strong {
  display: block;
  font-size: 13px;
}

.pipeline-v2__info small {
  font-size: 11px;
  color: var(--muted);
}

/* TAGS */
.pipeline-v2__tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pipeline-v2__tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--panel-3);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .pipeline-v2__board {
    flex-direction: column;
  }

  .pipeline-v2__column {
    max-width: 100%;
  }
}