
/* Step 76: notification bell */
#nik76-notification-bell,
#nik76-notification-bell * {
  box-sizing: border-box;
}

#nik76-notification-bell {
  position: fixed;
  right: 18px;
  top: 82px;
  z-index: 7550;
  color: #0f172a;
}

.nik76-bell {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125,180,255,.32);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(35,93,150,.16);
  cursor: pointer;
  position: relative;
}

.nik76-bell span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 900;
  border: 2px solid #fff;
}

.nik76-notifications-panel {
  position: absolute;
  top: 60px;
  right: 0;
  width: min(380px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 120px));
  display: none;
  overflow: hidden;
  border: 1px solid rgba(125,180,255,.30);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 28px 90px rgba(15,23,42,.22);
}

#nik76-notification-bell.is-open .nik76-notifications-panel {
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
}

.nik76-notifications-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(125,180,255,.18);
}

.nik76-notifications-panel header button {
  min-height: 32px;
  border: 1px solid rgba(125,180,255,.24);
  border-radius: 12px;
  background: rgba(240,249,255,.82);
  color: #075985;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.nik76-notifications-list {
  overflow: auto;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.nik76-notifications-list article,
.nik76-notifications-list .empty {
  border: 1px solid rgba(125,180,255,.16);
  border-radius: 16px;
  background: rgba(248,250,252,.72);
  padding: 12px;
}

.nik76-notifications-list article.unread {
  background: rgba(224,242,254,.78);
  border-color: rgba(14,165,233,.24);
}

.nik76-notifications-list b,
.nik76-notifications-list span,
.nik76-notifications-list p {
  display: block;
}

.nik76-notifications-list span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.nik76-notifications-list p {
  margin: 7px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 680px) {
  #nik76-notification-bell {
    right: 10px;
    top: 74px;
  }
}
