.dropdown-notifications {
  position: relative;
}

#app-notification-dropdown {
  width: min(390px, calc(100vw - 2rem));
  overflow: hidden;
}

#app-notification-list {
  max-height: 420px;
  overflow-y: auto;
}

.app-notification-item {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.app-notification-item:hover {
  background-color: rgba(115, 103, 240, 0.08);
}

  .app-notification-item.is-unread {
    background-color: rgba(47, 51, 73);
  }

.app-notification-item .app-notification-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 0.55rem;
}

.app-notification-item p,
#app-notification-toast-container .toast-body {
  white-space: pre-line;
}

.app-notification-client {
  color: var(--bs-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.app-notification-mark-read {
  padding: 0.2rem 0.4rem;
  white-space: nowrap;
}

#app-notification-toast-container {
  z-index: 2000;
  width: min(460px, calc(100vw - 2rem));
}

#app-notification-toast-container .app-notification-toast {
  width: 100%;
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
  border: 1px solid color-mix(in srgb, var(--bs-primary) 38%, transparent);
  border-left: 0.35rem solid var(--bs-primary);
  box-shadow: 0 0.75rem 2rem rgba(47, 43, 61, 0.28);
}

#app-notification-toast-container .app-notification-toast-message {
  color: var(--bs-body-color);
  font-size: 0.9375rem;
  line-height: 1.45;
}

@media (max-width: 355px) {
  #app-notification-dropdown {
    position: fixed;
    top: 2.25rem;
    right: 1rem;
  }
}
