/**
 * Notifications CSS
 *
 * Styling for notification components on dashboard
 * Reuses: swp-list-base, swp-list-item-base, swp-icon-container (components.css)
 */

/* ===========================================
   NOTIFICATION LIST
   =========================================== */
swp-notification-list {
  display: contents;
}

/* ===========================================
   NOTIFICATION ITEM
   =========================================== */
swp-notification-item {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  padding: var(--card-padding);
  background: var(--color-background-alt);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: background var(--transition-fast);
}

swp-notification-item:hover {
  background: var(--color-background-hover);
}

swp-notification-item.unread {
  background: var(--bg-teal-subtle);
}

swp-notification-item.unread:hover {
  background: var(--color-background-hover);
}

/* ===========================================
   NOTIFICATION ICON
   =========================================== */
/* Base styling from swp-icon-container in components.css */
swp-notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-background-hover);
  border-radius: var(--radius-xl);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

swp-notification-item.unread swp-notification-icon {
  background: var(--bg-teal-strong);
  color: var(--color-teal);
}

/* ===========================================
   NOTIFICATION CONTENT
   =========================================== */
swp-notification-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

