form:not(.button_to):not(.naked) {
  padding: var(--block-space);
  width: 400px;
}

@media(max-width: 576px) {
  form:not(.button_to):not(.naked) {
    border: 0;
    border-radius: 0;
    width: 100%;
  }
}

.button_to button {
  background-color: #fff;
  border: none;
  color: #000;
  cursor: pointer;

  &.btn {
    border: var(--btn-border-size, 1px) solid #ddd;
  }
}

.field {
  display: flex;
  flex-direction: column;
  margin: 0 0 var(--block-space) 0;

  label {
    font-weight: bold;
    margin: var(--block-space-half) 0;
  }

  input {
    padding: var(--block-space-half);
  }

  input[type=file] {
    padding: var(--block-space-half) 0;
  }

  input[type=text], input[type=time], input[type=email], input[type=password], textarea {
    appearance: auto;
    background-color: rgb(255, 255, 255);
    border-bottom-color: rgb(229, 231, 235);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-style: solid;;
    border-bottom-width: 0px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(229, 231, 235);
    border-left-style: solid;
    border-left-width: 0px;
    border-right-color: rgb(229, 231, 235);
    border-right-style: solid;
    border-right-width: 0px;
    border-top-color: rgb(229, 231, 235);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-top-style: solid;
    border-top-width: 0px;
    box-sizing: border-box;
    color: rgb(17, 24, 39);
    cursor: text;
    display: block;
    font-family: InterVariable, system-ui, sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    font-kerning: auto;
    font-optical-sizing: auto;
    font-size: 14px;
    font-size-adjust: none;
    font-stretch: 100%;
    font-style: normal;
    font-variant-alternates: normal;
    font-variant-caps: normal;
    font-variant-east-asian: normal;
    font-variant-emoji: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-position: normal;
    font-variation-settings: normal;
    font-weight: 400;
    height: 36px;
    letter-spacing: normal;
    line-height: 24px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    outline-color: rgb(209, 213, 219);
    outline-offset: -1px;
    outline-style: solid;
    outline-width: 1px;
    overflow-clip-margin: 0px;
    overflow-x: clip;
    overflow-y: clip;
    padding-block-end: 6px;
    padding-block-start: 6px;
    padding-bottom: 6px;
    padding-inline-end: 12px;
    padding-inline-start: 12px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    tab-size: 4;
    text-align: start;
    text-indent: 0px;
    text-rendering: auto;
    text-shadow: none;
    text-size-adjust: 100%;
    text-transform: none;
    word-spacing: 0px;
    -webkit-font-smoothing: antialiased;
    -webkit-rtl-ordering: logical;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  textarea {
    height: auto !important;
  }
}

.errors-full-messages {
  background: #fffaf0;
  border-left: 4px solid #ed8936;
  color: #c05621;
  font-weight: bold;
  margin-top: var(--block-space-half);
  padding: var(--block-space-half) var(--block-space);
}