/* Estilos Globais e Customizações — CorretorOS */

:root {
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --whatsapp-bg: #efeae2;
  --whatsapp-green: #25d366;
  --bubble-in: #ffffff;
  --bubble-out: #dcf8c6;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Barra de Rolagem Horizontal Destacada para o Funil Kanban */
#kanban-board {
  scrollbar-width: thin;
  scrollbar-color: #64748b #e2e8f0;
}
#kanban-board::-webkit-scrollbar {
  height: 10px;
}
#kanban-board::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 6px;
  margin: 0 12px;
}
#kanban-board::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 6px;
  border: 2px solid #e2e8f0;
}
#kanban-board::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Kanban Board Columns */
.kanban-column {
  min-width: 300px;
  max-width: 320px;
  width: 310px;
}

/* SortableJS drag styles */
.sortable-ghost {
  opacity: 0.35;
  background-color: #e2e8f0 !important;
  border: 2px dashed #3b82f6 !important;
}

.sortable-chosen {
  cursor: grabbing;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.sortable-drag {
  transform: rotate(2deg);
}

/* WhatsApp Background Pattern */
.chat-bg {
  background-color: #efeae2;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Message Bubble Shadow */
.bubble-shadow {
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

/* Pulse animation for active indicators */
@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-active {
  animation: pulse-dot 2s infinite ease-in-out;
}

/* Fade in for modals and tabs */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.18s ease-out forwards;
}
