/* notifications.css — Notification bell + dropdown, global message */

/* ---------------- NOTIFICATIONS ---------------- */
.notif-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--neon-red);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-color);
  font-family: Arial, sans-serif;
}
.notif-dot.show { display: flex; }

.notif-dropdown {
  position: absolute;
  top: 46px;
  right: 0;
  width: 340px;
  max-height: 420px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  z-index: 500;
  overflow: hidden;
}
.notif-dropdown.open { display: flex; }
.notif-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notif-dropdown-header a {
  font-size: 1.2rem;
  color: var(--neon-blue);
  cursor: pointer;
  font-weight: normal;
}
.notif-list {
  overflow-y: auto;
  flex: 1;
}
.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.4rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  transition: background 0.15s;
}
.notif-item:hover { background: rgba(255,255,255,0.04); }
.notif-item.unread { background: rgba(0, 136, 255, 0.08); }
.notif-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-purple);
}
.notif-text { color: var(--text-main); line-height: 1.3; }
.notif-time { color: var(--text-muted); font-size: 1.1rem; margin-top: 2px; }
.notif-actions { display: flex; gap: 8px; margin-top: 8px; }
.notif-actions button {
  padding: 5px 12px;
  border-radius: 8px;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.notif-approve-btn { background: var(--neon-green); }
.notif-decline-btn { background: var(--neon-red); }
.notif-empty {
  padding: 30px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.4rem;
}

.streak-badge {
  background: #fff7ed;
  border: 1px solid #fde68a;
  padding: 6px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--neon-orange);
  font-size: 1.5rem;
  font-weight: bold;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  padding: 4px 12px 4px 6px;
  border-radius: 25px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-main);
  user-select: none;
}

.username-text {
  font-weight: 600;
  font-size: 1.4rem;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffaa00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
