/* ABOGABOT DESIGN SYSTEM - PIXEL PERFECT VANILLA STYLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg-main: #f7f9fb;
  --bg-dark-header: #061122;
  --bg-dark-card: #0a192f;
  --bg-dark-footer: #030812;
  --accent-cyan: #00d2ff;
  --accent-cyan-hover: #20dbff;
  --accent-teal: #00677f;
  --text-dark: #191c1e;
  --text-title: #0a192f;
  --text-muted: #44474d;
}

/* Base typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

/* Modal Backdrops & Dialogs */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Custom Image Grayscale Transitions */
.team-avatar {
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.team-card:hover .team-avatar {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Pulse animation for live monitoring */
@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-ring {
  animation: pulseRing 2.5s ease-in-out infinite;
}

/* WhatsApp Chat UI Custom Styles */
.wa-chat-bg {
  background-color: #efeae2;
  background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px);
  background-size: 16px 16px;
}

/* WhatsApp speech bubble tails */
.wa-bubble-incoming {
  position: relative;
  border-top-left-radius: 0 !important;
}
.wa-bubble-incoming::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid #ffffff;
  border-left: 8px solid transparent;
}

.wa-bubble-outgoing {
  position: relative;
  border-top-right-radius: 0 !important;
}
.wa-bubble-outgoing::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid #d9fdd3;
  border-right: 8px solid transparent;
}

