/* WhatsApp Chat Widget Stylesheet */
.wa-standalone-wrapper {
  position: fixed;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-standalone-wrapper.pos-right { align-items: flex-end; }
.wa-standalone-wrapper.pos-left { align-items: flex-start; }

.wa-widget-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease, box-shadow 0.2s ease, visibility 0.28s ease;
}
.wa-widget-trigger:hover {
  transform: scale(1.08) translateY(-2px);
}
.wa-widget-trigger.has-pulse {
  animation: wa-pulse 1.8s infinite;
}
.wa-widget-trigger.has-pulse:hover {
  animation: none;
}
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--wa-pulse-color, rgba(37, 211, 102, 0.55)), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 0, 0, 0), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}
.wa-widget-trigger.is-hidden,
.wa-standalone-wrapper.is-chat-open .wa-widget-trigger {
  opacity: 0 !important;
  transform: scale(0.6) translateY(12px) !important;
  pointer-events: none !important;
  visibility: hidden !important;
  position: absolute;
  bottom: 0;
  animation: none !important;
}
.wa-standalone-wrapper.pos-right .wa-widget-trigger.is-hidden,
.wa-standalone-wrapper.pos-right.is-chat-open .wa-widget-trigger {
  right: 0;
}
.wa-standalone-wrapper.pos-left .wa-widget-trigger.is-hidden,
.wa-standalone-wrapper.pos-left.is-chat-open .wa-widget-trigger {
  left: 0;
}
.wa-widget-trigger svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}
.wa-widget-trigger.pill-mode {
  width: auto;
  height: 50px;
  border-radius: 9999px;
  padding: 0 20px;
  gap: 10px;
}
.wa-widget-trigger.pill-mode svg {
  width: 22px;
  height: 22px;
}
.wa-trigger-text {
  font-weight: 700;
  font-size: 14px;
}

/* Button Sizes: Large (default: 58px / pill 50px), Medium (50px / pill 44px), Small (42px / pill 38px) */
.wa-widget-trigger.size-medium {
  width: 50px;
  height: 50px;
}
.wa-widget-trigger.size-medium svg {
  width: 24px;
  height: 24px;
}
.wa-widget-trigger.size-medium .wa-widget-btn-dot {
  width: 12px;
  height: 12px;
  top: 1px;
  right: 1px;
}

.wa-widget-trigger.size-small {
  width: 42px;
  height: 42px;
}
.wa-widget-trigger.size-small svg {
  width: 20px;
  height: 20px;
}
.wa-widget-trigger.size-small .wa-widget-btn-dot {
  width: 10px;
  height: 10px;
  top: 0;
  right: 0;
}

.wa-widget-trigger.pill-mode.size-medium {
  width: auto;
  height: 44px;
  padding: 0 17px;
  gap: 8px;
}
.wa-widget-trigger.pill-mode.size-medium svg {
  width: 18px;
  height: 18px;
}
.wa-widget-trigger.pill-mode.size-medium .wa-trigger-text {
  font-size: 13px;
}
.wa-widget-trigger.pill-mode.size-medium .wa-widget-btn-dot {
  width: 11px;
  height: 11px;
  top: -2px;
  right: 6px;
}

.wa-widget-trigger.pill-mode.size-small {
  width: auto;
  height: 38px;
  padding: 0 14px;
  gap: 7px;
}
.wa-widget-trigger.pill-mode.size-small svg {
  width: 16px;
  height: 16px;
}
.wa-widget-trigger.pill-mode.size-small .wa-trigger-text {
  font-size: 12px;
}
.wa-widget-trigger.pill-mode.size-small .wa-widget-btn-dot {
  width: 9px;
  height: 9px;
  top: -2px;
  right: 5px;
}
.wa-trigger-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: white;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.wa-widget-btn-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #25D366;
  border: 2px solid #0F172A;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: background-color 0.25s ease;
  z-index: 2;
}
.wa-standalone-wrapper.theme-light .wa-widget-btn-dot,
.wa-widget-popup.theme-light ~ .wa-widget-trigger .wa-widget-btn-dot {
  border-color: #FFFFFF;
}
.wa-widget-btn-dot.is-away {
  background-color: #94A3B8 !important;
}
.wa-widget-online.is-away,
.online-dot.is-away,
.wa-qr-chip-dot.is-away {
  background-color: #94A3B8 !important;
}

