  /* container for floating widget */
  .wa-widget {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 1080;
      /* above most things */
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: flex-end;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }

  /* round button */
  .wa-btn {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
      cursor: pointer;
      transition: transform .12s ease, box-shadow .12s ease;
      background: #25D366;
      color: white;
      border: none;
  }

  .wa-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  }

  /* small chat card shown above the button */
  .wa-card {
      width: min(320px, calc(100vw - 40px));
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      background: white;
      transform-origin: bottom right;
      animation: wa-card-in .15s ease;
  }

  @keyframes wa-card-in {
      from {
          transform: scale(.96) translateY(6px);
          opacity: 0;
      }

      to {
          transform: scale(1) translateY(0);
          opacity: 1;
      }
  }

  .wa-card .header {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px;
      border-bottom: 1px solid #eee;
  }

  .wa-card .avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
  }

  .wa-card .body {
      padding: 12px;
      font-size: 0.95rem;
      color: #333;
  }

  .wa-card .footer {
      padding: 10px;
      border-top: 1px solid #f1f1f1;
      display: flex;
      gap: 8px;
  }

  /* small label above button (optional) */
  .wa-label {
      background: #0f1720;
      color: #fff;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 0.85rem;
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  }

  /* hide the card on very small screens if desired (optional) */
  @media (max-width: 420px) {
      .wa-card {
          width: calc(100vw - 28px);
          right: 14px;
      }
  }