/* Global styles. Components (btn, card, badge, table, ...) live in templates/base.html (Tailwind @layer). */
* { box-sizing: border-box; }

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #CED0D4;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A0A4A9;
}

/* Subtle animations */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.05); }
}

.pulse-badge {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* WhatsApp Light Chat Bubbles */
.chat-canvas-light {
  background-color: #EFEAE2;
  background-image: radial-gradient(#d4cec4 0.75px, transparent 0.75px);
  background-size: 16px 16px;
}

.chat-bubble-in {
  background: #FFFFFF;
  color: #111B21;
  border: 1px solid #E4E6EB;
  border-bottom-left-radius: 3px;
  box-shadow: 0 1px 1.5px rgba(11, 20, 26, 0.1);
}

.chat-bubble-out {
  background: #D9FDD3; /* Official WhatsApp Light Green Bubble */
  color: #111B21;
  border-bottom-right-radius: 3px;
  box-shadow: 0 1px 1.5px rgba(11, 20, 26, 0.1);
}

/* 24-hr Countdown badges */
.timer-green { 
  background: #E8F5E9; 
  color: #2E7D32; 
  border: 1px solid #C8E6C9; 
}
.timer-orange { 
  background: #FFF3E0; 
  color: #E65100; 
  border: 1px solid #FFE0B2; 
}
.timer-red { 
  background: #FFEBEE; 
  color: #C62828; 
  border: 1px solid #FFCDD2; 
}

.badge-meta-blue { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