.wa-widget-popup {
  width: 330px;
  background: #111827;
  color: #F9FAFB;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  margin-bottom: 0;
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  display: flex;
  flex-direction: column;
}
.wa-standalone-wrapper.pos-left .wa-widget-popup { transform-origin: bottom left; }

.wa-widget-popup.is-closed {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  pointer-events: none;
  visibility: hidden;
  height: 0;
  margin-bottom: 0;
}
.wa-widget-popup.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  visibility: visible;
  margin-bottom: 0;
}

.wa-widget-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.wa-widget-header.is-light-header {
  color: #0F172A;
  border-bottom: 1px solid #E2E8F0;
}
.wa-widget-header.is-light-header .wa-widget-name {
  color: #0F172A;
}
.wa-widget-header.is-light-header .wa-widget-status {
  color: #64748B;
}
.wa-widget-header.is-light-header .wa-widget-close {
  color: #64748B;
}
.wa-widget-header.is-light-header .wa-widget-close:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.06);
}
.wa-widget-header.is-light-header .wa-widget-online {
  border-color: #FFFFFF;
}
.wa-widget-header.is-light-header .wa-widget-avatar img {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(15, 23, 42, 0.08);
}
.wa-widget-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.wa-widget-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.4);
  box-sizing: border-box;
}
.wa-widget-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  min-width: 13px;
  min-height: 13px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0F172A;
  box-shadow: 0 0 8px #10B981;
  box-sizing: border-box;
}
.wa-widget-meta { flex: 1; min-width: 0; }
.wa-widget-title-row { display: flex; align-items: center; gap: 4px; }
.wa-widget-name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-widget-status { font-size: 12px; opacity: 0.75; display: block; }
.wa-widget-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.wa-widget-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.wa-widget-popup.theme-light {
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 0px solid rgba(0, 0, 0, 0.08);
}
.wa-widget-body {
  padding: 16px;
  background: #0B0F19;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-widget-popup.theme-light .wa-widget-body {
  background: #F1F5F9;
  color: #1F2937;
}

.wa-widget-time { text-align: center; font-size: 10px; opacity: 0.6; }
.wa-widget-popup.theme-light .wa-widget-time {
  color: #64748B;
  opacity: 1;
}
.wa-widget-bubble {
  background: #1F2937;
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  align-self: flex-start;
  max-width: 88%;
}
.wa-widget-bubble.is-revealed {
  transform-origin: 0 0;
  animation: wa-bubble-appear 0.45s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}
