/* Badge/label colors start */

.badge {
  padding: 4px 6px 4px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.badge-pill {
  border-radius: 10rem;
}

/* Green - Adding and positive actions */
.badge-add_vehicle,
.badge-add_driver,
.badge-add_to_wallet,
.badge-request_quote,
.badge-promoter,
.badge-active,
.badge-downloaded,
.badge-download,
.badge-completed,
.badge-click,
.badge-clicks,
.badge-clicked,
.badge-scheduled,
.badge-added,
.badge-sent,
.badge-slip_consent,
.badge-success {
  background-color: #00A960 !important;
}

/* Red - Removing and failed actions */
.badge-remove_vehicle,
.badge-remove_driver,
.badge-failed,
.badge-deferred,
.badge-bounce,
.badge-bounced,
.badge-detractor,
.badge-held,
.badge-on-hold,
.badge-danger {
  background-color: #F9362A !important;
}

/* Orange - General and status change actions */
.badge-report_claim,
.badge-passive,
.badge-draft,
.badge-processed,
.badge-risky,
.badge-subscription-changed,
.badge-subscription_changed,
.badge-topic-subscription-changed,
.badge-topic_subscription_changed,
.badge-warning,
.badge-journey-in-progress {
  background-color: #F98B0B !important;
}

/* Pink - Spam-related actions */
.badge-marked-as-spam,
.badge-spam,
.badge-spamerport,
.badge-spamerported,
.badge-spamreport,
.badge-spamreported,
.badge-not-opened {
  background-color: #FF4794 !important;
}

/* Blue - Interaction actions */
.badge-share,
.badge-deliver,
.badge-delivered,
.badge-delivered-sms,
.badge-reportdownload,
.badge-webview,
.badge-webviewed,
.badge-viewed,
.badge-forwarded,
.badge-open,
.badge-opened,
.badge-access,
.badge-received,
.badge-mail_slip,
.badge-shared,
.badge-main,
.badge-primary {
  background-color: #3994FF !important;
}

/* Gray - Miscellaneous */
.badge-inactive,
.badge-testing,
.badge-alt,
.badge-default,
.badge-dark {
  background-color: #6B6D7F !important;
  color: #fff; /* The .badge-default by default has some grey color, we need to override that.  */
}

/* Brown - Incomplete actions */
.badge-journey-not-completed,
.badge-unsubscribe,
.badge-unsubscribed {
  background-color: #8B0000 !important;
}

/* Special cases */
.badge-ab {
  background-color: #9463F7 !important;
}

/* Badge/label colors end */
