
.hsm-preview[data-v-4ad48cc5] {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  max-width: 400px;
}
.hsm-preview--compact[data-v-4ad48cc5] {
  padding: 8px;
  max-width: 350px;
}
.hsm-preview__icon-wrapper[data-v-4ad48cc5] {
  flex-shrink: 0;
}
.hsm-preview__icon[data-v-4ad48cc5] {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 50%;
  color: #0693e3;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(6, 147, 227, 0.15);
}
.hsm-preview__content[data-v-4ad48cc5] {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hsm-preview__media[data-v-4ad48cc5] {
  margin-bottom: 4px;
}
.hsm-preview__image[data-v-4ad48cc5] {
  max-width: 100%;
  width: 200px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.hsm-preview__image[data-v-4ad48cc5]:hover {
  transform: scale(1.02);
}
.hsm-preview__pdf[data-v-4ad48cc5] {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hsm-preview__pdf[data-v-4ad48cc5]:hover {
  background: #e5e7eb;
}
.hsm-preview__pdf i[data-v-4ad48cc5] {
  font-size: 40px;
  color: #6b7280;
}
.hsm-preview__video[data-v-4ad48cc5] {
  max-width: 100%;
  width: 200px;
  height: 180px;
  border-radius: 8px;
  background: #f3f4f6;
}
.hsm-preview__audio[data-v-4ad48cc5] {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}
.hsm-preview__header[data-v-4ad48cc5] {
  font-family: 'Product Sans Medium Regular', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}
.hsm-preview__body[data-v-4ad48cc5] {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.hsm-preview__body[data-v-4ad48cc5] strong {
  font-weight: 600;
  color: #111827;
}
.hsm-preview__footer[data-v-4ad48cc5] {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
}
.hsm-preview__buttons[data-v-4ad48cc5] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.hsm-preview__button[data-v-4ad48cc5] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #192830 0%, #243540 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 8px;
  cursor: default;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(25, 40, 48, 0.2);
  transition: transform 0.2s ease;
}
.hsm-preview__button[data-v-4ad48cc5]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(25, 40, 48, 0.3);
}
.hsm-preview__button i[data-v-4ad48cc5] {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
.hsm-preview[data-v-4ad48cc5] {
    max-width: 100%;
}
.hsm-preview__image[data-v-4ad48cc5],
  .hsm-preview__video[data-v-4ad48cc5] {
    width: 100%;
    max-width: 100%;
}
.hsm-preview__buttons[data-v-4ad48cc5] {
    flex-direction: column;
}
.hsm-preview__button[data-v-4ad48cc5] {
    width: 100%;
    justify-content: center;
}
}

.popover-default-ui-wrapper {
  position: relative;
  display: inline-block;
}
.popover-default-ui-trigger {
  display: inline-flex;
  cursor: pointer;
}
.popover-default-ui-slot-content {
  display: none;
}
.popover-default-ui-content {
  position: fixed;
  z-index: 99999;
  width: var(--popover-width, 280px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.07),
    0 10px 20px -2px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  overflow: visible;
  animation: popover-default-ui-enter 0.14s ease-out;
}
@keyframes popover-default-ui-enter {
from {
    opacity: 0;
    transform: translateY(4px) scale(0.98);
}
to {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}

/* Position classes kept for arrow positioning reference only */
.popover-default-ui-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
}
.popover-default-ui-arrow-bottom {
  top: -7px;
  left: 50%;
  margin-left: -6px;
  border-right: none;
  border-bottom: none;
}
.popover-default-ui-arrow-bottom-start {
  top: -7px;
  left: 16px;
  border-right: none;
  border-bottom: none;
}
.popover-default-ui-arrow-bottom-end {
  top: -7px;
  right: 16px;
  border-right: none;
  border-bottom: none;
}
.popover-default-ui-arrow-top {
  bottom: -7px;
  left: 50%;
  margin-left: -6px;
  border-left: none;
  border-top: none;
}
.popover-default-ui-arrow-top-start {
  bottom: -7px;
  left: 16px;
  border-left: none;
  border-top: none;
}
.popover-default-ui-arrow-top-end {
  bottom: -7px;
  right: 16px;
  border-left: none;
  border-top: none;
}
.popover-default-ui-arrow-left {
  right: -7px;
  top: 50%;
  margin-top: -6px;
  border-left: none;
  border-bottom: none;
}
.popover-default-ui-arrow-right {
  left: -7px;
  top: 50%;
  margin-top: -6px;
  border-right: none;
  border-top: none;
}
.popover-default-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0 16px;
  gap: 12px;
}
.popover-default-ui-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.popover-default-ui-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.popover-default-ui-close:hover {
  background: #f3f4f6;
  color: #374151;
}
.popover-default-ui-close:active {
  background: #e5e7eb;
}
.popover-default-ui-body {
  padding: 4px 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}
.popover-default-ui-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 16px 14px 16px;
}
.popover-default-ui-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
}
.popover-default-ui-fade-enter-active,
.popover-default-ui-fade-leave-active {
  transition: 
    opacity 0.15s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.popover-default-ui-fade-enter,
.popover-default-ui-fade-leave-to {
  opacity: 0;
  transform: scale(0.95);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CBD-NEW: ChatBalloonDefaultNew Styles
   Design System: Moderno, Minimalista, Elegante
═══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   CSS Variables (Design Tokens)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new[data-v-d7317d01] {
  /* Operator (Azul suave) */
  --cbd-operator-bg: #f0f7ff;
  --cbd-operator-border: #d0e3f7;
  --cbd-operator-text: #1e3a5f;
  --cbd-operator-accent: #3b82f6;

  /* Client (Neutro elegante) */
  --cbd-client-bg: #ffffff;
  --cbd-client-border: #e8eaed;
  --cbd-client-text: #1f2937;
  --cbd-client-accent: #6366f1;

  /* System (Cinza azulado) */
  --cbd-system-bg: #f8fafc;
  --cbd-system-border: #e2e8f0;
  --cbd-system-text: #64748b;
  --cbd-system-accent: #94a3b8;

  /* Business (Verde suave) */
  --cbd-business-bg: #f0fdf4;
  --cbd-business-border: #bbf7d0;
  --cbd-business-text: #166534;
  --cbd-business-accent: #22c55e;

  /* Task (Azul suave) */
  --cbd-task-bg: #eff6ff;
  --cbd-task-border: #bfdbfe;
  --cbd-task-text: #1e40af;
  --cbd-task-accent: #3b82f6;

  /* API (Índigo suave) */
  --cbd-api-bg: #f5f3ff;
  --cbd-api-border: #ddd6fe;
  --cbd-api-text: #4338ca;
  --cbd-api-accent: #8b5cf6;

  /* Bot/Automação - Escolha uma das opções abaixo */

  /* OPÇÃO 1: Azul-céu suave (ATIVA) */
  /* --cbd-bot-bg: #f0f9ff;
  --cbd-bot-border: #e0f2fe;
  --cbd-bot-text: #0369a1;
  --cbd-bot-accent: #0ea5e9; */

  /* OPÇÃO 2: 🌸 Rosa suave - delicado e amigável */
  /* --cbd-bot-bg: #fdf2f8;
  --cbd-bot-border: #fce7f3;
  --cbd-bot-text: #be185d;
  --cbd-bot-accent: #ec4899; */

  /* OPÇÃO 3: 🍃 Verde-menta - fresco e leve */
  /* --cbd-bot-bg: #f0fdfa;
  --cbd-bot-border: #ccfbf1;
  --cbd-bot-text: #0f766e;
  --cbd-bot-accent: #14b8a6; */

  /* OPÇÃO 4: 💜 Lavanda - roxo mais claro que o original */
  --cbd-bot-bg: #faf5ff;
  --cbd-bot-border: #f3e8ff;
  --cbd-bot-text: #7e22ce;
  --cbd-bot-accent: #a855f7;

  /* OPÇÃO 5: 🧡 Coral - quente mas mais suave que laranja */
  /* --cbd-bot-bg: #fff7ed;
    --cbd-bot-border: #ffedd5;
    --cbd-bot-text: #c2410c;
    --cbd-bot-accent: #fb923c; */

  /* Utility */
  --cbd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --cbd-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --cbd-radius-sm: 8px;
  --cbd-radius-md: 12px;
  --cbd-radius-lg: 16px;
  --cbd-transition: 0.2s ease;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Base Container
───────────────────────────────────────────────────────────────────────────── */
.cbd-new[data-v-d7317d01] {
  width: 100%;
  margin: 4px 0;
  animation: cbd-fadeIn-d7317d01 0.25s ease-out;
}
@keyframes cbd-fadeIn-d7317d01 {
from {
    opacity: 0;
    transform: translateY(8px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Notification (Sistema curto)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__notification[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px;
  margin: 16px auto;
  max-width: 85%;
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--cbd-system-text);
  position: relative;
}
.cbd-new__notification[data-v-d7317d01]::before,
.cbd-new__notification[data-v-d7317d01]::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cbd-notification-line, linear-gradient(to right, transparent, #e5e7eb, transparent));
}
.cbd-new__notification--business[data-v-d7317d01] {
  color: var(--cbd-business-text);
}
.cbd-new__notification--business[data-v-d7317d01]::before,
.cbd-new__notification--business[data-v-d7317d01]::after {
  /* background: var(--cbd-business-border); */
--cbd-notification-line: linear-gradient(to right, transparent, var(--cbd-business-border), transparent);
}
.cbd-new__notification--business .cbd-new__notification-icon[data-v-d7317d01] {
  color: var(--cbd-business-accent);
}
.cbd-new__notification-icon[data-v-d7317d01] {
  display: none;
}
.cbd-new__notification-content[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  flex-shrink: 0;
}
.cbd-new__notification-title[data-v-d7317d01] {
  display: none;
}
.cbd-new__notification-body[data-v-d7317d01] {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: #475569;

  letter-spacing: 0.5px;
}
.cbd-new__notification--business .cbd-new__notification-body[data-v-d7317d01] {
  color: var(--cbd-business-text);
}
.cbd-new__notification--task[data-v-d7317d01] {
  color: var(--cbd-task-text);
}
.cbd-new__notification--task[data-v-d7317d01]::before,
.cbd-new__notification--task[data-v-d7317d01]::after {
  --cbd-notification-line: linear-gradient(to right, transparent, var(--cbd-task-border), transparent);
}
.cbd-new__notification--task .cbd-new__notification-icon[data-v-d7317d01] {
  color: var(--cbd-task-accent);
}
.cbd-new__notification--task .cbd-new__notification-body[data-v-d7317d01] {
  color: var(--cbd-task-text);
}
.cbd-new__notification--bot[data-v-d7317d01] {
  color: var(--cbd-bot-text);
}
.cbd-new__notification--bot[data-v-d7317d01]::before,
.cbd-new__notification--bot[data-v-d7317d01]::after {
  /* background: var(--cbd-bot-border); */
 --cbd-notification-line: linear-gradient(to right, transparent, var(--cbd-bot-border), transparent);
}
.cbd-new__notification--bot .cbd-new__notification-icon[data-v-d7317d01] {
  color: var(--cbd-bot-accent);
}
.cbd-new__notification-time[data-v-d7317d01] {
  font-size: 10px;
  opacity: 0.9;
  margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Date Separator (Badge flutuante estilo WhatsApp)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__date-separator[data-v-d7317d01] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 24px 0 24px 0;
}
.cbd-new__date-badge[data-v-d7317d01] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  font-size: 12px;
  font-weight: 500;
  color: #23262b;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Wrapper (Alinhamento)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__wrapper[data-v-d7317d01] {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  max-width: 75%;
}
.cbd-new__wrapper--left[data-v-d7317d01] {
  justify-content: flex-start;
  margin-right: auto;
  margin-left: 0;
  flex-direction: column;
  align-items: flex-start;
}
.cbd-new__wrapper--left .cbd-new__footer[data-v-d7317d01] {
  align-self: flex-start;
  padding-left: 4px;
  justify-content: flex-start;
}
.cbd-new__wrapper--right[data-v-d7317d01] {
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 0;
  flex-direction: column;
  align-items: flex-end;
}
.cbd-new__wrapper--right .cbd-new__footer[data-v-d7317d01] {
  align-self: flex-end;
  justify-content: flex-end;
  /* padding-right: 4px; */
}
.cbd-new__wrapper--center[data-v-d7317d01] {
  justify-content: center;
  margin: 0 auto;
  max-width: 90%;
  flex-direction: column;
  align-items: center;
}
.cbd-new__wrapper--center .cbd-new__footer[data-v-d7317d01] {
  align-self: stretch;
  /* width: 100%; */
  justify-content: flex-end;
}
.cbd-new__wrapper--right .cbd-new__timestamp[data-v-d7317d01] {
  margin-left: auto;
  /* empurra para a direita */
}
.cbd-new__wrapper--left .cbd-new__timestamp[data-v-d7317d01] {
  margin-left: 0;
  /* sem auto margin, fica à esquerda */
  margin-right: auto;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Resend Button
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__resend-btn[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #fef2f2;
  color: #ef4444;
  cursor: pointer;
  transition: all var(--cbd-transition);
  flex-shrink: 0;
}
.cbd-new__resend-btn[data-v-d7317d01]:hover {
  background: #fee2e2;
  transform: scale(1.1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Balloon Base
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__balloon[data-v-d7317d01] {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--cbd-radius-lg);
  box-shadow: var(--cbd-shadow-sm);
  transition: box-shadow var(--cbd-transition);
  min-width: 120px;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.cbd-new__balloon[data-v-d7317d01]:hover {
  box-shadow: var(--cbd-shadow-md);
}

/* Balloon Variants */
.cbd-new__balloon--operator[data-v-d7317d01] {
  background: var(--cbd-operator-bg);
  border: 1px solid var(--cbd-operator-border);
  color: var(--cbd-operator-text);
  border-bottom-right-radius: 4px;
}
.cbd-new__balloon--client[data-v-d7317d01] {
  background: var(--cbd-client-bg);
  border: 1px solid var(--cbd-client-border);
  color: var(--cbd-client-text);
  border-bottom-left-radius: 4px;
}
.cbd-new__balloon--system[data-v-d7317d01] {
  background: var(--cbd-system-bg);
  border: 1px solid var(--cbd-system-border);
  color: var(--cbd-system-text);
}
.cbd-new__balloon--business[data-v-d7317d01] {
  background: var(--cbd-business-bg);
  border: 1px solid var(--cbd-business-border);
  color: var(--cbd-business-text);
}
.cbd-new__balloon--task[data-v-d7317d01] {
  background: var(--cbd-task-bg);
  border: 1px solid var(--cbd-task-border);
  color: var(--cbd-task-text);
}
.cbd-new__balloon--api[data-v-d7317d01] {
  background: var(--cbd-api-bg);
  border: 1px solid var(--cbd-api-border);
  color: var(--cbd-api-text);
  border-radius: var(--cbd-radius-lg);
}
.cbd-new__balloon--failed-api[data-v-d7317d01] {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: var(--cbd-radius-lg);
}
.cbd-new__balloon--bot[data-v-d7317d01] {
  background: var(--cbd-bot-bg);
  border: 1px solid var(--cbd-bot-border);
  color: var(--cbd-bot-text);
  border-radius: 16px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Balloon Container (Wrapper para Balão + Popover)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__balloon-container[data-v-d7317d01] {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  max-width: 100%;
}

/* Garante que o PopoverDefault não ocupe espaço no layout */
.cbd-new__balloon-container>div[class*="popover"][data-v-d7317d01] {
  position: absolute;
  width: 0;
  height: 0;
  overflow: visible;
}

/* Trigger invisível para o popover (cobre o balão) */
.cbd-new__balloon-popover-trigger[data-v-d7317d01] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  cursor: default;
}

/* Hover effect for balloons with delivery errors */
.cbd-new__balloon[data-has-delivery-error="true"][data-v-d7317d01]:hover {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1), var(--cbd-shadow-md) !important;
  background: linear-gradient(135deg, var(--cbd-operator-bg) 0%, #fef2f2 100%) !important;
}
.cbd-new__balloon--bot a[data-v-d7317d01] {
  color: var(--cbd-bot-accent);
  font-weight: 600;
}
.cbd-new__balloon--scheduled[data-v-d7317d01] {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border: 1px solid #bbf7d0 !important;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.1), var(--cbd-shadow-md) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Menu Dropdown
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__menu[data-v-d7317d01] {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--cbd-transition);
}
.cbd-new__menu--visible[data-v-d7317d01] {
  opacity: 1;
  pointer-events: auto;
}
.cbd-new__menu-trigger[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  color: #64748b;
  cursor: pointer;
  transition: all var(--cbd-transition);
  backdrop-filter: blur(4px);
}
.cbd-new__menu-trigger[data-v-d7317d01]:hover,
.cbd-new__menu-trigger--open[data-v-d7317d01] {
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
}
.cbd-new__menu-option[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cbd-new__menu-icon[data-v-d7317d01] {
  transition: color 0.15s ease;
}

/* Hover no item do dropdown colore apenas o ícone */
.dropdown-default-ui__item:hover .cbd-new__menu-option--reply .cbd-new__menu-icon[data-v-d7317d01] { color: #3b82f6;
}
.dropdown-default-ui__item:hover .cbd-new__menu-option--copy .cbd-new__menu-icon[data-v-d7317d01] { color: #6b7280;
}
.dropdown-default-ui__item:hover .cbd-new__menu-option--download .cbd-new__menu-icon[data-v-d7317d01] { color: #10b981;
}
.dropdown-default-ui__item:hover .cbd-new__menu-option--save-media .cbd-new__menu-icon[data-v-d7317d01] { color: #8b5cf6;
}
.dropdown-default-ui__item:hover .cbd-new__menu-option--funnel .cbd-new__menu-icon[data-v-d7317d01] { color: #f59e0b;
}
.dropdown-default-ui__item:hover .cbd-new__menu-option--schedule .cbd-new__menu-icon[data-v-d7317d01] { color: #6366f1;
}
.dropdown-default-ui__item:hover .cbd-new__menu-option--note .cbd-new__menu-icon[data-v-d7317d01] { color: #14b8a6;
}
.dropdown-default-ui__item:hover .cbd-new__menu-option--task .cbd-new__menu-icon[data-v-d7317d01] { color: #ef4444;
}

/* ─────────────────────────────────────────────────────────────────────────────
   System Header
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__system-header[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--cbd-system-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--cbd-system-accent);
}
.cbd-new__balloon--bot .cbd-new__system-header[data-v-d7317d01] {
  border-color: var(--cbd-bot-border);
  color: var(--cbd-bot-accent);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Operator Header
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__operator-header[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cbd-operator-accent);
}
.cbd-new__operator-name[data-v-d7317d01] {
  line-height: 1.2;
}
.cbd-new__balloon--bot .cbd-new__operator-header[data-v-d7317d01] {
  border-color: var(--cbd-bot-border);
  color: var(--cbd-bot-accent);
}
.cbd-new__balloon--business .cbd-new__system-header[data-v-d7317d01] {
  border-color: var(--cbd-business-border);
  color: var(--cbd-business-accent);
}
.cbd-new__balloon--task .cbd-new__system-header[data-v-d7317d01] {
  border-color: var(--cbd-task-border);
  color: var(--cbd-task-accent);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Reply Preview
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__reply-preview[data-v-d7317d01] {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--cbd-radius-sm);
  font-size: 12px;
  overflow: hidden;
}
.cbd-new__reply-preview--operator[data-v-d7317d01] {
  background: rgba(59, 130, 246, 0.06);
}
.cbd-new__reply-bar[data-v-d7317d01] {
  width: 3px;
  border-radius: 2px;
  background: var(--cbd-operator-accent);
  flex-shrink: 0;
}
.cbd-new__reply-preview--client .cbd-new__reply-bar[data-v-d7317d01] {
  background: var(--cbd-client-accent);
}
.cbd-new__reply-content[data-v-d7317d01] {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cbd-new__reply-sender[data-v-d7317d01] {
  font-weight: 600;
  font-size: 11px;
  color: var(--cbd-operator-accent);
}
.cbd-new__reply-preview--client .cbd-new__reply-sender[data-v-d7317d01] {
  color: var(--cbd-client-accent);
}
.cbd-new__reply-body[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
}
.cbd-new__reply-media-icon[data-v-d7317d01] {
  font-size: 12px;
  opacity: 0.7;
}
.cbd-new__reply-text[data-v-d7317d01] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cbd-new__reply-thumbnail[data-v-d7317d01] {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #e2e8f0;
  flex-shrink: 0;
  cursor: pointer;
}
.cbd-new__balloon--bot .cbd-new__reply-preview[data-v-d7317d01] {
  background: rgba(139, 92, 246, 0.06);
}
.cbd-new__balloon--bot .cbd-new__reply-bar[data-v-d7317d01] {
  background: var(--cbd-bot-accent);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Main Content
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__main-content[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Media: Image
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__media--image[data-v-d7317d01] {
  cursor: pointer;
  border-radius: var(--cbd-radius-sm);
  overflow: hidden;
  max-width: 280px;
}
.cbd-new__media--image img[data-v-d7317d01] {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--cbd-transition);
}
.cbd-new__media--image:hover img[data-v-d7317d01] {
  transform: scale(1.02);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Media: Video
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__media--video[data-v-d7317d01] {
  border-radius: var(--cbd-radius-sm);
  overflow: hidden;
  max-width: 320px;
}
.cbd-new__media--video video[data-v-d7317d01] {
  display: block;
  width: 100%;
  max-height: 240px;
  background: #000;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Audio Player
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__audio-player[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--cbd-radius-md);
  min-width: 260px;
  max-width: 340px;
}
.cbd-new__audio-play-btn[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--cbd-operator-accent);
  color: white;
  cursor: pointer;
  transition: all var(--cbd-transition);
  flex-shrink: 0;
}
.cbd-new__balloon--client .cbd-new__audio-play-btn[data-v-d7317d01] {
  background: var(--cbd-client-accent);
}
.cbd-new__audio-play-btn[data-v-d7317d01]:hover {
  transform: scale(1.08);
  box-shadow: var(--cbd-shadow-md);
}
.cbd-new__audio-play-btn[data-v-d7317d01]:active {
  transform: scale(0.95);
}
.cbd-new__audio-progress[data-v-d7317d01] {
  flex: 1;
  cursor: pointer;
  padding: 8px 0;
}
.cbd-new__audio-track[data-v-d7317d01] {
  position: relative;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
}
.cbd-new__audio-fill[data-v-d7317d01] {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--cbd-operator-accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}
.cbd-new__balloon--client .cbd-new__audio-fill[data-v-d7317d01] {
  background: var(--cbd-client-accent);
}
.cbd-new__audio-thumb[data-v-d7317d01] {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--cbd-operator-accent);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: left 0.1s linear;
}
.cbd-new__balloon--client .cbd-new__audio-thumb[data-v-d7317d01] {
  background: var(--cbd-client-accent);
}
.cbd-new__audio-time[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
  min-width: 55px;
  justify-content: flex-end;
}
.cbd-new__audio-separator[data-v-d7317d01] {
  opacity: 0.5;
}
.cbd-new__audio-speed-btn[data-v-d7317d01] {
  padding: 2px 8px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: white;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all var(--cbd-transition);
  flex-shrink: 0;
}
.cbd-new__audio-speed-btn[data-v-d7317d01]:hover {
  border-color: #94a3b8;
  color: #334155;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Media: Documents
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__media--document[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--cbd-radius-sm);
  cursor: pointer;
  transition: background var(--cbd-transition);
}
.cbd-new__media--document[data-v-d7317d01]:hover {
  background: rgba(0, 0, 0, 0.06);
}
.cbd-new__document-icon[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #64748b;
  color: white;
  flex-shrink: 0;
}
.cbd-new__document-icon--pdf[data-v-d7317d01] {
  background: #ef4444;
}
.cbd-new__document-icon--word[data-v-d7317d01] {
  background: #2563eb;
}
.cbd-new__document-icon--excel[data-v-d7317d01] {
  background: #22c55e;
}
.cbd-new__document-label[data-v-d7317d01] {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Media: Cloud (Dropbox)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__media--cloud[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #eff6ff;
  border-radius: var(--cbd-radius-sm);
  cursor: pointer;
  transition: background var(--cbd-transition);
}
.cbd-new__media--cloud[data-v-d7317d01]:hover {
  background: #dbeafe;
}
.cbd-new__cloud-icon[data-v-d7317d01] {
  color: #2563eb;
}
.cbd-new__cloud-label[data-v-d7317d01] {
  font-size: 13px;
  font-weight: 500;
  color: #1e40af;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Media: Location
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__media--location[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
  border-radius: var(--cbd-radius-sm);
  cursor: pointer;
  transition: all var(--cbd-transition);
}
.cbd-new__media--location[data-v-d7317d01]:hover {
  transform: translateY(-2px);
  box-shadow: var(--cbd-shadow-md);
}
.cbd-new__location-preview[data-v-d7317d01] {
  color: #22c55e;
}
.cbd-new__location-address[data-v-d7317d01] {
  font-size: 12px;
  color: #334155;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Media: Contact (vCard)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__media--contact[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--cbd-radius-sm);
}
.cbd-new__contact-avatar[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cbd-operator-accent);
  color: white;
  flex-shrink: 0;
}
.cbd-new__contact-info[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cbd-new__contact-name[data-v-d7317d01] {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cbd-new__contact-phone[data-v-d7317d01] {
  font-size: 12px;
  color: #64748b;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Media: HSM
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__media--hsm[data-v-d7317d01] {
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Text Content
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__text[data-v-d7317d01] {
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #2b2e32;
}
.cbd-new__text b[data-v-d7317d01] {
  font-weight: 600;
}
.cbd-new__text a[data-v-d7317d01] {
  color: var(--cbd-operator-accent);
  text-decoration: none;
}
.cbd-new__text a[data-v-d7317d01]:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__footer[data-v-d7317d01] {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 4px;
  margin-top: 4px;
  margin-bottom: 8px;
}
.cbd-new__timestamp[data-v-d7317d01] {
  font-size: 12px;
  color: #2b2e32;
  margin-left: auto;
}
.cbd-new__failed-badge[data-v-d7317d01] {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Status Indicator
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__status[data-v-d7317d01] {
  display: flex;
  align-items: center;
  /* Forçar z-index baixo para não interferir no popover */
  z-index: 0;
}
.cbd-new__status-icon[data-v-d7317d01] {
  display: flex;
  color: #94a3b8;
  /* Garantir que não crie stacking context */
  position: static;
  z-index: auto;
}
.cbd-new__status-icon--read[data-v-d7317d01] {
  color: var(--cbd-operator-accent);
}
.cbd-new__status-icon--failed[data-v-d7317d01] {
  color: #ef4444;
}
.cbd-new__status-icon--clickable[data-v-d7317d01] {
  cursor: default;
  transition: all 0.2s ease;
}
.cbd-new__status-icon--clickable[data-v-d7317d01]:hover {
  transform: none;
}

/* Cor azul para ícones lidos */
.text-blue-500[data-v-d7317d01] {
  color: #3b82f6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Error Popover Content (dentro do PopoverDefault)
───────────────────────────────────────────────────────────────────────────── */
.cbd-error-popover-content[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}

/* Header Vermelho */
.cbd-error-header[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FEF2F2;
  color: #DC2626;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 12px 12px 0 0;
  margin: -4px -8px 0 -8px;
}
.cbd-error-header-left[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cbd-error-header-left svg[data-v-d7317d01] {
  flex-shrink: 0;
}
.cbd-error-header-id[data-v-d7317d01] {
  font-size: 11px;
  font-weight: 600;
  background: white;
  color: #DC2626;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #DC2626;
  letter-spacing: 0.3px;
}

/* Corpo Central */
.cbd-error-body[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: white;
}
.cbd-error-section[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cbd-error-text[data-v-d7317d01] {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.5;
}
.cbd-error-details-text[data-v-d7317d01] {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
}

/* Link para Documentação da Meta */
.cbd-error-docs-link[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  margin-top: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.cbd-error-docs-link[data-v-d7317d01]:hover {
  background: #dbeafe;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}
.cbd-error-docs-link[data-v-d7317d01]:active {
  transform: translateY(0);
}
.cbd-error-docs-link svg[data-v-d7317d01] {
  flex-shrink: 0;
  opacity: 0.8;
}

/* Footer com botões */
.cbd-error-footer[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 12px 12px;
  margin: 0 -8px -4px -8px;
}

/* Botão COPIAR ID (esquerda) */
.cbd-error-copy-id-btn[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.cbd-error-copy-id-btn[data-v-d7317d01]:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.cbd-error-copy-id-btn[data-v-d7317d01]:active {
  transform: translateY(0);
}
.cbd-error-copy-id-btn svg[data-v-d7317d01] {
  flex-shrink: 0;
}

/* Botão Reenviar (direita) */
.cbd-error-resend-btn[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}
.cbd-error-resend-btn[data-v-d7317d01]:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}
.cbd-error-resend-btn[data-v-d7317d01]:active {
  transform: translateY(0);
}
.cbd-error-resend-btn svg[data-v-d7317d01] {
  flex-shrink: 0;
}

/* Estilos antigos mantidos para compatibilidade (não usados no novo layout) */
.cbd-error-row[data-v-d7317d01] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cbd-error-row--message[data-v-d7317d01] {
  margin-top: 2px;
}
.cbd-error-label[data-v-d7317d01] {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cbd-error-code-wrapper[data-v-d7317d01] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cbd-error-code[data-v-d7317d01] {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #dc2626;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.cbd-error-copy-btn[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cbd-error-copy-btn[data-v-d7317d01]:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}
.cbd-error-copy-btn[data-v-d7317d01]:active {
  transform: scale(0.95);
}
.cbd-error-value[data-v-d7317d01] {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
}
.cbd-error-message[data-v-d7317d01] {
  font-size: 12px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #ef4444;
  word-wrap: break-word;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Scheduled Badge
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__scheduled-badge[data-v-d7317d01] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #86efac, #6ee7b7);
  border: none;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(134, 239, 172, 0.3);
  cursor: help;
  animation: cbd-pulse-d7317d01 2s ease-in-out infinite;
}
@keyframes cbd-pulse-d7317d01 {
0%,
  100% {
    box-shadow: 0 2px 4px rgba(134, 239, 172, 0.3);
}
50% {
    box-shadow: 0 2px 8px rgba(134, 239, 172, 0.5), 0 0 0 3px rgba(134, 239, 172, 0.1);
}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Reply Button
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__reply-btn[data-v-d7317d01] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  opacity: 0;
  transition: all var(--cbd-transition);
}
.cbd-new__reply-btn--left[data-v-d7317d01] {
  margin-right: auto;
}
.cbd-new__reply-btn--visible[data-v-d7317d01] {
  opacity: 1;
}
.cbd-new__reply-btn[data-v-d7317d01]:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #64748b;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Status Indicators
───────────────────────────────────────────────────────────────────────────── */
.cbd-new__status-icon[data-v-d7317d01] {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #64748b;
  margin-right: 4px;
}
.cbd-new__status-icon--failed[data-v-d7317d01] {
  display: inline-flex;
  align-items: center;
  /* gap: 6px; */
  color: #dc2626;
}
.cbd-new__status-text[data-v-d7317d01] {
  font-size: 11px;
  font-weight: 500;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* Mostrar texto no hover do wrapper (balão + footer) */
.cbd-new__wrapper:hover .cbd-new__status-text[data-v-d7317d01] {
  opacity: 1;
  max-width: 150px;
  margin-left: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Highlight Animation (Search)
───────────────────────────────────────────────────────────────────────────── */
.cbd-new--highlight[data-v-d7317d01] {
  animation: cbd-highlight-d7317d01 2.5s ease-out;
}
@keyframes cbd-highlight-d7317d01 {
0% {
    background-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    border-radius: var(--cbd-radius-lg);
}
50% {
    background-color: rgba(59, 130, 246, 0.1);
}
100% {
    background-color: transparent;
    box-shadow: none;
}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Responsive
───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
.cbd-new__wrapper[data-v-d7317d01] {
    max-width: 85%;
}
.cbd-new__audio-player[data-v-d7317d01] {
    min-width: 220px;
}
.cbd-new__media--image[data-v-d7317d01] {
    max-width: 240px;
}
}
/* ===========================================
   OVERLAY & MODAL - COMPACTO
   =========================================== */
.model-message-send-overlay[data-v-1968cf00] {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.model-message-send-modal[data-v-1968cf00] {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 950px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-step2-full-height[data-v-1968cf00] {
     max-height: 85vh;
    height: 85vh;
}

/* ===========================================
   HEADER - COMPACTO
   =========================================== */
.model-message-send-header[data-v-1968cf00] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  gap: 0.875rem;
  min-height: 56px;
  flex-shrink: 0;
}
.model-message-send-title[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.model-message-send-icon[data-v-1968cf00] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 7px;
  color: white;
}
.model-message-send-title h3[data-v-1968cf00] {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
}
.model-message-send-search[data-v-1968cf00] {
  flex: 1;
  max-width: 220px;
  min-width: 160px;
  display: flex;
  justify-content: flex-end;
}
.model-message-send-search-container[data-v-1968cf00] {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.model-message-send-search-input[data-v-1968cf00] {
  width: 100%;
  padding: 0.5rem 1.875rem 0.5rem 1.625rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 0.85rem;
  color: #374151;
  transition: all 0.2s ease;
  height: 34px;
  box-sizing: border-box;
}
.model-message-send-search-input[data-v-1968cf00]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.model-message-send-search-icon[data-v-1968cf00] {
  position: absolute;
  left: 10px;
  color: #9ca3af;
  pointer-events: none;
  z-index: 5;
}
.model-message-send-search-clear[data-v-1968cf00] {
  position: absolute;
  right: 6px;
  padding: 3px;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.model-message-send-search-clear[data-v-1968cf00]:hover {
  color: #6b7280;
  background: #f3f4f6;
}
.model-message-send-close[data-v-1968cf00] {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.model-message-send-close[data-v-1968cf00]:hover {
  color: #374151;
  background: #f3f4f6;
}

/* ===========================================
   BODY & TABELA - COMPACTO
   =========================================== */
.model-message-send-body[data-v-1968cf00] {
  flex: 1;
  overflow-y: auto;
  padding: 0.875rem;
  min-height: 0;
}
.model-message-send-content[data-v-1968cf00] {
  height: 100%;
}
.model-message-send-table-container[data-v-1968cf00] {
  overflow: hidden;
  max-height: calc(85vh - 160px);
  position: relative;
  z-index: 1;
}
.model-message-send-table-wrapper[data-v-1968cf00] {
  overflow: auto;
}
.model-message-send-table[data-v-1968cf00] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.85rem;
}
.model-message-send-thead[data-v-1968cf00] {
  position: sticky;
  top: 0;
  background: #f9fafb;
  z-index: 10;
}
.model-message-send-th[data-v-1968cf00] {
  padding: 0.625rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
  font-size: 0.8rem;
  vertical-align: middle;
  height: 56px;
  box-sizing: border-box;
}
.model-message-send-row[data-v-1968cf00] {
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}
.model-message-send-row[data-v-1968cf00]:hover {
  background-color: #f0f9ff;
}
.model-message-send-td[data-v-1968cf00] {
  padding: 0.625rem 0.75rem;
  color: #4b5563;
  font-size: 0.8rem;
  position: relative;
  vertical-align: middle;
  height: 56px;
  box-sizing: border-box;
}
.model-message-send-cell[data-v-1968cf00] {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 1;
}
.model-message-send-cell.center[data-v-1968cf00] {
  justify-content: center;
}
.model-message-send-text[data-v-1968cf00] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.model-message-send-description[data-v-1968cf00] {
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.model-message-send-preview-btn[data-v-1968cf00] {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #4b5563;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.625rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.model-message-send-preview-btn[data-v-1968cf00]:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}
.model-message-send-category[data-v-1968cf00],
.model-message-send-language[data-v-1968cf00] {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  white-space: nowrap;
  display: inline-block;
}
.model-message-send-category[data-v-1968cf00] {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}
.model-message-send-language[data-v-1968cf00] {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  border: 1px solid #d1d5db;
}

/* ===========================================
   ESTADOS VAZIOS E LOADING
   =========================================== */
.model-message-send-search-loading[data-v-1968cf00],
.model-message-send-no-results[data-v-1968cf00],
.model-message-send-empty[data-v-1968cf00],
.model-message-send-loading[data-v-1968cf00] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 180px;
}
.model-message-send-search-spinner-circle[data-v-1968cf00],
.model-message-send-spinner-circle[data-v-1968cf00] {
  width: 32px;
  height: 32px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: model-message-send-spin-1968cf00 0.8s linear infinite;
}
@keyframes model-message-send-spin-1968cf00 {
0% { transform: rotate(0deg);
}
100% { transform: rotate(360deg);
}
}
.model-message-send-no-results-icon[data-v-1968cf00],
.model-message-send-empty-icon[data-v-1968cf00] {
  width: 56px;
  height: 56px;
  /* background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #d97706;
}
.model-message-send-no-results-text[data-v-1968cf00] {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem 0;
}
.model-message-send-clear-search-btn[data-v-1968cf00] {
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.813rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.model-message-send-clear-search-btn[data-v-1968cf00]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ===========================================
   FOOTER & PAGINAÇÃO
   =========================================== */
.model-message-send-pagination[data-v-1968cf00] {
  padding: 0.625rem 0.875rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.model-message-send-footer[data-v-1968cf00] {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 0.625rem;
  background: #f9fafb;
  flex-shrink: 0;
}
.model-message-send-cancel[data-v-1968cf00] {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.model-message-send-cancel[data-v-1968cf00]:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* ===========================================
   STEP 2 - COMPACTO
   =========================================== */
.model-message-send-step2[data-v-1968cf00] {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.model-message-send-step2-header[data-v-1968cf00] {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  flex-shrink: 0;
}
.step2-template-name[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #bae6fd;
}
.template-name-icon[data-v-1968cf00] {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}
.template-name-content[data-v-1968cf00] {
  flex: 1;
  min-width: 0;
}
.template-name-label[data-v-1968cf00] {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0369a1;
  font-weight: 600;
  margin: 0 0 0.188rem 0;
}
.template-name-value[data-v-1968cf00] {
  font-size: 1rem;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.step2-alert[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #fef3c7;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #fcd34d;
}
.alert-icon[data-v-1968cf00] {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}
.alert-content h4[data-v-1968cf00] {
  margin: 0 0 0.188rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #92400e;
}
.alert-content p[data-v-1968cf00] {
  margin: 0;
  font-size: 0.75rem;
  color: #78350f;
}
.model-message-send-step2-body[data-v-1968cf00] {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  max-height: calc(92vh - 180px);
}
.step2-form-column[data-v-1968cf00] {
  overflow-y: auto;
  padding-right: 0.5rem;
}
.step2-form-content[data-v-1968cf00] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-title[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.625rem 0;
}
.section-title i[data-v-1968cf00] {
  font-size: 1rem;
  color: #3b82f6;
}
.media-upload-section[data-v-1968cf00],
.variables-section[data-v-1968cf00] {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.875rem;
}
.variable-group[data-v-1968cf00] {
  margin-bottom: 0.875rem;
}
.variable-group[data-v-1968cf00]:last-child {
  margin-bottom: 0;
}
.variable-label[data-v-1968cf00] {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}
.variable-input-container[data-v-1968cf00] {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.variable-input[data-v-1968cf00] {
  flex: 1;
  padding: 0.5rem 2.25rem 0.5rem 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #1f2937;
  transition: all 0.2s ease;
}
.variable-input[data-v-1968cf00]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.variable-dropdown-trigger[data-v-1968cf00] {
  position: absolute;
  right: 0.375rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
}
.variable-dropdown-trigger[data-v-1968cf00]:hover {
  background: #e5e7eb;
  color: #374151;
}

/* Upload de mídia */
.campaign-media-upload-button-simple[data-v-1968cf00] {
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  color: #6b7280;
}
.campaign-media-upload-button-simple[data-v-1968cf00]:hover {
  border-color: #3b82f6;
  background: #f8fafc;
  color: #3b82f6;
}
.campaign-upload-icon-simple[data-v-1968cf00] {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.938rem;
}
.media-preview-compact[data-v-1968cf00] {
  margin-top: 0.875rem;
  padding: 0.875rem;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.media-preview-item[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.media-thumbnail[data-v-1968cf00] {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-thumbnail img[data-v-1968cf00],
.media-thumbnail video[data-v-1968cf00] {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.media-info[data-v-1968cf00] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.media-type[data-v-1968cf00] {
  font-size: 0.813rem;
  font-weight: 500;
  color: #374151;
}
.media-actions[data-v-1968cf00] {
  display: flex;
  gap: 0.375rem;
}
.media-action-btn[data-v-1968cf00] {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.813rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f3f4f6;
  color: #6b7280;
}
.media-action-btn[data-v-1968cf00]:hover {
  background: #3b82f6;
  color: white;
}
.media-action-btn.remove[data-v-1968cf00]:hover {
  background: #ef4444;
}

/* ===========================================
   PREVIEW - COMPACTO
   =========================================== */
.step2-preview-column[data-v-1968cf00] {
  position: sticky;
  top: 0;
  height: -moz-fit-content;
  height: fit-content;
  max-height: calc(85vh - 180px);
  overflow-y: auto;
}
.preview-container[data-v-1968cf00] {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.preview-header[data-v-1968cf00] {
  padding: 0.75rem 0.875rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}
.preview-header h5[data-v-1968cf00] {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.whatsapp-preview-shell[data-v-1968cf00] {
  margin: 0.875rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.whatsapp-preview-topbar[data-v-1968cf00] {
  background: #075e54;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
}
.whatsapp-preview-avatar[data-v-1968cf00] {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatsapp-preview-account[data-v-1968cf00] {
  min-width: 0;
}
.whatsapp-preview-account-name[data-v-1968cf00] {
  font-size: 0.813rem;
  font-weight: 600;
  line-height: 1.2;
}
.whatsapp-preview-account-subtitle[data-v-1968cf00] {
  font-size: 0.688rem;
  opacity: 0.76;
  line-height: 1.2;
}
.whatsapp-preview-body-bg[data-v-1968cf00] {
  background: #ece5dd;
  padding: 0.75rem;
  min-height: 170px;
}
.whatsapp-message-bubble[data-v-1968cf00] {
  background: #ffffff;
  border-radius: 10px;
  border-top-left-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.whatsapp-message-caret[data-v-1968cf00] {
  position: absolute;
  top: 0;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 8px solid #ffffff;
  border-left: 6px solid transparent;
}
.whatsapp-media-image img[data-v-1968cf00],
.whatsapp-media-video video[data-v-1968cf00] {
  width: 100%;
  height: 128px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.whatsapp-media-video[data-v-1968cf00] {
  background: #1f2937;
}
.whatsapp-media-document[data-v-1968cf00],
.whatsapp-header-placeholder.document[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.625rem 0.75rem;
}
.whatsapp-header-placeholder[data-v-1968cf00] {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-header-placeholder.image[data-v-1968cf00] {
  background: #e5e7eb;
  color: #9ca3af;
}
.whatsapp-header-placeholder.video[data-v-1968cf00] {
  background: #1f2937;
}
.whatsapp-video-play[data-v-1968cf00] {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-doc-name[data-v-1968cf00] {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whatsapp-doc-type[data-v-1968cf00] {
  margin: 0;
  font-size: 0.625rem;
  color: #9ca3af;
}
.whatsapp-header-text[data-v-1968cf00] {
  margin: 0;
  padding: 0.625rem 0.75rem 0.125rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
}
.whatsapp-body-text[data-v-1968cf00] {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #1f2937;
  white-space: pre-wrap;
}
.whatsapp-body-text--placeholder[data-v-1968cf00] {
  color: #9ca3af;
  font-style: italic;
}
.whatsapp-footer-text[data-v-1968cf00] {
  margin: 0;
  padding: 0 0.75rem 0.125rem;
  font-size: 0.688rem;
  color: #9ca3af;
}
.whatsapp-time[data-v-1968cf00] {
  margin: -2px 0 0;
  text-align: right;
  font-size: 0.625rem;
  color: #9ca3af;
  padding: 0 0.75rem 0.5rem;
}
.whatsapp-buttons[data-v-1968cf00] {
  border-top: 1px solid #e5e7eb;
}
.whatsapp-button-item[data-v-1968cf00] {
  width: 100%;
  border: none;
  background: #ffffff;
  color: #0088cc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: default;
}
.whatsapp-button-item--border[data-v-1968cf00] {
  border-top: 1px solid #e5e7eb;
}

/* ===========================================
   FOOTER STEP 2
   =========================================== */
.model-message-send-step2-footer[data-v-1968cf00] {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  gap: 0.625rem;
  background: #f9fafb;
  flex-shrink: 0;
}
.step2-cancel-btn[data-v-1968cf00],
.step2-send-btn[data-v-1968cf00] {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
}
.step2-cancel-btn[data-v-1968cf00] {
  background: white;
  border: 1px solid #d1d5db;
  color: #374151;
}
.step2-cancel-btn[data-v-1968cf00]:hover {
  background: #f9fafb;
}
.step2-send-btn[data-v-1968cf00] {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}
.step2-send-btn[data-v-1968cf00]:hover:not(.disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.step2-send-btn.disabled[data-v-1968cf00] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===========================================
   DROPDOWN DE VARIÁVEIS
   =========================================== */
.campaign-variables-dropdown[data-v-1968cf00] {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  max-height: 360px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  isolation: isolate;
}
.campaign-variables-dropdown--show[data-v-1968cf00] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.campaign-variables-dropdown-header[data-v-1968cf00] {
  padding: 0.875rem;
  border-bottom: 1px solid #f1f5f9;
}
.campaign-variables-dropdown-title[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.625rem;
}
.campaign-variables-search[data-v-1968cf00] {
  position: relative;
}
.campaign-variables-search-input[data-v-1968cf00] {
  width: 100%;
  padding: 0.5rem 1.875rem 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.8rem;
  background: #ffffff;
  transition: border-color 0.2s ease;
}
.campaign-variables-search-input[data-v-1968cf00]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.campaign-variables-search-icon[data-v-1968cf00],
.campaign-variables-search-clear[data-v-1968cf00] {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
}
.campaign-variables-search-clear[data-v-1968cf00] {
  cursor: pointer;
  transition: color 0.2s;
}
.campaign-variables-search-clear[data-v-1968cf00]:hover {
  color: #ef4444;
}
.campaign-variables-list[data-v-1968cf00] {
  overflow-y: auto;
  max-height: 240px;
}
.campaign-variables-section[data-v-1968cf00] {
  padding: 0.625rem 0;
}
.campaign-variables-section[data-v-1968cf00]:not(:last-child) {
  border-bottom: 1px solid #f1f5f9;
}
.campaign-variables-section-title[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.875rem 0.5rem;
  font-weight: 600;
  font-size: 0.688rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.campaign-variable-item[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.campaign-variable-item[data-v-1968cf00]:hover {
  background: #f8fafc;
  border-left-color: #3b82f6;
  transform: translateX(2px);
}
.campaign-variable-item--custom[data-v-1968cf00]:hover {
  background: #fefce8;
  border-left-color: #eab308;
}
.campaign-variable-icon[data-v-1968cf00] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #e0e7ff;
  border-radius: 6px;
  flex-shrink: 0;
}
.campaign-variable-icon--custom[data-v-1968cf00] {
  background: #fef3c7;
}
.campaign-variable-icon-inner[data-v-1968cf00] {
  font-size: 14px;
  color: #3730a3;
}
.campaign-variable-icon--custom .campaign-variable-icon-inner[data-v-1968cf00] {
  color: #92400e;
}
.campaign-variable-content[data-v-1968cf00] {
  flex: 1;
  min-width: 0;
}
.campaign-variable-name[data-v-1968cf00] {
  font-weight: 500;
  font-size: 0.85rem;
  color: #1e293b;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.campaign-variable-code[data-v-1968cf00] {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.72rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}
.campaign-variable-action[data-v-1968cf00] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #f1f5f9;
  border-radius: 5px;
  color: #64748b;
  opacity: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.campaign-variable-item:hover .campaign-variable-action[data-v-1968cf00] {
  opacity: 1;
  background: #3b82f6;
  color: #ffffff;
}
.campaign-variable-item--custom:hover .campaign-variable-action[data-v-1968cf00] {
  background: #eab308;
}
.campaign-variables-empty[data-v-1968cf00] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}
.campaign-variables-empty-icon[data-v-1968cf00] {
  color: #cbd5e1;
  margin-bottom: 0.625rem;
  font-size: 28px;
}
.campaign-variables-empty-text[data-v-1968cf00] {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.campaign-variables-footer[data-v-1968cf00] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-radius: 0 0 10px 10px;
  font-size: 0.688rem;
  color: #64748b;
}
.campaign-variables-list[data-v-1968cf00]::-webkit-scrollbar {
  width: 5px;
}
.campaign-variables-list[data-v-1968cf00]::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.campaign-variables-list[data-v-1968cf00]::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.campaign-variables-list[data-v-1968cf00]::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* ===========================================
   RESPONSIVE - MOBILE
   =========================================== */
@media (max-width: 768px) {
.model-message-send-modal[data-v-1968cf00] {
    max-width: 95%;
    max-height: 85vh;
}
.model-message-send-header[data-v-1968cf00] {
    padding: 0.75rem 1rem;
    gap: 0.625rem;
    min-height: 52px;
}
.model-message-send-title h3[data-v-1968cf00] {
    font-size: 0.938rem;
}
.model-message-send-icon[data-v-1968cf00] {
    width: 26px;
    height: 26px;
}
.model-message-send-search[data-v-1968cf00] {
    max-width: 160px;
    min-width: 120px;
}
.model-message-send-search-input[data-v-1968cf00] {
    font-size: 0.75rem;
    height: 30px;
    padding: 0.375rem 1.625rem 0.375rem 1.375rem;
}
.model-message-send-close[data-v-1968cf00] {
    width: 26px;
    height: 26px;
}
.model-message-send-body[data-v-1968cf00] {
    padding: 0.75rem;
}
.model-message-send-th[data-v-1968cf00],
  .model-message-send-td[data-v-1968cf00] {
    padding: 0.5rem 0.625rem;
    font-size: 0.688rem;
}
.model-message-send-step2-body[data-v-1968cf00] {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
}
.step2-preview-column[data-v-1968cf00] {
    position: static;
    max-height: none;
}
.model-message-send-step2-header[data-v-1968cf00] {
    padding: 0.75rem 1rem;
}
.alert-icon[data-v-1968cf00] {
    width: 26px;
    height: 26px;
    font-size: 1rem;
}
.alert-content h4[data-v-1968cf00] {
    font-size: 0.813rem;
}
.alert-content p[data-v-1968cf00] {
    font-size: 0.688rem;
}
.section-title[data-v-1968cf00] {
    font-size: 0.813rem;
}
.media-upload-section[data-v-1968cf00],
  .variables-section[data-v-1968cf00] {
    padding: 0.75rem;
}
}
@media (max-width: 480px) {
.model-message-send-modal[data-v-1968cf00] {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}
.model-message-send-header[data-v-1968cf00] {
    flex-wrap: wrap;
    padding: 0.625rem;
    gap: 0.5rem;
    min-height: auto;
}
.model-message-send-title[data-v-1968cf00] {
    flex: 1;
    min-width: 0;
}
.model-message-send-title h3[data-v-1968cf00] {
    font-size: 0.875rem;
}
.model-message-send-search[data-v-1968cf00] {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    margin: 0;
}
.model-message-send-close[data-v-1968cf00] {
    order: 2;
}
.model-message-send-body[data-v-1968cf00] {
    padding: 0.625rem;
}
.model-message-send-step2-body[data-v-1968cf00] {
    padding: 0.75rem;
    gap: 0.75rem;
}
.model-message-send-step2-footer[data-v-1968cf00] {
    padding: 0.75rem;
    flex-direction: column;
}
.step2-cancel-btn[data-v-1968cf00],
  .step2-send-btn[data-v-1968cf00] {
    width: 100%;
    justify-content: center;
}
.preview-column[data-v-1968cf00] {
    display: none;
}
.campaign-variables-dropdown[data-v-1968cf00] {
    width: 100%;
    right: auto;
    left: 0;
}
}

/* ===========================================
   SCROLLBAR CUSTOMIZADO
   =========================================== */
.model-message-send-body[data-v-1968cf00]::-webkit-scrollbar,
.model-message-send-table-container[data-v-1968cf00]::-webkit-scrollbar,
.step2-form-column[data-v-1968cf00]::-webkit-scrollbar,
.step2-preview-column[data-v-1968cf00]::-webkit-scrollbar {
  width: 5px;
}
.model-message-send-body[data-v-1968cf00]::-webkit-scrollbar-track,
.model-message-send-table-container[data-v-1968cf00]::-webkit-scrollbar-track,
.step2-form-column[data-v-1968cf00]::-webkit-scrollbar-track,
.step2-preview-column[data-v-1968cf00]::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 3px;
}
.model-message-send-body[data-v-1968cf00]::-webkit-scrollbar-thumb,
.model-message-send-table-container[data-v-1968cf00]::-webkit-scrollbar-thumb,
.step2-form-column[data-v-1968cf00]::-webkit-scrollbar-thumb,
.step2-preview-column[data-v-1968cf00]::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.model-message-send-body[data-v-1968cf00]::-webkit-scrollbar-thumb:hover,
.model-message-send-table-container[data-v-1968cf00]::-webkit-scrollbar-thumb:hover,
.step2-form-column[data-v-1968cf00]::-webkit-scrollbar-thumb:hover,
.step2-preview-column[data-v-1968cf00]::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* ===========================================
   AJUSTES FINAIS
   =========================================== */
.name-column[data-v-1968cf00] {
  width: 20%;
  min-width: 120px;
}
.category-column[data-v-1968cf00] {
  width: 15%;
  min-width: 100px;
  text-align: center;
}
.preview-column[data-v-1968cf00] {
  width: 45%;
  min-width: 200px;
}
.language-column[data-v-1968cf00] {
  width: 20%;
  min-width: 120px;
  text-align: center;
}
.variable-input-container[data-v-1968cf00]:focus-within {
  z-index: 999999 !important;
}