@keyframes wa-bubble-appear {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(-1px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.wa-widget-popup.theme-light .wa-widget-bubble {
  background: #FFFFFF;
  color: #111827;
}
.wa-bubble-author { font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.wa-bubble-content { white-space: pre-wrap; word-break: break-word; }
.wa-bubble-meta { font-size: 9px; opacity: 0.5; text-align: right; margin-top: 4px; }

/* Away Notice Info Bubble */
.wa-away-bubble {
  margin-top: 8px;
  width: 100% !important;
  max-width: 100% !important;
  align-self: stretch !important;
  box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #FDE68A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.wa-widget-popup.theme-light .wa-away-bubble {
  background: #FFFBEB;
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #E98300;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}
.wa-away-bubble-text {
  font-size: 12px;
  line-height: 1.45;
  color: inherit;
}

.wa-widget-typing {
  background: #1F2937;
  padding: 6px 12px;
  border-radius: 4px 10px 10px 10px;
  display: inline-flex;
  gap: 4px;
  width: fit-content;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.wa-widget-typing.is-leaving {
  opacity: 0;
  transform: scale(0.9) translateY(-2px);
  pointer-events: none;
}
.wa-widget-popup.theme-light .wa-widget-typing { background: #FFFFFF; }
.wa-widget-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9CA3AF;
  animation: wa-jump 1.2s infinite ease-in-out;
}
.wa-widget-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-widget-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wa-jump {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wa-widget-footer {
  padding: 10px 14px 8px 14px;
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wa-widget-popup.theme-light .wa-widget-footer {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
}
.wa-widget-input-bar {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 3px 4px 3px 14px;
  gap: 6px;
  transition: all 0.2s ease;
}
.wa-widget-input-bar:focus-within {
  border-color: #25D366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25);
  background: rgba(15, 23, 42, 0.98);
}
.wa-widget-popup.theme-light .wa-widget-input-bar {
  background: #F1F5F9;
  border-color: #CBD5E1;
}
.wa-widget-popup.theme-light .wa-widget-input-bar:focus-within {
  background: #FFFFFF;
  border-color: #25D366;
}
.wa-widget-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: #F8FAFC;
  font-family: inherit;
  padding: 6px 0;
  min-width: 0;
}
.wa-widget-popup.theme-light .wa-widget-input {
  color: #0F172A;
}
.wa-widget-input::placeholder {
  color: #64748B;
  opacity: 0.85;
}
.wa-widget-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
  flex-shrink: 0;
  padding: 0;
}
.wa-widget-action-btn:hover {
  transform: scale(1.08);
}
.wa-widget-action-btn.is-mic {
  color: #94A3B8;
}
.wa-widget-action-btn.is-mic:hover {
  color: #25D366;
  background: rgba(255, 255, 255, 0.08);
}
.wa-widget-popup.theme-light .wa-widget-action-btn.is-mic {
  color: #64748B;
}
.wa-widget-popup.theme-light .wa-widget-action-btn.is-mic:hover {
  background: rgba(0, 0, 0, 0.06);
}
.wa-widget-action-btn.is-mic .wa-icon-mic {
  display: block;
  width: 18px;
  height: 18px;
}
.wa-widget-action-btn.is-mic .wa-icon-send {
  display: none;
}
.wa-widget-action-btn.is-send {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}
.wa-widget-action-btn.is-send:hover {
  background: #20BD5A;
}
.wa-widget-action-btn.is-send .wa-icon-mic {
  display: none;
}
.wa-widget-action-btn.is-send .wa-icon-send {
  display: block;
  width: 17px;
  height: 17px;
  transform: translateX(1px);
}
.wa-widget-brand {
  font-size: 10px;
  opacity: 0.5;
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.wa-widget-popup.theme-light .wa-widget-brand {
  color: #64748B;
  opacity: 0.8;
}

/* Widget Navigation Tabs (Desktop only) */
.wa-widget-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  gap: 4px;
}
.wa-widget-popup.theme-light .wa-widget-tabs {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}
.wa-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.wa-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}
.wa-tab-btn.active {
  color: var(--wa-primary-color, #25D366);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.wa-tab-btn.active svg {
  color: var(--wa-primary-color, #25D366);
}
.wa-tab-btn svg {
  flex-shrink: 0;
  transition: color 0.18s ease;
}
.wa-widget-popup.theme-light .wa-tab-btn {
  color: #64748B;
}
.wa-widget-popup.theme-light .wa-tab-btn:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.04);
}
.wa-widget-popup.theme-light .wa-tab-btn.active {
  color: var(--wa-primary-color, #25D366);
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.wa-tab-btn.active:hover,
.wa-widget-popup.theme-light .wa-tab-btn.active:hover {
  color: var(--wa-primary-color, #25D366);
}
.wa-widget-popup.theme-light .wa-tab-btn.active svg {
  color: var(--wa-primary-color, #25D366);
}
.wa-tab-btn-qr .wa-tab-qr-icon {
  color: #94A3B8;
  transition: color 0.2s ease;
}
.wa-tab-btn-qr.active .wa-tab-qr-icon {
  color: var(--wa-primary-color, #25D366);
}
.wa-widget-popup.theme-light .wa-tab-btn-qr .wa-tab-qr-icon {
  color: #64748B;
}
.wa-widget-popup.theme-light .wa-tab-btn-qr.active .wa-tab-qr-icon {
  color: var(--wa-primary-color, #25D366);
}

/* Widget QR View */
.wa-widget-qr-view {
  padding: 20px 16px 18px;
  background: #0B0F19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  box-sizing: border-box;
}
.wa-widget-popup.theme-light .wa-widget-qr-view {
  background: #F1F5F9;
}
.wa-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.wa-qr-title {
  font-size: 14px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.wa-widget-popup.theme-light .wa-qr-title {
  color: #0F172A;
}
.wa-qr-chips-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  max-width: 260px;
  padding: 0 4px;
}
.wa-qr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.08);
  color: #F8FAFC;
  transition: all 0.18s ease;
  user-select: none;
  line-height: 1.25;
}
.wa-qr-chip:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  color: #FFFFFF;
}
.wa-qr-chip.active {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.22);
  color: #25D366;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.35);
}
.wa-qr-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366 !important;
  box-shadow: 0 0 5px rgba(37, 211, 102, 0.7);
  flex-shrink: 0;
}
.wa-qr-target-hint {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #25D366;
  text-align: center;
  max-width: 240px;
  line-height: 1.35;
}
.wa-widget-popup.theme-light .wa-qr-chip {
  border-color: rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.08);
  color: #0F172A;
}
.wa-widget-popup.theme-light .wa-qr-chip:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  color: #000000;
}
.wa-widget-popup.theme-light .wa-qr-chip.active {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.2);
  color: #15803D;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}
.wa-widget-popup.theme-light .wa-qr-target-hint {
  color: #15803D;
}
.wa-qr-code-wrap {
  background: #FFFFFF;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  box-sizing: border-box;
}
.wa-qr-code-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wa-qr-hint {
  font-size: 11px;
  line-height: 1.45;
  color: #94A3B8;
  margin-top: 12px;
  max-width: 240px;
}
.wa-widget-popup.theme-light .wa-qr-hint {
  color: #64748B;
}

/* Multi-Agent Widget Display (Bild 3) */
.wa-multi-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.wa-multi-prompt {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 4px 0 2px 2px;
  line-height: 1.35;
}
.wa-widget-popup.theme-light .wa-multi-prompt {
  color: #64748B;
}
.wa-multi-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-multi-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #141B26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.wa-widget-popup.theme-light .wa-multi-item {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.wa-multi-item:hover {
  transform: translateY(-1px);
  border-color: var(--wa-multi-hover-color, #25D366);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 10px rgba(37, 211, 102, 0.2);
}
.wa-multi-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.wa-multi-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  user-select: none;
}
.wa-multi-avatar-wrap .wa-widget-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #141B26;
}
.wa-widget-popup.theme-light .wa-multi-avatar-wrap .wa-widget-online {
  border-color: #FFFFFF;
}
.wa-multi-details {
  flex: 1;
  min-width: 0;
}
.wa-multi-name {
  font-weight: 700;
  font-size: 13.5px;
  color: #F8FAFC;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-widget-popup.theme-light .wa-multi-name {
  color: #0F172A;
}
.wa-multi-role {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-widget-popup.theme-light .wa-multi-role {
  color: #64748B;
}
.wa-multi-arrow {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}
.wa-widget-popup.theme-light .wa-multi-arrow {
  color: #94A3B8;
}
.wa-multi-item:hover .wa-multi-arrow {
  color: var(--wa-multi-hover-color, #25D366);
  transform: translateX(2px);
}

/* Dedicated Team Members: hide chat input footer completely on both desktop & mobile */
.wa-widget-popup.has-agents .wa-widget-footer {
  display: none !important;
}

/* Desktop QR Code auto-hidden on Mobile devices */
@media (max-width: 768px) {
  .wa-widget-tabs {
    display: none !important;
  }
  .wa-widget-qr-view {
    display: none !important;
  }
  .wa-widget-body {
    display: flex !important;
  }
  .wa-widget-popup.has-agents .wa-widget-footer {
    display: none !important;
  }
}