/* SHAHINAZ ULTRA v9.0 — Notifications Center (SVG Bell) */

#shahinazBell {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--card-soft);
  color: var(--text-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#shahinazBell svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#shahinazBell .notification-count {
  position: absolute;
  top: -3px;
  left: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--accent, #ff477e);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

#shahinazNotifications {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.notification-window {
  width: 100%;
  max-width: 480px;
  max-height: 85dvh;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.notification-heading {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
}

.notification-heading h2 {
  font-size: 17px;
  font-weight: 800;
}

.notification-heading p {
  font-size: 12px;
  color: var(--muted);
}

.notification-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card-soft);
  color: var(--text);
  font-size: 15px;
}

.notification-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
}

.notification-tools button {
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--card-soft);
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 700;
}

.notification-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 14px;
  margin-bottom: 4px;
  transition: background 0.18s;
}

.notification-item.unread {
  background: rgba(168, 117, 255, 0.11);
}

.notification-item:hover {
  background: var(--card-soft);
}

.notification-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.notification-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notification-content {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.notification-content strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.notification-content p {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

.notification-content time {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
  flex-shrink: 0;
}

.notification-delete {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 71, 126, 0.12);
  color: var(--accent);
  font-size: 12px;
}

.notification-empty,
.notification-loading {
  text-align: center;
  padding: 36px 14px;
  color: var(--muted);
  font-size: 13px;
}

.notification-empty .empty-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
}

html[dir="ltr"] #shahinazBell .notification-count {
  left: auto;
  right: -3px;
}
