/* =============================================================
   Ba2B — mockups.css
   Componentes de UI falsa (Kanban / Central de Atendimento)
   para mostrar o produto visualmente, como referencia DKW.
   ============================================================= */

.browser-frame {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 48px rgba(15,32,41,0.12);
  overflow: hidden;
  max-width: 940px;
  margin: 0 auto;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #F1F3F2;
  border-bottom: 1px solid var(--border-soft);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.browser-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- Kanban mock ---------- */
.kanban-mock { background: #FAFBFA; padding: 18px 18px 22px; }
.kanban-topbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.kanban-brand {
  font-family: var(--font-display); font-weight: 900; font-size: 14px;
  letter-spacing: 0.04em; color: var(--text-1);
}
.kanban-tab {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3);
  padding: 5px 12px; border-radius: 999px;
}
.kanban-tab.active { background: var(--lime-500); color: var(--surface-ink); }

.kanban-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  overflow-x: auto;
}
.kanban-col { background: #F1F3F2; border-radius: 10px; padding: 10px; }
.kanban-col-head {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--text-2); margin-bottom: 10px; padding: 0 2px;
}
.dot-status { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-status.lime { background: var(--lime-500); }
.dot-status.teal { background: var(--teal-700); }
.dot-status.amber { background: #F79646; }
.dot-status.red { background: #FF2D2D; }
.kanban-count {
  margin-left: auto; font-family: var(--font-body); font-weight: 600;
  font-size: 10px; color: var(--text-3); background: #fff; border-radius: 999px;
  padding: 1px 6px;
}
.kanban-card {
  background: #fff; border-radius: 8px; padding: 9px 10px; margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(15,32,41,0.06);
  display: flex; gap: 8px; align-items: flex-start;
}
.kanban-card .avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--lime-500); color: var(--surface-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 10px;
}
.card-name { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--text-1); }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tag {
  font-size: 9px; font-weight: 600; padding: 1px 6px; border-radius: 999px;
  background: #EAF0EE; color: var(--text-2);
}
.tag-lime { background: rgba(26,230,1,0.14); color: var(--lime-700); }
.tag-teal { background: rgba(0,130,145,0.12); color: var(--teal-700); }

/* ---------- Chat / atendimento mock ---------- */
.chat-mock { display: grid; grid-template-columns: 240px 1fr; min-height: 340px; background: #fff; }
.chat-list { border-right: 1px solid var(--border-soft); background: #FAFBFA; }
.chat-list-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  color: var(--text-1); border-bottom: 1px solid var(--border-soft);
}
.chat-online { font-size: 10px; color: var(--lime-700); font-weight: 600; }
.chat-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.chat-item.active { background: rgba(26,230,1,0.08); }
.chat-item .avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
}
.chat-name { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--text-1); }
.chat-preview { font-size: 11px; color: var(--text-3); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-badge {
  margin-left: auto; background: var(--lime-500); color: var(--surface-ink);
  font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-window { padding: 16px 18px; display: flex; flex-direction: column; }
.chat-window-head {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text-1);
  padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); margin-bottom: 12px;
}
.chat-status { font-size: 10px; font-weight: 600; color: var(--lime-700); margin-left: 8px; }
.chat-bubble {
  max-width: 78%; padding: 9px 13px; border-radius: 12px; font-size: 12px;
  margin-bottom: 8px; line-height: 1.4;
}
.chat-bubble.in { background: #F1F3F2; color: var(--text-1); align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-bubble.out { background: var(--lime-500); color: var(--surface-ink); align-self: flex-end; border-bottom-right-radius: 3px; }

@media (max-width: 720px) {
  .kanban-columns { grid-template-columns: repeat(4, 200px); }
  .chat-mock { grid-template-columns: 1fr; }
  .chat-list { display: none; }
}
