@use "kit-deps" as *;

/* =========================
   Demo page styles
========================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: $space-6;
}

.demo-section {
  margin-bottom: $space-8;

  h2 {
    font-size: 28px;
    font-weight: $font-weight-bold;
    margin-bottom: $space-4;
  }

  h3 {
    font-size: 18px;
    font-weight: $font-weight-semibold;
    margin-top: $space-6;
    margin-bottom: $space-3;
    color: $neutral-700;
  }
}

.demo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: $space-3;
  margin-bottom: $space-3;
}

.swatch {
  display: flex;
  flex-direction: column;
  gap: $space-1;
  font-size: 11px;
  color: $neutral-700;

  .swatch-color {
    width: 64px;
    height: 64px;
    border-radius: $radius-md;
    box-shadow: inset 0 0 0 1px rgba($neutral-900, 0.08);
  }
}

.spacing-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  background-color: $mint-200;
  border: 1px solid $mint-400;
  border-radius: $radius-sm;
  font-size: 11px;
  color: $mint-900;
}

.utility-box {
  padding: $space-1 $space-2;
  background-color: $neutral-100;
  border-radius: $radius-sm;
  font-size: 12px;
}

.radius-box {
  width: 48px;
  height: 48px;
  background-color: $mint-300;

  &.radius-sm  { border-radius: $radius-sm; }
  &.radius-md  { border-radius: $radius-md; }
  &.radius-lg  { border-radius: $radius-lg; }
  &.radius-xl  { border-radius: $radius-xl; }
  &.radius-full { border-radius: $radius-full; }
}
