.mop-wa-widget {
  --mop-wa-green: #25d366;
  --mop-wa-dark-green: #128c7e;
  --mop-wa-ink: #1f2937;
  --mop-wa-muted: #64748b;
  bottom: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
  position: fixed;
  right: 24px;
  z-index: 2147483000;
}

.mop-wa-widget *, .mop-wa-widget *::before, .mop-wa-widget *::after { box-sizing: border-box; }
.mop-wa-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 42px rgba(15, 23, 42, .22);
  bottom: 72px;
  color: var(--mop-wa-ink);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
  visibility: hidden;
  width: min(360px, calc(100vw - 32px));
}
.mop-wa-widget.is-open .mop-wa-panel { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); visibility: visible; }
.mop-wa-header { align-items: flex-start; background: linear-gradient(135deg, #128c7e, #25d366); color: #fff; display: flex; gap: 11px; padding: 18px; }
.mop-wa-brand-mark { flex: 0 0 36px; }
.mop-wa-brand-mark svg { display: block; height: 36px; width: 36px; }
.mop-wa-header strong { display: block; font-size: 15px; line-height: 1.3; margin: 1px 24px 3px 0; }
.mop-wa-header p { font-size: 13px; line-height: 1.4; margin: 0; opacity: .95; }
.mop-wa-close { appearance: none; background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 28px; font-weight: 300; line-height: 24px; margin-left: auto; padding: 0; }
.mop-wa-form { padding: 16px; }
.mop-wa-agent-label { color: var(--mop-wa-muted); display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.mop-wa-agent-select, .mop-wa-form textarea { appearance: auto; border: 1px solid #d6dee8; border-radius: 8px; color: var(--mop-wa-ink); display: block; font: inherit; font-size: 14px; outline: 0; width: 100%; }
.mop-wa-agent-select { background: #fff; margin-bottom: 10px; padding: 9px 10px; }
.mop-wa-form textarea { min-height: 82px; padding: 10px; resize: vertical; }
.mop-wa-agent-select:focus, .mop-wa-form textarea:focus { border-color: var(--mop-wa-green); box-shadow: 0 0 0 3px rgba(37, 211, 102, .18); }
.mop-wa-note { color: var(--mop-wa-muted); font-size: 11px; line-height: 1.45; margin: 8px 0 11px; }
.mop-wa-status { color: #b42318; font-size: 12px; margin: 0 0 8px; min-height: 0; }
.mop-wa-status:empty { display: none; }
.mop-wa-send { align-items: center; background: var(--mop-wa-green); border: 0; border-radius: 8px; color: #fff; cursor: pointer; display: flex; font: 600 14px/1.2 inherit; justify-content: center; min-height: 43px; padding: 10px 14px; width: 100%; }
.mop-wa-send:hover, .mop-wa-send:focus { background: #1ebe5a; color: #fff; }
.mop-wa-send svg { height: 18px; margin-left: 7px; width: 18px; }
.mop-wa-launcher { align-items: center; background: var(--mop-wa-green); border: 0; border-radius: 50%; box-shadow: 0 5px 20px rgba(37, 211, 102, .42); color: #fff; cursor: pointer; display: flex; height: 58px; justify-content: center; margin-left: auto; padding: 0; position: relative; transition: transform .15s ease, background .15s ease; width: 58px; }
.mop-wa-launcher:hover, .mop-wa-launcher:focus { background: #1ebe5a; color: #fff; transform: scale(1.06); }
.mop-wa-launcher svg { height: 36px; width: 36px; }
.mop-wa-pulse { animation: mop-wa-pulse 2.4s infinite; border: 2px solid rgba(37, 211, 102, .7); border-radius: inherit; height: 100%; left: 0; pointer-events: none; position: absolute; top: 0; width: 100%; }
.mop-wa-widget.is-open .mop-wa-pulse { display: none; }
@keyframes mop-wa-pulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.45); } }
@media (max-width: 480px) { .mop-wa-widget { bottom: 16px; right: 16px; } .mop-wa-panel { bottom: 68px; } .mop-wa-launcher { height: 54px; width: 54px; } }
@media (prefers-reduced-motion: reduce) { .mop-wa-panel, .mop-wa-launcher { transition: none; } .mop-wa-pulse { animation: none; } }
