/*
 * notices.css — inline notices/banners that appear at the top of the
 * article. Today: locale-fallback (info variant). Future banners
 * (deprecated page, draft preview, etc.) reuse the same .docs-notice
 * shell with different variant modifiers.
 */

.docs-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding: var(--space-3) var(--space-4);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.4);
  color: hsl(var(--foreground) / 0.9);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

.docs-notice-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-top: 2px;
  color: hsl(var(--muted-foreground));
}
.docs-notice-icon svg {
  width: 1rem;
  height: 1rem;
}

.docs-notice-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* Variants — each scopes only the colour cues. Keep additive so
   layout stays stable. */
.docs-notice--info {
  border-color: hsl(var(--border));
  background: hsl(var(--muted) / 0.4);
}
.docs-notice--warning {
  border-color: hsl(38 80% 35% / 0.4);
  background: hsl(38 80% 35% / 0.08);
}
.docs-notice--danger {
  border-color: hsl(var(--destructive) / 0.5);
  background: hsl(var(--destructive) / 0.08);
}
.docs-notice--success {
  border-color: hsl(142 60% 35% / 0.4);
  background: hsl(142 60% 35% / 0.08);
}
