/* ── Notification Screen ─────────────────────────────────────────── */

.notif-unread-count {
  font-size: 12px;
  color: var(--accent, #c2697a);
  font-family: var(--ff-body, sans-serif);
  margin-left: 10px;
  opacity: 0.8;
}

/* ── Date Groups ────────────────────────────────────────────────── */

.notif-date-group {
  margin-bottom: 8px;
}

.notif-date-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted, #7a6d72);
  padding: 8px 4px 6px;
  font-family: var(--ff-body, sans-serif);
}

/* ── Notification Cards ─────────────────────────────────────────── */

.notif-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.notif-card:hover {
  background: rgba(194, 105, 122, 0.06);
}
.notif-card-read {
  opacity: 0.5;
}
.notif-card-read:hover {
  opacity: 0.7;
}

/* Hero variant (changelogs, major events) */
.notif-card-hero {
  background: rgba(194, 105, 122, 0.04);
  border: 1px solid rgba(194, 105, 122, 0.1);
  border-radius: 14px;
  padding: 18px 16px 18px 20px;
  overflow: hidden;
  position: relative;
}
.notif-card-hero .notif-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
}

/* ── Icon ───────────────────────────────────────────────────────── */

.notif-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.notif-card-icon svg {
  width: 18px;
  height: 18px;
}

/* ── Content ────────────────────────────────────────────────────── */

.notif-card-content {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.notif-card-title {
  font-size: 13.5px;
  color: var(--text-primary, #f0e8e0);
  line-height: 1.4;
  word-break: break-word;
  font-family: var(--ff-body, sans-serif);
}

.notif-card-body {
  font-size: 12.5px;
  color: var(--text-muted, #7a6d72);
  margin-top: 3px;
  line-height: 1.35;
}

.notif-card-time {
  font-size: 11px;
  color: var(--text-muted, #7a6d72);
  margin-top: 5px;
  opacity: 0.7;
}

/* ── Unread dot ─────────────────────────────────────────────────── */

.notif-unread-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #c2697a);
  margin-top: 6px;
}

/* ── Batch count ────────────────────────────────────────────────── */

.notif-batch {
  display: inline-block;
  background: var(--accent, #c2697a);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Empty state ────────────────────────────────────────────────── */

.notif-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.notif-empty-icon {
  width: 48px;
  height: 48px;
  color: var(--text-muted, #7a6d72);
  opacity: 0.3;
  margin-bottom: 16px;
}
.notif-empty-icon svg {
  width: 100%;
  height: 100%;
}

.notif-empty-title {
  font-family: var(--ff-display, serif);
  font-size: 18px;
  color: var(--text-primary, #f0e8e0);
  margin-bottom: 6px;
}

.notif-empty-text {
  font-size: 13px;
  color: var(--text-muted, #7a6d72);
}

/* ── Process Indicator (bell icon dot) ─────────────────────────────── */

.process-indicator {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--bg);
  z-index: 2;
}
.process-indicator--working {
  background: var(--status-working);
  animation: process-pulse 2s ease-in-out infinite;
}
.process-indicator--error {
  background: var(--status-error);
}
.process-indicator--done {
  background: var(--status-done);
}

.process-indicator-ring {
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.4;
  z-index: 1;
}
.process-indicator-ring--working {
  background: var(--status-working);
  animation: process-pulse 2s ease-in-out infinite;
}
.process-indicator-ring--done {
  background: var(--status-done);
}

@keyframes process-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Process Cards ─────────────────────────────────────────────────── */

.process-section {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--process-section-border);
}

.process-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
  background: var(--process-card-bg);
  border: 1px solid var(--process-card-border);
  margin-bottom: 8px;
}
.process-card:last-child {
  margin-bottom: 0;
}
.process-card:hover {
  background: var(--process-card-hover);
}

.process-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--cream-04);
  color: var(--process-icon-accent);
}
.process-card-icon svg {
  width: 18px;
  height: 18px;
}

.process-card-content {
  flex: 1;
  min-width: 0;
}

.process-card-title {
  font-size: 13.5px;
  color: var(--text-primary, var(--cream));
  line-height: 1.4;
  font-family: var(--ff-body, sans-serif);
}

.process-card-subtitle {
  font-size: 12px;
  color: var(--text-muted, var(--muted));
  margin-top: 2px;
}

.process-card-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.process-card-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--process-bar-track);
  overflow: hidden;
}

.process-card-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
  background: var(--accent);
}
.process-card-fill--complete {
  background: var(--status-done);
}
.process-card-fill--failed {
  background: var(--status-error);
}

.process-card-pct {
  font-size: 11px;
  color: var(--text-muted, var(--muted));
  min-width: 32px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.process-card-status {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
}
.process-card-status--running {
  background: var(--status-working);
  animation: process-pulse 2s ease-in-out infinite;
}
.process-card-status--queued {
  background: var(--status-working);
  opacity: 0.5;
}
.process-card-status--complete {
  background: var(--status-done);
}
.process-card-status--failed {
  background: var(--status-error);
}

.process-card-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-self: center;
}

.process-card-dismiss,
.process-card-retry {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-muted, var(--muted));
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}
.process-card:hover .process-card-dismiss,
.process-card:hover .process-card-retry {
  opacity: 1;
}
.process-card-dismiss:hover,
.process-card-retry:hover {
  background: var(--process-dismiss-hover);
}
