@layer reset, styles;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  body {
    margin: 0;
  }

  img,
  picture,
  video,
  canvas {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  textarea {
    font: inherit;
  }

  /* Additional Josh Comeau / Andy Bell style reset */

  input,
  textarea,
  select,
  button {
    color: inherit;
    font: inherit;
    box-sizing: border-box;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  select {
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
  }

  input,
  textarea {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1;
  }

  @media (pointer: coarse) {
    input,
    textarea,
    select {
      font-size: 16px;
    }
  }

  /* LA: Ipad fixes */

  button,
  a,
  input,
  textarea {
    -webkit-tap-highlight-color: transparent;
  }
}

@layer styles {
  body {
    background: #fdfdfd;
  }

  .page {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
  }

  .container {
    max-width: 300px;
    background: white;
    border: 1px solid #03030315;
    border-radius: 6px;
  }

  .formItem {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0px 23px 23px 23px;
  }

  .formItem__label {
  }

  .formItem__input {
    border: 1px solid #03030325;
    padding: 6px 12px;
    border-radius: 6px;
    width: 100%;
    flex: 1;
  }

  #canvas {
    width: 300px;
    height: 300px;
    border-radius: 6px;
  }
}
