/* Authentic WhatsApp Web Styles */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;500;600;700&display=swap');

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f0f2f5;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(11, 20, 26, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(11, 20, 26, 0.35);
}

/* Authentic WhatsApp Web Chat Bubbles */
.wa-bubble-in {
  background-color: #ffffff;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  border-radius: 8px;
}
.wa-bubble-in.first-in-group {
  border-top-left-radius: 0;
}

.wa-bubble-out {
  background-color: #d9fdd3;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  border-radius: 8px;
}
.wa-bubble-out.first-in-group {
  border-top-right-radius: 0;
}

/* Authentic WhatsApp Doodle Background */
.wa-chat-bg {
  background-color: #efeae2;
  background-image: radial-gradient(#dfdcd5 1.2px, transparent 1.2px), radial-gradient(#d3cecb 0.8px, #efeae2 0.8px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

/* Pulse animation for active dot */
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

/* Tag chip */
.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
