@use 'apps/dashboard/src/variables' as *;

.page-spacing {
  display: flex;
  flex-direction: column;
  gap: rhythm(4);

  header {
    background: $color-light-stronger;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .page-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .section {
    max-width: $width-large-screen;
  }

  .section-title {
    color: $color-neutral-regular;
    margin-bottom: rhythm(0.5);
  }

  .endpoint {
    align-items: center;
    background-color: $color-neutral-lightest;
    border: 1px solid $color-neutral-light;
    border-radius: rhythm(0.5);
    display: flex;
    gap: rhythm(0.5);

    pre {
      margin-bottom: 0;
      white-space: normal;
    }
  }
}
