/**
 * ==========================================================================
 * NOTIFICATIONS PAGE STYLES
 * ==========================================================================
 * 
 * Page-specific styles for the notifications page.
 * Core notification-card styles are in components/cards.css
 * 
 * ==========================================================================
 */

.notifications-container {
  padding: var(--spacing-4) 0;
}

/* Fix the layout for the site-main d-flex */
.site-main.d-flex {
  display: flex !important;
  flex-direction: row;
  min-height: 100vh;
}

.site-main.d-flex .sidebar-wrapper {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
  height: 100%;
}

.site-main.d-flex .main-content {
  flex: 1;
  overflow-x: hidden;
}

.notifications-header {
  margin-bottom: var(--spacing-8);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-4);
}

.notifications-header h1 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-1);
}

.notifications-header p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
}

.notifications-list {
  margin-top: var(--spacing-5);
}

/* Page-specific notification list styling */
.notifications-list .notification-card:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: var(--spacing-5);
  margin-bottom: var(--spacing-5);
  border-radius: 0;
}

.empty-notifications {
  text-align: center;
  padding: var(--spacing-12) 0;
  color: var(--text-muted);
}

/* Header notification icon styles */
.notification-item {
  position: relative;
  cursor: pointer;
}

.notification-item span {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  background-color: var(--color-error);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
  border: 2px solid #fff;
}

/* Dark mode */
.dark-mode .notifications-list .notification-card:not(:last-child) {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .empty-notifications {
  color: var(--dark-text-muted);
}

/* Responsive styles */
@media (max-width: 767px) {
  .site-main.d-flex {
    flex-direction: column;
  }
  
  .site-main.d-flex .sidebar-wrapper {
    width: 100%;
    min-width: 100%;
  }
  
  .notification-tag {
    margin-right: 0;
    margin-bottom: var(--spacing-2);
  }
}
