/* Notification bell + badge in the header */
.notifications-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #e2e8f0;
  transition: background 0.2s ease, color 0.2s ease;
}

.notifications-bell:hover {
  background: rgba(247, 147, 26, 0.12);
  color: #f7931a;
}

.notifications-bell-icon {
  display: block;
}

.notifications-badge {
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f7931a 0%, #ffab40 100%);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #0f172a;
}

/* Notifications page */
.notifications-page {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 2rem 1rem;
}

.notifications-container {
  max-width: 720px;
  margin: 0 auto;
}

.notifications-header {
  text-align: center;
  margin-bottom: 2rem;
}

.notifications-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.notifications-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.notifications-empty-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.notifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notification-item {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.notification-item:hover {
  border-color: rgba(247, 147, 26, 0.5);
}

.notification-item.is-unread {
  border-inline-start: 3px solid #f7931a;
  background: rgba(247, 147, 26, 0.07);
}

.notification-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
}

.notification-item-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
}

.notification-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.notification-item-text {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.notification-item.is-unread .notification-item-text {
  color: #fff;
  font-weight: 600;
}

.notification-item-time {
  color: #94a3b8;
  font-size: 0.8rem;
}
