/* Notification center (F-5): bell badge + dropdown panel */

.fs-notif-badge {
  position: absolute;
  top: 0.125rem;
  right: 0.125rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3125rem;
  border-radius: 999px;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.125rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--bs-paper-bg);
  pointer-events: none;
}

.fs-notif-panel {
  width: 23.75rem;
  max-width: calc(100vw - 2rem);
}
.fs-notif-body {
  max-height: min(62vh, 27.5rem);
  overflow-y: auto;
}

.fs-notif-row {
  width: 100%;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--bs-border-color);
  cursor: pointer;
  font: inherit;
  padding: 1rem 1.25rem;
  background: transparent;
  transition: background 0.15s ease;
}
.fs-notif-row:hover {
  background: rgba(var(--bs-secondary-rgb), 0.06);
}
.fs-notif-row.is-unread {
  background: rgba(var(--bs-primary-rgb), 0.06);
}
.fs-notif-row.is-unread:hover {
  background: rgba(var(--bs-primary-rgb), 0.1);
}

.fs-notif-main {
  flex: 1;
  min-width: 0;
  display: block;
}
.fs-notif-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bs-heading-color);
  line-height: 1.4;
}
.fs-notif-detail {
  display: block;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
  margin-top: 2px;
  word-break: break-word;
}
.fs-notif-time {
  display: block;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  opacity: 0.8;
  margin-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.fs-notif-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bs-primary);
  margin-top: 6px;
}

.fs-notif-state .avatar {
  border-radius: 50%;
  cursor: default;
}

.fs-notif-skeleton {
  height: 4.5rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: linear-gradient(
    90deg,
    rgba(var(--bs-secondary-rgb), 0.06) 25%,
    rgba(var(--bs-secondary-rgb), 0.12) 37%,
    rgba(var(--bs-secondary-rgb), 0.06) 63%
  );
  background-size: 400% 100%;
  animation: fs-notif-shimmer 1.4s ease infinite;
}
@keyframes fs-notif-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
