
.fade-table-enter-active[data-v-b72e8459], .fade-table-leave-active[data-v-b72e8459] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-b72e8459], .fade-table-leave-to[data-v-b72e8459] {
  opacity: 0;
}
.margin-x-dashboard[data-v-b72e8459] {
    margin: 0 28px 0 28px;
}
@media(max-width: 1650px) {
.margin-x-dashboard[data-v-b72e8459] {
        margin: 0 70px 0 70px;
}
}
@media(max-width: 1300px) {
.margin-x-dashboard[data-v-b72e8459] {
        margin: 0 20px 0 20px;
}
}
@media(max-width: 1190px) {
.margin-x-dashboard[data-v-b72e8459] {
        margin: 0 10px 0 10px;
}
}
.tickets-section[data-v-b72e8459] {
  padding: 0;
  /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
}

/* Loading State */
.loading-container[data-v-b72e8459] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}
.loading-spinner[data-v-b72e8459] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.spinner[data-v-b72e8459] {
  width: 32px;
  height: 32px;
  border: 3px solid #f1f5f9;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin-b72e8459 1s linear infinite;
}
@keyframes spin-b72e8459 {
0% { transform: rotate(0deg);
}
100% { transform: rotate(360deg);
}
}
.loading-text[data-v-b72e8459] {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

/* Cell Content Styles for ListViewDefault */
.cell-content-flex[data-v-b72e8459] {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.cell-content-flex[data-v-b72e8459] > * {
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
}
.cell-content-flex-center[data-v-b72e8459] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.cell-icon[data-v-b72e8459] {
  color: #64748b;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.text-orange-500[data-v-b72e8459] {
  color: #f97316;
}

/* User Avatar */
.user-avatar[data-v-b72e8459] {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.agent-avatar[data-v-b72e8459] {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* Text Styles */
.primary-text[data-v-b72e8459] {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
}
.secondary-text[data-v-b72e8459] {
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
}
.text-gray-400[data-v-b72e8459] {
  color: #9ca3af;
}

/* Protocol Badge */
.protocol-badge[data-v-b72e8459] {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  /*font-family: 'Monaco', 'Menlo', monospace;*/
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
}
.protocol-badge[data-v-b72e8459]:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* Status Badges */
.status-badge[data-v-b72e8459] {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  flex-shrink: 1;
}
.status-success[data-v-b72e8459] {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.status-warning[data-v-b72e8459] {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.status-danger[data-v-b72e8459] {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.status-primary[data-v-b72e8459] {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.status-secondary[data-v-b72e8459] {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.status-info[data-v-b72e8459] {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

/* Motive Badge */
.motive-badge[data-v-b72e8459] {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.motive-resolved[data-v-b72e8459] {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.motive-unresolved[data-v-b72e8459] {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* Rating Stars */
.rating-stars[data-v-b72e8459] {
  display: flex;
  gap: 2px;
}
.rating-text[data-v-b72e8459] {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Pagination */
.pagination-container[data-v-b72e8459] {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.pagination-component[data-v-b72e8459] {
  padding: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
.loading-container[data-v-b72e8459] {
    padding: 48px 16px;
}
.user-avatar[data-v-b72e8459] {
    width: 28px;
    height: 28px;
}
.agent-avatar[data-v-b72e8459] {
    width: 20px;
    height: 20px;
}
}
/* ===================================
   RESET E BASE
   =================================== */
/* * {
  box-sizing: border-box;
} */
.fade-table-enter-active[data-v-ea70eb64], .fade-table-leave-active[data-v-ea70eb64] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-ea70eb64], .fade-table-leave-to[data-v-ea70eb64] {
  opacity: 0;
}
.dashboard[data-v-ea70eb64] {
  /* max-width: 1400px; */
  padding: 12px;
  min-height: 100vh;
  border-radius: 12px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: dashboard;
}
.help-badge[data-v-ea70eb64] {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  outline: none;
}


/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */
.select-option.disabled[data-v-ea70eb64] {
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}
.header[data-v-ea70eb64] {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}
.header-content[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.header-title[data-v-ea70eb64] {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.025em;
  text-align: left;
}
.dev-overlay[data-v-ea70eb64] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* ou ajuste conforme seu layout */
  width: 100%;
  background: none;
  position: static;
  box-shadow: none;
  z-index: 1;
}
.dev-overlay-content[data-v-ea70eb64] {
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
}










/* ===================================
   FILTROS E CONTROLES
   =================================== */
.header-filters[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}
.filter-group[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.filter-label-container[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.filter-icon[data-v-ea70eb64] {
  width: 1rem;
  height: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.filter-label[data-v-ea70eb64] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ===================================
   SELECT E DROPDOWN STYLES
   =================================== */
.select-display[data-v-ea70eb64] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.select-display[data-v-ea70eb64]:hover {
  border-color: #9ca3af;
}
.select-display[data-v-ea70eb64]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.select-text[data-v-ea70eb64] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.select-arrow[data-v-ea70eb64] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select-arrow.rotated[data-v-ea70eb64] {
  transform: rotate(180deg);
}
.select-dropdown[data-v-ea70eb64] {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
}
.select-option[data-v-ea70eb64] {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}
.select-option[data-v-ea70eb64]:last-child {
  border-bottom: none;
}
.select-option[data-v-ea70eb64]:hover {
  background: #f9fafb;
}
.select-option.selected[data-v-ea70eb64] {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}
.select-option.selected[data-v-ea70eb64]:hover {
  background: #dbeafe;
}
.option-text[data-v-ea70eb64] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.dropdown-overlay[data-v-ea70eb64] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

/* ===================================
   DATE PICKER STYLES
   =================================== */
.date-picker-group[data-v-ea70eb64] {
  position: relative;
  overflow: visible;
}
.date-picker-container[data-v-ea70eb64] {
  position: relative;
  overflow: visible;
  width: 100%;
}
.date-picker-button[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #374151;
}
.date-picker-button[data-v-ea70eb64]:hover {
  border-color: #9ca3af;
}
.date-picker-button[data-v-ea70eb64]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.calendar-icon[data-v-ea70eb64] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.date-picker-popover[data-v-ea70eb64] {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9999;
  margin-top: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 600px;
  max-width: 90vw;
}
.date-picker-content[data-v-ea70eb64] {
  padding: 1rem;
}
.calendars-container[data-v-ea70eb64] {
  display: flex;
  gap: 1rem;
}
.calendar[data-v-ea70eb64] {
  flex: 1;
}
.calendar-header[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.month-title[data-v-ea70eb64] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  text-transform: capitalize;
}
.nav-button[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-button[data-v-ea70eb64]:hover {
  background: #f3f4f6;
}
.nav-icon[data-v-ea70eb64] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.nav-spacer[data-v-ea70eb64] {
  width: 2rem;
}
.calendar-grid[data-v-ea70eb64] {
  width: 100%;
}
.weekdays[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.weekday[data-v-ea70eb64] {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
}
.days[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.day-button[data-v-ea70eb64] {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-button[data-v-ea70eb64]:not(.empty):hover {
  background: #f3f4f6;
}
.day-button.selected[data-v-ea70eb64] {
  background: #3b82f6;
  color: white;
}
.day-button.in-range[data-v-ea70eb64] {
  background: #dbeafe;
  color: #1e40af;
}
.day-button.empty[data-v-ea70eb64] {
  cursor: default;
}
.day-button[data-v-ea70eb64]:disabled {
  cursor: default;
  opacity: 0.3;
}
.date-picker-footer[data-v-ea70eb64] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.cancel-button[data-v-ea70eb64], .apply-button[data-v-ea70eb64] {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.cancel-button[data-v-ea70eb64] {
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}
.cancel-button[data-v-ea70eb64]:hover {
  background: #f9fafb;
}
.apply-button[data-v-ea70eb64] {
  border: 1px solid #3b82f6;
  background: #3b82f6;
  color: white;
}
.apply-button[data-v-ea70eb64]:hover {
  background: #2563eb;
}
/* ===================================
   HELPER TOOLTIP
   =================================== */
/* Hide help badge by default; show when hovering the card */
.help-badge[data-v-ea70eb64] {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  cursor: help;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;

  /* start hidden */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
}
.metric-card:hover .help-badge[data-v-ea70eb64] {
  /* show when hovering the entire card */
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.help-badge[data-v-ea70eb64]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  color: #475569;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.help-badge[data-v-ea70eb64]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* keep tooltip styles (unchanged) */
.help-tooltip[data-v-ea70eb64] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  background: #ffffff;
  color: #374151;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 15px -3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}
.help-badge:hover .help-tooltip[data-v-ea70eb64],
.help-badge:focus .help-tooltip[data-v-ea70eb64] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===================================
   MÉTRICAS E CARDS
   =================================== */
.metrics-grid[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.metric-card[data-v-ea70eb64] {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  overflow: visible;
  min-width: 0;
}
.metric-card[data-v-ea70eb64]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.metric-header[data-v-ea70eb64] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.metric-title[data-v-ea70eb64] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.metric-icon[data-v-ea70eb64] {
  width: 1rem;
  height: 1rem;
  color: #64748b;
}
.metric-value[data-v-ea70eb64] {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.metric-description[data-v-ea70eb64] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}
.metric-trend[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metric-trend.positive .trend-text[data-v-ea70eb64] {
  color: #059669;
}
.metric-trend.negative .trend-text[data-v-ea70eb64] {
  color: #dc2626;
}
.trend-icon[data-v-ea70eb64] {
  width: 0.75rem;
  height: 0.75rem;
}
.metric-trend.positive .trend-icon[data-v-ea70eb64] {
  color: #059669;
}
.metric-trend.negative .trend-icon[data-v-ea70eb64] {
  color: #dc2626;
  transform: rotate(180deg);
}
.trend-text[data-v-ea70eb64] {
  font-size: 0.75rem;
  font-weight: 500;
}
.metric-badge .badge[data-v-ea70eb64] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.rating-container[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stars[data-v-ea70eb64] {
  display: flex;
}
.star-wrapper[data-v-ea70eb64] {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.star-icon[data-v-ea70eb64] {
  width: 0.75rem;
  height: 0.75rem;
  color: #d1d5db;
}

/* Overlay amarelo sobreposto à estrela cinza base */
.star-icon-overlay[data-v-ea70eb64] {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbf24;
  fill: #fbbf24;
}
.star-icon.filled[data-v-ea70eb64] {
  color: #fbbf24;
  fill: #fbbf24;
}

/* Meia estrela: corta a metade direita do overlay, mostrando a cinza de baixo */
.star-icon.half-filled[data-v-ea70eb64] {
  clip-path: inset(0 50% 0 0);
}
.rating-count[data-v-ea70eb64] {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   GRÁFICOS - LAYOUT GERAL
   =================================== */
.charts-grid[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.chart-messages[data-v-ea70eb64] {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.chart-card[data-v-ea70eb64] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  min-width: 0;
  overflow: hidden;
}
.chart-header[data-v-ea70eb64] {
  margin-bottom: 1.25rem;
}
.chart-title[data-v-ea70eb64] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title-icon[data-v-ea70eb64] {
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}
.chart-description[data-v-ea70eb64] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.chart-content[data-v-ea70eb64] {
  position: relative;
}
.chart-canvas[data-v-ea70eb64] {
  height: 300px !important;
}
/* ===================================
   GRÁFICO DE MENSAGENS - CANVAS META STYLE
   =================================== */
.chart-header-meta[data-v-ea70eb64] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e6ea;
}
.chart-title-section[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-title-meta[data-v-ea70eb64] {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title-icon[data-v-ea70eb64] {
  width: 16px;
  height: 16px;
  color: #65676b;
}
.chart-subtitle[data-v-ea70eb64] {
  font-size: 12px;
  color: #65676b;
  margin: 0;
  font-weight: 400;
}
.total-display[data-v-ea70eb64] {
  font-size: 32px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1;
}
.chart-header-stylish[data-v-ea70eb64] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdfdfe 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.chart-header-stylish[data-v-ea70eb64]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.chart-identity[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chart-badge[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.07), 0 1.5px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: box-shadow 0.2s;
}
.chart-badge[data-v-ea70eb64]::before {
  display: none;
}
.badge-icon[data-v-ea70eb64] {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  filter: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.chart-meta[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chart-title-stylish[data-v-ea70eb64] {
  font-size: 17px;
  font-weight: 650;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chart-period-tag[data-v-ea70eb64] {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.metric-highlight[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.metric-label[data-v-ea70eb64] {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.metric-value-stylish[data-v-ea70eb64] {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 0.9;
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  letter-spacing: -0.03em;
}
.chart-legend-mini[data-v-ea70eb64] {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.legend-item-mini[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot[data-v-ea70eb64] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text[data-v-ea70eb64] {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 768px) {
.chart-legend-mini[data-v-ea70eb64] {
    gap: 8px;
}
.legend-text[data-v-ea70eb64] {
    font-size: 8px;
}
.legend-dot[data-v-ea70eb64] {
    width: 5px;
    height: 5px;
}
}
@media (max-width: 480px) {
.chart-legend-mini[data-v-ea70eb64] {
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
}
/* Responsividade refinada */
@media (max-width: 768px) {
.chart-header-stylish[data-v-ea70eb64] {
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 14px;
}
.chart-badge[data-v-ea70eb64] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.chart-badge[data-v-ea70eb64]::before {
    border-radius: 9px;
}
.badge-icon[data-v-ea70eb64] {
    width: 17px;
    height: 17px;
}
.chart-title-stylish[data-v-ea70eb64] {
    font-size: 15px;
    font-weight: 600;
}
.chart-period-tag[data-v-ea70eb64] {
    font-size: 9px;
}
.metric-value-stylish[data-v-ea70eb64] {
    font-size: 26px;
}
.chart-identity[data-v-ea70eb64] {
    gap: 12px;
}
}
@media (max-width: 480px) {
.chart-header-stylish[data-v-ea70eb64] {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
}
.metric-highlight[data-v-ea70eb64] {
    align-items: flex-start;
    width: 100%;
}
.metric-value-stylish[data-v-ea70eb64] {
    font-size: 25px;
    font-weight: 900;
}
.metric-label[data-v-ea70eb64] {
    font-size: 8px;
}
.chart-title-stylish[data-v-ea70eb64] {
    font-size: 16px;
}
}


/* Canvas Chart Container */
.canvas-chart-container[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.messages-canvas[data-v-ea70eb64] {
  width: 100%;
  height: 420px; /* Increased height */
  border-radius: 4px;
  cursor: default;
}

/* Canvas Tooltip Styles - Positioned closer to bars */
.canvas-tooltip[data-v-ea70eb64] {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  min-width: 140px;
 transform: translateX(12px);
}
.tooltip-content[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tooltip-date[data-v-ea70eb64] {
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  text-align: center;
}
.tooltip-values[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tooltip-item[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tooltip-color[data-v-ea70eb64] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip-item.received .tooltip-color[data-v-ea70eb64] {
  background-color: #1877f2;
}
.tooltip-item.sent .tooltip-color[data-v-ea70eb64] {
  background-color: #42a5f5;
}

/* Chart Legend */
.chart-legend[data-v-ea70eb64] {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid #e4e6ea;
}
.legend-item[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-color[data-v-ea70eb64] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.received-color[data-v-ea70eb64] {
  background-color: #1877f2;
}
.sent-color[data-v-ea70eb64] {
  background-color: #42a5f5;
}
.legend-label[data-v-ea70eb64] {
  font-size: 14px;
  color: #1c1e21;
  font-weight: 500;
}
.legend-percentage[data-v-ea70eb64] {
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
}

/* ===================================
   ESTATÍSTICAS DAS MENSAGENS
   =================================== */
.messages-stats[data-v-ea70eb64] {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.total-messages[data-v-ea70eb64] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.total-label[data-v-ea70eb64] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.total-value[data-v-ea70eb64] {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.messages-breakdown[data-v-ea70eb64] {
  display: flex;
  gap: 1.5rem;
}
.message-stat[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-indicator[data-v-ea70eb64] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.message-stat.received .stat-indicator[data-v-ea70eb64] {
  background: #3b82f6;
}
.message-stat.sent .stat-indicator[data-v-ea70eb64] {
  background: #10b981;
}
.stat-label[data-v-ea70eb64] {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-value[data-v-ea70eb64] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* ===================================
   RESPONSIVIDADE PARA CANVAS
   =================================== */
@media (max-width: 768px) {
.chart-header-meta[data-v-ea70eb64] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-ea70eb64] {
    font-size: 28px;
}
.messages-canvas[data-v-ea70eb64] {
    height: 350px; /* Reduced height for mobile */
}
.chart-legend[data-v-ea70eb64] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.canvas-tooltip[data-v-ea70eb64] {
    font-size: 11px;
    padding: 10px 12px;
    max-width: 160px;
}
}
@media (max-width: 480px) {
.total-display[data-v-ea70eb64] {
    font-size: 24px;
}
.chart-title-meta[data-v-ea70eb64] {
    font-size: 14px;
}
.chart-subtitle[data-v-ea70eb64] {
    font-size: 11px;
}
.messages-canvas[data-v-ea70eb64] {
    height: 300px; /* Further reduced for small screens */
}
.canvas-tooltip[data-v-ea70eb64] {
    font-size: 10px;
    padding: 8px 10px;
    max-width: 140px;
}
.tooltip-date[data-v-ea70eb64] {
    font-size: 11px;
}
.tooltip-item[data-v-ea70eb64] {
    font-size: 10px;
}
}
/* ===================================
   GRÁFICO DE DISCRIMINAÇÃO MODERNO
   =================================== */
.chart-header-modern[data-v-ea70eb64] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.chart-title-modern[data-v-ea70eb64] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
}
.chart-period[data-v-ea70eb64] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
.chart-stats-inline[data-v-ea70eb64] {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-pill[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.stat-pill.empresa[data-v-ea70eb64] {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.stat-pill.cliente[data-v-ea70eb64] {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.stat-pill.novos-contatos[data-v-ea70eb64] {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.stat-dot[data-v-ea70eb64] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-pill.empresa .stat-dot[data-v-ea70eb64] {
  background: #6366f1;
}
.stat-pill.cliente .stat-dot[data-v-ea70eb64] {
  background: #10b981;
}
.stat-pill.novos-contatos .stat-dot[data-v-ea70eb64] {
  background: #f59e0b;
}
.stat-text[data-v-ea70eb64] {
  white-space: nowrap;
}
.chart-content-modern[data-v-ea70eb64] {
  position: relative;
  height: 405px;
  padding: 0 0.5rem;
}
.chart-canvas-modern[data-v-ea70eb64] {
  height: 100% !important;
  width: 100% !important;
}

/* ===================================
   STATUS CARDS
   =================================== */
.status-update-bar[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1.5rem 0;
  justify-content: flex-end;
}
.status-update-icon[data-v-ea70eb64] {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}
.status-update-icon.animate-spin[data-v-ea70eb64] {
  animation: spin-ea70eb64 1s linear infinite;
}
@keyframes spin-ea70eb64 {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}
.status-update-text[data-v-ea70eb64] {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.status-grid[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.status-card[data-v-ea70eb64] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
}
.status-card[data-v-ea70eb64]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.status-header[data-v-ea70eb64] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.status-title[data-v-ea70eb64] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.status-icon[data-v-ea70eb64] {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.status-value[data-v-ea70eb64] {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
/* Borda com cores correspondentes */
.status-card.success[data-v-ea70eb64] {
  border-left-color: #10b981;
}
.status-card.warning[data-v-ea70eb64] {
  border-left-color: #f59e0b;
}
.status-card.neutral[data-v-ea70eb64] {
  border-left-color: #b71c1c;
}
.status-card.info[data-v-ea70eb64] {
  border-left-color: #3b82f6;
}
.status-card.active[data-v-ea70eb64] {
  border-left-color: #374151;
}
.status-card.success .status-value[data-v-ea70eb64] {
  color: #059669;
}
.status-card.success .status-icon[data-v-ea70eb64] {
  color: #10b981;
}
.status-card.active .status-value[data-v-ea70eb64] {
  color: #374151;
}
.status-card.active .status-icon[data-v-ea70eb64] {
  color: #4b5563;
}
.status-card.warning .status-value[data-v-ea70eb64] {
  color: #d97706;
}
.status-card.warning .status-icon[data-v-ea70eb64] {
  color: #f59e0b;
}
.status-card.neutral .status-value[data-v-ea70eb64] {
  color: #c04141;
}
.status-card.neutral .status-icon[data-v-ea70eb64] {
  color: #b71c1c;
}
.status-card.info .status-value[data-v-ea70eb64] {
  color: #2563eb;
}
.status-card.info .status-icon[data-v-ea70eb64] {
  color: #3b82f6;
}
.status-description[data-v-ea70eb64] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   RESPONSIVIDADE POR CONTAINER
   Reage ao espaço real do .dashboard
   (sidebar aberta/fechada), não à viewport.
   Deve vir DEPOIS das definições base de
   .metrics-grid e .status-grid para sobrescrever
   corretamente grid-template-columns/padding.
   =================================== */

/* Faixa folgada: 5 cols com padding/gap reduzidos */
@container dashboard (max-width: 1100px) {
.metrics-grid[data-v-ea70eb64],
  .status-grid[data-v-ea70eb64] {
    gap: 0.75rem;
    padding: 1rem;
}
.metrics-grid .metric-card[data-v-ea70eb64],
  .status-grid .status-card[data-v-ea70eb64] {
    padding: 1rem;
}
.metric-value[data-v-ea70eb64],
  .status-value[data-v-ea70eb64] {
    font-size: 1.5rem;
}
}

/* Faixa crítica: laptop 1024px + sidebar aberta → 3 + 2 */
@container dashboard (max-width: 820px) {
.metrics-grid[data-v-ea70eb64],
  .status-grid[data-v-ea70eb64] {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.875rem;
}
.metrics-grid .metric-card[data-v-ea70eb64],
  .status-grid .status-card[data-v-ea70eb64] {
    padding: 0.875rem;
}
.metric-value[data-v-ea70eb64],
  .status-value[data-v-ea70eb64] {
    font-size: 1.375rem;
}
.metric-description[data-v-ea70eb64],
  .status-description[data-v-ea70eb64] {
    font-size: 0.7rem;
}
}

/* Container estreito: 2 colunas */
@container dashboard (max-width: 560px) {
.metrics-grid[data-v-ea70eb64],
  .status-grid[data-v-ea70eb64] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}
}

/* Container muito estreito: coluna única */
@container dashboard (max-width: 400px) {
.metrics-grid[data-v-ea70eb64],
  .status-grid[data-v-ea70eb64] {
    grid-template-columns: 1fr;
}
}

/* ===================================
   GRÁFICOS ADICIONAIS
   =================================== */
.additional-charts[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===================================
   SEÇÃO DE AGENTES
   =================================== */
.agents-section[data-v-ea70eb64] {
  padding: 1.5rem;
}
.agents-card[data-v-ea70eb64] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.agents-header[data-v-ea70eb64] {
  margin-bottom: 1.25rem;
}
.agents-title[data-v-ea70eb64] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.agents-description[data-v-ea70eb64] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agents-grid[data-v-ea70eb64] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.agent-item[data-v-ea70eb64] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.agent-item[data-v-ea70eb64]:hover {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.agent-info[data-v-ea70eb64] {
  display: flex;
  flex-direction: column;
}
.agent-name[data-v-ea70eb64] {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}
.agent-team[data-v-ea70eb64] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agent-status[data-v-ea70eb64] {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-status.online[data-v-ea70eb64] {
  background: #dcfce7;
  color: #166534;
}
.agent-status.busy[data-v-ea70eb64] {
  background: #fef3c7;
  color: #92400e;
}
.agent-status.offline[data-v-ea70eb64] {
  background: #fee2e2;
  color: #991b1b;
}

/* ===================================
   EFEITOS HOVER
   =================================== */
.stat-pill[data-v-ea70eb64]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-pill.empresa[data-v-ea70eb64]:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.stat-pill.cliente[data-v-ea70eb64]:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.stat-pill.novos-contatos[data-v-ea70eb64]:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}
/* ===================================
   LOADING
   =================================== */
.metric-loading-overlay[data-v-ea70eb64] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.metric-loading[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.2rem;
  color: #888;
  position: relative;
}
.metric-loading[data-v-ea70eb64]::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: metric-spin-ea70eb64 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes metric-spin-ea70eb64 {
to {
    transform: rotate(360deg);
}
}
/* ===================================
   Title de REAL TIME SECTION
   =================================== */
.real-time-header[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
 padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}
.real-time-title[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #22223b;
  margin: 0;
}
.real-time-icon[data-v-ea70eb64]{
  font-size: 1.8rem;
}
.reports-button[data-v-ea70eb64] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.reports-button[data-v-ea70eb64]:hover {
  background: #f3f4f6;
  text-decoration: none;
}
/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Nota: regras de .metrics-grid / .status-grid foram movidas para
   @container dashboard (ver seção "RESPONSIVIDADE POR CONTAINER" acima),
   para que os grids reajam ao espaço real (após sidebar), não à viewport. */
@media (max-width: 1024px) {
.header-filters[data-v-ea70eb64] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.charts-grid[data-v-ea70eb64] {
    grid-template-columns: 1fr;
}
.chart-header-modern[data-v-ea70eb64] {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.chart-stats-inline[data-v-ea70eb64] {
    justify-content: center;
    flex-wrap: wrap;
}
.chart-content-modern[data-v-ea70eb64] {
    height: 320px;
}
.messages-breakdown[data-v-ea70eb64] {
    flex-direction: column;
    gap: 0.75rem;
}
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
.dashboard[data-v-ea70eb64] {
    padding: 8px;
}
.header[data-v-ea70eb64] {
    padding: 1.5rem 1rem;
}
.header-filters[data-v-ea70eb64] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.charts-grid[data-v-ea70eb64] {
    padding: 1rem;
    gap: 0.75rem;
}
.additional-charts[data-v-ea70eb64] {
    padding: 1rem;
}
.date-picker-popover[data-v-ea70eb64] {
    min-width: 320px;
    right: -50px;
    max-width: calc(100vw - 2rem);
}
.calendars-container[data-v-ea70eb64] {
    flex-direction: column;
}
.messages-stats[data-v-ea70eb64] {
    padding: 0.75rem;
}
.total-messages[data-v-ea70eb64] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.chart-header-meta[data-v-ea70eb64] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-ea70eb64] {
    font-size: 28px;
}
.chart-bars-vertical[data-v-ea70eb64] {
    height: 240px;
}
.bars-area[data-v-ea70eb64] {
    height: 200px;
}
.y-axis-labels[data-v-ea70eb64] {
    height: 200px;
}
.bar-vertical[data-v-ea70eb64] {
    width: 20px;
}
.chart-legend[data-v-ea70eb64] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.real-time-header[data-v-ea70eb64] {
    padding: 1.5rem 1rem 1rem 1rem;
}
.real-time-title[data-v-ea70eb64] {
    font-size: 1rem;
}
.reports-button[data-v-ea70eb64] {
    font-size: 1rem;
}
}

/* --- Mobile --- */
@media (max-width: 480px) {
.dashboard[data-v-ea70eb64] {
    padding: 4px;
    font-size: 0.875rem;
}
.header[data-v-ea70eb64] {
    padding: 1rem 0.75rem;
}
.header-filters[data-v-ea70eb64] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.charts-grid[data-v-ea70eb64] {
    padding: 0.5rem;
}
.additional-charts[data-v-ea70eb64] {
    padding: 0.5rem;
}
.chart-card[data-v-ea70eb64], .agents-card[data-v-ea70eb64] {
    padding: 0.75rem;
}
.chart-canvas[data-v-ea70eb64] {
    height: 250px !important;
}
.stat-pill[data-v-ea70eb64] {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}
.chart-title-modern[data-v-ea70eb64] {
    font-size: 1rem;
}
.date-picker-popover[data-v-ea70eb64] {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
}
.messages-stats[data-v-ea70eb64] {
    padding: 0.5rem;
}
.total-value[data-v-ea70eb64] {
    font-size: 1.125rem;
}
.stat-value[data-v-ea70eb64] {
    font-size: 0.8rem;
}
.total-display[data-v-ea70eb64] {
    font-size: 24px;
}
.chart-title-meta[data-v-ea70eb64] {
    font-size: 14px;
}
.chart-subtitle[data-v-ea70eb64] {
    font-size: 11px;
}
.chart-bars-vertical[data-v-ea70eb64] {
    height: 200px;
    gap: 8px;
}
.bars-area[data-v-ea70eb64] {
    height: 160px;
}
.y-axis-labels[data-v-ea70eb64] {
    height: 160px;
    width: 40px;
}
.bar-vertical[data-v-ea70eb64] {
    width: 16px;
}
.bars-wrapper[data-v-ea70eb64] {
    gap: 2px;
}
.real-time-header[data-v-ea70eb64] {
    padding: 1.25rem 0.75rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
/* ===================================
   RESET E BASE
   =================================== */
/* * {
  box-sizing: border-box;
} */
.fade-table-enter-active[data-v-4daded4c], .fade-table-leave-active[data-v-4daded4c] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-4daded4c], .fade-table-leave-to[data-v-4daded4c] {
  opacity: 0;
}
.dashboard[data-v-4daded4c] {
  /* max-width: 1400px; */
  padding: 12px;
  min-height: 100vh;
  border-radius: 12px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: dashboard;
}
.help-badge[data-v-4daded4c] {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  outline: none;
}


/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */
.select-option.disabled[data-v-4daded4c] {
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}
.header[data-v-4daded4c] {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}
.header-content[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.header-title[data-v-4daded4c] {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.025em;
  text-align: left;
}
.dev-overlay[data-v-4daded4c] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* ou ajuste conforme seu layout */
  width: 100%;
  background: none;
  position: static;
  box-shadow: none;
  z-index: 1;
}
.dev-overlay-content[data-v-4daded4c] {
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
}










/* ===================================
   FILTROS E CONTROLES
   =================================== */
.header-filters[data-v-4daded4c] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}
.filter-group[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.filter-label-container[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.filter-icon[data-v-4daded4c] {
  width: 1rem;
  height: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.filter-label[data-v-4daded4c] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ===================================
   SELECT E DROPDOWN STYLES
   =================================== */
.select-display[data-v-4daded4c] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.select-display[data-v-4daded4c]:hover {
  border-color: #9ca3af;
}
.select-display[data-v-4daded4c]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.select-text[data-v-4daded4c] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.select-arrow[data-v-4daded4c] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select-arrow.rotated[data-v-4daded4c] {
  transform: rotate(180deg);
}
.select-dropdown[data-v-4daded4c] {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
}
.select-option[data-v-4daded4c] {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}
.select-option[data-v-4daded4c]:last-child {
  border-bottom: none;
}
.select-option[data-v-4daded4c]:hover {
  background: #f9fafb;
}
.select-option.selected[data-v-4daded4c] {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}
.select-option.selected[data-v-4daded4c]:hover {
  background: #dbeafe;
}
.option-text[data-v-4daded4c] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.dropdown-overlay[data-v-4daded4c] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

/* ===================================
   DATE PICKER STYLES
   =================================== */
.date-picker-group[data-v-4daded4c] {
  position: relative;
  overflow: visible;
}
.date-picker-container[data-v-4daded4c] {
  position: relative;
  overflow: visible;
  width: 100%;
}
.date-picker-button[data-v-4daded4c] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #374151;
}
.date-picker-button[data-v-4daded4c]:hover {
  border-color: #9ca3af;
}
.date-picker-button[data-v-4daded4c]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.calendar-icon[data-v-4daded4c] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.date-picker-popover[data-v-4daded4c] {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9999;
  margin-top: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 600px;
  max-width: 90vw;
}
.date-picker-content[data-v-4daded4c] {
  padding: 1rem;
}
.calendars-container[data-v-4daded4c] {
  display: flex;
  gap: 1rem;
}
.calendar[data-v-4daded4c] {
  flex: 1;
}
.calendar-header[data-v-4daded4c] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.month-title[data-v-4daded4c] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  text-transform: capitalize;
}
.nav-button[data-v-4daded4c] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-button[data-v-4daded4c]:hover {
  background: #f3f4f6;
}
.nav-icon[data-v-4daded4c] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.nav-spacer[data-v-4daded4c] {
  width: 2rem;
}
.calendar-grid[data-v-4daded4c] {
  width: 100%;
}
.weekdays[data-v-4daded4c] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.weekday[data-v-4daded4c] {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
}
.days[data-v-4daded4c] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.day-button[data-v-4daded4c] {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-button[data-v-4daded4c]:not(.empty):hover {
  background: #f3f4f6;
}
.day-button.selected[data-v-4daded4c] {
  background: #3b82f6;
  color: white;
}
.day-button.in-range[data-v-4daded4c] {
  background: #dbeafe;
  color: #1e40af;
}
.day-button.empty[data-v-4daded4c] {
  cursor: default;
}
.day-button[data-v-4daded4c]:disabled {
  cursor: default;
  opacity: 0.3;
}
.date-picker-footer[data-v-4daded4c] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.cancel-button[data-v-4daded4c], .apply-button[data-v-4daded4c] {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.cancel-button[data-v-4daded4c] {
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}
.cancel-button[data-v-4daded4c]:hover {
  background: #f9fafb;
}
.apply-button[data-v-4daded4c] {
  border: 1px solid #3b82f6;
  background: #3b82f6;
  color: white;
}
.apply-button[data-v-4daded4c]:hover {
  background: #2563eb;
}
/* ===================================
   HELPER TOOLTIP
   =================================== */
/* Hide help badge by default; show when hovering the card */
.help-badge[data-v-4daded4c] {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  cursor: help;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;

  /* start hidden */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
}
.metric-card:hover .help-badge[data-v-4daded4c] {
  /* show when hovering the entire card */
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.help-badge[data-v-4daded4c]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  color: #475569;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.help-badge[data-v-4daded4c]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* keep tooltip styles (unchanged) */
.help-tooltip[data-v-4daded4c] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  background: #ffffff;
  color: #374151;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 15px -3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}
.help-badge:hover .help-tooltip[data-v-4daded4c],
.help-badge:focus .help-tooltip[data-v-4daded4c] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===================================
   MÉTRICAS E CARDS
   =================================== */
.metrics-grid[data-v-4daded4c] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.metric-card[data-v-4daded4c] {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  overflow: visible;
  min-width: 0;
}
.metric-card[data-v-4daded4c]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.metric-header[data-v-4daded4c] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.metric-title[data-v-4daded4c] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.metric-icon[data-v-4daded4c] {
  width: 1rem;
  height: 1rem;
  color: #64748b;
}
.metric-value[data-v-4daded4c] {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.metric-description[data-v-4daded4c] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}
.metric-trend[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metric-trend.positive .trend-text[data-v-4daded4c] {
  color: #059669;
}
.metric-trend.negative .trend-text[data-v-4daded4c] {
  color: #dc2626;
}
.trend-icon[data-v-4daded4c] {
  width: 0.75rem;
  height: 0.75rem;
}
.metric-trend.positive .trend-icon[data-v-4daded4c] {
  color: #059669;
}
.metric-trend.negative .trend-icon[data-v-4daded4c] {
  color: #dc2626;
  transform: rotate(180deg);
}
.trend-text[data-v-4daded4c] {
  font-size: 0.75rem;
  font-weight: 500;
}
.metric-badge .badge[data-v-4daded4c] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.rating-container[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stars[data-v-4daded4c] {
  display: flex;
}
.star-wrapper[data-v-4daded4c] {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.star-icon[data-v-4daded4c] {
  width: 0.75rem;
  height: 0.75rem;
  color: #d1d5db;
}

/* Overlay amarelo sobreposto à estrela cinza base */
.star-icon-overlay[data-v-4daded4c] {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbf24;
  fill: #fbbf24;
}
.star-icon.filled[data-v-4daded4c] {
  color: #fbbf24;
  fill: #fbbf24;
}

/* Meia estrela: corta a metade direita do overlay, mostrando a cinza de baixo */
.star-icon.half-filled[data-v-4daded4c] {
  clip-path: inset(0 50% 0 0);
}
.rating-count[data-v-4daded4c] {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   GRÁFICOS - LAYOUT GERAL
   =================================== */
.charts-grid[data-v-4daded4c] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.chart-messages[data-v-4daded4c] {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.chart-card[data-v-4daded4c] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  min-width: 0;
  overflow: hidden;
}
.chart-header[data-v-4daded4c] {
  margin-bottom: 1.25rem;
}
.chart-title[data-v-4daded4c] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title-icon[data-v-4daded4c] {
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}
.chart-description[data-v-4daded4c] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.chart-content[data-v-4daded4c] {
  position: relative;
}
.chart-canvas[data-v-4daded4c] {
  height: 300px !important;
}
/* ===================================
   GRÁFICO DE MENSAGENS - CANVAS META STYLE
   =================================== */
.chart-header-meta[data-v-4daded4c] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e6ea;
}
.chart-title-section[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-title-meta[data-v-4daded4c] {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title-icon[data-v-4daded4c] {
  width: 16px;
  height: 16px;
  color: #65676b;
}
.chart-subtitle[data-v-4daded4c] {
  font-size: 12px;
  color: #65676b;
  margin: 0;
  font-weight: 400;
}
.total-display[data-v-4daded4c] {
  font-size: 32px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1;
}
.chart-header-stylish[data-v-4daded4c] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdfdfe 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.chart-header-stylish[data-v-4daded4c]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.chart-identity[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chart-badge[data-v-4daded4c] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.07), 0 1.5px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: box-shadow 0.2s;
}
.chart-badge[data-v-4daded4c]::before {
  display: none;
}
.badge-icon[data-v-4daded4c] {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  filter: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.chart-meta[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chart-title-stylish[data-v-4daded4c] {
  font-size: 17px;
  font-weight: 650;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chart-period-tag[data-v-4daded4c] {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.metric-highlight[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.metric-label[data-v-4daded4c] {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.metric-value-stylish[data-v-4daded4c] {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 0.9;
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  letter-spacing: -0.03em;
}
.chart-legend-mini[data-v-4daded4c] {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.legend-item-mini[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot[data-v-4daded4c] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text[data-v-4daded4c] {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 768px) {
.chart-legend-mini[data-v-4daded4c] {
    gap: 8px;
}
.legend-text[data-v-4daded4c] {
    font-size: 8px;
}
.legend-dot[data-v-4daded4c] {
    width: 5px;
    height: 5px;
}
}
@media (max-width: 480px) {
.chart-legend-mini[data-v-4daded4c] {
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
}
/* Responsividade refinada */
@media (max-width: 768px) {
.chart-header-stylish[data-v-4daded4c] {
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 14px;
}
.chart-badge[data-v-4daded4c] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.chart-badge[data-v-4daded4c]::before {
    border-radius: 9px;
}
.badge-icon[data-v-4daded4c] {
    width: 17px;
    height: 17px;
}
.chart-title-stylish[data-v-4daded4c] {
    font-size: 15px;
    font-weight: 600;
}
.chart-period-tag[data-v-4daded4c] {
    font-size: 9px;
}
.metric-value-stylish[data-v-4daded4c] {
    font-size: 26px;
}
.chart-identity[data-v-4daded4c] {
    gap: 12px;
}
}
@media (max-width: 480px) {
.chart-header-stylish[data-v-4daded4c] {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
}
.metric-highlight[data-v-4daded4c] {
    align-items: flex-start;
    width: 100%;
}
.metric-value-stylish[data-v-4daded4c] {
    font-size: 25px;
    font-weight: 900;
}
.metric-label[data-v-4daded4c] {
    font-size: 8px;
}
.chart-title-stylish[data-v-4daded4c] {
    font-size: 16px;
}
}


/* Canvas Chart Container */
.canvas-chart-container[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.messages-canvas[data-v-4daded4c] {
  width: 100%;
  height: 420px; /* Increased height */
  border-radius: 4px;
  cursor: default;
}

/* Canvas Tooltip Styles - Positioned closer to bars */
.canvas-tooltip[data-v-4daded4c] {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  min-width: 140px;
 transform: translateX(12px);
}
.tooltip-content[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tooltip-date[data-v-4daded4c] {
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  text-align: center;
}
.tooltip-values[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tooltip-item[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tooltip-color[data-v-4daded4c] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip-item.received .tooltip-color[data-v-4daded4c] {
  background-color: #1877f2;
}
.tooltip-item.sent .tooltip-color[data-v-4daded4c] {
  background-color: #42a5f5;
}

/* Chart Legend */
.chart-legend[data-v-4daded4c] {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid #e4e6ea;
}
.legend-item[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-color[data-v-4daded4c] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.received-color[data-v-4daded4c] {
  background-color: #1877f2;
}
.sent-color[data-v-4daded4c] {
  background-color: #42a5f5;
}
.legend-label[data-v-4daded4c] {
  font-size: 14px;
  color: #1c1e21;
  font-weight: 500;
}
.legend-percentage[data-v-4daded4c] {
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
}

/* ===================================
   ESTATÍSTICAS DAS MENSAGENS
   =================================== */
.messages-stats[data-v-4daded4c] {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.total-messages[data-v-4daded4c] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.total-label[data-v-4daded4c] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.total-value[data-v-4daded4c] {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.messages-breakdown[data-v-4daded4c] {
  display: flex;
  gap: 1.5rem;
}
.message-stat[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-indicator[data-v-4daded4c] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.message-stat.received .stat-indicator[data-v-4daded4c] {
  background: #3b82f6;
}
.message-stat.sent .stat-indicator[data-v-4daded4c] {
  background: #10b981;
}
.stat-label[data-v-4daded4c] {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-value[data-v-4daded4c] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* ===================================
   RESPONSIVIDADE PARA CANVAS
   =================================== */
@media (max-width: 768px) {
.chart-header-meta[data-v-4daded4c] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-4daded4c] {
    font-size: 28px;
}
.messages-canvas[data-v-4daded4c] {
    height: 350px; /* Reduced height for mobile */
}
.chart-legend[data-v-4daded4c] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.canvas-tooltip[data-v-4daded4c] {
    font-size: 11px;
    padding: 10px 12px;
    max-width: 160px;
}
}
@media (max-width: 480px) {
.total-display[data-v-4daded4c] {
    font-size: 24px;
}
.chart-title-meta[data-v-4daded4c] {
    font-size: 14px;
}
.chart-subtitle[data-v-4daded4c] {
    font-size: 11px;
}
.messages-canvas[data-v-4daded4c] {
    height: 300px; /* Further reduced for small screens */
}
.canvas-tooltip[data-v-4daded4c] {
    font-size: 10px;
    padding: 8px 10px;
    max-width: 140px;
}
.tooltip-date[data-v-4daded4c] {
    font-size: 11px;
}
.tooltip-item[data-v-4daded4c] {
    font-size: 10px;
}
}
/* ===================================
   GRÁFICO DE DISCRIMINAÇÃO MODERNO
   =================================== */
.chart-header-modern[data-v-4daded4c] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.chart-title-modern[data-v-4daded4c] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
}
.chart-period[data-v-4daded4c] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
.chart-stats-inline[data-v-4daded4c] {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-pill[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.stat-pill.empresa[data-v-4daded4c] {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.stat-pill.cliente[data-v-4daded4c] {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.stat-pill.novos-contatos[data-v-4daded4c] {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.stat-dot[data-v-4daded4c] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-pill.empresa .stat-dot[data-v-4daded4c] {
  background: #6366f1;
}
.stat-pill.cliente .stat-dot[data-v-4daded4c] {
  background: #10b981;
}
.stat-pill.novos-contatos .stat-dot[data-v-4daded4c] {
  background: #f59e0b;
}
.stat-text[data-v-4daded4c] {
  white-space: nowrap;
}
.chart-content-modern[data-v-4daded4c] {
  position: relative;
  height: 405px;
  padding: 0 0.5rem;
}
.chart-canvas-modern[data-v-4daded4c] {
  height: 100% !important;
  width: 100% !important;
}

/* ===================================
   STATUS CARDS
   =================================== */
.status-update-bar[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1.5rem 0;
  justify-content: flex-end;
}
.status-update-icon[data-v-4daded4c] {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}
.status-update-icon.animate-spin[data-v-4daded4c] {
  animation: spin-4daded4c 1s linear infinite;
}
@keyframes spin-4daded4c {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}
.status-update-text[data-v-4daded4c] {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.status-grid[data-v-4daded4c] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.status-card[data-v-4daded4c] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
}
.status-card[data-v-4daded4c]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.status-header[data-v-4daded4c] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.status-title[data-v-4daded4c] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.status-icon[data-v-4daded4c] {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.status-value[data-v-4daded4c] {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
/* Borda com cores correspondentes */
.status-card.success[data-v-4daded4c] {
  border-left-color: #10b981;
}
.status-card.warning[data-v-4daded4c] {
  border-left-color: #f59e0b;
}
.status-card.neutral[data-v-4daded4c] {
  border-left-color: #b71c1c;
}
.status-card.info[data-v-4daded4c] {
  border-left-color: #3b82f6;
}
.status-card.active[data-v-4daded4c] {
  border-left-color: #374151;
}
.status-card.success .status-value[data-v-4daded4c] {
  color: #059669;
}
.status-card.success .status-icon[data-v-4daded4c] {
  color: #10b981;
}
.status-card.active .status-value[data-v-4daded4c] {
  color: #374151;
}
.status-card.active .status-icon[data-v-4daded4c] {
  color: #4b5563;
}
.status-card.warning .status-value[data-v-4daded4c] {
  color: #d97706;
}
.status-card.warning .status-icon[data-v-4daded4c] {
  color: #f59e0b;
}
.status-card.neutral .status-value[data-v-4daded4c] {
  color: #c04141;
}
.status-card.neutral .status-icon[data-v-4daded4c] {
  color: #b71c1c;
}
.status-card.info .status-value[data-v-4daded4c] {
  color: #2563eb;
}
.status-card.info .status-icon[data-v-4daded4c] {
  color: #3b82f6;
}
.status-description[data-v-4daded4c] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   RESPONSIVIDADE POR CONTAINER
   Reage ao espaço real do .dashboard
   (sidebar aberta/fechada), não à viewport.
   Deve vir DEPOIS das definições base de
   .metrics-grid e .status-grid para sobrescrever
   corretamente grid-template-columns/padding.
   =================================== */

/* Faixa folgada: 5 cols com padding/gap reduzidos */
@container dashboard (max-width: 1100px) {
.metrics-grid[data-v-4daded4c],
  .status-grid[data-v-4daded4c] {
    gap: 0.75rem;
    padding: 1rem;
}
.metrics-grid .metric-card[data-v-4daded4c],
  .status-grid .status-card[data-v-4daded4c] {
    padding: 1rem;
}
.metric-value[data-v-4daded4c],
  .status-value[data-v-4daded4c] {
    font-size: 1.5rem;
}
}

/* Faixa crítica: laptop 1024px + sidebar aberta → 3 + 2 */
@container dashboard (max-width: 820px) {
.metrics-grid[data-v-4daded4c],
  .status-grid[data-v-4daded4c] {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.875rem;
}
.metrics-grid .metric-card[data-v-4daded4c],
  .status-grid .status-card[data-v-4daded4c] {
    padding: 0.875rem;
}
.metric-value[data-v-4daded4c],
  .status-value[data-v-4daded4c] {
    font-size: 1.375rem;
}
.metric-description[data-v-4daded4c],
  .status-description[data-v-4daded4c] {
    font-size: 0.7rem;
}
}

/* Container estreito: 2 colunas */
@container dashboard (max-width: 560px) {
.metrics-grid[data-v-4daded4c],
  .status-grid[data-v-4daded4c] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}
}

/* Container muito estreito: coluna única */
@container dashboard (max-width: 400px) {
.metrics-grid[data-v-4daded4c],
  .status-grid[data-v-4daded4c] {
    grid-template-columns: 1fr;
}
}

/* ===================================
   GRÁFICOS ADICIONAIS
   =================================== */
.additional-charts[data-v-4daded4c] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===================================
   SEÇÃO DE AGENTES
   =================================== */
.agents-section[data-v-4daded4c] {
  padding: 1.5rem;
}
.agents-card[data-v-4daded4c] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.agents-header[data-v-4daded4c] {
  margin-bottom: 1.25rem;
}
.agents-title[data-v-4daded4c] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.agents-description[data-v-4daded4c] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agents-grid[data-v-4daded4c] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.agent-item[data-v-4daded4c] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.agent-item[data-v-4daded4c]:hover {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.agent-info[data-v-4daded4c] {
  display: flex;
  flex-direction: column;
}
.agent-name[data-v-4daded4c] {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}
.agent-team[data-v-4daded4c] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agent-status[data-v-4daded4c] {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-status.online[data-v-4daded4c] {
  background: #dcfce7;
  color: #166534;
}
.agent-status.busy[data-v-4daded4c] {
  background: #fef3c7;
  color: #92400e;
}
.agent-status.offline[data-v-4daded4c] {
  background: #fee2e2;
  color: #991b1b;
}

/* ===================================
   EFEITOS HOVER
   =================================== */
.stat-pill[data-v-4daded4c]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-pill.empresa[data-v-4daded4c]:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.stat-pill.cliente[data-v-4daded4c]:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.stat-pill.novos-contatos[data-v-4daded4c]:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}
/* ===================================
   LOADING
   =================================== */
.metric-loading-overlay[data-v-4daded4c] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.metric-loading[data-v-4daded4c] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.2rem;
  color: #888;
  position: relative;
}
.metric-loading[data-v-4daded4c]::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: metric-spin-4daded4c 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes metric-spin-4daded4c {
to {
    transform: rotate(360deg);
}
}
/* ===================================
   Title de REAL TIME SECTION
   =================================== */
.real-time-header[data-v-4daded4c] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
 padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}
.real-time-title[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #22223b;
  margin: 0;
}
.real-time-icon[data-v-4daded4c]{
  font-size: 1.8rem;
}
.reports-button[data-v-4daded4c] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.reports-button[data-v-4daded4c]:hover {
  background: #f3f4f6;
  text-decoration: none;
}
/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Nota: regras de .metrics-grid / .status-grid foram movidas para
   @container dashboard (ver seção "RESPONSIVIDADE POR CONTAINER" acima),
   para que os grids reajam ao espaço real (após sidebar), não à viewport. */
@media (max-width: 1024px) {
.header-filters[data-v-4daded4c] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.charts-grid[data-v-4daded4c] {
    grid-template-columns: 1fr;
}
.chart-header-modern[data-v-4daded4c] {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.chart-stats-inline[data-v-4daded4c] {
    justify-content: center;
    flex-wrap: wrap;
}
.chart-content-modern[data-v-4daded4c] {
    height: 320px;
}
.messages-breakdown[data-v-4daded4c] {
    flex-direction: column;
    gap: 0.75rem;
}
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
.dashboard[data-v-4daded4c] {
    padding: 8px;
}
.header[data-v-4daded4c] {
    padding: 1.5rem 1rem;
}
.header-filters[data-v-4daded4c] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.charts-grid[data-v-4daded4c] {
    padding: 1rem;
    gap: 0.75rem;
}
.additional-charts[data-v-4daded4c] {
    padding: 1rem;
}
.date-picker-popover[data-v-4daded4c] {
    min-width: 320px;
    right: -50px;
    max-width: calc(100vw - 2rem);
}
.calendars-container[data-v-4daded4c] {
    flex-direction: column;
}
.messages-stats[data-v-4daded4c] {
    padding: 0.75rem;
}
.total-messages[data-v-4daded4c] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.chart-header-meta[data-v-4daded4c] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-4daded4c] {
    font-size: 28px;
}
.chart-bars-vertical[data-v-4daded4c] {
    height: 240px;
}
.bars-area[data-v-4daded4c] {
    height: 200px;
}
.y-axis-labels[data-v-4daded4c] {
    height: 200px;
}
.bar-vertical[data-v-4daded4c] {
    width: 20px;
}
.chart-legend[data-v-4daded4c] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.real-time-header[data-v-4daded4c] {
    padding: 1.5rem 1rem 1rem 1rem;
}
.real-time-title[data-v-4daded4c] {
    font-size: 1rem;
}
.reports-button[data-v-4daded4c] {
    font-size: 1rem;
}
}

/* --- Mobile --- */
@media (max-width: 480px) {
.dashboard[data-v-4daded4c] {
    padding: 4px;
    font-size: 0.875rem;
}
.header[data-v-4daded4c] {
    padding: 1rem 0.75rem;
}
.header-filters[data-v-4daded4c] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.charts-grid[data-v-4daded4c] {
    padding: 0.5rem;
}
.additional-charts[data-v-4daded4c] {
    padding: 0.5rem;
}
.chart-card[data-v-4daded4c], .agents-card[data-v-4daded4c] {
    padding: 0.75rem;
}
.chart-canvas[data-v-4daded4c] {
    height: 250px !important;
}
.stat-pill[data-v-4daded4c] {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}
.chart-title-modern[data-v-4daded4c] {
    font-size: 1rem;
}
.date-picker-popover[data-v-4daded4c] {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
}
.messages-stats[data-v-4daded4c] {
    padding: 0.5rem;
}
.total-value[data-v-4daded4c] {
    font-size: 1.125rem;
}
.stat-value[data-v-4daded4c] {
    font-size: 0.8rem;
}
.total-display[data-v-4daded4c] {
    font-size: 24px;
}
.chart-title-meta[data-v-4daded4c] {
    font-size: 14px;
}
.chart-subtitle[data-v-4daded4c] {
    font-size: 11px;
}
.chart-bars-vertical[data-v-4daded4c] {
    height: 200px;
    gap: 8px;
}
.bars-area[data-v-4daded4c] {
    height: 160px;
}
.y-axis-labels[data-v-4daded4c] {
    height: 160px;
    width: 40px;
}
.bar-vertical[data-v-4daded4c] {
    width: 16px;
}
.bars-wrapper[data-v-4daded4c] {
    gap: 2px;
}
.real-time-header[data-v-4daded4c] {
    padding: 1.25rem 0.75rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
/* ===================================
   RESET E BASE
   =================================== */
/* * {
  box-sizing: border-box;
} */
.fade-table-enter-active[data-v-19d952bc], .fade-table-leave-active[data-v-19d952bc] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-19d952bc], .fade-table-leave-to[data-v-19d952bc] {
  opacity: 0;
}
.dashboard[data-v-19d952bc] {
  /* max-width: 1400px; */
  padding: 12px;
  min-height: 100vh;
  border-radius: 12px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: dashboard;
}
.help-badge[data-v-19d952bc] {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  outline: none;
}


/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */
.select-option.disabled[data-v-19d952bc] {
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}
.header[data-v-19d952bc] {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}
.header-content[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.header-title[data-v-19d952bc] {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.025em;
  text-align: left;
}
.dev-overlay[data-v-19d952bc] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* ou ajuste conforme seu layout */
  width: 100%;
  background: none;
  position: static;
  box-shadow: none;
  z-index: 1;
}
.dev-overlay-content[data-v-19d952bc] {
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
}










/* ===================================
   FILTROS E CONTROLES
   =================================== */
.header-filters[data-v-19d952bc] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}
.filter-group[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.filter-label-container[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.filter-icon[data-v-19d952bc] {
  width: 1rem;
  height: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.filter-label[data-v-19d952bc] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ===================================
   SELECT E DROPDOWN STYLES
   =================================== */
.select-display[data-v-19d952bc] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.select-display[data-v-19d952bc]:hover {
  border-color: #9ca3af;
}
.select-display[data-v-19d952bc]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.select-text[data-v-19d952bc] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.select-arrow[data-v-19d952bc] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select-arrow.rotated[data-v-19d952bc] {
  transform: rotate(180deg);
}
.select-dropdown[data-v-19d952bc] {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
}
.select-option[data-v-19d952bc] {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}
.select-option[data-v-19d952bc]:last-child {
  border-bottom: none;
}
.select-option[data-v-19d952bc]:hover {
  background: #f9fafb;
}
.select-option.selected[data-v-19d952bc] {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}
.select-option.selected[data-v-19d952bc]:hover {
  background: #dbeafe;
}
.option-text[data-v-19d952bc] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.dropdown-overlay[data-v-19d952bc] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

/* ===================================
   DATE PICKER STYLES
   =================================== */
.date-picker-group[data-v-19d952bc] {
  position: relative;
  overflow: visible;
}
.date-picker-container[data-v-19d952bc] {
  position: relative;
  overflow: visible;
  width: 100%;
}
.date-picker-button[data-v-19d952bc] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #374151;
}
.date-picker-button[data-v-19d952bc]:hover {
  border-color: #9ca3af;
}
.date-picker-button[data-v-19d952bc]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.calendar-icon[data-v-19d952bc] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.date-picker-popover[data-v-19d952bc] {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9999;
  margin-top: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 600px;
  max-width: 90vw;
}
.date-picker-content[data-v-19d952bc] {
  padding: 1rem;
}
.calendars-container[data-v-19d952bc] {
  display: flex;
  gap: 1rem;
}
.calendar[data-v-19d952bc] {
  flex: 1;
}
.calendar-header[data-v-19d952bc] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.month-title[data-v-19d952bc] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  text-transform: capitalize;
}
.nav-button[data-v-19d952bc] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-button[data-v-19d952bc]:hover {
  background: #f3f4f6;
}
.nav-icon[data-v-19d952bc] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.nav-spacer[data-v-19d952bc] {
  width: 2rem;
}
.calendar-grid[data-v-19d952bc] {
  width: 100%;
}
.weekdays[data-v-19d952bc] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.weekday[data-v-19d952bc] {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
}
.days[data-v-19d952bc] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.day-button[data-v-19d952bc] {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-button[data-v-19d952bc]:not(.empty):hover {
  background: #f3f4f6;
}
.day-button.selected[data-v-19d952bc] {
  background: #3b82f6;
  color: white;
}
.day-button.in-range[data-v-19d952bc] {
  background: #dbeafe;
  color: #1e40af;
}
.day-button.empty[data-v-19d952bc] {
  cursor: default;
}
.day-button[data-v-19d952bc]:disabled {
  cursor: default;
  opacity: 0.3;
}
.date-picker-footer[data-v-19d952bc] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.cancel-button[data-v-19d952bc], .apply-button[data-v-19d952bc] {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.cancel-button[data-v-19d952bc] {
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}
.cancel-button[data-v-19d952bc]:hover {
  background: #f9fafb;
}
.apply-button[data-v-19d952bc] {
  border: 1px solid #3b82f6;
  background: #3b82f6;
  color: white;
}
.apply-button[data-v-19d952bc]:hover {
  background: #2563eb;
}
/* ===================================
   HELPER TOOLTIP
   =================================== */
/* Hide help badge by default; show when hovering the card */
.help-badge[data-v-19d952bc] {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  cursor: help;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;

  /* start hidden */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
}
.metric-card:hover .help-badge[data-v-19d952bc] {
  /* show when hovering the entire card */
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.help-badge[data-v-19d952bc]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  color: #475569;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.help-badge[data-v-19d952bc]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* keep tooltip styles (unchanged) */
.help-tooltip[data-v-19d952bc] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  background: #ffffff;
  color: #374151;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 15px -3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}
.help-badge:hover .help-tooltip[data-v-19d952bc],
.help-badge:focus .help-tooltip[data-v-19d952bc] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===================================
   MÉTRICAS E CARDS
   =================================== */
.metrics-grid[data-v-19d952bc] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.metric-card[data-v-19d952bc] {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  overflow: visible;
  min-width: 0;
}
.metric-card[data-v-19d952bc]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.metric-header[data-v-19d952bc] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.metric-title[data-v-19d952bc] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.metric-icon[data-v-19d952bc] {
  width: 1rem;
  height: 1rem;
  color: #64748b;
}
.metric-value[data-v-19d952bc] {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.metric-description[data-v-19d952bc] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}
.metric-trend[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metric-trend.positive .trend-text[data-v-19d952bc] {
  color: #059669;
}
.metric-trend.negative .trend-text[data-v-19d952bc] {
  color: #dc2626;
}
.trend-icon[data-v-19d952bc] {
  width: 0.75rem;
  height: 0.75rem;
}
.metric-trend.positive .trend-icon[data-v-19d952bc] {
  color: #059669;
}
.metric-trend.negative .trend-icon[data-v-19d952bc] {
  color: #dc2626;
  transform: rotate(180deg);
}
.trend-text[data-v-19d952bc] {
  font-size: 0.75rem;
  font-weight: 500;
}
.metric-badge .badge[data-v-19d952bc] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.rating-container[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stars[data-v-19d952bc] {
  display: flex;
}
.star-wrapper[data-v-19d952bc] {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.star-icon[data-v-19d952bc] {
  width: 0.75rem;
  height: 0.75rem;
  color: #d1d5db;
}

/* Overlay amarelo sobreposto à estrela cinza base */
.star-icon-overlay[data-v-19d952bc] {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbf24;
  fill: #fbbf24;
}
.star-icon.filled[data-v-19d952bc] {
  color: #fbbf24;
  fill: #fbbf24;
}

/* Meia estrela: corta a metade direita do overlay, mostrando a cinza de baixo */
.star-icon.half-filled[data-v-19d952bc] {
  clip-path: inset(0 50% 0 0);
}
.rating-count[data-v-19d952bc] {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   GRÁFICOS - LAYOUT GERAL
   =================================== */
.charts-grid[data-v-19d952bc] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.chart-messages[data-v-19d952bc] {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.chart-card[data-v-19d952bc] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  min-width: 0;
  overflow: hidden;
}
.chart-header[data-v-19d952bc] {
  margin-bottom: 1.25rem;
}
.chart-title[data-v-19d952bc] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title-icon[data-v-19d952bc] {
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}
.chart-description[data-v-19d952bc] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.chart-content[data-v-19d952bc] {
  position: relative;
}
.chart-canvas[data-v-19d952bc] {
  height: 300px !important;
}
/* ===================================
   GRÁFICO DE MENSAGENS - CANVAS META STYLE
   =================================== */
.chart-header-meta[data-v-19d952bc] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e6ea;
}
.chart-title-section[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-title-meta[data-v-19d952bc] {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title-icon[data-v-19d952bc] {
  width: 16px;
  height: 16px;
  color: #65676b;
}
.chart-subtitle[data-v-19d952bc] {
  font-size: 12px;
  color: #65676b;
  margin: 0;
  font-weight: 400;
}
.total-display[data-v-19d952bc] {
  font-size: 32px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1;
}
.chart-header-stylish[data-v-19d952bc] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdfdfe 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.chart-header-stylish[data-v-19d952bc]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.chart-identity[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chart-badge[data-v-19d952bc] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.07), 0 1.5px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: box-shadow 0.2s;
}
.chart-badge[data-v-19d952bc]::before {
  display: none;
}
.badge-icon[data-v-19d952bc] {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  filter: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.chart-meta[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chart-title-stylish[data-v-19d952bc] {
  font-size: 17px;
  font-weight: 650;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chart-period-tag[data-v-19d952bc] {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.metric-highlight[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.metric-label[data-v-19d952bc] {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.metric-value-stylish[data-v-19d952bc] {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 0.9;
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  letter-spacing: -0.03em;
}
.chart-legend-mini[data-v-19d952bc] {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.legend-item-mini[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot[data-v-19d952bc] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text[data-v-19d952bc] {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 768px) {
.chart-legend-mini[data-v-19d952bc] {
    gap: 8px;
}
.legend-text[data-v-19d952bc] {
    font-size: 8px;
}
.legend-dot[data-v-19d952bc] {
    width: 5px;
    height: 5px;
}
}
@media (max-width: 480px) {
.chart-legend-mini[data-v-19d952bc] {
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
}
/* Responsividade refinada */
@media (max-width: 768px) {
.chart-header-stylish[data-v-19d952bc] {
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 14px;
}
.chart-badge[data-v-19d952bc] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.chart-badge[data-v-19d952bc]::before {
    border-radius: 9px;
}
.badge-icon[data-v-19d952bc] {
    width: 17px;
    height: 17px;
}
.chart-title-stylish[data-v-19d952bc] {
    font-size: 15px;
    font-weight: 600;
}
.chart-period-tag[data-v-19d952bc] {
    font-size: 9px;
}
.metric-value-stylish[data-v-19d952bc] {
    font-size: 26px;
}
.chart-identity[data-v-19d952bc] {
    gap: 12px;
}
}
@media (max-width: 480px) {
.chart-header-stylish[data-v-19d952bc] {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
}
.metric-highlight[data-v-19d952bc] {
    align-items: flex-start;
    width: 100%;
}
.metric-value-stylish[data-v-19d952bc] {
    font-size: 25px;
    font-weight: 900;
}
.metric-label[data-v-19d952bc] {
    font-size: 8px;
}
.chart-title-stylish[data-v-19d952bc] {
    font-size: 16px;
}
}


/* Canvas Chart Container */
.canvas-chart-container[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.messages-canvas[data-v-19d952bc] {
  width: 100%;
  height: 420px; /* Increased height */
  border-radius: 4px;
  cursor: default;
}

/* Canvas Tooltip Styles - Positioned closer to bars */
.canvas-tooltip[data-v-19d952bc] {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  min-width: 140px;
 transform: translateX(12px);
}
.tooltip-content[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tooltip-date[data-v-19d952bc] {
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  text-align: center;
}
.tooltip-values[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tooltip-item[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tooltip-color[data-v-19d952bc] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip-item.received .tooltip-color[data-v-19d952bc] {
  background-color: #1877f2;
}
.tooltip-item.sent .tooltip-color[data-v-19d952bc] {
  background-color: #42a5f5;
}

/* Chart Legend */
.chart-legend[data-v-19d952bc] {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid #e4e6ea;
}
.legend-item[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-color[data-v-19d952bc] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.received-color[data-v-19d952bc] {
  background-color: #1877f2;
}
.sent-color[data-v-19d952bc] {
  background-color: #42a5f5;
}
.legend-label[data-v-19d952bc] {
  font-size: 14px;
  color: #1c1e21;
  font-weight: 500;
}
.legend-percentage[data-v-19d952bc] {
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
}

/* ===================================
   ESTATÍSTICAS DAS MENSAGENS
   =================================== */
.messages-stats[data-v-19d952bc] {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.total-messages[data-v-19d952bc] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.total-label[data-v-19d952bc] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.total-value[data-v-19d952bc] {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.messages-breakdown[data-v-19d952bc] {
  display: flex;
  gap: 1.5rem;
}
.message-stat[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-indicator[data-v-19d952bc] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.message-stat.received .stat-indicator[data-v-19d952bc] {
  background: #3b82f6;
}
.message-stat.sent .stat-indicator[data-v-19d952bc] {
  background: #10b981;
}
.stat-label[data-v-19d952bc] {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-value[data-v-19d952bc] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* ===================================
   RESPONSIVIDADE PARA CANVAS
   =================================== */
@media (max-width: 768px) {
.chart-header-meta[data-v-19d952bc] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-19d952bc] {
    font-size: 28px;
}
.messages-canvas[data-v-19d952bc] {
    height: 350px; /* Reduced height for mobile */
}
.chart-legend[data-v-19d952bc] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.canvas-tooltip[data-v-19d952bc] {
    font-size: 11px;
    padding: 10px 12px;
    max-width: 160px;
}
}
@media (max-width: 480px) {
.total-display[data-v-19d952bc] {
    font-size: 24px;
}
.chart-title-meta[data-v-19d952bc] {
    font-size: 14px;
}
.chart-subtitle[data-v-19d952bc] {
    font-size: 11px;
}
.messages-canvas[data-v-19d952bc] {
    height: 300px; /* Further reduced for small screens */
}
.canvas-tooltip[data-v-19d952bc] {
    font-size: 10px;
    padding: 8px 10px;
    max-width: 140px;
}
.tooltip-date[data-v-19d952bc] {
    font-size: 11px;
}
.tooltip-item[data-v-19d952bc] {
    font-size: 10px;
}
}
/* ===================================
   GRÁFICO DE DISCRIMINAÇÃO MODERNO
   =================================== */
.chart-header-modern[data-v-19d952bc] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.chart-title-modern[data-v-19d952bc] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
}
.chart-period[data-v-19d952bc] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
.chart-stats-inline[data-v-19d952bc] {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-pill[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.stat-pill.empresa[data-v-19d952bc] {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.stat-pill.cliente[data-v-19d952bc] {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.stat-pill.novos-contatos[data-v-19d952bc] {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.stat-dot[data-v-19d952bc] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-pill.empresa .stat-dot[data-v-19d952bc] {
  background: #6366f1;
}
.stat-pill.cliente .stat-dot[data-v-19d952bc] {
  background: #10b981;
}
.stat-pill.novos-contatos .stat-dot[data-v-19d952bc] {
  background: #f59e0b;
}
.stat-text[data-v-19d952bc] {
  white-space: nowrap;
}
.chart-content-modern[data-v-19d952bc] {
  position: relative;
  height: 405px;
  padding: 0 0.5rem;
}
.chart-canvas-modern[data-v-19d952bc] {
  height: 100% !important;
  width: 100% !important;
}

/* ===================================
   STATUS CARDS
   =================================== */
.status-update-bar[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1.5rem 0;
  justify-content: flex-end;
}
.status-update-icon[data-v-19d952bc] {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}
.status-update-icon.animate-spin[data-v-19d952bc] {
  animation: spin-19d952bc 1s linear infinite;
}
@keyframes spin-19d952bc {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}
.status-update-text[data-v-19d952bc] {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.status-grid[data-v-19d952bc] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.status-card[data-v-19d952bc] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
}
.status-card[data-v-19d952bc]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.status-header[data-v-19d952bc] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.status-title[data-v-19d952bc] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.status-icon[data-v-19d952bc] {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.status-value[data-v-19d952bc] {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
/* Borda com cores correspondentes */
.status-card.success[data-v-19d952bc] {
  border-left-color: #10b981;
}
.status-card.warning[data-v-19d952bc] {
  border-left-color: #f59e0b;
}
.status-card.neutral[data-v-19d952bc] {
  border-left-color: #b71c1c;
}
.status-card.info[data-v-19d952bc] {
  border-left-color: #3b82f6;
}
.status-card.active[data-v-19d952bc] {
  border-left-color: #374151;
}
.status-card.success .status-value[data-v-19d952bc] {
  color: #059669;
}
.status-card.success .status-icon[data-v-19d952bc] {
  color: #10b981;
}
.status-card.active .status-value[data-v-19d952bc] {
  color: #374151;
}
.status-card.active .status-icon[data-v-19d952bc] {
  color: #4b5563;
}
.status-card.warning .status-value[data-v-19d952bc] {
  color: #d97706;
}
.status-card.warning .status-icon[data-v-19d952bc] {
  color: #f59e0b;
}
.status-card.neutral .status-value[data-v-19d952bc] {
  color: #c04141;
}
.status-card.neutral .status-icon[data-v-19d952bc] {
  color: #b71c1c;
}
.status-card.info .status-value[data-v-19d952bc] {
  color: #2563eb;
}
.status-card.info .status-icon[data-v-19d952bc] {
  color: #3b82f6;
}
.status-description[data-v-19d952bc] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   RESPONSIVIDADE POR CONTAINER
   Reage ao espaço real do .dashboard
   (sidebar aberta/fechada), não à viewport.
   Deve vir DEPOIS das definições base de
   .metrics-grid e .status-grid para sobrescrever
   corretamente grid-template-columns/padding.
   =================================== */

/* Faixa folgada: 5 cols com padding/gap reduzidos */
@container dashboard (max-width: 1100px) {
.metrics-grid[data-v-19d952bc],
  .status-grid[data-v-19d952bc] {
    gap: 0.75rem;
    padding: 1rem;
}
.metrics-grid .metric-card[data-v-19d952bc],
  .status-grid .status-card[data-v-19d952bc] {
    padding: 1rem;
}
.metric-value[data-v-19d952bc],
  .status-value[data-v-19d952bc] {
    font-size: 1.5rem;
}
}

/* Faixa crítica: laptop 1024px + sidebar aberta → 3 + 2 */
@container dashboard (max-width: 820px) {
.metrics-grid[data-v-19d952bc],
  .status-grid[data-v-19d952bc] {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.875rem;
}
.metrics-grid .metric-card[data-v-19d952bc],
  .status-grid .status-card[data-v-19d952bc] {
    padding: 0.875rem;
}
.metric-value[data-v-19d952bc],
  .status-value[data-v-19d952bc] {
    font-size: 1.375rem;
}
.metric-description[data-v-19d952bc],
  .status-description[data-v-19d952bc] {
    font-size: 0.7rem;
}
}

/* Container estreito: 2 colunas */
@container dashboard (max-width: 560px) {
.metrics-grid[data-v-19d952bc],
  .status-grid[data-v-19d952bc] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}
}

/* Container muito estreito: coluna única */
@container dashboard (max-width: 400px) {
.metrics-grid[data-v-19d952bc],
  .status-grid[data-v-19d952bc] {
    grid-template-columns: 1fr;
}
}

/* ===================================
   GRÁFICOS ADICIONAIS
   =================================== */
.additional-charts[data-v-19d952bc] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===================================
   SEÇÃO DE AGENTES
   =================================== */
.agents-section[data-v-19d952bc] {
  padding: 1.5rem;
}
.agents-card[data-v-19d952bc] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.agents-header[data-v-19d952bc] {
  margin-bottom: 1.25rem;
}
.agents-title[data-v-19d952bc] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.agents-description[data-v-19d952bc] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agents-grid[data-v-19d952bc] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.agent-item[data-v-19d952bc] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.agent-item[data-v-19d952bc]:hover {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.agent-info[data-v-19d952bc] {
  display: flex;
  flex-direction: column;
}
.agent-name[data-v-19d952bc] {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}
.agent-team[data-v-19d952bc] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agent-status[data-v-19d952bc] {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-status.online[data-v-19d952bc] {
  background: #dcfce7;
  color: #166534;
}
.agent-status.busy[data-v-19d952bc] {
  background: #fef3c7;
  color: #92400e;
}
.agent-status.offline[data-v-19d952bc] {
  background: #fee2e2;
  color: #991b1b;
}

/* ===================================
   EFEITOS HOVER
   =================================== */
.stat-pill[data-v-19d952bc]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-pill.empresa[data-v-19d952bc]:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.stat-pill.cliente[data-v-19d952bc]:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.stat-pill.novos-contatos[data-v-19d952bc]:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}
/* ===================================
   LOADING
   =================================== */
.metric-loading-overlay[data-v-19d952bc] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.metric-loading[data-v-19d952bc] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.2rem;
  color: #888;
  position: relative;
}
.metric-loading[data-v-19d952bc]::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: metric-spin-19d952bc 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes metric-spin-19d952bc {
to {
    transform: rotate(360deg);
}
}
/* ===================================
   Title de REAL TIME SECTION
   =================================== */
.real-time-header[data-v-19d952bc] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
 padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}
.real-time-title[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #22223b;
  margin: 0;
}
.real-time-icon[data-v-19d952bc]{
  font-size: 1.8rem;
}
.reports-button[data-v-19d952bc] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.reports-button[data-v-19d952bc]:hover {
  background: #f3f4f6;
  text-decoration: none;
}
/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Nota: regras de .metrics-grid / .status-grid foram movidas para
   @container dashboard (ver seção "RESPONSIVIDADE POR CONTAINER" acima),
   para que os grids reajam ao espaço real (após sidebar), não à viewport. */
@media (max-width: 1024px) {
.header-filters[data-v-19d952bc] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.charts-grid[data-v-19d952bc] {
    grid-template-columns: 1fr;
}
.chart-header-modern[data-v-19d952bc] {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.chart-stats-inline[data-v-19d952bc] {
    justify-content: center;
    flex-wrap: wrap;
}
.chart-content-modern[data-v-19d952bc] {
    height: 320px;
}
.messages-breakdown[data-v-19d952bc] {
    flex-direction: column;
    gap: 0.75rem;
}
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
.dashboard[data-v-19d952bc] {
    padding: 8px;
}
.header[data-v-19d952bc] {
    padding: 1.5rem 1rem;
}
.header-filters[data-v-19d952bc] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.charts-grid[data-v-19d952bc] {
    padding: 1rem;
    gap: 0.75rem;
}
.additional-charts[data-v-19d952bc] {
    padding: 1rem;
}
.date-picker-popover[data-v-19d952bc] {
    min-width: 320px;
    right: -50px;
    max-width: calc(100vw - 2rem);
}
.calendars-container[data-v-19d952bc] {
    flex-direction: column;
}
.messages-stats[data-v-19d952bc] {
    padding: 0.75rem;
}
.total-messages[data-v-19d952bc] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.chart-header-meta[data-v-19d952bc] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-19d952bc] {
    font-size: 28px;
}
.chart-bars-vertical[data-v-19d952bc] {
    height: 240px;
}
.bars-area[data-v-19d952bc] {
    height: 200px;
}
.y-axis-labels[data-v-19d952bc] {
    height: 200px;
}
.bar-vertical[data-v-19d952bc] {
    width: 20px;
}
.chart-legend[data-v-19d952bc] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.real-time-header[data-v-19d952bc] {
    padding: 1.5rem 1rem 1rem 1rem;
}
.real-time-title[data-v-19d952bc] {
    font-size: 1rem;
}
.reports-button[data-v-19d952bc] {
    font-size: 1rem;
}
}

/* --- Mobile --- */
@media (max-width: 480px) {
.dashboard[data-v-19d952bc] {
    padding: 4px;
    font-size: 0.875rem;
}
.header[data-v-19d952bc] {
    padding: 1rem 0.75rem;
}
.header-filters[data-v-19d952bc] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.charts-grid[data-v-19d952bc] {
    padding: 0.5rem;
}
.additional-charts[data-v-19d952bc] {
    padding: 0.5rem;
}
.chart-card[data-v-19d952bc], .agents-card[data-v-19d952bc] {
    padding: 0.75rem;
}
.chart-canvas[data-v-19d952bc] {
    height: 250px !important;
}
.stat-pill[data-v-19d952bc] {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}
.chart-title-modern[data-v-19d952bc] {
    font-size: 1rem;
}
.date-picker-popover[data-v-19d952bc] {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
}
.messages-stats[data-v-19d952bc] {
    padding: 0.5rem;
}
.total-value[data-v-19d952bc] {
    font-size: 1.125rem;
}
.stat-value[data-v-19d952bc] {
    font-size: 0.8rem;
}
.total-display[data-v-19d952bc] {
    font-size: 24px;
}
.chart-title-meta[data-v-19d952bc] {
    font-size: 14px;
}
.chart-subtitle[data-v-19d952bc] {
    font-size: 11px;
}
.chart-bars-vertical[data-v-19d952bc] {
    height: 200px;
    gap: 8px;
}
.bars-area[data-v-19d952bc] {
    height: 160px;
}
.y-axis-labels[data-v-19d952bc] {
    height: 160px;
    width: 40px;
}
.bar-vertical[data-v-19d952bc] {
    width: 16px;
}
.bars-wrapper[data-v-19d952bc] {
    gap: 2px;
}
.real-time-header[data-v-19d952bc] {
    padding: 1.25rem 0.75rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
/* ===================================
   RESET E BASE
   =================================== */
/* * {
  box-sizing: border-box;
} */
.fade-table-enter-active[data-v-3068e296], .fade-table-leave-active[data-v-3068e296] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-3068e296], .fade-table-leave-to[data-v-3068e296] {
  opacity: 0;
}
.dashboard[data-v-3068e296] {
  /* max-width: 1400px; */
  padding: 12px;
  min-height: 100vh;
  border-radius: 12px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: dashboard;
}
.help-badge[data-v-3068e296] {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  outline: none;
}


/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */
.select-option.disabled[data-v-3068e296] {
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}
.header[data-v-3068e296] {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}
.header-content[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.header-title[data-v-3068e296] {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.025em;
  text-align: left;
}
.dev-overlay[data-v-3068e296] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* ou ajuste conforme seu layout */
  width: 100%;
  background: none;
  position: static;
  box-shadow: none;
  z-index: 1;
}
.dev-overlay-content[data-v-3068e296] {
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
}










/* ===================================
   FILTROS E CONTROLES
   =================================== */
.header-filters[data-v-3068e296] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}
.filter-group[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.filter-label-container[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.filter-icon[data-v-3068e296] {
  width: 1rem;
  height: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.filter-label[data-v-3068e296] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ===================================
   SELECT E DROPDOWN STYLES
   =================================== */
.select-display[data-v-3068e296] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.select-display[data-v-3068e296]:hover {
  border-color: #9ca3af;
}
.select-display[data-v-3068e296]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.select-text[data-v-3068e296] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.select-arrow[data-v-3068e296] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select-arrow.rotated[data-v-3068e296] {
  transform: rotate(180deg);
}
.select-dropdown[data-v-3068e296] {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
}
.select-option[data-v-3068e296] {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}
.select-option[data-v-3068e296]:last-child {
  border-bottom: none;
}
.select-option[data-v-3068e296]:hover {
  background: #f9fafb;
}
.select-option.selected[data-v-3068e296] {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}
.select-option.selected[data-v-3068e296]:hover {
  background: #dbeafe;
}
.option-text[data-v-3068e296] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.dropdown-overlay[data-v-3068e296] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

/* ===================================
   DATE PICKER STYLES
   =================================== */
.date-picker-group[data-v-3068e296] {
  position: relative;
  overflow: visible;
}
.date-picker-container[data-v-3068e296] {
  position: relative;
  overflow: visible;
  width: 100%;
}
.date-picker-button[data-v-3068e296] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #374151;
}
.date-picker-button[data-v-3068e296]:hover {
  border-color: #9ca3af;
}
.date-picker-button[data-v-3068e296]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.calendar-icon[data-v-3068e296] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.date-picker-popover[data-v-3068e296] {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9999;
  margin-top: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 600px;
  max-width: 90vw;
}
.date-picker-content[data-v-3068e296] {
  padding: 1rem;
}
.calendars-container[data-v-3068e296] {
  display: flex;
  gap: 1rem;
}
.calendar[data-v-3068e296] {
  flex: 1;
}
.calendar-header[data-v-3068e296] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.month-title[data-v-3068e296] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  text-transform: capitalize;
}
.nav-button[data-v-3068e296] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-button[data-v-3068e296]:hover {
  background: #f3f4f6;
}
.nav-icon[data-v-3068e296] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.nav-spacer[data-v-3068e296] {
  width: 2rem;
}
.calendar-grid[data-v-3068e296] {
  width: 100%;
}
.weekdays[data-v-3068e296] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.weekday[data-v-3068e296] {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
}
.days[data-v-3068e296] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.day-button[data-v-3068e296] {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-button[data-v-3068e296]:not(.empty):hover {
  background: #f3f4f6;
}
.day-button.selected[data-v-3068e296] {
  background: #3b82f6;
  color: white;
}
.day-button.in-range[data-v-3068e296] {
  background: #dbeafe;
  color: #1e40af;
}
.day-button.empty[data-v-3068e296] {
  cursor: default;
}
.day-button[data-v-3068e296]:disabled {
  cursor: default;
  opacity: 0.3;
}
.date-picker-footer[data-v-3068e296] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.cancel-button[data-v-3068e296], .apply-button[data-v-3068e296] {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.cancel-button[data-v-3068e296] {
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}
.cancel-button[data-v-3068e296]:hover {
  background: #f9fafb;
}
.apply-button[data-v-3068e296] {
  border: 1px solid #3b82f6;
  background: #3b82f6;
  color: white;
}
.apply-button[data-v-3068e296]:hover {
  background: #2563eb;
}
/* ===================================
   HELPER TOOLTIP
   =================================== */
/* Hide help badge by default; show when hovering the card */
.help-badge[data-v-3068e296] {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  cursor: help;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;

  /* start hidden */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
}
.metric-card:hover .help-badge[data-v-3068e296] {
  /* show when hovering the entire card */
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.help-badge[data-v-3068e296]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  color: #475569;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.help-badge[data-v-3068e296]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* keep tooltip styles (unchanged) */
.help-tooltip[data-v-3068e296] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  background: #ffffff;
  color: #374151;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 15px -3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}
.help-badge:hover .help-tooltip[data-v-3068e296],
.help-badge:focus .help-tooltip[data-v-3068e296] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===================================
   MÉTRICAS E CARDS
   =================================== */
.metrics-grid[data-v-3068e296] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.metric-card[data-v-3068e296] {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  overflow: visible;
  min-width: 0;
}
.metric-card[data-v-3068e296]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.metric-header[data-v-3068e296] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.metric-title[data-v-3068e296] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.metric-icon[data-v-3068e296] {
  width: 1rem;
  height: 1rem;
  color: #64748b;
}
.metric-value[data-v-3068e296] {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.metric-description[data-v-3068e296] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}
.metric-trend[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metric-trend.positive .trend-text[data-v-3068e296] {
  color: #059669;
}
.metric-trend.negative .trend-text[data-v-3068e296] {
  color: #dc2626;
}
.trend-icon[data-v-3068e296] {
  width: 0.75rem;
  height: 0.75rem;
}
.metric-trend.positive .trend-icon[data-v-3068e296] {
  color: #059669;
}
.metric-trend.negative .trend-icon[data-v-3068e296] {
  color: #dc2626;
  transform: rotate(180deg);
}
.trend-text[data-v-3068e296] {
  font-size: 0.75rem;
  font-weight: 500;
}
.metric-badge .badge[data-v-3068e296] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.rating-container[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stars[data-v-3068e296] {
  display: flex;
}
.star-wrapper[data-v-3068e296] {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.star-icon[data-v-3068e296] {
  width: 0.75rem;
  height: 0.75rem;
  color: #d1d5db;
}

/* Overlay amarelo sobreposto à estrela cinza base */
.star-icon-overlay[data-v-3068e296] {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbf24;
  fill: #fbbf24;
}
.star-icon.filled[data-v-3068e296] {
  color: #fbbf24;
  fill: #fbbf24;
}

/* Meia estrela: corta a metade direita do overlay, mostrando a cinza de baixo */
.star-icon.half-filled[data-v-3068e296] {
  clip-path: inset(0 50% 0 0);
}
.rating-count[data-v-3068e296] {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   GRÁFICOS - LAYOUT GERAL
   =================================== */
.charts-grid[data-v-3068e296] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.chart-messages[data-v-3068e296] {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.chart-card[data-v-3068e296] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  min-width: 0;
  overflow: hidden;
}
.chart-header[data-v-3068e296] {
  margin-bottom: 1.25rem;
}
.chart-title[data-v-3068e296] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title-icon[data-v-3068e296] {
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}
.chart-description[data-v-3068e296] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.chart-content[data-v-3068e296] {
  position: relative;
}
.chart-canvas[data-v-3068e296] {
  height: 300px !important;
}
/* ===================================
   GRÁFICO DE MENSAGENS - CANVAS META STYLE
   =================================== */
.chart-header-meta[data-v-3068e296] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e6ea;
}
.chart-title-section[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-title-meta[data-v-3068e296] {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title-icon[data-v-3068e296] {
  width: 16px;
  height: 16px;
  color: #65676b;
}
.chart-subtitle[data-v-3068e296] {
  font-size: 12px;
  color: #65676b;
  margin: 0;
  font-weight: 400;
}
.total-display[data-v-3068e296] {
  font-size: 32px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1;
}
.chart-header-stylish[data-v-3068e296] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdfdfe 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.chart-header-stylish[data-v-3068e296]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.chart-identity[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chart-badge[data-v-3068e296] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.07), 0 1.5px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: box-shadow 0.2s;
}
.chart-badge[data-v-3068e296]::before {
  display: none;
}
.badge-icon[data-v-3068e296] {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  filter: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.chart-meta[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chart-title-stylish[data-v-3068e296] {
  font-size: 17px;
  font-weight: 650;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chart-period-tag[data-v-3068e296] {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.metric-highlight[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.metric-label[data-v-3068e296] {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.metric-value-stylish[data-v-3068e296] {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 0.9;
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  letter-spacing: -0.03em;
}
.chart-legend-mini[data-v-3068e296] {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.legend-item-mini[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot[data-v-3068e296] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text[data-v-3068e296] {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 768px) {
.chart-legend-mini[data-v-3068e296] {
    gap: 8px;
}
.legend-text[data-v-3068e296] {
    font-size: 8px;
}
.legend-dot[data-v-3068e296] {
    width: 5px;
    height: 5px;
}
}
@media (max-width: 480px) {
.chart-legend-mini[data-v-3068e296] {
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
}
/* Responsividade refinada */
@media (max-width: 768px) {
.chart-header-stylish[data-v-3068e296] {
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 14px;
}
.chart-badge[data-v-3068e296] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.chart-badge[data-v-3068e296]::before {
    border-radius: 9px;
}
.badge-icon[data-v-3068e296] {
    width: 17px;
    height: 17px;
}
.chart-title-stylish[data-v-3068e296] {
    font-size: 15px;
    font-weight: 600;
}
.chart-period-tag[data-v-3068e296] {
    font-size: 9px;
}
.metric-value-stylish[data-v-3068e296] {
    font-size: 26px;
}
.chart-identity[data-v-3068e296] {
    gap: 12px;
}
}
@media (max-width: 480px) {
.chart-header-stylish[data-v-3068e296] {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
}
.metric-highlight[data-v-3068e296] {
    align-items: flex-start;
    width: 100%;
}
.metric-value-stylish[data-v-3068e296] {
    font-size: 25px;
    font-weight: 900;
}
.metric-label[data-v-3068e296] {
    font-size: 8px;
}
.chart-title-stylish[data-v-3068e296] {
    font-size: 16px;
}
}


/* Canvas Chart Container */
.canvas-chart-container[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.messages-canvas[data-v-3068e296] {
  width: 100%;
  height: 420px; /* Increased height */
  border-radius: 4px;
  cursor: default;
}

/* Canvas Tooltip Styles - Positioned closer to bars */
.canvas-tooltip[data-v-3068e296] {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  min-width: 140px;
 transform: translateX(12px);
}
.tooltip-content[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tooltip-date[data-v-3068e296] {
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  text-align: center;
}
.tooltip-values[data-v-3068e296] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tooltip-item[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tooltip-color[data-v-3068e296] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip-item.received .tooltip-color[data-v-3068e296] {
  background-color: #1877f2;
}
.tooltip-item.sent .tooltip-color[data-v-3068e296] {
  background-color: #42a5f5;
}

/* Chart Legend */
.chart-legend[data-v-3068e296] {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid #e4e6ea;
}
.legend-item[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-color[data-v-3068e296] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.received-color[data-v-3068e296] {
  background-color: #1877f2;
}
.sent-color[data-v-3068e296] {
  background-color: #42a5f5;
}
.legend-label[data-v-3068e296] {
  font-size: 14px;
  color: #1c1e21;
  font-weight: 500;
}
.legend-percentage[data-v-3068e296] {
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
}

/* ===================================
   ESTATÍSTICAS DAS MENSAGENS
   =================================== */
.messages-stats[data-v-3068e296] {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.total-messages[data-v-3068e296] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.total-label[data-v-3068e296] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.total-value[data-v-3068e296] {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.messages-breakdown[data-v-3068e296] {
  display: flex;
  gap: 1.5rem;
}
.message-stat[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-indicator[data-v-3068e296] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.message-stat.received .stat-indicator[data-v-3068e296] {
  background: #3b82f6;
}
.message-stat.sent .stat-indicator[data-v-3068e296] {
  background: #10b981;
}
.stat-label[data-v-3068e296] {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-value[data-v-3068e296] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* ===================================
   RESPONSIVIDADE PARA CANVAS
   =================================== */
@media (max-width: 768px) {
.chart-header-meta[data-v-3068e296] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-3068e296] {
    font-size: 28px;
}
.messages-canvas[data-v-3068e296] {
    height: 350px; /* Reduced height for mobile */
}
.chart-legend[data-v-3068e296] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.canvas-tooltip[data-v-3068e296] {
    font-size: 11px;
    padding: 10px 12px;
    max-width: 160px;
}
}
@media (max-width: 480px) {
.total-display[data-v-3068e296] {
    font-size: 24px;
}
.chart-title-meta[data-v-3068e296] {
    font-size: 14px;
}
.chart-subtitle[data-v-3068e296] {
    font-size: 11px;
}
.messages-canvas[data-v-3068e296] {
    height: 300px; /* Further reduced for small screens */
}
.canvas-tooltip[data-v-3068e296] {
    font-size: 10px;
    padding: 8px 10px;
    max-width: 140px;
}
.tooltip-date[data-v-3068e296] {
    font-size: 11px;
}
.tooltip-item[data-v-3068e296] {
    font-size: 10px;
}
}
/* ===================================
   GRÁFICO DE DISCRIMINAÇÃO MODERNO
   =================================== */
.chart-header-modern[data-v-3068e296] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.chart-title-modern[data-v-3068e296] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
}
.chart-period[data-v-3068e296] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
.chart-stats-inline[data-v-3068e296] {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-pill[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.stat-pill.empresa[data-v-3068e296] {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.stat-pill.cliente[data-v-3068e296] {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.stat-pill.novos-contatos[data-v-3068e296] {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.stat-dot[data-v-3068e296] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-pill.empresa .stat-dot[data-v-3068e296] {
  background: #6366f1;
}
.stat-pill.cliente .stat-dot[data-v-3068e296] {
  background: #10b981;
}
.stat-pill.novos-contatos .stat-dot[data-v-3068e296] {
  background: #f59e0b;
}
.stat-text[data-v-3068e296] {
  white-space: nowrap;
}
.chart-content-modern[data-v-3068e296] {
  position: relative;
  height: 405px;
  padding: 0 0.5rem;
}
.chart-canvas-modern[data-v-3068e296] {
  height: 100% !important;
  width: 100% !important;
}

/* ===================================
   STATUS CARDS
   =================================== */
.status-update-bar[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1.5rem 0;
  justify-content: flex-end;
}
.status-update-icon[data-v-3068e296] {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}
.status-update-icon.animate-spin[data-v-3068e296] {
  animation: spin-3068e296 1s linear infinite;
}
@keyframes spin-3068e296 {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}
.status-update-text[data-v-3068e296] {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.status-grid[data-v-3068e296] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.status-card[data-v-3068e296] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
}
.status-card[data-v-3068e296]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.status-header[data-v-3068e296] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.status-title[data-v-3068e296] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.status-icon[data-v-3068e296] {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.status-value[data-v-3068e296] {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
/* Borda com cores correspondentes */
.status-card.success[data-v-3068e296] {
  border-left-color: #10b981;
}
.status-card.warning[data-v-3068e296] {
  border-left-color: #f59e0b;
}
.status-card.neutral[data-v-3068e296] {
  border-left-color: #b71c1c;
}
.status-card.info[data-v-3068e296] {
  border-left-color: #3b82f6;
}
.status-card.active[data-v-3068e296] {
  border-left-color: #374151;
}
.status-card.success .status-value[data-v-3068e296] {
  color: #059669;
}
.status-card.success .status-icon[data-v-3068e296] {
  color: #10b981;
}
.status-card.active .status-value[data-v-3068e296] {
  color: #374151;
}
.status-card.active .status-icon[data-v-3068e296] {
  color: #4b5563;
}
.status-card.warning .status-value[data-v-3068e296] {
  color: #d97706;
}
.status-card.warning .status-icon[data-v-3068e296] {
  color: #f59e0b;
}
.status-card.neutral .status-value[data-v-3068e296] {
  color: #c04141;
}
.status-card.neutral .status-icon[data-v-3068e296] {
  color: #b71c1c;
}
.status-card.info .status-value[data-v-3068e296] {
  color: #2563eb;
}
.status-card.info .status-icon[data-v-3068e296] {
  color: #3b82f6;
}
.status-description[data-v-3068e296] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   RESPONSIVIDADE POR CONTAINER
   Reage ao espaço real do .dashboard
   (sidebar aberta/fechada), não à viewport.
   Deve vir DEPOIS das definições base de
   .metrics-grid e .status-grid para sobrescrever
   corretamente grid-template-columns/padding.
   =================================== */

/* Faixa folgada: 5 cols com padding/gap reduzidos */
@container dashboard (max-width: 1100px) {
.metrics-grid[data-v-3068e296],
  .status-grid[data-v-3068e296] {
    gap: 0.75rem;
    padding: 1rem;
}
.metrics-grid .metric-card[data-v-3068e296],
  .status-grid .status-card[data-v-3068e296] {
    padding: 1rem;
}
.metric-value[data-v-3068e296],
  .status-value[data-v-3068e296] {
    font-size: 1.5rem;
}
}

/* Faixa crítica: laptop 1024px + sidebar aberta → 3 + 2 */
@container dashboard (max-width: 820px) {
.metrics-grid[data-v-3068e296],
  .status-grid[data-v-3068e296] {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.875rem;
}
.metrics-grid .metric-card[data-v-3068e296],
  .status-grid .status-card[data-v-3068e296] {
    padding: 0.875rem;
}
.metric-value[data-v-3068e296],
  .status-value[data-v-3068e296] {
    font-size: 1.375rem;
}
.metric-description[data-v-3068e296],
  .status-description[data-v-3068e296] {
    font-size: 0.7rem;
}
}

/* Container estreito: 2 colunas */
@container dashboard (max-width: 560px) {
.metrics-grid[data-v-3068e296],
  .status-grid[data-v-3068e296] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}
}

/* Container muito estreito: coluna única */
@container dashboard (max-width: 400px) {
.metrics-grid[data-v-3068e296],
  .status-grid[data-v-3068e296] {
    grid-template-columns: 1fr;
}
}

/* ===================================
   GRÁFICOS ADICIONAIS
   =================================== */
.additional-charts[data-v-3068e296] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===================================
   SEÇÃO DE AGENTES
   =================================== */
.agents-section[data-v-3068e296] {
  padding: 1.5rem;
}
.agents-card[data-v-3068e296] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.agents-header[data-v-3068e296] {
  margin-bottom: 1.25rem;
}
.agents-title[data-v-3068e296] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.agents-description[data-v-3068e296] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agents-grid[data-v-3068e296] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.agent-item[data-v-3068e296] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.agent-item[data-v-3068e296]:hover {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.agent-info[data-v-3068e296] {
  display: flex;
  flex-direction: column;
}
.agent-name[data-v-3068e296] {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}
.agent-team[data-v-3068e296] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agent-status[data-v-3068e296] {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-status.online[data-v-3068e296] {
  background: #dcfce7;
  color: #166534;
}
.agent-status.busy[data-v-3068e296] {
  background: #fef3c7;
  color: #92400e;
}
.agent-status.offline[data-v-3068e296] {
  background: #fee2e2;
  color: #991b1b;
}

/* ===================================
   EFEITOS HOVER
   =================================== */
.stat-pill[data-v-3068e296]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-pill.empresa[data-v-3068e296]:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.stat-pill.cliente[data-v-3068e296]:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.stat-pill.novos-contatos[data-v-3068e296]:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}
/* ===================================
   LOADING
   =================================== */
.metric-loading-overlay[data-v-3068e296] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.metric-loading[data-v-3068e296] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.2rem;
  color: #888;
  position: relative;
}
.metric-loading[data-v-3068e296]::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: metric-spin-3068e296 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes metric-spin-3068e296 {
to {
    transform: rotate(360deg);
}
}
/* ===================================
   Title de REAL TIME SECTION
   =================================== */
.real-time-header[data-v-3068e296] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
 padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}
.real-time-title[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #22223b;
  margin: 0;
}
.real-time-icon[data-v-3068e296]{
  font-size: 1.8rem;
}
.reports-button[data-v-3068e296] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.reports-button[data-v-3068e296]:hover {
  background: #f3f4f6;
  text-decoration: none;
}
/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Nota: regras de .metrics-grid / .status-grid foram movidas para
   @container dashboard (ver seção "RESPONSIVIDADE POR CONTAINER" acima),
   para que os grids reajam ao espaço real (após sidebar), não à viewport. */
@media (max-width: 1024px) {
.header-filters[data-v-3068e296] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.charts-grid[data-v-3068e296] {
    grid-template-columns: 1fr;
}
.chart-header-modern[data-v-3068e296] {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.chart-stats-inline[data-v-3068e296] {
    justify-content: center;
    flex-wrap: wrap;
}
.chart-content-modern[data-v-3068e296] {
    height: 320px;
}
.messages-breakdown[data-v-3068e296] {
    flex-direction: column;
    gap: 0.75rem;
}
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
.dashboard[data-v-3068e296] {
    padding: 8px;
}
.header[data-v-3068e296] {
    padding: 1.5rem 1rem;
}
.header-filters[data-v-3068e296] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.charts-grid[data-v-3068e296] {
    padding: 1rem;
    gap: 0.75rem;
}
.additional-charts[data-v-3068e296] {
    padding: 1rem;
}
.date-picker-popover[data-v-3068e296] {
    min-width: 320px;
    right: -50px;
    max-width: calc(100vw - 2rem);
}
.calendars-container[data-v-3068e296] {
    flex-direction: column;
}
.messages-stats[data-v-3068e296] {
    padding: 0.75rem;
}
.total-messages[data-v-3068e296] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.chart-header-meta[data-v-3068e296] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-3068e296] {
    font-size: 28px;
}
.chart-bars-vertical[data-v-3068e296] {
    height: 240px;
}
.bars-area[data-v-3068e296] {
    height: 200px;
}
.y-axis-labels[data-v-3068e296] {
    height: 200px;
}
.bar-vertical[data-v-3068e296] {
    width: 20px;
}
.chart-legend[data-v-3068e296] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.real-time-header[data-v-3068e296] {
    padding: 1.5rem 1rem 1rem 1rem;
}
.real-time-title[data-v-3068e296] {
    font-size: 1rem;
}
.reports-button[data-v-3068e296] {
    font-size: 1rem;
}
}

/* --- Mobile --- */
@media (max-width: 480px) {
.dashboard[data-v-3068e296] {
    padding: 4px;
    font-size: 0.875rem;
}
.header[data-v-3068e296] {
    padding: 1rem 0.75rem;
}
.header-filters[data-v-3068e296] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.charts-grid[data-v-3068e296] {
    padding: 0.5rem;
}
.additional-charts[data-v-3068e296] {
    padding: 0.5rem;
}
.chart-card[data-v-3068e296], .agents-card[data-v-3068e296] {
    padding: 0.75rem;
}
.chart-canvas[data-v-3068e296] {
    height: 250px !important;
}
.stat-pill[data-v-3068e296] {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}
.chart-title-modern[data-v-3068e296] {
    font-size: 1rem;
}
.date-picker-popover[data-v-3068e296] {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
}
.messages-stats[data-v-3068e296] {
    padding: 0.5rem;
}
.total-value[data-v-3068e296] {
    font-size: 1.125rem;
}
.stat-value[data-v-3068e296] {
    font-size: 0.8rem;
}
.total-display[data-v-3068e296] {
    font-size: 24px;
}
.chart-title-meta[data-v-3068e296] {
    font-size: 14px;
}
.chart-subtitle[data-v-3068e296] {
    font-size: 11px;
}
.chart-bars-vertical[data-v-3068e296] {
    height: 200px;
    gap: 8px;
}
.bars-area[data-v-3068e296] {
    height: 160px;
}
.y-axis-labels[data-v-3068e296] {
    height: 160px;
    width: 40px;
}
.bar-vertical[data-v-3068e296] {
    width: 16px;
}
.bars-wrapper[data-v-3068e296] {
    gap: 2px;
}
.real-time-header[data-v-3068e296] {
    padding: 1.25rem 0.75rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
/* ===================================
   RESET E BASE
   =================================== */
/* * {
  box-sizing: border-box;
} */
.fade-table-enter-active[data-v-99d8fa4d], .fade-table-leave-active[data-v-99d8fa4d] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-99d8fa4d], .fade-table-leave-to[data-v-99d8fa4d] {
  opacity: 0;
}
.dashboard[data-v-99d8fa4d] {
  /* max-width: 1400px; */
  padding: 12px;
  min-height: 100vh;
  border-radius: 12px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: dashboard;
}
.help-badge[data-v-99d8fa4d] {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  outline: none;
}


/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */
.select-option.disabled[data-v-99d8fa4d] {
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}
.header[data-v-99d8fa4d] {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}
.header-content[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.header-title[data-v-99d8fa4d] {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.025em;
  text-align: left;
}
.dev-overlay[data-v-99d8fa4d] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* ou ajuste conforme seu layout */
  width: 100%;
  background: none;
  position: static;
  box-shadow: none;
  z-index: 1;
}
.dev-overlay-content[data-v-99d8fa4d] {
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
}










/* ===================================
   FILTROS E CONTROLES
   =================================== */
.header-filters[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}
.filter-group[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.filter-label-container[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.filter-icon[data-v-99d8fa4d] {
  width: 1rem;
  height: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.filter-label[data-v-99d8fa4d] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ===================================
   SELECT E DROPDOWN STYLES
   =================================== */
.select-display[data-v-99d8fa4d] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.select-display[data-v-99d8fa4d]:hover {
  border-color: #9ca3af;
}
.select-display[data-v-99d8fa4d]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.select-text[data-v-99d8fa4d] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.select-arrow[data-v-99d8fa4d] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select-arrow.rotated[data-v-99d8fa4d] {
  transform: rotate(180deg);
}
.select-dropdown[data-v-99d8fa4d] {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
}
.select-option[data-v-99d8fa4d] {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}
.select-option[data-v-99d8fa4d]:last-child {
  border-bottom: none;
}
.select-option[data-v-99d8fa4d]:hover {
  background: #f9fafb;
}
.select-option.selected[data-v-99d8fa4d] {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}
.select-option.selected[data-v-99d8fa4d]:hover {
  background: #dbeafe;
}
.option-text[data-v-99d8fa4d] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.dropdown-overlay[data-v-99d8fa4d] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

/* ===================================
   DATE PICKER STYLES
   =================================== */
.date-picker-group[data-v-99d8fa4d] {
  position: relative;
  overflow: visible;
}
.date-picker-container[data-v-99d8fa4d] {
  position: relative;
  overflow: visible;
  width: 100%;
}
.date-picker-button[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #374151;
}
.date-picker-button[data-v-99d8fa4d]:hover {
  border-color: #9ca3af;
}
.date-picker-button[data-v-99d8fa4d]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.calendar-icon[data-v-99d8fa4d] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.date-picker-popover[data-v-99d8fa4d] {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9999;
  margin-top: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 600px;
  max-width: 90vw;
}
.date-picker-content[data-v-99d8fa4d] {
  padding: 1rem;
}
.calendars-container[data-v-99d8fa4d] {
  display: flex;
  gap: 1rem;
}
.calendar[data-v-99d8fa4d] {
  flex: 1;
}
.calendar-header[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.month-title[data-v-99d8fa4d] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  text-transform: capitalize;
}
.nav-button[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-button[data-v-99d8fa4d]:hover {
  background: #f3f4f6;
}
.nav-icon[data-v-99d8fa4d] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.nav-spacer[data-v-99d8fa4d] {
  width: 2rem;
}
.calendar-grid[data-v-99d8fa4d] {
  width: 100%;
}
.weekdays[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.weekday[data-v-99d8fa4d] {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
}
.days[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.day-button[data-v-99d8fa4d] {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-button[data-v-99d8fa4d]:not(.empty):hover {
  background: #f3f4f6;
}
.day-button.selected[data-v-99d8fa4d] {
  background: #3b82f6;
  color: white;
}
.day-button.in-range[data-v-99d8fa4d] {
  background: #dbeafe;
  color: #1e40af;
}
.day-button.empty[data-v-99d8fa4d] {
  cursor: default;
}
.day-button[data-v-99d8fa4d]:disabled {
  cursor: default;
  opacity: 0.3;
}
.date-picker-footer[data-v-99d8fa4d] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.cancel-button[data-v-99d8fa4d], .apply-button[data-v-99d8fa4d] {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.cancel-button[data-v-99d8fa4d] {
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}
.cancel-button[data-v-99d8fa4d]:hover {
  background: #f9fafb;
}
.apply-button[data-v-99d8fa4d] {
  border: 1px solid #3b82f6;
  background: #3b82f6;
  color: white;
}
.apply-button[data-v-99d8fa4d]:hover {
  background: #2563eb;
}
/* ===================================
   HELPER TOOLTIP
   =================================== */
/* Hide help badge by default; show when hovering the card */
.help-badge[data-v-99d8fa4d] {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  cursor: help;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;

  /* start hidden */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
}
.metric-card:hover .help-badge[data-v-99d8fa4d] {
  /* show when hovering the entire card */
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.help-badge[data-v-99d8fa4d]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  color: #475569;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.help-badge[data-v-99d8fa4d]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* keep tooltip styles (unchanged) */
.help-tooltip[data-v-99d8fa4d] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  background: #ffffff;
  color: #374151;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 15px -3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}
.help-badge:hover .help-tooltip[data-v-99d8fa4d],
.help-badge:focus .help-tooltip[data-v-99d8fa4d] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===================================
   MÉTRICAS E CARDS
   =================================== */
.metrics-grid[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.metric-card[data-v-99d8fa4d] {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  overflow: visible;
  min-width: 0;
}
.metric-card[data-v-99d8fa4d]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.metric-header[data-v-99d8fa4d] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.metric-title[data-v-99d8fa4d] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.metric-icon[data-v-99d8fa4d] {
  width: 1rem;
  height: 1rem;
  color: #64748b;
}
.metric-value[data-v-99d8fa4d] {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.metric-description[data-v-99d8fa4d] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}
.metric-trend[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metric-trend.positive .trend-text[data-v-99d8fa4d] {
  color: #059669;
}
.metric-trend.negative .trend-text[data-v-99d8fa4d] {
  color: #dc2626;
}
.trend-icon[data-v-99d8fa4d] {
  width: 0.75rem;
  height: 0.75rem;
}
.metric-trend.positive .trend-icon[data-v-99d8fa4d] {
  color: #059669;
}
.metric-trend.negative .trend-icon[data-v-99d8fa4d] {
  color: #dc2626;
  transform: rotate(180deg);
}
.trend-text[data-v-99d8fa4d] {
  font-size: 0.75rem;
  font-weight: 500;
}
.metric-badge .badge[data-v-99d8fa4d] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.rating-container[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stars[data-v-99d8fa4d] {
  display: flex;
}
.star-wrapper[data-v-99d8fa4d] {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.star-icon[data-v-99d8fa4d] {
  width: 0.75rem;
  height: 0.75rem;
  color: #d1d5db;
}

/* Overlay amarelo sobreposto à estrela cinza base */
.star-icon-overlay[data-v-99d8fa4d] {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbf24;
  fill: #fbbf24;
}
.star-icon.filled[data-v-99d8fa4d] {
  color: #fbbf24;
  fill: #fbbf24;
}

/* Meia estrela: corta a metade direita do overlay, mostrando a cinza de baixo */
.star-icon.half-filled[data-v-99d8fa4d] {
  clip-path: inset(0 50% 0 0);
}
.rating-count[data-v-99d8fa4d] {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   GRÁFICOS - LAYOUT GERAL
   =================================== */
.charts-grid[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.chart-messages[data-v-99d8fa4d] {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.chart-card[data-v-99d8fa4d] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  min-width: 0;
  overflow: hidden;
}
.chart-header[data-v-99d8fa4d] {
  margin-bottom: 1.25rem;
}
.chart-title[data-v-99d8fa4d] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title-icon[data-v-99d8fa4d] {
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}
.chart-description[data-v-99d8fa4d] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.chart-content[data-v-99d8fa4d] {
  position: relative;
}
.chart-canvas[data-v-99d8fa4d] {
  height: 300px !important;
}
/* ===================================
   GRÁFICO DE MENSAGENS - CANVAS META STYLE
   =================================== */
.chart-header-meta[data-v-99d8fa4d] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e6ea;
}
.chart-title-section[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-title-meta[data-v-99d8fa4d] {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title-icon[data-v-99d8fa4d] {
  width: 16px;
  height: 16px;
  color: #65676b;
}
.chart-subtitle[data-v-99d8fa4d] {
  font-size: 12px;
  color: #65676b;
  margin: 0;
  font-weight: 400;
}
.total-display[data-v-99d8fa4d] {
  font-size: 32px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1;
}
.chart-header-stylish[data-v-99d8fa4d] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdfdfe 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.chart-header-stylish[data-v-99d8fa4d]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.chart-identity[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chart-badge[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.07), 0 1.5px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: box-shadow 0.2s;
}
.chart-badge[data-v-99d8fa4d]::before {
  display: none;
}
.badge-icon[data-v-99d8fa4d] {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  filter: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.chart-meta[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chart-title-stylish[data-v-99d8fa4d] {
  font-size: 17px;
  font-weight: 650;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chart-period-tag[data-v-99d8fa4d] {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.metric-highlight[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.metric-label[data-v-99d8fa4d] {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.metric-value-stylish[data-v-99d8fa4d] {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 0.9;
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  letter-spacing: -0.03em;
}
.chart-legend-mini[data-v-99d8fa4d] {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.legend-item-mini[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot[data-v-99d8fa4d] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text[data-v-99d8fa4d] {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 768px) {
.chart-legend-mini[data-v-99d8fa4d] {
    gap: 8px;
}
.legend-text[data-v-99d8fa4d] {
    font-size: 8px;
}
.legend-dot[data-v-99d8fa4d] {
    width: 5px;
    height: 5px;
}
}
@media (max-width: 480px) {
.chart-legend-mini[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
}
/* Responsividade refinada */
@media (max-width: 768px) {
.chart-header-stylish[data-v-99d8fa4d] {
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 14px;
}
.chart-badge[data-v-99d8fa4d] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.chart-badge[data-v-99d8fa4d]::before {
    border-radius: 9px;
}
.badge-icon[data-v-99d8fa4d] {
    width: 17px;
    height: 17px;
}
.chart-title-stylish[data-v-99d8fa4d] {
    font-size: 15px;
    font-weight: 600;
}
.chart-period-tag[data-v-99d8fa4d] {
    font-size: 9px;
}
.metric-value-stylish[data-v-99d8fa4d] {
    font-size: 26px;
}
.chart-identity[data-v-99d8fa4d] {
    gap: 12px;
}
}
@media (max-width: 480px) {
.chart-header-stylish[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
}
.metric-highlight[data-v-99d8fa4d] {
    align-items: flex-start;
    width: 100%;
}
.metric-value-stylish[data-v-99d8fa4d] {
    font-size: 25px;
    font-weight: 900;
}
.metric-label[data-v-99d8fa4d] {
    font-size: 8px;
}
.chart-title-stylish[data-v-99d8fa4d] {
    font-size: 16px;
}
}


/* Canvas Chart Container */
.canvas-chart-container[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.messages-canvas[data-v-99d8fa4d] {
  width: 100%;
  height: 420px; /* Increased height */
  border-radius: 4px;
  cursor: default;
}

/* Canvas Tooltip Styles - Positioned closer to bars */
.canvas-tooltip[data-v-99d8fa4d] {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  min-width: 140px;
 transform: translateX(12px);
}
.tooltip-content[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tooltip-date[data-v-99d8fa4d] {
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  text-align: center;
}
.tooltip-values[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tooltip-item[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tooltip-color[data-v-99d8fa4d] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip-item.received .tooltip-color[data-v-99d8fa4d] {
  background-color: #1877f2;
}
.tooltip-item.sent .tooltip-color[data-v-99d8fa4d] {
  background-color: #42a5f5;
}

/* Chart Legend */
.chart-legend[data-v-99d8fa4d] {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid #e4e6ea;
}
.legend-item[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-color[data-v-99d8fa4d] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.received-color[data-v-99d8fa4d] {
  background-color: #1877f2;
}
.sent-color[data-v-99d8fa4d] {
  background-color: #42a5f5;
}
.legend-label[data-v-99d8fa4d] {
  font-size: 14px;
  color: #1c1e21;
  font-weight: 500;
}
.legend-percentage[data-v-99d8fa4d] {
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
}

/* ===================================
   ESTATÍSTICAS DAS MENSAGENS
   =================================== */
.messages-stats[data-v-99d8fa4d] {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.total-messages[data-v-99d8fa4d] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.total-label[data-v-99d8fa4d] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.total-value[data-v-99d8fa4d] {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.messages-breakdown[data-v-99d8fa4d] {
  display: flex;
  gap: 1.5rem;
}
.message-stat[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-indicator[data-v-99d8fa4d] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.message-stat.received .stat-indicator[data-v-99d8fa4d] {
  background: #3b82f6;
}
.message-stat.sent .stat-indicator[data-v-99d8fa4d] {
  background: #10b981;
}
.stat-label[data-v-99d8fa4d] {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-value[data-v-99d8fa4d] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* ===================================
   RESPONSIVIDADE PARA CANVAS
   =================================== */
@media (max-width: 768px) {
.chart-header-meta[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-99d8fa4d] {
    font-size: 28px;
}
.messages-canvas[data-v-99d8fa4d] {
    height: 350px; /* Reduced height for mobile */
}
.chart-legend[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.canvas-tooltip[data-v-99d8fa4d] {
    font-size: 11px;
    padding: 10px 12px;
    max-width: 160px;
}
}
@media (max-width: 480px) {
.total-display[data-v-99d8fa4d] {
    font-size: 24px;
}
.chart-title-meta[data-v-99d8fa4d] {
    font-size: 14px;
}
.chart-subtitle[data-v-99d8fa4d] {
    font-size: 11px;
}
.messages-canvas[data-v-99d8fa4d] {
    height: 300px; /* Further reduced for small screens */
}
.canvas-tooltip[data-v-99d8fa4d] {
    font-size: 10px;
    padding: 8px 10px;
    max-width: 140px;
}
.tooltip-date[data-v-99d8fa4d] {
    font-size: 11px;
}
.tooltip-item[data-v-99d8fa4d] {
    font-size: 10px;
}
}
/* ===================================
   GRÁFICO DE DISCRIMINAÇÃO MODERNO
   =================================== */
.chart-header-modern[data-v-99d8fa4d] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.chart-title-modern[data-v-99d8fa4d] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
}
.chart-period[data-v-99d8fa4d] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
.chart-stats-inline[data-v-99d8fa4d] {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-pill[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.stat-pill.empresa[data-v-99d8fa4d] {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.stat-pill.cliente[data-v-99d8fa4d] {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.stat-pill.novos-contatos[data-v-99d8fa4d] {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.stat-dot[data-v-99d8fa4d] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-pill.empresa .stat-dot[data-v-99d8fa4d] {
  background: #6366f1;
}
.stat-pill.cliente .stat-dot[data-v-99d8fa4d] {
  background: #10b981;
}
.stat-pill.novos-contatos .stat-dot[data-v-99d8fa4d] {
  background: #f59e0b;
}
.stat-text[data-v-99d8fa4d] {
  white-space: nowrap;
}
.chart-content-modern[data-v-99d8fa4d] {
  position: relative;
  height: 405px;
  padding: 0 0.5rem;
}
.chart-canvas-modern[data-v-99d8fa4d] {
  height: 100% !important;
  width: 100% !important;
}

/* ===================================
   STATUS CARDS
   =================================== */
.status-update-bar[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1.5rem 0;
  justify-content: flex-end;
}
.status-update-icon[data-v-99d8fa4d] {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}
.status-update-icon.animate-spin[data-v-99d8fa4d] {
  animation: spin-99d8fa4d 1s linear infinite;
}
@keyframes spin-99d8fa4d {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}
.status-update-text[data-v-99d8fa4d] {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.status-grid[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.status-card[data-v-99d8fa4d] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
}
.status-card[data-v-99d8fa4d]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.status-header[data-v-99d8fa4d] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.status-title[data-v-99d8fa4d] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.status-icon[data-v-99d8fa4d] {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.status-value[data-v-99d8fa4d] {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
/* Borda com cores correspondentes */
.status-card.success[data-v-99d8fa4d] {
  border-left-color: #10b981;
}
.status-card.warning[data-v-99d8fa4d] {
  border-left-color: #f59e0b;
}
.status-card.neutral[data-v-99d8fa4d] {
  border-left-color: #b71c1c;
}
.status-card.info[data-v-99d8fa4d] {
  border-left-color: #3b82f6;
}
.status-card.active[data-v-99d8fa4d] {
  border-left-color: #374151;
}
.status-card.success .status-value[data-v-99d8fa4d] {
  color: #059669;
}
.status-card.success .status-icon[data-v-99d8fa4d] {
  color: #10b981;
}
.status-card.active .status-value[data-v-99d8fa4d] {
  color: #374151;
}
.status-card.active .status-icon[data-v-99d8fa4d] {
  color: #4b5563;
}
.status-card.warning .status-value[data-v-99d8fa4d] {
  color: #d97706;
}
.status-card.warning .status-icon[data-v-99d8fa4d] {
  color: #f59e0b;
}
.status-card.neutral .status-value[data-v-99d8fa4d] {
  color: #c04141;
}
.status-card.neutral .status-icon[data-v-99d8fa4d] {
  color: #b71c1c;
}
.status-card.info .status-value[data-v-99d8fa4d] {
  color: #2563eb;
}
.status-card.info .status-icon[data-v-99d8fa4d] {
  color: #3b82f6;
}
.status-description[data-v-99d8fa4d] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   RESPONSIVIDADE POR CONTAINER
   Reage ao espaço real do .dashboard
   (sidebar aberta/fechada), não à viewport.
   Deve vir DEPOIS das definições base de
   .metrics-grid e .status-grid para sobrescrever
   corretamente grid-template-columns/padding.
   =================================== */

/* Faixa folgada: 5 cols com padding/gap reduzidos */
@container dashboard (max-width: 1100px) {
.metrics-grid[data-v-99d8fa4d],
  .status-grid[data-v-99d8fa4d] {
    gap: 0.75rem;
    padding: 1rem;
}
.metrics-grid .metric-card[data-v-99d8fa4d],
  .status-grid .status-card[data-v-99d8fa4d] {
    padding: 1rem;
}
.metric-value[data-v-99d8fa4d],
  .status-value[data-v-99d8fa4d] {
    font-size: 1.5rem;
}
}

/* Faixa crítica: laptop 1024px + sidebar aberta → 3 + 2 */
@container dashboard (max-width: 820px) {
.metrics-grid[data-v-99d8fa4d],
  .status-grid[data-v-99d8fa4d] {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.875rem;
}
.metrics-grid .metric-card[data-v-99d8fa4d],
  .status-grid .status-card[data-v-99d8fa4d] {
    padding: 0.875rem;
}
.metric-value[data-v-99d8fa4d],
  .status-value[data-v-99d8fa4d] {
    font-size: 1.375rem;
}
.metric-description[data-v-99d8fa4d],
  .status-description[data-v-99d8fa4d] {
    font-size: 0.7rem;
}
}

/* Container estreito: 2 colunas */
@container dashboard (max-width: 560px) {
.metrics-grid[data-v-99d8fa4d],
  .status-grid[data-v-99d8fa4d] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}
}

/* Container muito estreito: coluna única */
@container dashboard (max-width: 400px) {
.metrics-grid[data-v-99d8fa4d],
  .status-grid[data-v-99d8fa4d] {
    grid-template-columns: 1fr;
}
}

/* ===================================
   GRÁFICOS ADICIONAIS
   =================================== */
.additional-charts[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===================================
   SEÇÃO DE AGENTES
   =================================== */
.agents-section[data-v-99d8fa4d] {
  padding: 1.5rem;
}
.agents-card[data-v-99d8fa4d] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.agents-header[data-v-99d8fa4d] {
  margin-bottom: 1.25rem;
}
.agents-title[data-v-99d8fa4d] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.agents-description[data-v-99d8fa4d] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agents-grid[data-v-99d8fa4d] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.agent-item[data-v-99d8fa4d] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.agent-item[data-v-99d8fa4d]:hover {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.agent-info[data-v-99d8fa4d] {
  display: flex;
  flex-direction: column;
}
.agent-name[data-v-99d8fa4d] {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}
.agent-team[data-v-99d8fa4d] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agent-status[data-v-99d8fa4d] {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-status.online[data-v-99d8fa4d] {
  background: #dcfce7;
  color: #166534;
}
.agent-status.busy[data-v-99d8fa4d] {
  background: #fef3c7;
  color: #92400e;
}
.agent-status.offline[data-v-99d8fa4d] {
  background: #fee2e2;
  color: #991b1b;
}

/* ===================================
   EFEITOS HOVER
   =================================== */
.stat-pill[data-v-99d8fa4d]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-pill.empresa[data-v-99d8fa4d]:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.stat-pill.cliente[data-v-99d8fa4d]:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.stat-pill.novos-contatos[data-v-99d8fa4d]:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}
/* ===================================
   LOADING
   =================================== */
.metric-loading-overlay[data-v-99d8fa4d] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.metric-loading[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.2rem;
  color: #888;
  position: relative;
}
.metric-loading[data-v-99d8fa4d]::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: metric-spin-99d8fa4d 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes metric-spin-99d8fa4d {
to {
    transform: rotate(360deg);
}
}
/* ===================================
   Title de REAL TIME SECTION
   =================================== */
.real-time-header[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
 padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}
.real-time-title[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #22223b;
  margin: 0;
}
.real-time-icon[data-v-99d8fa4d]{
  font-size: 1.8rem;
}
.reports-button[data-v-99d8fa4d] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.reports-button[data-v-99d8fa4d]:hover {
  background: #f3f4f6;
  text-decoration: none;
}
/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Nota: regras de .metrics-grid / .status-grid foram movidas para
   @container dashboard (ver seção "RESPONSIVIDADE POR CONTAINER" acima),
   para que os grids reajam ao espaço real (após sidebar), não à viewport. */
@media (max-width: 1024px) {
.header-filters[data-v-99d8fa4d] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.charts-grid[data-v-99d8fa4d] {
    grid-template-columns: 1fr;
}
.chart-header-modern[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.chart-stats-inline[data-v-99d8fa4d] {
    justify-content: center;
    flex-wrap: wrap;
}
.chart-content-modern[data-v-99d8fa4d] {
    height: 320px;
}
.messages-breakdown[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 0.75rem;
}
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
.dashboard[data-v-99d8fa4d] {
    padding: 8px;
}
.header[data-v-99d8fa4d] {
    padding: 1.5rem 1rem;
}
.header-filters[data-v-99d8fa4d] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.charts-grid[data-v-99d8fa4d] {
    padding: 1rem;
    gap: 0.75rem;
}
.additional-charts[data-v-99d8fa4d] {
    padding: 1rem;
}
.date-picker-popover[data-v-99d8fa4d] {
    min-width: 320px;
    right: -50px;
    max-width: calc(100vw - 2rem);
}
.calendars-container[data-v-99d8fa4d] {
    flex-direction: column;
}
.messages-stats[data-v-99d8fa4d] {
    padding: 0.75rem;
}
.total-messages[data-v-99d8fa4d] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.chart-header-meta[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-99d8fa4d] {
    font-size: 28px;
}
.chart-bars-vertical[data-v-99d8fa4d] {
    height: 240px;
}
.bars-area[data-v-99d8fa4d] {
    height: 200px;
}
.y-axis-labels[data-v-99d8fa4d] {
    height: 200px;
}
.bar-vertical[data-v-99d8fa4d] {
    width: 20px;
}
.chart-legend[data-v-99d8fa4d] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.real-time-header[data-v-99d8fa4d] {
    padding: 1.5rem 1rem 1rem 1rem;
}
.real-time-title[data-v-99d8fa4d] {
    font-size: 1rem;
}
.reports-button[data-v-99d8fa4d] {
    font-size: 1rem;
}
}

/* --- Mobile --- */
@media (max-width: 480px) {
.dashboard[data-v-99d8fa4d] {
    padding: 4px;
    font-size: 0.875rem;
}
.header[data-v-99d8fa4d] {
    padding: 1rem 0.75rem;
}
.header-filters[data-v-99d8fa4d] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.charts-grid[data-v-99d8fa4d] {
    padding: 0.5rem;
}
.additional-charts[data-v-99d8fa4d] {
    padding: 0.5rem;
}
.chart-card[data-v-99d8fa4d], .agents-card[data-v-99d8fa4d] {
    padding: 0.75rem;
}
.chart-canvas[data-v-99d8fa4d] {
    height: 250px !important;
}
.stat-pill[data-v-99d8fa4d] {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}
.chart-title-modern[data-v-99d8fa4d] {
    font-size: 1rem;
}
.date-picker-popover[data-v-99d8fa4d] {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
}
.messages-stats[data-v-99d8fa4d] {
    padding: 0.5rem;
}
.total-value[data-v-99d8fa4d] {
    font-size: 1.125rem;
}
.stat-value[data-v-99d8fa4d] {
    font-size: 0.8rem;
}
.total-display[data-v-99d8fa4d] {
    font-size: 24px;
}
.chart-title-meta[data-v-99d8fa4d] {
    font-size: 14px;
}
.chart-subtitle[data-v-99d8fa4d] {
    font-size: 11px;
}
.chart-bars-vertical[data-v-99d8fa4d] {
    height: 200px;
    gap: 8px;
}
.bars-area[data-v-99d8fa4d] {
    height: 160px;
}
.y-axis-labels[data-v-99d8fa4d] {
    height: 160px;
    width: 40px;
}
.bar-vertical[data-v-99d8fa4d] {
    width: 16px;
}
.bars-wrapper[data-v-99d8fa4d] {
    gap: 2px;
}
.real-time-header[data-v-99d8fa4d] {
    padding: 1.25rem 0.75rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
/* ===================================
   RESET E BASE
   =================================== */
/* * {
  box-sizing: border-box;
} */
.fade-table-enter-active[data-v-312a1be1], .fade-table-leave-active[data-v-312a1be1] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-312a1be1], .fade-table-leave-to[data-v-312a1be1] {
  opacity: 0;
}
.dashboard[data-v-312a1be1] {
  /* max-width: 1400px; */
  padding: 12px;
  min-height: 100vh;
  border-radius: 12px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: dashboard;
}
.help-badge[data-v-312a1be1] {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  outline: none;
}


/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */
.select-option.disabled[data-v-312a1be1] {
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}
.header[data-v-312a1be1] {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}
.header-content[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.header-title[data-v-312a1be1] {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.025em;
  text-align: left;
}
.dev-overlay[data-v-312a1be1] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* ou ajuste conforme seu layout */
  width: 100%;
  background: none;
  position: static;
  box-shadow: none;
  z-index: 1;
}
.dev-overlay-content[data-v-312a1be1] {
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
}










/* ===================================
   FILTROS E CONTROLES
   =================================== */
.header-filters[data-v-312a1be1] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}
.filter-group[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.filter-label-container[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.filter-icon[data-v-312a1be1] {
  width: 1rem;
  height: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.filter-label[data-v-312a1be1] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ===================================
   SELECT E DROPDOWN STYLES
   =================================== */
.select-display[data-v-312a1be1] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.select-display[data-v-312a1be1]:hover {
  border-color: #9ca3af;
}
.select-display[data-v-312a1be1]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.select-text[data-v-312a1be1] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.select-arrow[data-v-312a1be1] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select-arrow.rotated[data-v-312a1be1] {
  transform: rotate(180deg);
}
.select-dropdown[data-v-312a1be1] {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
}
.select-option[data-v-312a1be1] {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}
.select-option[data-v-312a1be1]:last-child {
  border-bottom: none;
}
.select-option[data-v-312a1be1]:hover {
  background: #f9fafb;
}
.select-option.selected[data-v-312a1be1] {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}
.select-option.selected[data-v-312a1be1]:hover {
  background: #dbeafe;
}
.option-text[data-v-312a1be1] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.dropdown-overlay[data-v-312a1be1] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

/* ===================================
   DATE PICKER STYLES
   =================================== */
.date-picker-group[data-v-312a1be1] {
  position: relative;
  overflow: visible;
}
.date-picker-container[data-v-312a1be1] {
  position: relative;
  overflow: visible;
  width: 100%;
}
.date-picker-button[data-v-312a1be1] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #374151;
}
.date-picker-button[data-v-312a1be1]:hover {
  border-color: #9ca3af;
}
.date-picker-button[data-v-312a1be1]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.calendar-icon[data-v-312a1be1] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.date-picker-popover[data-v-312a1be1] {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9999;
  margin-top: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 600px;
  max-width: 90vw;
}
.date-picker-content[data-v-312a1be1] {
  padding: 1rem;
}
.calendars-container[data-v-312a1be1] {
  display: flex;
  gap: 1rem;
}
.calendar[data-v-312a1be1] {
  flex: 1;
}
.calendar-header[data-v-312a1be1] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.month-title[data-v-312a1be1] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  text-transform: capitalize;
}
.nav-button[data-v-312a1be1] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-button[data-v-312a1be1]:hover {
  background: #f3f4f6;
}
.nav-icon[data-v-312a1be1] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.nav-spacer[data-v-312a1be1] {
  width: 2rem;
}
.calendar-grid[data-v-312a1be1] {
  width: 100%;
}
.weekdays[data-v-312a1be1] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.weekday[data-v-312a1be1] {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
}
.days[data-v-312a1be1] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.day-button[data-v-312a1be1] {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-button[data-v-312a1be1]:not(.empty):hover {
  background: #f3f4f6;
}
.day-button.selected[data-v-312a1be1] {
  background: #3b82f6;
  color: white;
}
.day-button.in-range[data-v-312a1be1] {
  background: #dbeafe;
  color: #1e40af;
}
.day-button.empty[data-v-312a1be1] {
  cursor: default;
}
.day-button[data-v-312a1be1]:disabled {
  cursor: default;
  opacity: 0.3;
}
.date-picker-footer[data-v-312a1be1] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.cancel-button[data-v-312a1be1], .apply-button[data-v-312a1be1] {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.cancel-button[data-v-312a1be1] {
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}
.cancel-button[data-v-312a1be1]:hover {
  background: #f9fafb;
}
.apply-button[data-v-312a1be1] {
  border: 1px solid #3b82f6;
  background: #3b82f6;
  color: white;
}
.apply-button[data-v-312a1be1]:hover {
  background: #2563eb;
}
/* ===================================
   HELPER TOOLTIP
   =================================== */
/* Hide help badge by default; show when hovering the card */
.help-badge[data-v-312a1be1] {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  cursor: help;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;

  /* start hidden */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
}
.metric-card:hover .help-badge[data-v-312a1be1] {
  /* show when hovering the entire card */
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.help-badge[data-v-312a1be1]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  color: #475569;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.help-badge[data-v-312a1be1]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* keep tooltip styles (unchanged) */
.help-tooltip[data-v-312a1be1] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  background: #ffffff;
  color: #374151;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 15px -3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}
.help-badge:hover .help-tooltip[data-v-312a1be1],
.help-badge:focus .help-tooltip[data-v-312a1be1] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===================================
   MÉTRICAS E CARDS
   =================================== */
.metrics-grid[data-v-312a1be1] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.metric-card[data-v-312a1be1] {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  overflow: visible;
  min-width: 0;
}
.metric-card[data-v-312a1be1]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.metric-header[data-v-312a1be1] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.metric-title[data-v-312a1be1] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.metric-icon[data-v-312a1be1] {
  width: 1rem;
  height: 1rem;
  color: #64748b;
}
.metric-value[data-v-312a1be1] {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.metric-description[data-v-312a1be1] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}
.metric-trend[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metric-trend.positive .trend-text[data-v-312a1be1] {
  color: #059669;
}
.metric-trend.negative .trend-text[data-v-312a1be1] {
  color: #dc2626;
}
.trend-icon[data-v-312a1be1] {
  width: 0.75rem;
  height: 0.75rem;
}
.metric-trend.positive .trend-icon[data-v-312a1be1] {
  color: #059669;
}
.metric-trend.negative .trend-icon[data-v-312a1be1] {
  color: #dc2626;
  transform: rotate(180deg);
}
.trend-text[data-v-312a1be1] {
  font-size: 0.75rem;
  font-weight: 500;
}
.metric-badge .badge[data-v-312a1be1] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.rating-container[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stars[data-v-312a1be1] {
  display: flex;
}
.star-wrapper[data-v-312a1be1] {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.star-icon[data-v-312a1be1] {
  width: 0.75rem;
  height: 0.75rem;
  color: #d1d5db;
}

/* Overlay amarelo sobreposto à estrela cinza base */
.star-icon-overlay[data-v-312a1be1] {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbf24;
  fill: #fbbf24;
}
.star-icon.filled[data-v-312a1be1] {
  color: #fbbf24;
  fill: #fbbf24;
}

/* Meia estrela: corta a metade direita do overlay, mostrando a cinza de baixo */
.star-icon.half-filled[data-v-312a1be1] {
  clip-path: inset(0 50% 0 0);
}
.rating-count[data-v-312a1be1] {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   GRÁFICOS - LAYOUT GERAL
   =================================== */
.charts-grid[data-v-312a1be1] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.chart-messages[data-v-312a1be1] {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.chart-card[data-v-312a1be1] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  min-width: 0;
  overflow: hidden;
}
.chart-header[data-v-312a1be1] {
  margin-bottom: 1.25rem;
}
.chart-title[data-v-312a1be1] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title-icon[data-v-312a1be1] {
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}
.chart-description[data-v-312a1be1] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.chart-content[data-v-312a1be1] {
  position: relative;
}
.chart-canvas[data-v-312a1be1] {
  height: 300px !important;
}
/* ===================================
   GRÁFICO DE MENSAGENS - CANVAS META STYLE
   =================================== */
.chart-header-meta[data-v-312a1be1] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e6ea;
}
.chart-title-section[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-title-meta[data-v-312a1be1] {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title-icon[data-v-312a1be1] {
  width: 16px;
  height: 16px;
  color: #65676b;
}
.chart-subtitle[data-v-312a1be1] {
  font-size: 12px;
  color: #65676b;
  margin: 0;
  font-weight: 400;
}
.total-display[data-v-312a1be1] {
  font-size: 32px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1;
}
.chart-header-stylish[data-v-312a1be1] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdfdfe 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.chart-header-stylish[data-v-312a1be1]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.chart-identity[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chart-badge[data-v-312a1be1] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.07), 0 1.5px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: box-shadow 0.2s;
}
.chart-badge[data-v-312a1be1]::before {
  display: none;
}
.badge-icon[data-v-312a1be1] {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  filter: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.chart-meta[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chart-title-stylish[data-v-312a1be1] {
  font-size: 17px;
  font-weight: 650;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chart-period-tag[data-v-312a1be1] {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.metric-highlight[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.metric-label[data-v-312a1be1] {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.metric-value-stylish[data-v-312a1be1] {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 0.9;
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  letter-spacing: -0.03em;
}
.chart-legend-mini[data-v-312a1be1] {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.legend-item-mini[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot[data-v-312a1be1] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text[data-v-312a1be1] {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 768px) {
.chart-legend-mini[data-v-312a1be1] {
    gap: 8px;
}
.legend-text[data-v-312a1be1] {
    font-size: 8px;
}
.legend-dot[data-v-312a1be1] {
    width: 5px;
    height: 5px;
}
}
@media (max-width: 480px) {
.chart-legend-mini[data-v-312a1be1] {
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
}
/* Responsividade refinada */
@media (max-width: 768px) {
.chart-header-stylish[data-v-312a1be1] {
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 14px;
}
.chart-badge[data-v-312a1be1] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.chart-badge[data-v-312a1be1]::before {
    border-radius: 9px;
}
.badge-icon[data-v-312a1be1] {
    width: 17px;
    height: 17px;
}
.chart-title-stylish[data-v-312a1be1] {
    font-size: 15px;
    font-weight: 600;
}
.chart-period-tag[data-v-312a1be1] {
    font-size: 9px;
}
.metric-value-stylish[data-v-312a1be1] {
    font-size: 26px;
}
.chart-identity[data-v-312a1be1] {
    gap: 12px;
}
}
@media (max-width: 480px) {
.chart-header-stylish[data-v-312a1be1] {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
}
.metric-highlight[data-v-312a1be1] {
    align-items: flex-start;
    width: 100%;
}
.metric-value-stylish[data-v-312a1be1] {
    font-size: 25px;
    font-weight: 900;
}
.metric-label[data-v-312a1be1] {
    font-size: 8px;
}
.chart-title-stylish[data-v-312a1be1] {
    font-size: 16px;
}
}


/* Canvas Chart Container */
.canvas-chart-container[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.messages-canvas[data-v-312a1be1] {
  width: 100%;
  height: 420px; /* Increased height */
  border-radius: 4px;
  cursor: default;
}

/* Canvas Tooltip Styles - Positioned closer to bars */
.canvas-tooltip[data-v-312a1be1] {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  min-width: 140px;
 transform: translateX(12px);
}
.tooltip-content[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tooltip-date[data-v-312a1be1] {
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  text-align: center;
}
.tooltip-values[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tooltip-item[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tooltip-color[data-v-312a1be1] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip-item.received .tooltip-color[data-v-312a1be1] {
  background-color: #1877f2;
}
.tooltip-item.sent .tooltip-color[data-v-312a1be1] {
  background-color: #42a5f5;
}

/* Chart Legend */
.chart-legend[data-v-312a1be1] {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid #e4e6ea;
}
.legend-item[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-color[data-v-312a1be1] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.received-color[data-v-312a1be1] {
  background-color: #1877f2;
}
.sent-color[data-v-312a1be1] {
  background-color: #42a5f5;
}
.legend-label[data-v-312a1be1] {
  font-size: 14px;
  color: #1c1e21;
  font-weight: 500;
}
.legend-percentage[data-v-312a1be1] {
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
}

/* ===================================
   ESTATÍSTICAS DAS MENSAGENS
   =================================== */
.messages-stats[data-v-312a1be1] {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.total-messages[data-v-312a1be1] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.total-label[data-v-312a1be1] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.total-value[data-v-312a1be1] {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.messages-breakdown[data-v-312a1be1] {
  display: flex;
  gap: 1.5rem;
}
.message-stat[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-indicator[data-v-312a1be1] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.message-stat.received .stat-indicator[data-v-312a1be1] {
  background: #3b82f6;
}
.message-stat.sent .stat-indicator[data-v-312a1be1] {
  background: #10b981;
}
.stat-label[data-v-312a1be1] {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-value[data-v-312a1be1] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* ===================================
   RESPONSIVIDADE PARA CANVAS
   =================================== */
@media (max-width: 768px) {
.chart-header-meta[data-v-312a1be1] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-312a1be1] {
    font-size: 28px;
}
.messages-canvas[data-v-312a1be1] {
    height: 350px; /* Reduced height for mobile */
}
.chart-legend[data-v-312a1be1] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.canvas-tooltip[data-v-312a1be1] {
    font-size: 11px;
    padding: 10px 12px;
    max-width: 160px;
}
}
@media (max-width: 480px) {
.total-display[data-v-312a1be1] {
    font-size: 24px;
}
.chart-title-meta[data-v-312a1be1] {
    font-size: 14px;
}
.chart-subtitle[data-v-312a1be1] {
    font-size: 11px;
}
.messages-canvas[data-v-312a1be1] {
    height: 300px; /* Further reduced for small screens */
}
.canvas-tooltip[data-v-312a1be1] {
    font-size: 10px;
    padding: 8px 10px;
    max-width: 140px;
}
.tooltip-date[data-v-312a1be1] {
    font-size: 11px;
}
.tooltip-item[data-v-312a1be1] {
    font-size: 10px;
}
}
/* ===================================
   GRÁFICO DE DISCRIMINAÇÃO MODERNO
   =================================== */
.chart-header-modern[data-v-312a1be1] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.chart-title-modern[data-v-312a1be1] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
}
.chart-period[data-v-312a1be1] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
.chart-stats-inline[data-v-312a1be1] {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-pill[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.stat-pill.empresa[data-v-312a1be1] {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.stat-pill.cliente[data-v-312a1be1] {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.stat-pill.novos-contatos[data-v-312a1be1] {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.stat-dot[data-v-312a1be1] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-pill.empresa .stat-dot[data-v-312a1be1] {
  background: #6366f1;
}
.stat-pill.cliente .stat-dot[data-v-312a1be1] {
  background: #10b981;
}
.stat-pill.novos-contatos .stat-dot[data-v-312a1be1] {
  background: #f59e0b;
}
.stat-text[data-v-312a1be1] {
  white-space: nowrap;
}
.chart-content-modern[data-v-312a1be1] {
  position: relative;
  height: 405px;
  padding: 0 0.5rem;
}
.chart-canvas-modern[data-v-312a1be1] {
  height: 100% !important;
  width: 100% !important;
}

/* ===================================
   STATUS CARDS
   =================================== */
.status-update-bar[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1.5rem 0;
  justify-content: flex-end;
}
.status-update-icon[data-v-312a1be1] {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}
.status-update-icon.animate-spin[data-v-312a1be1] {
  animation: spin-312a1be1 1s linear infinite;
}
@keyframes spin-312a1be1 {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}
.status-update-text[data-v-312a1be1] {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.status-grid[data-v-312a1be1] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.status-card[data-v-312a1be1] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
}
.status-card[data-v-312a1be1]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.status-header[data-v-312a1be1] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.status-title[data-v-312a1be1] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.status-icon[data-v-312a1be1] {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.status-value[data-v-312a1be1] {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
/* Borda com cores correspondentes */
.status-card.success[data-v-312a1be1] {
  border-left-color: #10b981;
}
.status-card.warning[data-v-312a1be1] {
  border-left-color: #f59e0b;
}
.status-card.neutral[data-v-312a1be1] {
  border-left-color: #b71c1c;
}
.status-card.info[data-v-312a1be1] {
  border-left-color: #3b82f6;
}
.status-card.active[data-v-312a1be1] {
  border-left-color: #374151;
}
.status-card.success .status-value[data-v-312a1be1] {
  color: #059669;
}
.status-card.success .status-icon[data-v-312a1be1] {
  color: #10b981;
}
.status-card.active .status-value[data-v-312a1be1] {
  color: #374151;
}
.status-card.active .status-icon[data-v-312a1be1] {
  color: #4b5563;
}
.status-card.warning .status-value[data-v-312a1be1] {
  color: #d97706;
}
.status-card.warning .status-icon[data-v-312a1be1] {
  color: #f59e0b;
}
.status-card.neutral .status-value[data-v-312a1be1] {
  color: #c04141;
}
.status-card.neutral .status-icon[data-v-312a1be1] {
  color: #b71c1c;
}
.status-card.info .status-value[data-v-312a1be1] {
  color: #2563eb;
}
.status-card.info .status-icon[data-v-312a1be1] {
  color: #3b82f6;
}
.status-description[data-v-312a1be1] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   RESPONSIVIDADE POR CONTAINER
   Reage ao espaço real do .dashboard
   (sidebar aberta/fechada), não à viewport.
   Deve vir DEPOIS das definições base de
   .metrics-grid e .status-grid para sobrescrever
   corretamente grid-template-columns/padding.
   =================================== */

/* Faixa folgada: 5 cols com padding/gap reduzidos */
@container dashboard (max-width: 1100px) {
.metrics-grid[data-v-312a1be1],
  .status-grid[data-v-312a1be1] {
    gap: 0.75rem;
    padding: 1rem;
}
.metrics-grid .metric-card[data-v-312a1be1],
  .status-grid .status-card[data-v-312a1be1] {
    padding: 1rem;
}
.metric-value[data-v-312a1be1],
  .status-value[data-v-312a1be1] {
    font-size: 1.5rem;
}
}

/* Faixa crítica: laptop 1024px + sidebar aberta → 3 + 2 */
@container dashboard (max-width: 820px) {
.metrics-grid[data-v-312a1be1],
  .status-grid[data-v-312a1be1] {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.875rem;
}
.metrics-grid .metric-card[data-v-312a1be1],
  .status-grid .status-card[data-v-312a1be1] {
    padding: 0.875rem;
}
.metric-value[data-v-312a1be1],
  .status-value[data-v-312a1be1] {
    font-size: 1.375rem;
}
.metric-description[data-v-312a1be1],
  .status-description[data-v-312a1be1] {
    font-size: 0.7rem;
}
}

/* Container estreito: 2 colunas */
@container dashboard (max-width: 560px) {
.metrics-grid[data-v-312a1be1],
  .status-grid[data-v-312a1be1] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}
}

/* Container muito estreito: coluna única */
@container dashboard (max-width: 400px) {
.metrics-grid[data-v-312a1be1],
  .status-grid[data-v-312a1be1] {
    grid-template-columns: 1fr;
}
}

/* ===================================
   GRÁFICOS ADICIONAIS
   =================================== */
.additional-charts[data-v-312a1be1] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===================================
   SEÇÃO DE AGENTES
   =================================== */
.agents-section[data-v-312a1be1] {
  padding: 1.5rem;
}
.agents-card[data-v-312a1be1] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.agents-header[data-v-312a1be1] {
  margin-bottom: 1.25rem;
}
.agents-title[data-v-312a1be1] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.agents-description[data-v-312a1be1] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agents-grid[data-v-312a1be1] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.agent-item[data-v-312a1be1] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.agent-item[data-v-312a1be1]:hover {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.agent-info[data-v-312a1be1] {
  display: flex;
  flex-direction: column;
}
.agent-name[data-v-312a1be1] {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}
.agent-team[data-v-312a1be1] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agent-status[data-v-312a1be1] {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-status.online[data-v-312a1be1] {
  background: #dcfce7;
  color: #166534;
}
.agent-status.busy[data-v-312a1be1] {
  background: #fef3c7;
  color: #92400e;
}
.agent-status.offline[data-v-312a1be1] {
  background: #fee2e2;
  color: #991b1b;
}

/* ===================================
   EFEITOS HOVER
   =================================== */
.stat-pill[data-v-312a1be1]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-pill.empresa[data-v-312a1be1]:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.stat-pill.cliente[data-v-312a1be1]:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.stat-pill.novos-contatos[data-v-312a1be1]:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}
/* ===================================
   LOADING
   =================================== */
.metric-loading-overlay[data-v-312a1be1] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.metric-loading[data-v-312a1be1] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.2rem;
  color: #888;
  position: relative;
}
.metric-loading[data-v-312a1be1]::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: metric-spin-312a1be1 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes metric-spin-312a1be1 {
to {
    transform: rotate(360deg);
}
}
/* ===================================
   Title de REAL TIME SECTION
   =================================== */
.real-time-header[data-v-312a1be1] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
 padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}
.real-time-title[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #22223b;
  margin: 0;
}
.real-time-icon[data-v-312a1be1]{
  font-size: 1.8rem;
}
.reports-button[data-v-312a1be1] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.reports-button[data-v-312a1be1]:hover {
  background: #f3f4f6;
  text-decoration: none;
}
/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Nota: regras de .metrics-grid / .status-grid foram movidas para
   @container dashboard (ver seção "RESPONSIVIDADE POR CONTAINER" acima),
   para que os grids reajam ao espaço real (após sidebar), não à viewport. */
@media (max-width: 1024px) {
.header-filters[data-v-312a1be1] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.charts-grid[data-v-312a1be1] {
    grid-template-columns: 1fr;
}
.chart-header-modern[data-v-312a1be1] {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.chart-stats-inline[data-v-312a1be1] {
    justify-content: center;
    flex-wrap: wrap;
}
.chart-content-modern[data-v-312a1be1] {
    height: 320px;
}
.messages-breakdown[data-v-312a1be1] {
    flex-direction: column;
    gap: 0.75rem;
}
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
.dashboard[data-v-312a1be1] {
    padding: 8px;
}
.header[data-v-312a1be1] {
    padding: 1.5rem 1rem;
}
.header-filters[data-v-312a1be1] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.charts-grid[data-v-312a1be1] {
    padding: 1rem;
    gap: 0.75rem;
}
.additional-charts[data-v-312a1be1] {
    padding: 1rem;
}
.date-picker-popover[data-v-312a1be1] {
    min-width: 320px;
    right: -50px;
    max-width: calc(100vw - 2rem);
}
.calendars-container[data-v-312a1be1] {
    flex-direction: column;
}
.messages-stats[data-v-312a1be1] {
    padding: 0.75rem;
}
.total-messages[data-v-312a1be1] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.chart-header-meta[data-v-312a1be1] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-312a1be1] {
    font-size: 28px;
}
.chart-bars-vertical[data-v-312a1be1] {
    height: 240px;
}
.bars-area[data-v-312a1be1] {
    height: 200px;
}
.y-axis-labels[data-v-312a1be1] {
    height: 200px;
}
.bar-vertical[data-v-312a1be1] {
    width: 20px;
}
.chart-legend[data-v-312a1be1] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.real-time-header[data-v-312a1be1] {
    padding: 1.5rem 1rem 1rem 1rem;
}
.real-time-title[data-v-312a1be1] {
    font-size: 1rem;
}
.reports-button[data-v-312a1be1] {
    font-size: 1rem;
}
}

/* --- Mobile --- */
@media (max-width: 480px) {
.dashboard[data-v-312a1be1] {
    padding: 4px;
    font-size: 0.875rem;
}
.header[data-v-312a1be1] {
    padding: 1rem 0.75rem;
}
.header-filters[data-v-312a1be1] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.charts-grid[data-v-312a1be1] {
    padding: 0.5rem;
}
.additional-charts[data-v-312a1be1] {
    padding: 0.5rem;
}
.chart-card[data-v-312a1be1], .agents-card[data-v-312a1be1] {
    padding: 0.75rem;
}
.chart-canvas[data-v-312a1be1] {
    height: 250px !important;
}
.stat-pill[data-v-312a1be1] {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}
.chart-title-modern[data-v-312a1be1] {
    font-size: 1rem;
}
.date-picker-popover[data-v-312a1be1] {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
}
.messages-stats[data-v-312a1be1] {
    padding: 0.5rem;
}
.total-value[data-v-312a1be1] {
    font-size: 1.125rem;
}
.stat-value[data-v-312a1be1] {
    font-size: 0.8rem;
}
.total-display[data-v-312a1be1] {
    font-size: 24px;
}
.chart-title-meta[data-v-312a1be1] {
    font-size: 14px;
}
.chart-subtitle[data-v-312a1be1] {
    font-size: 11px;
}
.chart-bars-vertical[data-v-312a1be1] {
    height: 200px;
    gap: 8px;
}
.bars-area[data-v-312a1be1] {
    height: 160px;
}
.y-axis-labels[data-v-312a1be1] {
    height: 160px;
    width: 40px;
}
.bar-vertical[data-v-312a1be1] {
    width: 16px;
}
.bars-wrapper[data-v-312a1be1] {
    gap: 2px;
}
.real-time-header[data-v-312a1be1] {
    padding: 1.25rem 0.75rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}

/* Smooth transitions for all interactive elements */
[data-v-4b4855a8] {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.group:hover .group-hover\:scale-105[data-v-4b4855a8] {
  transform: scale(1.05);
}
.group:hover .group-hover\:scale-\[1\.02\][data-v-4b4855a8] {
  transform: scale(1.02);
}

/* Custom scrollbar for mobile */
@media (max-width: 768px) {
.overflow-x-auto[data-v-4b4855a8]::-webkit-scrollbar {
    height: 4px;
}
.overflow-x-auto[data-v-4b4855a8]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}
.overflow-x-auto[data-v-4b4855a8]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}
}

/* Subtle animations */
@keyframes fadeInUp-4b4855a8 {
from {
    opacity: 0;
    transform: translateY(20px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
.group[data-v-4b4855a8] {
  animation: fadeInUp-4b4855a8 0.6s ease-out;
}
.group[data-v-4b4855a8]:nth-child(2) { animation-delay: 0.1s;
}
.group[data-v-4b4855a8]:nth-child(3) { animation-delay: 0.2s;
}
.group[data-v-4b4855a8]:nth-child(4) { animation-delay: 0.3s;
}
.group[data-v-4b4855a8]:nth-child(5) { animation-delay: 0.4s;
}

.empty-state[data-v-c63be775] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  width: 100%;
}
.empty-state-content[data-v-c63be775] {
  text-align: center;
  max-width: 400px;
  padding: 32px 16px;
}
.empty-state-icon[data-v-c63be775] {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}
.empty-state-icon svg[data-v-c63be775] {
  width: 32px;
  height: 32px;
}
.empty-state-title[data-v-c63be775] {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px 0;
}
.empty-state-description[data-v-c63be775] {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Existing styles remain the same... */
.sales-cards-container[data-v-c63be775] {
  width: 100%;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  min-height: 400px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
.sales-cards-container[data-v-c63be775] {
    padding: 24px;
}
}
.main-content[data-v-c63be775] {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}
@media (min-width: 1024px) {
.main-content[data-v-c63be775] {
    flex-direction: row;
}
}
.stage-labels[data-v-c63be775] {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  margin-right: 24px;
  margin-bottom: 16px;
  padding-top: 16px;
  text-align: left;
  width: 128px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
.stage-labels[data-v-c63be775] {
    display: flex;
    margin-bottom: 0;
}
}
.cards-wrapper[data-v-c63be775] {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 10px;
  flex-direction: column;
}
@media (min-width: 768px) {
.cards-wrapper[data-v-c63be775] {
    flex-direction: row;
}
}
.cards-container[data-v-c63be775] {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.cards-grid[data-v-c63be775] {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 8px;
}
.cards-grid[data-v-c63be775]::-webkit-scrollbar {
  height: 4px;
}
.cards-grid[data-v-c63be775]::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}
.cards-grid[data-v-c63be775]::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}
.cards-grid[data-v-c63be775]::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.cards-container.few-cards .cards-grid[data-v-c63be775] {
  justify-content: center;
}
.cards-container.many-cards .cards-grid[data-v-c63be775] {
  justify-content: flex-start;
}
.slides-wrapper[data-v-c63be775] {
  display: flex;
  transition: transform 0.3s ease-in-out;
  padding-right: 20px;
}

/* Clickable card styles */
.clickable-card[data-v-c63be775] {
  cursor: pointer;
  transition: all 0.3s ease;
}
.clickable-card[data-v-c63be775]:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.stage-card[data-v-c63be775] {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
.stage-card[data-v-c63be775] {
    width: 240px;
    min-width: 240px;
}
}
@media (max-width: 479px) {
.stage-card[data-v-c63be775] {
    width: 220px;
    min-width: 220px;
}
}
.stage-card.slide-card[data-v-c63be775] {
  margin-right: 10px;
}
.stage-card.slide-card[data-v-c63be775]:last-child {
  margin-right: 24px;
}

/* Modal Styles */
.modal-overlay[data-v-c63be775] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fadeIn-c63be775 0.2s ease-out;
}
@keyframes fadeIn-c63be775 {
from { opacity: 0;
}
to { opacity: 1;
}
}
.modal-content[data-v-c63be775] {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn-c63be775 0.3s ease-out;
}
@keyframes slideIn-c63be775 {
from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
}
to {
    opacity: 1;
    transform: scale(1) translateY(0);
}
}
.modal-header[data-v-c63be775] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
  padding-bottom: 16px;
}
.modal-title-section[data-v-c63be775] {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-color-indicator[data-v-c63be775] {
  width: 4px;
  height: 32px;
  border-radius: 2px;
}
.modal-title[data-v-c63be775] {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.modal-close-button[data-v-c63be775] {
  width: 32px;
  height: 32px;
  border: none;
  background: #f9fafb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
}
.modal-close-button[data-v-c63be775]:hover {
  background: #f3f4f6;
  color: #374151;
}
.modal-close-button svg[data-v-c63be775] {
  width: 16px;
  height: 16px;
}
.modal-body[data-v-c63be775] {
  padding: 0 24px 24px 24px;
}
.modal-section[data-v-c63be775] {
  margin-bottom: 32px;
}
.modal-section[data-v-c63be775]:last-child {
  margin-bottom: 0;
}
.section-title[data-v-c63be775] {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px 0;
}
.stats-grid[data-v-c63be775] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card[data-v-c63be775] {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.stat-label[data-v-c63be775] {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.stat-value[data-v-c63be775] {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}
.opportunity-details[data-v-c63be775] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.opportunity-metric[data-v-c63be775] {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
}
.metric-icon[data-v-c63be775] {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.metric-icon.success[data-v-c63be775] {
  background: #dcfce7;
  color: #16a34a;
}
.metric-icon.danger[data-v-c63be775] {
  background: #fef2f2;
  color: #dc2626;
}
.metric-icon svg[data-v-c63be775] {
  width: 20px;
  height: 20px;
}
.metric-content[data-v-c63be775] {
  flex: 1;
}
.metric-label[data-v-c63be775] {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.metric-value[data-v-c63be775] {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.metric-description[data-v-c63be775] {
  font-size: 12px;
  color: #6b7280;
}
.insights-list[data-v-c63be775] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight-item[data-v-c63be775] {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
}
.insight-item.excellent[data-v-c63be775] {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.insight-item.good[data-v-c63be775] {
  background: #fffbeb; /* claro amarelo */
  border-color: #fef3c7; /* amarelo suave */
}
.insight-item.poor[data-v-c63be775] {
  background: #fef2f2;
  border-color: #fecaca;
}

/* Indicadores (bolinha) */
.insight-item.excellent .insight-indicator[data-v-c63be775] {
  background: #16a34a; /* verde */
}
.insight-item.good .insight-indicator[data-v-c63be775] {
  background: #f59e0b; /* amarelo/laranja */
}
.insight-item.poor .insight-indicator[data-v-c63be775] {
  background: #dc2626; /* vermelho */
}
.insight-indicator[data-v-c63be775] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.insight-content[data-v-c63be775] {
  flex: 1;
}
.insight-title[data-v-c63be775] {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.insight-description[data-v-c63be775] {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* All other existing styles remain the same... */
.loading-overlay[data-v-c63be775] {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 16px;
}
.loading-content[data-v-c63be775] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.spinner[data-v-c63be775] {
  width: 32px;
  height: 32px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #111827;
  border-radius: 50%;
  animation: spin-c63be775 1s linear infinite;
}
.loading-text[data-v-c63be775] {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}
@keyframes spin-c63be775 {
to { transform: rotate(360deg);
}
}
.label-item[data-v-c63be775] {
  height: 96px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e5e7eb;
  padding-right: 16px;
}
.label-item.primary[data-v-c63be775] {
  height: 128px;
  border-right-color: #d1d5db;
}
.label-item.loss[data-v-c63be775] {
  height: 64px;
}
.label-text[data-v-c63be775] {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.label-item.primary .label-text[data-v-c63be775] {
  font-weight: 600;
  color: #374151;
}
.label-item.loss .label-text[data-v-c63be775] {
  color: #dc2626;
  font-weight: 600;
}
.color-indicator[data-v-c63be775] {
  height: 3px;
}
.within-stage[data-v-c63be775] {
  padding: 16px;
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #f8fafc;
  text-align: center;
}
.stage-title[data-v-c63be775] {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.stage-count[data-v-c63be775] {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
.opportunities-section[data-v-c63be775] {
  padding: 16px;
  height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: #fafbfc;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}
.opportunity-number[data-v-c63be775] {
  font-size: 32px;
  font-weight: 300;
  color: #111827;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}
.stage-card:hover .opportunity-number[data-v-c63be775] {
  transform: scale(1.05);
}
.opportunity-label[data-v-c63be775] {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  font-weight: 500;
}
.opportunity-value[data-v-c63be775] {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.side-indicator[data-v-c63be775] {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}
.loss-section[data-v-c63be775] {
  padding: 12px 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #fef2f2; */
  /* border-left: 2px solid #f87171; */
  position: relative;
}
.loss-content[data-v-c63be775] {
  text-align: center;
}
.loss-count[data-v-c63be775] {
  font-size: 12px;
  color: #dc2626;
  margin-bottom: 4px;
  font-weight: 600;
}
.loss-value[data-v-c63be775] {
  font-size: 12px;
  /* color: #991b1b; */
  color: #111827;
  font-weight: 700;
}
.loss-indicator[data-v-c63be775] {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}
.total-card[data-v-c63be775] {
  width: 260px;
  min-width: 200px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #86efac;
  overflow: hidden;
  /* margin: 16px auto 0; */
}
@media (min-width: 768px) {
.total-card[data-v-c63be775] {
    margin: 0;
    position: sticky;
    top: 0;
}
}
@media (min-width: 1024px) {
.total-card[data-v-c63be775] {
    width: 208px;
    min-width: 208px;
}
}
.total-card.mobile-total[data-v-c63be775] {
  position: static;
  /* margin: 16px auto 0; */
}
.navigation[data-v-c63be775] {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
}
@media (min-width: 768px) {
.navigation[data-v-c63be775] {
    gap: 16px;
}
}
.nav-button[data-v-c63be775] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #374151;
  cursor: pointer;
}
@media (min-width: 768px) {
.nav-button[data-v-c63be775] {
    width: 40px;
    height: 40px;
}
}
.nav-button[data-v-c63be775]:hover:not(.disabled) {
  background: #f9fafb;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
.nav-button.disabled[data-v-c63be775] {
  color: #d1d5db;
  cursor: not-allowed;
  opacity: 0.5;
}
.nav-button svg[data-v-c63be775] {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
@media (min-width: 768px) {
.nav-button svg[data-v-c63be775] {
    width: 20px;
    height: 20px;
}
}
.indicators[data-v-c63be775] {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 768px) {
.indicators[data-v-c63be775] {
    gap: 8px;
}
}
.indicator[data-v-c63be775] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
}
@media (min-width: 768px) {
.indicator[data-v-c63be775] {
    width: 8px;
    height: 8px;
}
}
.indicator[data-v-c63be775]:hover {
  background: #9ca3af;
}
.indicator.active[data-v-c63be775] {
  background: #374151;
  width: 18px;
  border-radius: 9px;
}
@media (min-width: 768px) {
.indicator.active[data-v-c63be775] {
    width: 24px;
    border-radius: 12px;
}
}
.total-indicator[data-v-c63be775] {
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}
.total-header[data-v-c63be775] {
  padding: 12px 16px;
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #bbf7d0;
}
.total-title[data-v-c63be775] {
  font-size: 14px;
  font-weight: 700;
  color: #065f46;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.total-icon[data-v-c63be775] {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  color: #059669;
}
.total-opportunities[data-v-c63be775] {
  padding: 16px;
  height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: rgba(236, 253, 245, 0.5);
  border-bottom: 1px solid #bbf7d0;
  text-align: center;
}
.total-number[data-v-c63be775] {
  font-size: 32px;
  font-weight: 300;
  color: #064e3b;
  margin-bottom: 8px;
}
.total-label[data-v-c63be775] {
  font-size: 12px;
  color: #047857;
  margin-bottom: 8px;
  font-weight: 500;
}
.total-value[data-v-c63be775] {
  font-size: 12px;
  font-weight: 700;
  color: #064e3b;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #bbf7d0;
}
.total-side-indicator[data-v-c63be775] {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}
.total-loss[data-v-c63be775] {
  padding: 12px 16px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  border-left: 2px solid #ef4444;
  text-align: center;
}
.total-loss-count[data-v-c63be775] {
  font-size: 12px;
  color: #dc2626;
  margin-bottom: 4px;
  font-weight: 600;
}
.total-loss-value[data-v-c63be775] {
  font-size: 12px;
  color: #991b1b;
  font-weight: 700;
}

body.route-home .breadcrumbs-container {
  min-height: 0;
  padding: 0 !important;
}
body.route-home .main-content-wrapper-inner {
  padding: 0 !important;
}
body.route-home {
  background: #f8fafc;
}
/* ===================================
   RESET E BASE
   =================================== */
/* * {
  box-sizing: border-box;
} */
.fade-table-enter-active[data-v-f29c191e], .fade-table-leave-active[data-v-f29c191e] {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.fade-table-enter[data-v-f29c191e], .fade-table-leave-to[data-v-f29c191e] {
  opacity: 0;
}
.dashboard[data-v-f29c191e] {
  /* max-width: 1400px; */
  padding: 12px;
  min-height: 100vh;
  border-radius: 12px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: dashboard;
}
.help-badge[data-v-f29c191e] {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  outline: none;
}


/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */
.select-option.disabled[data-v-f29c191e] {
  color: #bbb;
  pointer-events: none;
  cursor: not-allowed;
}
.header[data-v-f29c191e] {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: visible;
}
.header-content[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  position: relative;
  overflow: visible;
}
.header-title[data-v-f29c191e] {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.025em;
  text-align: left;
}
.dev-overlay[data-v-f29c191e] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* ou ajuste conforme seu layout */
  width: 100%;
  background: none;
  position: static;
  box-shadow: none;
  z-index: 1;
}
.dev-overlay-content[data-v-f29c191e] {
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
}










/* ===================================
   FILTROS E CONTROLES
   =================================== */
.header-filters[data-v-f29c191e] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}
.filter-group[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.filter-label-container[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.filter-icon[data-v-f29c191e] {
  width: 1rem;
  height: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.filter-label[data-v-f29c191e] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ===================================
   SELECT E DROPDOWN STYLES
   =================================== */
.select-display[data-v-f29c191e] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.select-display[data-v-f29c191e]:hover {
  border-color: #9ca3af;
}
.select-display[data-v-f29c191e]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.select-text[data-v-f29c191e] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 0.5rem;
}
.select-arrow[data-v-f29c191e] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.select-arrow.rotated[data-v-f29c191e] {
  transform: rotate(180deg);
}
.select-dropdown[data-v-f29c191e] {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
}
.select-option[data-v-f29c191e] {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}
.select-option[data-v-f29c191e]:last-child {
  border-bottom: none;
}
.select-option[data-v-f29c191e]:hover {
  background: #f9fafb;
}
.select-option.selected[data-v-f29c191e] {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}
.select-option.selected[data-v-f29c191e]:hover {
  background: #dbeafe;
}
.option-text[data-v-f29c191e] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.dropdown-overlay[data-v-f29c191e] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

/* ===================================
   DATE PICKER STYLES
   =================================== */
.date-picker-group[data-v-f29c191e] {
  position: relative;
  overflow: visible;
}
.date-picker-container[data-v-f29c191e] {
  position: relative;
  overflow: visible;
  width: 100%;
}
.date-picker-button[data-v-f29c191e] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #374151;
}
.date-picker-button[data-v-f29c191e]:hover {
  border-color: #9ca3af;
}
.date-picker-button[data-v-f29c191e]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.calendar-icon[data-v-f29c191e] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.date-picker-popover[data-v-f29c191e] {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9999;
  margin-top: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 600px;
  max-width: 90vw;
}
.date-picker-content[data-v-f29c191e] {
  padding: 1rem;
}
.calendars-container[data-v-f29c191e] {
  display: flex;
  gap: 1rem;
}
.calendar[data-v-f29c191e] {
  flex: 1;
}
.calendar-header[data-v-f29c191e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}
.month-title[data-v-f29c191e] {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  text-transform: capitalize;
}
.nav-button[data-v-f29c191e] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-button[data-v-f29c191e]:hover {
  background: #f3f4f6;
}
.nav-icon[data-v-f29c191e] {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
}
.nav-spacer[data-v-f29c191e] {
  width: 2rem;
}
.calendar-grid[data-v-f29c191e] {
  width: 100%;
}
.weekdays[data-v-f29c191e] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.weekday[data-v-f29c191e] {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
}
.days[data-v-f29c191e] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.day-button[data-v-f29c191e] {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-button[data-v-f29c191e]:not(.empty):hover {
  background: #f3f4f6;
}
.day-button.selected[data-v-f29c191e] {
  background: #3b82f6;
  color: white;
}
.day-button.in-range[data-v-f29c191e] {
  background: #dbeafe;
  color: #1e40af;
}
.day-button.empty[data-v-f29c191e] {
  cursor: default;
}
.day-button[data-v-f29c191e]:disabled {
  cursor: default;
  opacity: 0.3;
}
.date-picker-footer[data-v-f29c191e] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.cancel-button[data-v-f29c191e], .apply-button[data-v-f29c191e] {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.cancel-button[data-v-f29c191e] {
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}
.cancel-button[data-v-f29c191e]:hover {
  background: #f9fafb;
}
.apply-button[data-v-f29c191e] {
  border: 1px solid #3b82f6;
  background: #3b82f6;
  color: white;
}
.apply-button[data-v-f29c191e]:hover {
  background: #2563eb;
}
/* ===================================
   HELPER TOOLTIP
   =================================== */
/* Hide help badge by default; show when hovering the card */
.help-badge[data-v-f29c191e] {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  cursor: help;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;

  /* start hidden */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
}
.metric-card:hover .help-badge[data-v-f29c191e] {
  /* show when hovering the entire card */
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.help-badge[data-v-f29c191e]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  color: #475569;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.help-badge[data-v-f29c191e]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* keep tooltip styles (unchanged) */
.help-tooltip[data-v-f29c191e] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  background: #ffffff;
  color: #374151;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 10px 15px -3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}
.help-badge:hover .help-tooltip[data-v-f29c191e],
.help-badge:focus .help-tooltip[data-v-f29c191e] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===================================
   MÉTRICAS E CARDS
   =================================== */
.metrics-grid[data-v-f29c191e] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.metric-card[data-v-f29c191e] {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  overflow: visible;
  min-width: 0;
}
.metric-card[data-v-f29c191e]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.metric-header[data-v-f29c191e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.metric-title[data-v-f29c191e] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.metric-icon[data-v-f29c191e] {
  width: 1rem;
  height: 1rem;
  color: #64748b;
}
.metric-value[data-v-f29c191e] {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.metric-description[data-v-f29c191e] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
}
.metric-trend[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metric-trend.positive .trend-text[data-v-f29c191e] {
  color: #059669;
}
.metric-trend.negative .trend-text[data-v-f29c191e] {
  color: #dc2626;
}
.trend-icon[data-v-f29c191e] {
  width: 0.75rem;
  height: 0.75rem;
}
.metric-trend.positive .trend-icon[data-v-f29c191e] {
  color: #059669;
}
.metric-trend.negative .trend-icon[data-v-f29c191e] {
  color: #dc2626;
  transform: rotate(180deg);
}
.trend-text[data-v-f29c191e] {
  font-size: 0.75rem;
  font-weight: 500;
}
.metric-badge .badge[data-v-f29c191e] {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.rating-container[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stars[data-v-f29c191e] {
  display: flex;
}
.star-wrapper[data-v-f29c191e] {
  position: relative;
  display: inline-flex;
  width: 0.75rem;
  height: 0.75rem;
}
.star-icon[data-v-f29c191e] {
  width: 0.75rem;
  height: 0.75rem;
  color: #d1d5db;
}

/* Overlay amarelo sobreposto à estrela cinza base */
.star-icon-overlay[data-v-f29c191e] {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbf24;
  fill: #fbbf24;
}
.star-icon.filled[data-v-f29c191e] {
  color: #fbbf24;
  fill: #fbbf24;
}

/* Meia estrela: corta a metade direita do overlay, mostrando a cinza de baixo */
.star-icon.half-filled[data-v-f29c191e] {
  clip-path: inset(0 50% 0 0);
}
.rating-count[data-v-f29c191e] {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ===================================
   GRÁFICOS - LAYOUT GERAL
   =================================== */
.charts-grid[data-v-f29c191e] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.chart-messages[data-v-f29c191e] {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}
.chart-card[data-v-f29c191e] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  min-width: 0;
  overflow: hidden;
}
.chart-header[data-v-f29c191e] {
  margin-bottom: 1.25rem;
}
.chart-title[data-v-f29c191e] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title-icon[data-v-f29c191e] {
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}
.chart-description[data-v-f29c191e] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.chart-content[data-v-f29c191e] {
  position: relative;
}
.chart-canvas[data-v-f29c191e] {
  height: 300px !important;
}
/* ===================================
   GRÁFICO DE MENSAGENS - CANVAS META STYLE
   =================================== */
.chart-header-meta[data-v-f29c191e] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e6ea;
}
.chart-title-section[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-title-meta[data-v-f29c191e] {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title-icon[data-v-f29c191e] {
  width: 16px;
  height: 16px;
  color: #65676b;
}
.chart-subtitle[data-v-f29c191e] {
  font-size: 12px;
  color: #65676b;
  margin: 0;
  font-weight: 400;
}
.total-display[data-v-f29c191e] {
  font-size: 32px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1;
}
.chart-header-stylish[data-v-f29c191e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdfdfe 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 1px 2px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.chart-header-stylish[data-v-f29c191e]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.chart-identity[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chart-badge[data-v-f29c191e] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.07), 0 1.5px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: box-shadow 0.2s;
}
.chart-badge[data-v-f29c191e]::before {
  display: none;
}
.badge-icon[data-v-f29c191e] {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  filter: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}
.chart-meta[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chart-title-stylish[data-v-f29c191e] {
  font-size: 17px;
  font-weight: 650;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chart-period-tag[data-v-f29c191e] {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.metric-highlight[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.metric-label[data-v-f29c191e] {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.metric-value-stylish[data-v-f29c191e] {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 0.9;
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  letter-spacing: -0.03em;
}
.chart-legend-mini[data-v-f29c191e] {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.legend-item-mini[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-dot[data-v-f29c191e] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text[data-v-f29c191e] {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 768px) {
.chart-legend-mini[data-v-f29c191e] {
    gap: 8px;
}
.legend-text[data-v-f29c191e] {
    font-size: 8px;
}
.legend-dot[data-v-f29c191e] {
    width: 5px;
    height: 5px;
}
}
@media (max-width: 480px) {
.chart-legend-mini[data-v-f29c191e] {
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
}
/* Responsividade refinada */
@media (max-width: 768px) {
.chart-header-stylish[data-v-f29c191e] {
    padding: 20px 22px;
    margin-bottom: 22px;
    border-radius: 14px;
}
.chart-badge[data-v-f29c191e] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.chart-badge[data-v-f29c191e]::before {
    border-radius: 9px;
}
.badge-icon[data-v-f29c191e] {
    width: 17px;
    height: 17px;
}
.chart-title-stylish[data-v-f29c191e] {
    font-size: 15px;
    font-weight: 600;
}
.chart-period-tag[data-v-f29c191e] {
    font-size: 9px;
}
.metric-value-stylish[data-v-f29c191e] {
    font-size: 26px;
}
.chart-identity[data-v-f29c191e] {
    gap: 12px;
}
}
@media (max-width: 480px) {
.chart-header-stylish[data-v-f29c191e] {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
}
.metric-highlight[data-v-f29c191e] {
    align-items: flex-start;
    width: 100%;
}
.metric-value-stylish[data-v-f29c191e] {
    font-size: 25px;
    font-weight: 900;
}
.metric-label[data-v-f29c191e] {
    font-size: 8px;
}
.chart-title-stylish[data-v-f29c191e] {
    font-size: 16px;
}
}


/* Canvas Chart Container */
.canvas-chart-container[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.messages-canvas[data-v-f29c191e] {
  width: 100%;
  height: 420px; /* Increased height */
  border-radius: 4px;
  cursor: default;
}

/* Canvas Tooltip Styles - Positioned closer to bars */
.canvas-tooltip[data-v-f29c191e] {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  min-width: 140px;
 transform: translateX(12px);
}
.tooltip-content[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tooltip-date[data-v-f29c191e] {
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  text-align: center;
}
.tooltip-values[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tooltip-item[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tooltip-color[data-v-f29c191e] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip-item.received .tooltip-color[data-v-f29c191e] {
  background-color: #1877f2;
}
.tooltip-item.sent .tooltip-color[data-v-f29c191e] {
  background-color: #42a5f5;
}

/* Chart Legend */
.chart-legend[data-v-f29c191e] {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid #e4e6ea;
}
.legend-item[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-color[data-v-f29c191e] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.received-color[data-v-f29c191e] {
  background-color: #1877f2;
}
.sent-color[data-v-f29c191e] {
  background-color: #42a5f5;
}
.legend-label[data-v-f29c191e] {
  font-size: 14px;
  color: #1c1e21;
  font-weight: 500;
}
.legend-percentage[data-v-f29c191e] {
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
}

/* ===================================
   ESTATÍSTICAS DAS MENSAGENS
   =================================== */
.messages-stats[data-v-f29c191e] {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.total-messages[data-v-f29c191e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.total-label[data-v-f29c191e] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.total-value[data-v-f29c191e] {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.messages-breakdown[data-v-f29c191e] {
  display: flex;
  gap: 1.5rem;
}
.message-stat[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-indicator[data-v-f29c191e] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.message-stat.received .stat-indicator[data-v-f29c191e] {
  background: #3b82f6;
}
.message-stat.sent .stat-indicator[data-v-f29c191e] {
  background: #10b981;
}
.stat-label[data-v-f29c191e] {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-value[data-v-f29c191e] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* ===================================
   RESPONSIVIDADE PARA CANVAS
   =================================== */
@media (max-width: 768px) {
.chart-header-meta[data-v-f29c191e] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-f29c191e] {
    font-size: 28px;
}
.messages-canvas[data-v-f29c191e] {
    height: 350px; /* Reduced height for mobile */
}
.chart-legend[data-v-f29c191e] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.canvas-tooltip[data-v-f29c191e] {
    font-size: 11px;
    padding: 10px 12px;
    max-width: 160px;
}
}
@media (max-width: 480px) {
.total-display[data-v-f29c191e] {
    font-size: 24px;
}
.chart-title-meta[data-v-f29c191e] {
    font-size: 14px;
}
.chart-subtitle[data-v-f29c191e] {
    font-size: 11px;
}
.messages-canvas[data-v-f29c191e] {
    height: 300px; /* Further reduced for small screens */
}
.canvas-tooltip[data-v-f29c191e] {
    font-size: 10px;
    padding: 8px 10px;
    max-width: 140px;
}
.tooltip-date[data-v-f29c191e] {
    font-size: 11px;
}
.tooltip-item[data-v-f29c191e] {
    font-size: 10px;
}
}
/* ===================================
   GRÁFICO DE DISCRIMINAÇÃO MODERNO
   =================================== */
.chart-header-modern[data-v-f29c191e] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.chart-title-modern[data-v-f29c191e] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
}
.chart-period[data-v-f29c191e] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
.chart-stats-inline[data-v-f29c191e] {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-pill[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.stat-pill.empresa[data-v-f29c191e] {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.stat-pill.cliente[data-v-f29c191e] {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.stat-pill.novos-contatos[data-v-f29c191e] {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.stat-dot[data-v-f29c191e] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-pill.empresa .stat-dot[data-v-f29c191e] {
  background: #6366f1;
}
.stat-pill.cliente .stat-dot[data-v-f29c191e] {
  background: #10b981;
}
.stat-pill.novos-contatos .stat-dot[data-v-f29c191e] {
  background: #f59e0b;
}
.stat-text[data-v-f29c191e] {
  white-space: nowrap;
}
.chart-content-modern[data-v-f29c191e] {
  position: relative;
  height: 405px;
  padding: 0 0.5rem;
}
.chart-canvas-modern[data-v-f29c191e] {
  height: 100% !important;
  width: 100% !important;
}

/* ===================================
   STATUS CARDS
   =================================== */
.status-update-bar[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 1.5rem 0;
  justify-content: flex-end;
}
.status-update-icon[data-v-f29c191e] {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}
.status-update-icon.animate-spin[data-v-f29c191e] {
  animation: spin-f29c191e 1s linear infinite;
}
@keyframes spin-f29c191e {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}
.status-update-text[data-v-f29c191e] {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}
.status-grid[data-v-f29c191e] {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.status-card[data-v-f29c191e] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
}
.status-card[data-v-f29c191e]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.status-header[data-v-f29c191e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.status-title[data-v-f29c191e] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.status-icon[data-v-f29c191e] {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}
.status-value[data-v-f29c191e] {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
/* Borda com cores correspondentes */
.status-card.success[data-v-f29c191e] {
  border-left-color: #10b981;
}
.status-card.warning[data-v-f29c191e] {
  border-left-color: #f59e0b;
}
.status-card.neutral[data-v-f29c191e] {
  border-left-color: #b71c1c;
}
.status-card.info[data-v-f29c191e] {
  border-left-color: #3b82f6;
}
.status-card.active[data-v-f29c191e] {
  border-left-color: #374151;
}
.status-card.success .status-value[data-v-f29c191e] {
  color: #059669;
}
.status-card.success .status-icon[data-v-f29c191e] {
  color: #10b981;
}
.status-card.active .status-value[data-v-f29c191e] {
  color: #374151;
}
.status-card.active .status-icon[data-v-f29c191e] {
  color: #4b5563;
}
.status-card.warning .status-value[data-v-f29c191e] {
  color: #d97706;
}
.status-card.warning .status-icon[data-v-f29c191e] {
  color: #f59e0b;
}
.status-card.neutral .status-value[data-v-f29c191e] {
  color: #c04141;
}
.status-card.neutral .status-icon[data-v-f29c191e] {
  color: #b71c1c;
}
.status-card.info .status-value[data-v-f29c191e] {
  color: #2563eb;
}
.status-card.info .status-icon[data-v-f29c191e] {
  color: #3b82f6;
}
.status-description[data-v-f29c191e] {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   RESPONSIVIDADE POR CONTAINER
   Reage ao espaço real do .dashboard
   (sidebar aberta/fechada), não à viewport.
   Deve vir DEPOIS das definições base de
   .metrics-grid e .status-grid para sobrescrever
   corretamente grid-template-columns/padding.
   =================================== */

/* Faixa folgada: 5 cols com padding/gap reduzidos */
@container dashboard (max-width: 1100px) {
.metrics-grid[data-v-f29c191e],
  .status-grid[data-v-f29c191e] {
    gap: 0.75rem;
    padding: 1rem;
}
.metrics-grid .metric-card[data-v-f29c191e],
  .status-grid .status-card[data-v-f29c191e] {
    padding: 1rem;
}
.metric-value[data-v-f29c191e],
  .status-value[data-v-f29c191e] {
    font-size: 1.5rem;
}
}

/* Faixa crítica: laptop 1024px + sidebar aberta → 3 + 2 */
@container dashboard (max-width: 820px) {
.metrics-grid[data-v-f29c191e],
  .status-grid[data-v-f29c191e] {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.875rem;
}
.metrics-grid .metric-card[data-v-f29c191e],
  .status-grid .status-card[data-v-f29c191e] {
    padding: 0.875rem;
}
.metric-value[data-v-f29c191e],
  .status-value[data-v-f29c191e] {
    font-size: 1.375rem;
}
.metric-description[data-v-f29c191e],
  .status-description[data-v-f29c191e] {
    font-size: 0.7rem;
}
}

/* Container estreito: 2 colunas */
@container dashboard (max-width: 560px) {
.metrics-grid[data-v-f29c191e],
  .status-grid[data-v-f29c191e] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}
}

/* Container muito estreito: coluna única */
@container dashboard (max-width: 400px) {
.metrics-grid[data-v-f29c191e],
  .status-grid[data-v-f29c191e] {
    grid-template-columns: 1fr;
}
}

/* ===================================
   GRÁFICOS ADICIONAIS
   =================================== */
.additional-charts[data-v-f29c191e] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===================================
   SEÇÃO DE AGENTES
   =================================== */
.agents-section[data-v-f29c191e] {
  padding: 1.5rem;
}
.agents-card[data-v-f29c191e] {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.agents-header[data-v-f29c191e] {
  margin-bottom: 1.25rem;
}
.agents-title[data-v-f29c191e] {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.agents-description[data-v-f29c191e] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agents-grid[data-v-f29c191e] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.agent-item[data-v-f29c191e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.agent-item[data-v-f29c191e]:hover {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.agent-info[data-v-f29c191e] {
  display: flex;
  flex-direction: column;
}
.agent-name[data-v-f29c191e] {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}
.agent-team[data-v-f29c191e] {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.agent-status[data-v-f29c191e] {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-status.online[data-v-f29c191e] {
  background: #dcfce7;
  color: #166534;
}
.agent-status.busy[data-v-f29c191e] {
  background: #fef3c7;
  color: #92400e;
}
.agent-status.offline[data-v-f29c191e] {
  background: #fee2e2;
  color: #991b1b;
}

/* ===================================
   EFEITOS HOVER
   =================================== */
.stat-pill[data-v-f29c191e]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-pill.empresa[data-v-f29c191e]:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.stat-pill.cliente[data-v-f29c191e]:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.stat-pill.novos-contatos[data-v-f29c191e]:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}
/* ===================================
   LOADING
   =================================== */
.metric-loading-overlay[data-v-f29c191e] {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}
.metric-loading[data-v-f29c191e] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.2rem;
  color: #888;
  position: relative;
}
.metric-loading[data-v-f29c191e]::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: metric-spin-f29c191e 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes metric-spin-f29c191e {
to {
    transform: rotate(360deg);
}
}
/* ===================================
   Title de REAL TIME SECTION
   =================================== */
.real-time-header[data-v-f29c191e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
 padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}
.real-time-title[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #22223b;
  margin: 0;
}
.real-time-icon[data-v-f29c191e]{
  font-size: 1.8rem;
}
.reports-button[data-v-f29c191e] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.reports-button[data-v-f29c191e]:hover {
  background: #f3f4f6;
  text-decoration: none;
}
/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Nota: regras de .metrics-grid / .status-grid foram movidas para
   @container dashboard (ver seção "RESPONSIVIDADE POR CONTAINER" acima),
   para que os grids reajam ao espaço real (após sidebar), não à viewport. */
@media (max-width: 1024px) {
.header-filters[data-v-f29c191e] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.charts-grid[data-v-f29c191e] {
    grid-template-columns: 1fr;
}
.chart-header-modern[data-v-f29c191e] {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.chart-stats-inline[data-v-f29c191e] {
    justify-content: center;
    flex-wrap: wrap;
}
.chart-content-modern[data-v-f29c191e] {
    height: 320px;
}
.messages-breakdown[data-v-f29c191e] {
    flex-direction: column;
    gap: 0.75rem;
}
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
.dashboard[data-v-f29c191e] {
    padding: 8px;
}
.header[data-v-f29c191e] {
    padding: 1.5rem 1rem;
}
.header-filters[data-v-f29c191e] {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.charts-grid[data-v-f29c191e] {
    padding: 1rem;
    gap: 0.75rem;
}
.additional-charts[data-v-f29c191e] {
    padding: 1rem;
}
.date-picker-popover[data-v-f29c191e] {
    min-width: 320px;
    right: -50px;
    max-width: calc(100vw - 2rem);
}
.calendars-container[data-v-f29c191e] {
    flex-direction: column;
}
.messages-stats[data-v-f29c191e] {
    padding: 0.75rem;
}
.total-messages[data-v-f29c191e] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.chart-header-meta[data-v-f29c191e] {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.total-display[data-v-f29c191e] {
    font-size: 28px;
}
.chart-bars-vertical[data-v-f29c191e] {
    height: 240px;
}
.bars-area[data-v-f29c191e] {
    height: 200px;
}
.y-axis-labels[data-v-f29c191e] {
    height: 200px;
}
.bar-vertical[data-v-f29c191e] {
    width: 20px;
}
.chart-legend[data-v-f29c191e] {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.real-time-header[data-v-f29c191e] {
    padding: 1.5rem 1rem 1rem 1rem;
}
.real-time-title[data-v-f29c191e] {
    font-size: 1rem;
}
.reports-button[data-v-f29c191e] {
    font-size: 1rem;
}
}

/* --- Mobile --- */
@media (max-width: 480px) {
.dashboard[data-v-f29c191e] {
    padding: 4px;
    font-size: 0.875rem;
}
.header[data-v-f29c191e] {
    padding: 1rem 0.75rem;
}
.header-filters[data-v-f29c191e] {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.charts-grid[data-v-f29c191e] {
    padding: 0.5rem;
}
.additional-charts[data-v-f29c191e] {
    padding: 0.5rem;
}
.chart-card[data-v-f29c191e], .agents-card[data-v-f29c191e] {
    padding: 0.75rem;
}
.chart-canvas[data-v-f29c191e] {
    height: 250px !important;
}
.stat-pill[data-v-f29c191e] {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}
.chart-title-modern[data-v-f29c191e] {
    font-size: 1rem;
}
.date-picker-popover[data-v-f29c191e] {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
}
.messages-stats[data-v-f29c191e] {
    padding: 0.5rem;
}
.total-value[data-v-f29c191e] {
    font-size: 1.125rem;
}
.stat-value[data-v-f29c191e] {
    font-size: 0.8rem;
}
.total-display[data-v-f29c191e] {
    font-size: 24px;
}
.chart-title-meta[data-v-f29c191e] {
    font-size: 14px;
}
.chart-subtitle[data-v-f29c191e] {
    font-size: 11px;
}
.chart-bars-vertical[data-v-f29c191e] {
    height: 200px;
    gap: 8px;
}
.bars-area[data-v-f29c191e] {
    height: 160px;
}
.y-axis-labels[data-v-f29c191e] {
    height: 160px;
    width: 40px;
}
.bar-vertical[data-v-f29c191e] {
    width: 16px;
}
.bars-wrapper[data-v-f29c191e] {
    gap: 2px;
}
.real-time-header[data-v-f29c191e] {
    padding: 1.25rem 0.75rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
