/* Notifications center */
.app.view-notifications {
  grid-template-columns: var(--sidebar-w, 72px) 1fr;
  grid-template-areas:
    "sidebar top"
    "sidebar notifications";
}
.app.view-notifications .inbox-panel,
.app.view-notifications .chat-panel,
.app.view-notifications .profile-panel,
.app.view-notifications .iam-panel,
.app.view-notifications .archive-panel,
.app.view-notifications .templates-panel,
.app.view-notifications .team-panel,
.app.view-notifications .internal-panel,
.app.view-notifications .broadcast-panel,
.app.view-notifications .col-resizer {
  display: none !important;
}

.notifications-panel {
  grid-area: notifications;
  display: none;
  flex-direction: column;
  min-height: 0;
  background: var(--bg, #f8fafc);
  overflow: hidden;
}
.app.view-notifications .notifications-panel:not([hidden]) {
  display: flex;
}
.notifications-panel[hidden] {
  display: none !important;
}

.notifications-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px 0;
  flex-shrink: 0;
}
.notifications-panel .panel-header h1 {
  margin: 0 0 4px;
  font-size: 18px;
}

.notif-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  flex-shrink: 0;
}
.notif-filters .btn.active {
  background: var(--selected, #dbeafe);
  color: var(--navy, #1e3a5f);
  font-weight: 600;
}

.notif-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-item {
  padding: 12px 14px;
  cursor: pointer;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: #fff;
}
.notif-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.notif-item.is-unread {
  border-left: 3px solid #3b82f6;
}
.notif-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 12px;
}
.notif-type {
  font-weight: 600;
  color: var(--navy, #1e3a5f);
}
.notif-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.notif-body {
  font-size: 13px;
  line-height: 1.4;
}

.notif-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px 16px;
  flex-shrink: 0;
  border-top: 1px solid var(--border, #e2e8f0);
  background: var(--panel, #fff);
}
.notif-pager-meta {
  margin-right: auto;
  font-size: 12px;
}
