.notifications-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: backdrop-filter 0.3s ease;
}

.notifications-backdrop.open {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: all;
}

.notifications-panel {
  position: fixed;
  top: 16px;
  bottom: 25px;
  right: 45px;
  width: 30%;
  background: #fff;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
  border-radius: 48px;
  z-index: 151;
  transform: translateX(calc(100% + 90px));
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.notifications-panel.open {
  transform: translateX(0);
}

/* ── Notification groups ── */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 4px;
  border-radius: 12px;
  transition: background 0.14s;
}

.notif-group:hover {
  background: rgba(0, 0, 0, 0.04);
}

.notif-group__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  margin-top: 5px;
}

.notif-group__dot--unseen {
  background: #54f9f4;
}

.notif-group__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-group__text {
  font-size: 13px;
  color: #000;
  line-height: 1.4;
}

.notif-group__time {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.35);
}

.notif-empty {
  padding: 32px 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.35);
}

.notif-error {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #e53e3e;
}

.notif-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  animation: notif-spin 0.8s linear infinite;
  margin: 32px auto;
}

@keyframes notif-spin { to { transform: rotate(360deg); } }

/* ── Nav badge ── */
.nav-btn {
  position: relative;
}

.nav-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #54f9f4;
  border-radius: 50%;
  border: 1.5px solid #fff;
  pointer-events: none;
}
