@use 'ui-design-system/src/styles/semantic' as *;

.demo-section {
  margin-bottom: $semantic-spacing-layout-section-xl;
  
  &__title {
    font-family: map-get($semantic-typography-heading-h3, font-family);
    font-size: map-get($semantic-typography-heading-h3, font-size);
    font-weight: map-get($semantic-typography-heading-h3, font-weight);
    line-height: map-get($semantic-typography-heading-h3, line-height);
    color: $semantic-color-text-primary;
    margin-bottom: $semantic-spacing-content-heading;
    text-align: center;
  }
}

.demo-code {
  background: $semantic-color-surface-elevated;
  border: $semantic-border-width-1 solid $semantic-color-border-subtle;
  border-radius: $semantic-border-card-radius;
  padding: $semantic-spacing-component-lg;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 14px;
  line-height: 1.5;
  color: $semantic-color-text-primary;
  overflow-x: auto;
  white-space: pre-wrap;
}