.notificationapi-container {
  display: inline-block;
  position: relative;
}

.notificationapi-button {
  all: initial;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  position: relative;
  box-sizing: border-box;
  text-align: center;
}

.notificationapi-button::before,
.notificationapi-button::after {
  all: unset;
}

.notificationapi-button * {
  all: unset;
}

.notificationapi-button > span {
  font-size: 1.25em;
}

.notificationapi-unread {
  background: #cc1016;
  border-radius: 50%;
  min-width: 16px;
  min-height: 16px;
  display: inline-block;
  position: absolute;
  top: -4px;
  right: -7px;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: white;
}

.notificationapi-unread.hidden {
  display: none;
}

.notificationapi-popup {
  all: initial;
  display: block;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #fff;
  overflow-y: hidden;
  overflow-x: hidden;
}

.notificationapi-popup.hovering {
  position: absolute;
  width: 340px;
  z-index: 2147483646;
}

@media screen and (max-width: 767px) {
  .notificationapi-popup.hovering {
    width: auto;
  }

  .notificationapi-popup.hovering .notificationapi-header button {
    display: inline-block;
  }
}

.notificationapi-popup.hovering.closed {
  display: none;
}

.notificationapi-popup.inline {
  width: 100%;
  min-width: 230px;
}

.notificationapi-popup * {
  all: unset;
}

.notificationapi-popup div,
.notificationapi-popup p,
.notificationapi-popup h1,
.notificationapi-popup h2,
.notificationapi-popup h3 {
  display: block;
}

.notificationapi-popup .notificationapi-popup-inner {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0) #f8f8f8;
}

.notificationapi-popup .notificationapi-popup-inner {
  max-height: 90vh;
}

.notificationapi-popup .notificationapi-popup-inner:hover {
  scrollbar-color: #ddd #eee;
}

.notificationapi-popup .notificationapi-popup-inner::-webkit-scrollbar {
  width: 8px;
}

.notificationapi-popup .notificationapi-popup-inner::-webkit-scrollbar-track {
  background: #f8f8f8;
  border-radius: 4px;
}

.notificationapi-popup .notificationapi-popup-inner::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
}

.notificationapi-popup
  .notificationapi-popup-inner:hover::-webkit-scrollbar-track {
  background: #eee;
}

.notificationapi-popup
  .notificationapi-popup-inner:hover::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border: 1px solid #eee;
}

.notificationapi-popup .notificationapi-header {
  margin: 20px 16px 12px 16px;
  padding: 0;
  position: relative;
}

.notificationapi-popup .notificationapi-header h1 {
  font-size: 24px;
  display: inline-block;
}

.notificationapi-popup .notificationapi-header .notificationapi-close-button {
  border: solid black;
  border-width: 0 3px 3px 0;
  padding: 6px;
  transform: translateY(-9px) rotate(135deg);
  -webkit-transform: translateY(-9px) rotate(135deg);
  margin: 0 8px 0 8px;
  display: none;
}

.notificationapi-popup
  .notificationapi-header
  .notificationapi-preferences-button {
  color: #444;
  position: absolute;
  right: 0;
  top: 8px;
  cursor: pointer;
}

.notificationapi-popup .notificationapi-header .notificationapi-readAll-button {
  color: #444;
  position: absolute;
  right: 24px;
  top: 8px;
  cursor: pointer;
}

.notificationapi-popup .notificationapi-empty {
  padding: 40px 20px;
  text-align: center;
}

.notificationapi-popup .notificationapi-nomore {
  padding: 10px 20px;
  text-align: center;
  font-size: 12px;
}

.notificationapi-popup .notificationapi-notification {
  display: flex;
  align-self: baseline;
  margin: 4px 8px;
  padding: 8px;
  border-radius: 8px;
  cursor: default;
  position: relative;
  transition: all 100ms ease-in;
}

.notificationapi-popup .notificationapi-notification.unseen {
  background: #eef7ff;
}

