/* notifications.css — Notification center panel + cards */

/* ── Bell button (hud-top) ─────────────────────────────────────────────────── */
#notif-bell-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--hero-text);
  cursor: pointer;
  opacity: 0.85;
  padding: 0;
  flex-shrink: 0;
}
#notif-bell-btn:hover { opacity: 1; }

#notif-badge {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  background: var(--danger);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* ── Panel header extras ───────────────────────────────────────────────────── */
#panel-notifications .notif-panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.notif-mark-all-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--amber-dim);
  background: transparent;
  border: 1px solid var(--amber-dim);
  border-radius: 2px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.notif-mark-all-btn:hover { color: var(--amber); border-color: var(--amber); }

/* ── Notification cards ────────────────────────────────────────────────────── */
.notif-card {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: background 0.15s;
}
.notif-card:hover { background: rgba(255,255,255,0.04); }

.notif-card--unread {
  border-left: 3px solid var(--amber);
  padding-left: 11px;
}

.notif-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

/* ── Type badges ────────────────────────────────────────────────────────────── */
.notif-type-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid currentColor;
}
.notif-type--won       { color: var(--green);   }
.notif-type--lost      { color: var(--danger);  }
.notif-type--held      { color: var(--green);   }
.notif-type--overrun   { color: var(--danger);  }
.notif-type--claimed   { color: var(--amber);   }

/* ── Timestamp ─────────────────────────────────────────────────────────────── */
.notif-timestamp {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

/* ── Body text ─────────────────────────────────────────────────────────────── */
.notif-body-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--hero-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ── Recruit status list ────────────────────────────────────────────────────── */
.notif-recruits {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.notif-recruit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
}
.notif-recruit-dot { font-size: 10px; }

.notif-recruit--survived     { color: var(--green);   }
.notif-recruit--incapacitated{ color: var(--amber);   }
.notif-recruit--died         { color: var(--danger);  }

.notif-recruit-fate {
  color: rgba(255,255,255,0.45);
}
