/* Custom Styles & Modern UI Elements */
:root {
  --wa-primary: #25D366;
  --wa-dark: #075E54;
  --wa-teal: #128C7E;
  --wa-light: #ECE5DD;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 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;
}

/* Glassmorphism & Cards */
.card-hover {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* QR Code Pulse Animation */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.qr-pulse {
  animation: pulse-border 2s infinite;
}

/* Status Badges */
.badge-connected {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.badge-disconnected {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.badge-connecting {
  background-color: #fef9c3;
  color: #a16207;
  border: 1px solid #fef08a;
}
.badge-qr_ready {
  background-color: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

/* Toast Notification Animation */
.toast-enter {
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease-out;
}
.toast-visible {
  transform: translateY(0);
  opacity: 1;
}
.toast-exit {
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease-in;
}
