/* BioStudio AI — Notification Center app */

.notification-center-app .nc-app-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 13px;
  color: var(--text, #1a1a1a);
}

.notification-center-app .nc-app-header {
  padding: 14px 18px 8px;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.notification-center-app .nc-app-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.notification-center-app .nc-app-sub {
  margin: 4px 0 0;
  opacity: 0.75;
  font-size: 12px;
}

.notification-center-app .nc-app-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.notification-center-app .nc-app-sidebar {
  width: 168px;
  border-right: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notification-center-app .nc-app-nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
  padding: 4px 8px 8px;
}

.notification-center-app .nc-app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.notification-center-app .nc-app-nav:hover {
  background: rgba(0, 0, 0, 0.04);
}

.notification-center-app .nc-app-nav.active {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent, #2563eb);
  font-weight: 600;
}

.notification-center-app .nc-nav-badge {
  background: var(--accent, #2563eb);
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
}

.notification-center-app .nc-app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.notification-center-app .nc-app-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  align-items: center;
}

.notification-center-app .nc-filter-search {
  flex: 1;
  min-width: 140px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
}

.notification-center-app .nc-filter-select {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  max-width: 140px;
}

.notification-center-app .nc-app-split {
  display: flex;
  flex: 1;
  min-height: 0;
}

.notification-center-app .nc-app-list {
  flex: 1.2;
  overflow: auto;
  border-right: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.notification-center-app .nc-app-detail {
  flex: 0.9;
  overflow: auto;
  padding: 16px;
  min-width: 260px;
}

.notification-center-app .nc-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  align-items: flex-start;
}

.notification-center-app .nc-row.unread {
  background: rgba(59, 130, 246, 0.05);
}

.notification-center-app .nc-row-body {
  flex: 1;
  cursor: pointer;
  min-width: 0;
}

.notification-center-app .nc-row-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.notification-center-app .nc-row-title {
  font-weight: 600;
  line-height: 1.3;
}

.notification-center-app .nc-row-preview {
  opacity: 0.8;
  margin: 4px 0;
  line-height: 1.4;
}

.notification-center-app .nc-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  opacity: 0.75;
}

.notification-center-app .nc-row-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-center-app .nc-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.notification-center-app .nc-sev-info { background: #e0f2fe; color: #0369a1; }
.notification-center-app .nc-sev-success { background: #dcfce7; color: #15803d; }
.notification-center-app .nc-sev-warning { background: #fef3c7; color: #b45309; }
.notification-center-app .nc-sev-critical { background: #fee2e2; color: #b91c1c; }

.notification-center-app .nc-cat-file-share { background: #ede9fe; color: #5b21b6; }
.notification-center-app .nc-cat-analysis-complete { background: #d1fae5; color: #047857; }
.notification-center-app .nc-cat-analysis-failed { background: #fecaca; color: #991b1b; }
.notification-center-app .nc-cat-assignment { background: #dbeafe; color: #1d4ed8; }

.notification-center-app .nc-empty,
.notification-center-app .nc-detail-empty {
  padding: 32px 16px;
  text-align: center;
  opacity: 0.65;
}

.notification-center-app .nc-detail h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.notification-center-app .nc-detail-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.notification-center-app .nc-detail-message {
  line-height: 1.55;
  white-space: pre-wrap;
}

.notification-center-app .nc-detail-meta {
  margin: 16px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 12px;
  font-size: 12px;
}

.notification-center-app .nc-detail-meta dt {
  opacity: 0.6;
  font-weight: 500;
}

.notification-center-app .nc-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.notification-center-app .nc-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding: 0 12px 12px;
}

.notification-center-app .nc-categories-page {
  padding: 8px 0 16px;
  overflow-y: auto;
}

.notification-center-app .nc-category-group {
  margin-bottom: 20px;
}

.notification-center-app .nc-category-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px 6px;
}

.notification-center-app .nc-category-group-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.notification-center-app .nc-category-group-meta {
  font-size: 11px;
  opacity: 0.65;
}

.notification-center-app .nc-category-group-desc {
  margin: 0 12px 10px;
  font-size: 12px;
  opacity: 0.7;
}

.notification-center-app .nc-settings-group {
  margin-bottom: 16px;
}

.notification-center-app .nc-settings-group h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.notification-center-app .nc-category-card {
  text-align: left;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
  background: var(--surface, #fff);
  cursor: pointer;
}

.notification-center-app .nc-category-card:hover {
  border-color: var(--accent, #2563eb);
}

.notification-center-app .nc-category-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.notification-center-app .nc-settings {
  padding: 16px;
}

.notification-center-app .nc-settings-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.notification-center-app .nc-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.notification-center-app .nc-chip.muted {
  background: rgba(0, 0, 0, 0.08);
  opacity: 0.6;
}

.notification-center-app .nc-app-status {
  padding: 6px 14px;
  font-size: 11px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  opacity: 0.7;
}

.notification-center-app .btn-sm {
  padding: 4px 8px;
  font-size: 11px;
}
