/* notifications.css */

/* === NOTIFICATIONS PAGE === */
.notif-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 16px;
}

.notif-page h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
}

#notif-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#notif-list li {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
  transition: background 0.2s ease;
}

#notif-list li:hover {
  background: var(--hover);
}

/* === NOTIF BADGE (untuk header link) === */
.notif-link {
  position: relative;
  display: inline-block;
}

.notif-icon {
  width: 24px;
  height: 24px;
}

.notif-badge {
  position: absolute;
  top: -6px;   /* geser ke atas */
  right: -6px; /* geser ke kanan */
  background: red;
  color: white;
  font-size: 0.7rem;
  border-radius: 50%;
  padding: 2px 6px;
  display: none; /* default hidden */
}

/* === RESPONSIVE === */
@media (min-width: 900px) {
  .notif-page {
    padding: 48px 24px;
  }

  #notif-list li {
    font-size: 1rem;
    padding: 14px 20px;
  }
}
