.report-tab,
[data-report-launch-button] {
  position: relative;
}

.report-notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 21px;
  height: 21px;

  margin-left: 7px;
  padding: 0 6px;

  border: 1px solid rgba(255, 220, 145, 0.72);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      #b83a32,
      #721c1a
    );

  color: #fff7e7;

  font-family:
    Arial,
    sans-serif;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.55),
    0 0 8px rgba(184, 58, 50, 0.28);

  vertical-align: middle;
}

.report-notification-badge[hidden] {
  display: none !important;
}

[data-report-launch-button] >
.report-notification-badge {
  position: absolute;
  top: -7px;
  right: -7px;

  margin: 0;

  pointer-events: none;
  z-index: 5;
}

[data-report-launch-button]
.has-report-notifications,
[data-report-launch-button].has-report-notifications {
  animation:
    report-notification-pulse
    1.8s
    ease-in-out
    infinite;
}

@keyframes report-notification-pulse {
  0%,
  100% {
    filter:
      drop-shadow(
        0 0 0
        rgba(184, 58, 50, 0)
      );
  }

  50% {
    filter:
      drop-shadow(
        0 0 7px
        rgba(184, 58, 50, 0.65)
      );
  }
}

@media (
  prefers-reduced-motion:
  reduce
) {
  [data-report-launch-button]
  .has-report-notifications,
  [data-report-launch-button]
  .has-report-notifications,
  [data-report-launch-button]
  .has-report-notifications,
  [data-report-launch-button].has-report-notifications {
    animation: none;
  }
}