.notificationapi-popup .notificationapi-notification[href] {
  cursor: pointer;
}

.notificationapi-popup .notificationapi-notification,
.notificationapi-popup .notificationapi-notification:hover,
.notificationapi-popup .notificationapi-notification:visited {
  text-decoration: none;
  color: #111;
}

.notificationapi-popup .notificationapi-notification:hover {
  background: #f5f5f5;
}

.notificationapi-popup .notificationapi-notification-metaContainer {
  width: 100%;
}

.notificationapi-popup .notificationapi-notification-title {
  margin: 0;
  padding: 0;
}

.notificationapi-popup .notificationapi-notification-title b {
  font-weight: 600;
}

.notificationapi-popup .notificationapi-notification-imageContainer {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  margin-right: 12px;
  border: 1px #eee solid;
  text-align: center;
}

.notificationapi-popup .notificationapi-notification-image {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.notificationapi-popup .notificationapi-notification-defaultIcon {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5em;
  color: #444;
}

.notificationapi-popup .notificationapi-notification-date {
  color: rgb(9, 75, 255);
  font-size: 14px;
  margin: 0;
  padding: 0;
}

.notificationapi-popup .notificationapi-notification-menu-button {
  align-self: baseline;
  color: rgba(0, 0, 0, 0.3);
  visibility: hidden;
  padding: 5px 8px 2px 8px;
  border-radius: 50%;
  transition: background 100ms ease-in;
}

.notificationapi-popup .notificationapi-notification-menu-button:hover {
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.1);
}

.notificationapi-notification.unseen .notificationapi-notification-menu-button {
  visibility: visible;
}

.notificationapi-popup .notificationapi-notification-menu {
  display: block;
  position: absolute;
  right: 6px;
  top: 6px;
  background: #fff;
  padding: 4px 0;
  border-radius: 8px;
}

.notificationapi-popup .notificationapi-notification-menu-item {
  padding: 8px 16px;
  color: rgba(0, 0, 0, 0.6);
}

.notificationapi-popup .notificationapi-notification-menu-item:hover {
  color: rgba(0, 0, 0, 0.75);
  background-color: rgba(0, 0, 0, 0.08);
}

.notificationapi-popup .notificationapi-notification-menu-item-text {
  margin-left: 8px;
}

.notificationapi-popup .notificationapi-footer {
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 12px;
  gap: 4px;
}

.notificationapi-footer button {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  padding: 0;
  font-size: 12px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  outline: none;
  transition: all 0.3s;
}

.notificationapi-footer button:hover {
  color: #1890ff;
  border-color: #1890ff;
}

.notificationapi-footer button:disabled {
  color: #00000040;
  border-color: #d9d9d9;
  cursor: not-allowed;
}

.notificationapi-preferences-container {
  z-index: 2147483647;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-y: hidden;
  overflow-x: hidden;
}

.notificationapi-preferences-container.inline {
  position: relative;
  display: block;
  z-index: auto;
}

.notificationapi-preferences-container.closed {
  display: none;
}

.notificationapi-preferences-backdrop {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
  backdrop-filter: blur(2px);
}

.notificationapi-preferences-container.inline
  .notificationapi-preferences-backdrop {
  display: none;
}

.notificationapi-preferences-popup {
  background: #fff;
  padding: 16px;
  z-index: 1;
  border-radius: 8px;
}

.notificationapi-preferences-container.inline
  .notificationapi-preferences-popup {
  background: none;
  border-radius: 0;
}

.notificationapi-preferences-popup h1 {
  font-size: 24px;
  display: inline-block;
  margin: auto 16px 24px;
}

.notificationapi-preferences-container.inline
  .notificationapi-preferences-popup
  h1 {
  display: none;
}

