/* "Add to Maxy" pill injected into LinkedIn profile and DM thread pages. */

#maxy-linkedin-pill.maxy-pill {
  position: relative;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px;
  padding: 6px 14px;
  border: 1px solid #0a66c2;
  border-radius: 999px;
  background: #ffffff;
  color: #0a66c2;
  font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

#maxy-linkedin-pill.maxy-pill:hover {
  background: #0a66c2;
  color: #ffffff;
}

#maxy-linkedin-pill.maxy-pill[data-state="busy"] {
  background: #f4f7fb;
  border-color: #a3b6c9;
  color: #46596d;
  cursor: progress;
}

#maxy-linkedin-pill.maxy-pill[data-state="ok"] {
  background: #e6f4ea;
  border-color: #2e7d32;
  color: #2e7d32;
  cursor: default;
}

#maxy-linkedin-pill.maxy-pill[data-state="error"] {
  background: #fdecea;
  border-color: #b00020;
  color: #b00020;
  cursor: pointer;
}

#maxy-linkedin-pill.maxy-pill[data-state="auth"] {
  background: #fff7e0;
  border-color: #b8860b;
  color: #b8860b;
  cursor: pointer;
}
