/* HARPS V2 — Notifications popover (header bell).
   Tokens: ADS white, radius 6, border #0f121433, elevation/30. */

.v2-topbar .v2-util[aria-label="Notifications"] {
  position: relative;
}

.v2-topbar .v2-util[aria-label="Notifications"].is-unread::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ads-red-100, #db5461);
  box-shadow: 0 0 0 2px var(--v2-topbar-bg, #4045c2);
  pointer-events: none;
}

.v2-topbar .v2-util:hover,
.v2-topbar .v2-avatar:hover {
  opacity: 0.75;
}

.v2-topbar .v2-util:focus-visible,
.v2-topbar .v2-avatar:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.v2-notify-popover {
  position: fixed;
  z-index: 500;
  box-sizing: border-box;
  width: 360px;
  padding: 8px 0;
  background: var(--white, #ffffff);
  border: 1px solid #0f121433;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(15, 18, 20, 0.30);
  font-family: "Open Sans", var(--font-family), sans-serif;
  color: var(--ads-gray-100, #1e2528);
}

.v2-notify-popover[hidden] {
  display: none !important;
}

.v2-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 16px 8px;
}

.v2-notify-title {
  margin: 0;
  font: 600 14px/20px "Open Sans", var(--font-family), sans-serif;
  color: var(--ads-gray-100, #1e2528);
}

.v2-notify-mark {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: 600 12px/18px "Open Sans", var(--font-family), sans-serif;
  color: var(--link, #4045c2);
  border-radius: 4px;
}

.v2-notify-mark:hover {
  text-decoration: underline;
}

.v2-notify-mark:focus-visible {
  outline: 2px solid var(--v2-focus-ring, #4045c2);
  outline-offset: 2px;
}

.v2-notify-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  background: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.v2-notify-item:hover,
.v2-notify-item:focus-visible {
  background: #0f12140d;
  outline: none;
}

.v2-notify-item:focus-visible {
  box-shadow: inset 0 0 0 2px var(--v2-focus-ring, #4045c2);
}

.v2-notify-item-title {
  display: block;
  font: 400 14px/20px "Open Sans", var(--font-family), sans-serif;
  color: var(--ads-gray-100, #1e2528);
  white-space: normal;
  overflow-wrap: anywhere;
}

.v2-notify-item-meta {
  display: block;
  margin-top: 2px;
  font: 400 12px/18px "Open Sans", var(--font-family), sans-serif;
  color: #51585b;
}

.v2-notify-empty {
  padding: 24px 16px;
  text-align: center;
  font: 400 14px/20px "Open Sans", var(--font-family), sans-serif;
  color: #51585b;
}

html[data-theme="wireframe"] .v2-notify-mark {
  color: #404040;
}

html[data-theme="wireframe"] .v2-topbar .v2-util[aria-label="Notifications"].is-unread::after {
  background: #5c5c5c;
}
