/*
 * Compact dynamically generated NOVO / NEW badge.
 */

.fbb-signal-new-badge {
  appearance: none !important;
  -webkit-appearance: none !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 auto !important;

  width: auto !important;
  min-width: 48px !important;
  max-width: max-content !important;

  height: 22px !important;
  min-height: 22px !important;

  margin: 5px auto 0 !important;
  padding: 0 9px !important;

  position: static !important;
  inset: auto !important;

  border: 1px solid rgba(0, 255, 135, 0.55) !important;
  border-radius: 999px !important;

  background:
    linear-gradient(
      90deg,
      #00b1ff 0%,
      #00dfd0 48%,
      #00ff87 100%
    ) !important;

  color: #031612 !important;

  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.065em !important;

  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;

  box-shadow:
    0 2px 8px rgba(0, 177, 255, 0.14),
    0 2px 9px rgba(0, 255, 135, 0.13) !important;

  transform: none !important;
  cursor: default !important;
  pointer-events: none !important;
}

/*
 * Remove excessive space around the badge.
 */
.fbb-signal-new-badge-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding-bottom: 0 !important;

  text-align: center !important;
}

@media (max-width: 480px) {
  .fbb-signal-new-badge {
    min-width: 44px !important;

    height: 20px !important;
    min-height: 20px !important;

    margin-top: 4px !important;
    padding: 0 8px !important;

    font-size: 9px !important;
    letter-spacing: 0.055em !important;
  }
}
