:root {
  --color-primary: #25AA2E;
  --color-primary-dark: #1d8a25;
  --color-sidebar-bg: #1a1a2e;
  --color-sidebar-text: #c8ccd4;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.button.is-primary,
.is-connect {
  background-color: var(--color-primary);
  border-color: transparent;
  color: #fff;
}
.button.is-primary:hover,
.is-connect:hover {
  background-color: var(--color-primary-dark);
}

.layout-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  background-color: var(--color-sidebar-bg);
  color: var(--color-sidebar-text);
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, padding-top 0.25s ease;
  z-index: 100;
  padding: 14px 12px 0 12px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.sidebar .sidebar-header {
  margin-bottom: 40px;
    margin-top: 20px;
}

.sidebar .menu {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 8px;
  padding-right: 2px;
}

/* Custom scrollbar for menu */
.sidebar .menu::-webkit-scrollbar {
  width: 4px;
}
.sidebar .menu::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar .menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.sidebar .menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sidebar-search {
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.sidebar-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 4px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.25s ease;
  height: 60px;
}

.sidebar-user-block {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar-user-name {
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-footer-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Estilos de colapso da sidebar */
.is-sidebar-collapsed .sidebar-search {
  display: none !important;
}

.is-sidebar-collapsed .sidebar-footer {
  flex-direction: column;
  padding: 14px 0;
  gap: 12px;
  height: auto;
}

.is-sidebar-collapsed .sidebar-user-name {
  display: none !important;
}

.is-sidebar-collapsed .sidebar-footer-actions {
  flex-direction: column;
  gap: 8px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  height: 40px;
}

.sidebar-brand {
  display: inline-block;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.sidebar .menu-label {
  color: #888;
}

.sidebar .menu-list a {
  color: var(--color-sidebar-text);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .menu-list a:hover,
.sidebar .menu-list a.is-active {
  background-color: var(--color-primary);
  color: #fff;
}

.main-content {
  margin-left: 250px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 100vh;
  transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 52px;
}

.topbar {
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  right: 0;
  left: 250px;
  z-index: 99;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.is-sidebar-collapsed .topbar {
  left: 70px;
}

@media (max-width: 768px) {
  .topbar {
    left: 0 !important;
  }
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.auth-wrapper {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(26, 26, 46, 0.65), rgba(26, 26, 46, 0.65)), url('/images/background-login.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.auth-card {
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-card .card-header {
  background-color: var(--color-sidebar-bg);
  justify-content: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-logo-img {
  max-height: 46px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
}

.card, .box {
   border-radius: 12px !important;
   border: 1px solid #e2e8f0 !important;
   box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
   background: #ffffff !important;
}
.column.tips2 {
  border-left: 1px solid #e3e3e3;
}
.pagination-link.is-current {
    background-color: var(--color-primary);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.mapa-osm {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.busca-contato-wrapper {
  position: relative;
}

.busca-contato-wrapper .dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 6px;
}

.busca-contato-wrapper .dropdown-menu {
  width: 100%;
}

.busca-contato-wrapper .dropdown-content {
  max-height: 260px;
  overflow: auto;
}

.dropdown-item.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

@media print {
  .sidebar,
  .topbar,
  .breadcrumb,
  .button,
  .pagination,
  .notification {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
  }

  .section {
    padding: 0 !important;
  }
}
#tagAlteracoesNaoSalvas{
  position: fixed;
    bottom: 20px;
    left: 90px;
    z-index: 1;
}
.level-item .subtitle, .level-item .title {
    margin-bottom:  1.5rem;
}

/* Badge e Dropdown de Alertas */
.btn-alertas-wrapper {
  position: relative;
}

#btnAlertas {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s ease;
}

#btnAlertas:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

.badge-alertas {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #f14668;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 70, 104, 0.7);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(241, 70, 104, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 70, 104, 0);
  }
}

/* Itens de Alerta */
.alerta-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alerta-item:hover {
  background-color: #f9f9f9;
}

.alerta-item.is-unread {
  background-color: #f1fcf2;
}

.alerta-item.is-unread:hover {
  background-color: #e5fae8;
}

.alerta-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alerta-icon-contrato_vencendo { background-color: #feecf0; color: #f14668; }
.alerta-icon-caucao_devolver { background-color: #eef9f2; color: #48c78e; }
.alerta-icon-aluguel_atraso { background-color: #fff9db; color: #fab005; }
.alerta-icon-despesa_sem_conferencia { background-color: #e8f4fd; color: #3298dc; }
.alerta-icon-checklist_pendente { background-color: #f3f3f3; color: #7a7a7a; }

.alerta-item-content {
  flex: 1;
}

.alerta-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #363636;
  margin-bottom: 2px;
  line-height: 1.3;
}

.alerta-item-time {
  font-size: 0.75rem;
  color: #888;
}

/* Premium Dashboard Cards */
.kpi-card {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  position: relative;
}

.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.kpi-card.is-receita::before { background-color: #25AA2E; }
.kpi-card.is-despesa::before { background-color: #f14668; }
.kpi-card.is-repasse::before { background-color: #3298dc; }
.kpi-card.is-alerta::before { background-color: #fab005; }

.kpi-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.is-receita .kpi-icon-wrapper { background-color: #eef9f2; color: #25AA2E; }
.is-despesa .kpi-icon-wrapper { background-color: #feecf0; color: #f14668; }
.is-repasse .kpi-icon-wrapper { background-color: #e8f4fd; color: #3298dc; }
.is-alerta .kpi-icon-wrapper { background-color: #fff9db; color: #fab005; }

.dashboard-panel-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.dashboard-alerta-card {
  border-left: 4px solid #eee;
  padding: 10px 14px;
  background-color: #fafafa;
  margin-bottom: 10px;
  border-radius: 0 6px 6px 0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dashboard-alerta-card:hover {
  background-color: #f5f5f5;
}

.dashboard-alerta-card.is-contrato_vencendo { border-left-color: #f14668; }
.dashboard-alerta-card.is-caucao_devolver { border-left-color: #48c78e; }
.dashboard-alerta-card.is-aluguel_atraso { border-left-color: #fab005; }
.dashboard-alerta-card.is-despesa_sem_conferencia { border-left-color: #3298dc; }
.dashboard-alerta-card.is-checklist_pendente { border-left-color: #7a7a7a; }

/* Classes para Dashboard e Topbar (eliminação de style inline) */
.dashboard-title-heading {
  color: #1a1a2e;
  margin-bottom: 4px;
}

.dashboard-tag-competencia {
  background-color: var(--color-primary);
  font-weight: 600;
}

.dashboard-box {
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 24px;
}

.dashboard-box-half {
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 24px;
  min-height: 100%;
}

.dashboard-section-title {
  color: #1a1a2e;
}

.dashboard-icon-primary {
  color: var(--color-primary);
}

.button-custom-border {
  border: 1px solid #dcdcdc;
}

.custom-divider {
  background-color: #eee;
  margin: 24px 0;
}

.dashboard-link-primary {
  color: var(--color-primary);
}

.dashboard-alert-list-scroll {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.navbar-dropdown-menu {
  width: 340px;
}

.navbar-dropdown-content {
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid #eee;
}

.navbar-dropdown-header {
  background-color: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-dropdown-header-title {
  color: #363636;
}

.navbar-dropdown-header-link {
  color: var(--color-primary);
}

.navbar-dropdown-list-scroll {
  max-height: 320px;
  overflow-y: auto;
}

/* Cores dos Ícones na Central de Alertas Críticos */
.dashboard-alerta-card.is-contrato_vencendo .icon { color: #f14668; }
.dashboard-alerta-card.is-caucao_devolver .icon { color: #48c78e; }
.dashboard-alerta-card.is-aluguel_atraso .icon { color: #fab005; }
.dashboard-alerta-card.is-despesa_sem_conferencia .icon { color: #3298dc; }
.dashboard-alerta-card.is-checklist_pendente .icon { color: #7a7a7a; }

.button-small-compact {
  padding: 0 8px;
  height: auto;
}

.dashboard-alerta-card .media-content p {
  line-height: 1.3;
}

/* Página Detalhada do Imóvel */
.property-details-header {
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.property-details-title {
  color: #1a1a2e;
}

.map-card-container {
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.map-osm-leaflet {
  width: 100%;
  height: 380px;
  display: block;
}

.badge-status-imovel {
  font-weight: 700;
  border-radius: 6px;
}

.button-action-spacer {
  margin-right: 8px;
}

.month-select-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.month-select-input {
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  padding: 4px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  background-color: #fff;
  cursor: pointer;
}

/* Kanban Visual */
.kanban-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  min-height: 480px;
}

.kanban-column {
  flex: 1;
  min-width: 280px;
  background-color: #f7f9fa;
  border-radius: 12px;
  border: 1px solid #eef2f5;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.kanban-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

.kanban-column-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #363636;
}

.kanban-column-badge {
  background-color: #eef2f5;
  color: #7a7a7a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.kanban-column.is-revisao { border-top: 4px solid #3298dc; }
.kanban-column.is-apagar { border-top: 4px solid #fab005; }
.kanban-column.is-pago { border-top: 4px solid #48c78e; }
.kanban-column.is-reembolsado { border-top: 4px solid #9b59b6; }

.kanban-cards-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px; /* Dropzone space */
}

.kanban-card {
  background-color: white;
  border-radius: 8px;
  border: 1px solid #eef2f5;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  cursor: grab;
  user-select: none;
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #d2d9df;
}

.kanban-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #363636;
  margin-bottom: 4px;
}

.kanban-card-meta {
  font-size: 0.75rem;
  color: #7a7a7a;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.kanban-card-category {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #888;
}

.kanban-card-price {
  font-weight: 700;
  color: #1a1a2e;
}

.kanban-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
  border-top: 1px solid #f5f5f5;
  padding-top: 8px;
}

/* Detalhes do Imóvel Extra Classes para eliminar inline styles */
.dashboard-box-flat {
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: none;
}

.hr-light {
  background-color: #f0f0f0 !important;
}

.bg-light-grey {
  background-color: #fafafa !important;
}

.map-unavailable-container {
  padding-top: 100px !important;
}

.guarantee-card {
  border: 1px solid #eef2f5 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.text-color-primary-dark {
  color: #1a1a2e !important;
}

.box-radius-8 {
  border-radius: 8px !important;
}

.box-guarantee-active {
  border-radius: 8px !important;
  border-left: 4px solid var(--color-primary) !important;
}
.modal {
  z-index: 100;
}
.barcode-modal {
  width: 95% !important
}

/* --- ESTILOS SIDEBAR RETRÁTIL PREMIUM (VERSÃO 1.4.0) --- */

.sidebar-logo-img {
  max-height: 52px !important;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--color-sidebar-text);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
  outline: none;
}

.sidebar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Relação de colapso do Sidebar - EXCLUSIVO PARA DESKTOP */
@media (min-width: 769px) {
  .is-sidebar-collapsed .sidebar {
    width: 70px;
    padding: 14px 8px;
    overflow: visible !important;
  }

  .is-sidebar-collapsed .sidebar .menu,
  .is-sidebar-collapsed .sidebar-footer {
    overflow: visible !important;
  }

  .is-sidebar-collapsed .sidebar-brand {
    display: none !important;
  }

  .is-sidebar-collapsed .sidebar-header {
    justify-content: center;
  }

  .is-sidebar-collapsed .main-content {
    margin-left: 70px;
  }

  /* Ocultar texto e labels de categoria */
  .is-sidebar-collapsed .sidebar .menu-list a span:not(.icon) {
    display: none !important;
  }

  /* Transformar menu-label de texto em divisória horizontal de 1px */
  .is-sidebar-collapsed .sidebar .menu-label {
    font-size: 0 !important;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 14px 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  /* Alinhar ícones no centro */
  .is-sidebar-collapsed .sidebar .menu-list a {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
  }

  /* Tooltips flutuantes (Pure-CSS) para qualquer elemento [data-tooltip] no sidebar colapsado */
  .is-sidebar-collapsed .sidebar [data-tooltip] {
    position: relative;
  }

  .is-sidebar-collapsed .sidebar [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 74px;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    background-color: #1a1a2e;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .is-sidebar-collapsed .sidebar [data-tooltip]::before {
    content: '';
    position: absolute;
    left: 68px;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    border-width: 5px;
    border-style: solid;
    border-color: transparent #1a1a2e transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .is-sidebar-collapsed .sidebar [data-tooltip]:hover::after,
  .is-sidebar-collapsed .sidebar [data-tooltip]:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Ocultações e ajustes para Mobile */
@media (max-width: 768px) {
  .sidebar-toggle {
    display: none !important;
  }
}

/* Por padrão, a logo do navbar fica oculta em todas as resoluções de tablet e desktop */
.navbar-brand .navbar-logo-collapsed {
  display: none !important;
}

/* Se a sidebar estiver colapsada em desktop/tablet, exibe a logo no navbar */
.is-sidebar-collapsed .navbar-brand .navbar-logo-collapsed {
  display: flex !important;
}

/* Exibe a logo no navbar por padrão no Mobile (telas de até 768px) */
@media (max-width: 768px) {
  .navbar-brand .navbar-logo-collapsed {
    display: flex !important;
  }

  /* Oculta a logo do navbar se a sidebar estiver aberta em modo móvel (por cima da tela) */
  .sidebar.is-open ~ .main-content .navbar-brand .navbar-logo-collapsed {
    display: none !important;
  }
}

.navbar-logo-collapsed {
  align-items: center;
  padding: 0 8px;
  margin-right: 8px;
}

.navbar-logo-img {
  max-height: 38px !important;
  object-fit: contain;
}

/* --- ESTILOS DO CHATBOT FLUTUANTE CONNECT HELPER --- */
.chatbot-toggle-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  box-shadow: 0 8px 24px rgba(22, 160, 133, 0.3);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: linear-gradient(135deg, #16a085, #1abc9c) !important;
  animation: chatbot-pulse 2s infinite;
  cursor: pointer;
}
.chatbot-toggle-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 28px rgba(22, 160, 133, 0.5);
}
@keyframes chatbot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 160, 133, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(22, 160, 133, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 160, 133, 0);
  }
}

.chatbot-window {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 380px;
  height: 520px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #ffffff !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s;
}
.chatbot-window.is-hidden {
  display: flex !important;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}
.chatbot-window.box {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.chatbot-header {
  background: #1a1a2e;
  color: #ffffff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.chatbot-header-title {
  display: flex;
  align-items: center;
}
.chatbot-header-title h3 {
  margin: 0;
  color: #ffffff !important;
  font-size: 0.95rem;
  line-height: 1.2;
}
.chatbot-header-title p {
  margin: 0;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
}
.chatbot-message p {
  margin-bottom: 0.5rem;
}
.chatbot-message p:last-child {
  margin-bottom: 0;
}
.chatbot-message ul, .chatbot-message ol {
  margin-left: 1.25rem;
  margin-bottom: 0.5rem;
}
.chatbot-message li {
  list-style-type: disc;
  margin-bottom: 0.25rem;
}
.chatbot-message code {
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 4px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #e83e8c;
}
.chatbot-message table {
  width: 100%;
  margin: 0.5rem 0;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.chatbot-message th, .chatbot-message td {
  border: 1px solid #e2e8f0;
  padding: 4px 8px;
}
.chatbot-message th {
  background: #f1f5f9;
  font-weight: 600;
}

.chatbot-incoming {
  background: #ffffff;
  color: #334155;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
}
.chatbot-outgoing {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 10px rgba(22, 160, 133, 0.15);
}

.chatbot-footer {
  padding: 12px 15px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* Indicador de Digitando */
.chatbot-typing {
  padding: 12px 16px !important;
  display: inline-flex;
  align-items: center;
}
.chatbot-loading-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 12px;
}
.chatbot-loading-dots span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  display: inline-block;
  animation: chatbot-bounce 1.4s infinite ease-in-out both;
}
.chatbot-loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.chatbot-loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}
@keyframes chatbot-bounce {
  0%, 80%, 100% { 
    transform: scale(0);
  } 40% { 
    transform: scale(1.0);
  }
}

/* --- CENTRAL DE ALERTAS OPERACIONAL --- */
.alertas-filtro-tabs {
  margin-bottom: 1.5rem !important;
}
.alertas-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.alerta-card-historico {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.alerta-card-historico:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

/* Indicadores de Status do Alerta */
.alerta-card-historico::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.alerta-card-historico.status-ativo::before { background-color: #fab005; }
.alerta-card-historico.status-resolvido::before { background-color: #48c78e; }
.alerta-card-historico.status-arquivado::before { background-color: #3298dc; }
.alerta-card-historico.status-ignorado::before { background-color: #7a7a7a; }

.alerta-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.alerta-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.alerta-card-icon.is-contrato_vencendo { background-color: #feecf0; color: #f14668; }
.alerta-card-icon.is-caucao_devolver { background-color: #eef9f2; color: #48c78e; }
.alerta-card-icon.is-aluguel_atraso { background-color: #fff9db; color: #fab005; }
.alerta-card-icon.is-despesa_sem_conferencia { background-color: #e8f4fd; color: #3298dc; }
.alerta-card-icon.is-checklist_pendente { background-color: #f3f3f3; color: #7a7a7a; }
.alerta-card-icon.is-risco_inadimplencia { background-color: #fff0f6; color: #eb2f96; }
.alerta-card-icon.is-risco_churn { background-color: #f9f0ff; color: #722ed1; }

.alerta-card-info {
  flex: 1;
}
.alerta-card-title {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.4;
  margin-bottom: 2px;
}
.alerta-card-title.has-text-weight-bold {
  font-weight: 700 !important;
  color: #0f172a !important;
}
.alerta-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Ações Rápidas */
.alerta-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

/* Transição de Ocultar */
.alerta-card-historico.is-hiding {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: all 0.3s ease;
}

/* ==========================================================================
   SISTEMA DE DESIGN PREMIUM ERP — OVERRIDES GLOBAIS DE COMPONENTES BULMA
   ========================================================================== */

/* 1. Caixas e Cards Elevados */
.box, .card {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
  background: #ffffff !important;
  padding: 1.5rem !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.box:hover, .card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
  border-color: #cbd5e1 !important;
}

/* 2. Tabelas Estilo Dashboard Moderno */
.table-container {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin-top: 1rem;
}

/* Scrollbar premium e discreta para tabelas */
.table-container::-webkit-scrollbar {
  height: 6px;
}
.table-container::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.table-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.table-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media screen and (max-width: 768px) {
  .table-container .table {
    white-space: nowrap !important;
  }
  .section {
    padding: 3rem 5px;
}
.container.is-fluid {
    max-width: none !important;
    padding-left: 0 !important; 
    padding-right: 0 !important;
    width: 100%;
}
}

.table {
  background-color: #ffffff !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}
.table th {
  background-color: #f8fafc !important;
  color: #475569 !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.75px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  padding: 14px 16px !important;
  vertical-align: middle !important;
}
.table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  vertical-align: middle !important;
  font-size: 0.875rem !important;
  color: #334155 !important;
}
.table tbody tr:last-child td {
  border-bottom: none !important;
}
.table.is-striped tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}
.table.is-hoverable tbody tr:hover {
  background-color: #f1f5f9 !important;
  transition: background-color 0.25s ease;
}

/* Status Badges no ERP */
.table td .tag {
  font-weight: 700 !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  padding: 4px 8px !important;
  height: auto !important;
}

/* 3. Inputs, Textareas e Selects Premium (iOS/SaaS style) */
.input, .textarea, .select select {
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  font-size: 0.9rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  height: 2.5rem !important;
}
.textarea {
  height: auto !important;
  min-height: 80px;
}
.input:hover, .textarea:hover, .select select:hover {
  border-color: #94a3b8 !important;
}
.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 170, 46, 0.15) !important;
  outline: none !important;
  background-color: #ffffff !important;
}
.label {
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

/* 4. Botões Reativos com Micro-Movimentos e Gradientes */
.button {
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  height: 2.5rem !important;
  padding: 8px 18px !important;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}
.button:active {
  transform: translateY(0);
}

.button.is-primary:hover {
  background: linear-gradient(135deg, #1d8a25, #15661b) !important;
}
.button.is-light {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}
.button.is-light:hover {
  background-color: #e2e8f0 !important;
  /* color: #0f172a !important; */
  border-color: #cbd5e1 !important;
}
.button.is-danger {
  background: linear-gradient(135deg, #f14668, #d03050) !important;
  border: none !important;
  color: #ffffff !important;
}
.button.is-danger:hover {
  background: linear-gradient(135deg, #d03050, #b21e3d) !important;
}
.button.is-link {
  background: linear-gradient(135deg, #485fc7, #384da1) !important;
  border: none !important;
  color: #ffffff !important;
}
.button.is-link:hover {
  background: linear-gradient(135deg, #384da1, #283a81) !important;
}

/* 5. Paginação Bulma Elegante */
.pagination-link, .pagination-previous, .pagination-next {
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background-color: #ffffff !important;
  height: 2.25rem !important;
  transition: all 0.2s ease !important;
}
.pagination-link.is-current {
  background: linear-gradient(135deg, #25aa2e, #1d8a25) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
.pagination-link:hover:not(.is-current), .pagination-previous:hover, .pagination-next:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

/* 6. Cabeçalhos de Ação (Level) */
.level {
  background-color: #ffffff !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}
.title.is-4 {
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.5px !important;
  font-size: 1.4rem !important;
  margin-bottom: 0 !important;
}
.subtitle {
  color: #64748b !important;
  font-size: 0.9rem !important;
}

/* 7. Notificações e Mensagens de Feedback */
.notification {
  border-radius: 10px !important;
  padding: 1rem 1.5rem !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
  border: 1px solid transparent !important;
}
.notification.is-danger {
  background-color: #fef2f2 !important;
  color: #991b1b !important;
  border-color: #fca5a5 !important;
}
.notification.is-success {
  background-color: #f0fdf4 !important;
  color: #166534 !important;
  border-color: #86efac !important;
}

/* Ajustes Finais de Espaçamento das Colunas */
.columns {
  margin-top: -0.75rem !important;
  margin-bottom: 0.75rem !important;
}

/* ==========================================================================
   CABEÇALHOS EM GRADIENTE DARK PREMIUM (ESTILO RADAR / CONSULTOR IA)
   ========================================================================== */
.premium-header-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border-radius: 16px !important;
  padding: 35px 30px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
}

/* Efeito Glow rotativo de fundo (opcional, igual ao radar) */
.premium-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 170, 46, 0.25) 0%, rgba(37, 170, 46, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: rotate-glow 20s infinite linear;
}

.premium-header-card .title {
  color: #ffffff ;
  font-weight: 800;
  letter-spacing: -0.5px ;
  font-size: 2rem;
  line-height: 1.2 ;
}

.premium-header-card .subtitle {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  max-width: 750px !important;
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
}

/* Ícone em gradiente com pulse e wrapper */
.premium-header-icon-wrapper {
  position: relative !important;
  display: inline-block !important;
}

.premium-header-icon-wrapper::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 50px !important;
  height: 50px !important;
  background: rgba(37, 170, 46, 0.25) !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) scale(0.6) !important;
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite !important;
  z-index: 0 !important;
}

.premium-header-icon {
  font-size: 2.2rem !important;
  color: #25aa2e !important;
  background: linear-gradient(135deg, #48c78e 0%, #25aa2e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
  position: relative !important;
  z-index: 1 !important;
}

  @keyframes rotate-glow {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

/* ==========================================================================
   NOVO: BUSCA GLOBAL & PÁGINA DE PERFIL DE CONTATOS (ESTILOS PREMIUM)
   ========================================================================== */

/* Busca Global Autocomplete Dropdown */
.topbar .navbar-start {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.global-search-wrapper {
  margin: auto 0;
  width: 100%;
}

.global-search-input {
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #f8fafc;
}

.global-search-input:focus {
  background-color: #ffffff;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 170, 46, 0.15) !important;
  width: 100%;
}

.global-search-results {
  position: absolute;
  top: 100%;
  left: 12px;
  right: 12px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 6px !important;
  padding: 8px 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}

.global-search-category-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.8px;
  padding: 8px 16px 4px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.global-search-category-header:not(:first-of-type) {
  border-top: 1px solid #f1f5f9;
  margin-top: 6px;
  padding-top: 12px;
}

.global-search-item {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  color: #334155;
  text-decoration: none !important;
  transition: all 0.15s ease;
  cursor: pointer;
}

.global-search-item:hover,
.global-search-item.is-selected {
  background-color: #f1f5f9;
}

.global-search-item.is-selected {
  background-color: rgba(37, 170, 46, 0.08) !important;
  border-left: 3px solid var(--color-primary);
  padding-left: 13px;
}

.global-search-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}

.global-search-item-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 1px;
}

.global-search-item.is-selected .global-search-item-title {
  color: var(--color-primary-dark);
}

.global-search-no-results {
  padding: 24px 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.88rem;
}

/* Página de Perfil Dedicada */
.contact-profile-card {
  border-top: 4px solid var(--color-primary) !important;
}

.contact-avatar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-profile-avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 170, 46, 0.25);
  border: 3px solid #fff;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  width: 100%;
}

.contact-action-btn.btn-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
}
.contact-action-btn.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.contact-action-btn.btn-ligar {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.contact-action-btn.btn-ligar:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  transform: translateY(-2px);
}

.contact-action-btn.btn-email {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.contact-action-btn.btn-email:hover {
  background-color: #dbeafe;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Metadados Variáveis */
.meta-table-key {
  font-weight: 600;
  color: #475569;
  font-size: 0.85rem;
  background-color: #f8fafc;
  width: 30%;
}

.meta-table-val {
  font-size: 0.88rem;
  color: #1e293b;
}

.meta-table-val code {
  font-family: Consolas, Monaco, monospace;
  background-color: #f1f5f9;
  color: #e21d1d;
  padding: 2px 6px;
  border-radius: 4px;
}

.meta-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #64748b;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  margin-top: 1rem;
}

/* Responsividade da Tabela de Metadados em Telas Menores (Mobile First) */
@media (max-width: 768px) {
  #metaTableContainer table, 
  #metaTableContainer thead, 
  #metaTableContainer tbody, 
  #metaTableContainer th, 
  #metaTableContainer td, 
  #metaTableContainer tr {
    display: block;
  }
  
  #metaTableContainer thead {
    display: none !important; /* Oculta cabeçalho no mobile */
  }
  
  #metaTableContainer tr {
    border-bottom: 1px solid #cbd5e1 !important;
    padding: 12px 0;
    position: relative;
  }
  
  #metaTableContainer td {
    padding: 6px 0 !important;
    border: none !important;
  }
  
  #metaTableContainer td.meta-table-key {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    background-color: transparent !important;
    width: 100% !important;
    letter-spacing: 0.5px;
    padding-bottom: 2px !important;
  }
  
  #metaTableContainer td.meta-table-val {
    width: 100% !important;
    margin-bottom: 4px;
    padding-left: 2px !important;
  }
  
  #metaTableContainer td.has-text-right {
    text-align: right !important;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 4px;
  }
}

/* Avatares na lista de contatos */
.contact-table-avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-table-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  overflow: hidden;
}

.contact-table-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-table-name-text {
  font-weight: 600;
  color: #1e293b;
}


