/* ========================================
   notifications.css — Notifications view
   ======================================== */

.notif-view {
  max-width: 640px;
  padding: 40px;
  background: #ffffff;
  min-height: 100%;
  box-sizing: border-box;
}

/* ---- Heading row ---- */
.notif-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.notif-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.notif-mark-all-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6D28D9;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.notif-mark-all-btn:hover {
  opacity: 0.75;
}

/* ---- List ---- */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid #E6E4EA;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

/* ---- Row ---- */
.notif-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 0.5px solid #EFEDF2;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.12s ease;
}

.notif-row:last-child {
  border-bottom: none;
}

.notif-row:hover {
  background: #FAFAFA;
}

.notif-row.unread {
  background: #FAF8FE;
}

.notif-row.unread:hover {
  background: #F3EEF9;
}

/* ---- Unread dot ---- */
.notif-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6D28D9;
  flex-shrink: 0;
}

/* ---- Type icon ---- */
.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon svg,
.notif-icon i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- Text ---- */
.notif-text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #111111;
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.notif-actor {
  font-weight: 500;
}

/* ---- Page thumbnail ---- */
.notif-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.notif-thumb-placeholder {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* ---- Timestamp ---- */
.notif-time {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #9A9AA0;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---- Empty state ---- */
.notif-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
  text-align: center;
}

.notif-empty-icon {
  width: 52px;
  height: 52px;
  background: #F3F0FB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #6D28D9;
}

.notif-empty-icon svg,
.notif-empty-icon i {
  width: 24px;
  height: 24px;
}

.notif-empty-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #111111;
  margin: 0 0 8px;
}

.notif-empty-body {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #7A7A80;
  max-width: 340px;
  line-height: 1.5;
  margin: 0;
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  .notif-view {
    max-width: 100%;
    padding: 20px 16px 48px;
  }
}

/* ---- Nav badge (sidebar + drawer) ---- */
.notif-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6D28D9;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  padding: 0 6px;
  margin-left: auto;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1;
}

/* ---- Hamburger dot (mobile only, CSS pseudo-element on #mobile-header) ---- */
@media (max-width: 768px) {
  #mobile-header.has-notif-dot::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 34px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6D28D9;
    border: 1.5px solid #ffffff;
    pointer-events: none;
  }
}
