/* AI-Generated Code - 2026-09-17 - Composer */
/* AI-Generated Code - 2026-09-18 - Composer (drop action badge styles) */
/* AI-Generated Code - 2026-09-24 - Composer (at-a-glance bullets instead of numbers) */
/* Release notes popup UX — styles for release notes inside #docs-preview-modal */

.docs-preview-body .release-glance {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0f766e;
  border-radius: 6px;
}

.docs-preview-body .release-glance h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.docs-preview-body .release-glance .glance-lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
}

.docs-preview-body .release-glance ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.docs-preview-body .release-glance li {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.4;
  color: #1e293b;
}

.docs-preview-body .release-glance a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.docs-preview-body .release-glance a:hover {
  text-decoration: underline;
}

/* Change-type filters (All | New | Updated | Fixes | Breaking) */
.docs-preview-body .rn-change-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 12px 0 4px;
  border-top: 1px solid #e2e8f0;
}

.docs-preview-body .rn-change-filters .rn-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-right: 2px;
}

.docs-preview-body .rn-change-filters .rn-filter-chip {
  appearance: none;
  margin: 0;
  padding: 4px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.3;
}

.docs-preview-body .rn-change-filters .rn-filter-chip .rn-filter-count {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  vertical-align: baseline;
}

.docs-preview-body .rn-change-filters .rn-filter-chip.is-active .rn-filter-count {
  color: inherit;
  background: rgba(15, 23, 42, 0.08);
}

.docs-preview-body .rn-change-filters .rn-filter-chip:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.docs-preview-body .rn-change-filters .rn-filter-chip.is-active {
  color: #0f172a;
  background: #e2e8f0;
  border-color: #64748b;
}

.docs-preview-body .rn-change-filters .rn-filter-chip[data-filter='new'].is-active {
  color: #1e40af;
  background: #eff6ff;
  border-color: #93c5fd;
}

.docs-preview-body .rn-change-filters .rn-filter-chip[data-filter='updated'].is-active {
  color: #854d0e;
  background: #fefce8;
  border-color: #fde047;
}

.docs-preview-body .rn-change-filters .rn-filter-chip[data-filter='fixes'].is-active {
  color: #9f1239;
  background: #fff1f2;
  border-color: #fda4af;
}

.docs-preview-body .rn-change-filters .rn-filter-chip[data-filter='breaking'].is-active {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fdba74;
}

.docs-preview-body .glance-empty,
.docs-preview-body .rn-filter-empty {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
}

.docs-preview-body article.note[hidden] {
  display: none !important;
}

/* OpenAPI sidebar grouping label (Customers, Payments, Transfer, …) */
.docs-preview-body .release-glance .rn-api-tag-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  vertical-align: baseline;
  white-space: nowrap;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c0 {
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fdba74;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c1 {
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #93c5fd;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c2 {
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fda4af;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c3 {
  color: #854d0e;
  background: #fefce8;
  border: 1px solid #fde047;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c4 {
  color: #115e59;
  background: #f0fdfa;
  border: 1px solid #5eead4;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c5 {
  color: #6b21a8;
  background: #faf5ff;
  border: 1px solid #d8b4fe;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c6 {
  color: #9a3412;
  background: #fef2f2;
  border: 1px solid #fca5a5;
}

.docs-preview-body .release-glance .rn-api-tag-pill--c7 {
  color: #1e3a5f;
  background: #f1f5f9;
  border: 1px solid #94a3b8;
}

.docs-preview-body .note.is-deep-link-target {
  outline: 2px solid #0f766e;
  outline-offset: 4px;
  border-radius: 4px;
}

.docs-preview-modal.docs-preview--release-notes .docs-preview-body {
  max-width: none;
}