.notificationapi-preferences-close {
  border: solid black;
  border-width: 0 3px 3px 0;
  background-color: transparent;
  padding: 6px;
  transform: translateY(-9px) rotate(135deg);
  -webkit-transform: translateY(-9px) rotate(135deg);
  margin: 0 0px 0 8px;
  display: inline-block;
}

.notificationapi-preferences-container.inline
  .notificationapi-preferences-close {
  display: none;
}

.notificationapi-preferences-empty {
  text-align: center;
  padding: 40px;
}

.notificationapi-preferences-grid {
  display: grid;
  padding: 6px;
  grid-auto-columns: minmax(60px, auto);
  column-gap: 16px;
  align-items: center;
}

.notificationapi-preferences-channel {
  display: flex;
  align-items: flex-end; /* align text to the bottom */
  justify-content: center; /* center text horizontally */
  min-width: 60px;
  height: 18px;
}
.notificationapi-preferences-title {
  font-weight: 600;
  min-width: 60px;
  max-width: 200px;
  display: inline-block;
  margin-top: 16px;
}

.notificationapi-preferences-subtitle {
  margin-left: 16px;
  margin-top: 8px;
  max-width: 200px;
}

.notificationapi-preferences-toggle {
  margin-top: 16px;
  min-width: 60px;
  margin-right: auto;
  margin-left: auto;
}

.notificationapi-preferences-toggle,
.notificationapi-preferences-subtoggle {
  width: 60px;
  text-align: center;
  min-width: 60px;
  margin-right: auto;
  margin-left: auto;
}

.notificationapi-preferences-expand {
  background: none;
  color: #222;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.notificationapi-preferences-grid *.closed {
  max-height: 0px;
  margin-top: 0;
  transition: max-height 0.15s ease-out;
}

.notificationapi-preferences-grid * {
  max-height: 200px;
  transition: max-height 0.25s ease-in;
  overflow: hidden;
}

.notificationapi-preferences-col1 {
  grid-column: 1/1;
}

.notificationapi-preferences-col2 {
  grid-column: 2/2;
}

.notificationapi-preferences-col3 {
  grid-column: 3/3;
}

.notificationapi-preferences-col4 {
  grid-column: 4/4;
}

.notificationapi-preferences-col5 {
  grid-column: 5/5;
}

.notificationapi-preferences-col6 {
  grid-column: 6/6;
}

.notificationapi-preferences-col7 {
  grid-column: 7/7;
}

.notificationapi-preferences-col8 {
  grid-column: 8/8;
}

.notificationapi-preferences-col9 {
  grid-column: 9/9;
}

.notificationapi-preferences-col10 {
  grid-column: 10/10;
}

.notificationapi-preferences-col11 {
  grid-column: 11/11;
}

.notificationapi-preferences-row1 {
  grid-row: 1/1;
}

.notificationapi-preferences-row2 {
  grid-row: 2/2;
}

.notificationapi-preferences-row3 {
  grid-row: 3/3;
}

.notificationapi-preferences-row4 {
  grid-row: 4/4;
}

.notificationapi-preferences-row5 {
  grid-row: 5/5;
}

.notificationapi-preferences-row6 {
  grid-row: 6/6;
}

.notificationapi-preferences-row7 {
  grid-row: 7/7;
}

.notificationapi-preferences-row8 {
  grid-row: 8/8;
}

.notificationapi-preferences-row9 {
  grid-row: 9/9;
}

.notificationapi-preferences-row10 {
  grid-row: 10/10;
}

.notificationapi-preferences-row11 {
  grid-row: 11/11;
}

/* Loading animation */
.notificationapi-loading {
  text-align: center;
}

