.nav-item {
  position: relative;
}

.nav-notification-badge {
  position: absolute;
  top: 6px;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid var(--panel, #fff);
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(183, 28, 28, 0.24);
  pointer-events: none;
}

.nav-notification-badge[hidden] {
  display: none;
}

.notification-sound-toggle {
  width: 100%;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line, #dfe5ec);
  border-radius: 7px;
  background: #fff;
  color: var(--muted, #667085);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.notification-sound-toggle[data-sound-enabled="true"][data-sound-unlocked="true"] {
  border-color: #b8ddc9;
  color: #18794e;
}

.notification-sound-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.navigation-notification-toast {
  position: fixed;
  z-index: 1800;
  top: 18px;
  left: 50%;
  display: grid;
  gap: 3px;
  min-width: min(360px, calc(100vw - 32px));
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid #f2b8b5;
  border-radius: 10px;
  background: #fff8f7;
  color: #8f1d1a;
  box-shadow: 0 12px 32px rgba(44, 24, 24, 0.18);
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.navigation-notification-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.navigation-notification-toast strong {
  font-size: 14px;
}

.navigation-notification-toast small {
  color: #83524f;
  font-size: 11px;
}

@media (prefers-reduced-motion: reduce) {
  .navigation-notification-toast {
    transition: none;
  }
}

@media (max-width: 760px) {
  .navigation-notification-toast {
    top: 10px;
  }
}
