/* Notification popover */
.lumii-notify-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-width: min(360px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(28, 43, 66, 0.14);
  z-index: 80;
  overflow: hidden;
  display: none;
}
.lumii-notify-panel.open { display: block; }

.lumii-notify-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #e8edf5;
}
.lumii-notify-panel header strong {
  font-size: 12px;
  font-weight: 650;
  color: #182235;
  letter-spacing: 0.04em;
}
.lumii-notify-panel header span {
  font-size: 12px;
  color: #5c48df;
  font-weight: 650;
}

.lumii-notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lumii-notify-list li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f8;
  cursor: pointer;
}
.lumii-notify-list li:last-child { border-bottom: 0; }
.lumii-notify-list li:hover { background: #f7f8fc; }
.lumii-notify-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  background: #5c48df;
}
.lumii-notify-list li.read i { background: #c5cedb; }
.lumii-notify-list b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #182235;
  line-height: 1.35;
  margin-bottom: 4px;
}
.lumii-notify-list p {
  margin: 0;
  font-size: 12px;
  color: #647084;
  line-height: 1.45;
}
.lumii-notify-list small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #8b97a8;
}

.lumii-notify-panel footer {
  padding: 10px 14px;
  border-top: 1px solid #e8edf5;
  text-align: center;
}
.lumii-notify-panel footer button {
  border: 0;
  background: transparent;
  color: #5c48df;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* anchor wrapper */
.top-actions .lumii-notify-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

html[data-theme=neutral] .lumii-notify-panel,
html[data-theme=neutral] .lumii-notify-list li:hover {
  background: #303845;
  border-color: #dfe8f22b;
}
html[data-theme=neutral] .lumii-notify-panel header,
html[data-theme=neutral] .lumii-notify-panel footer,
html[data-theme=neutral] .lumii-notify-list li {
  border-color: #dfe8f22b;
}
html[data-theme=neutral] .lumii-notify-panel header strong,
html[data-theme=neutral] .lumii-notify-list b {
  color: #f5f8fb;
}
html[data-theme=neutral] .lumii-notify-list p,
html[data-theme=neutral] .lumii-notify-list small {
  color: #b2bfcc;
}