/* Switch */
.notificationapi-preferences-popup .switch {
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.notificationapi-preferences-popup .switch i {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
  background-color: #e6e6e6;
  border-radius: 22px;
  vertical-align: text-bottom;
  transition: all 0.3s linear;
}

.notificationapi-preferences-popup .switch.small i {
  width: 28px;
  height: 16px;
  border-radius: 14px;
}

.notificationapi-preferences-popup .switch i::before {
  content: '';
  position: absolute;
  left: 0;
  width: 40px;
  height: 20px;
  background-color: #bfbfbf;
  border-radius: 11px;
  transform: translate3d(2px, 1px, 0) scale3d(1, 1, 1);
  transition: all 0.25s linear;
}

.notificationapi-preferences-popup .switch.small i::before {
  width: 24px;
  height: 14px;
}

.notificationapi-preferences-popup .switch i::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(3px, 2px, 0);
  transition: all 0.2s ease-in-out;
}

.notificationapi-preferences-popup .switch.small i::after {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(3px, 2px, 0);
}

.notificationapi-preferences-popup .switch:active i::after {
  width: 28px;
  transform: translate3d(2px, 2px, 0);
}

.notificationapi-preferences-popup .switch:active input:checked + i::after {
  transform: translate3d(16px, 2px, 0);
}

.notificationapi-preferences-popup .switch input {
  display: none;
}

.notificationapi-preferences-popup .switch input:checked + i {
  background-color: #1890ff;
}

.notificationapi-preferences-popup .switch input:checked + i::before {
  transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
}

.notificationapi-preferences-popup .switch input:checked + i::after {
  transform: translate3d(24px, 2px, 0);
}

.notificationapi-preferences-popup .switch input:disabled + i {
  opacity: 0.5;
}

.notificationapi-preferences-popup .switch.small input:checked + i::after {
  transform: translate3d(14px, 2px, 0);
}

/* icomoon */
@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot?yjc9oj');
  src: url('fonts/icomoon.eot?yjc9oj#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?yjc9oj') format('truetype'),
    url('fonts/icomoon.woff?yjc9oj') format('woff'),
    url('fonts/icomoon.svg?yjc9oj#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^='icon-'],
[class*=' icon-'] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Enable Ligatures ================ */
  letter-spacing: 0;
  -webkit-font-feature-settings: 'liga';
  -moz-font-feature-settings: 'liga=1';
  -moz-font-feature-settings: 'liga';
  -ms-font-feature-settings: 'liga' 1;
  font-feature-settings: 'liga';
  -webkit-font-variant-ligatures: discretionary-ligatures;
  font-variant-ligatures: discretionary-ligatures;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-ellipsis-h:before {
  content: '\e905';
}
.icon-check:before {
  content: '\e904';
}
.icon-cog:before {
  content: '\e903';
}
.icon-commenting-o:before {
  content: '\e900';
}
.icon-bell-o:before {
  content: '\e901';
}
.icon-bell:before {
  content: '\e902';
}
.icon-spinner8:before {
  content: '\e981';
}

@keyframes anim-rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.notificationapi-preferences-popup .spinner,
.notificationapi-container .spinner {
  display: inline-block;
  font-size: 3em;
  height: 1em;
  line-height: 1;
  margin: 0.5em;
  animation: anim-rotate 2s infinite linear;
  text-shadow: 0 0 0.25em rgba(255, 255, 255, 0.3);
}
.notificationapi-preferences-web-push-opt-in {
  color: #333;
}
.notificationapi-preferences-web-push-opt-in .click-here {
  cursor: pointer; /* Keeps the pointer cursor for the hyperlink */
}
.notificationapi-opt-in-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* This will center the child elements */
  padding: 20px;
  margin-top: 10px;
  border-radius: 5px;
  background-color: #fafafa;
}

.notificationapi-allow-button,
.notificationapi-no-thanks-button {
  background-color: transparent; /* No background */
  text-decoration: underline; /* Makes it appear like a hyperlink */
  border: none;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
  text-align: left;
}

.notificationapi-allow-button:hover,
.notificationapi-no-thanks-button:hover {
  color: #0000ff; /* Blue color on hover */
}

.notificationapi-no-thanks-button {
  margin-left: 10px;
}
