.form__container {
  padding-top: 60px;
  padding-bottom: 70px;
}
.form__section_content {
  margin-bottom: 20px;
}
.form {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 16px;
}
.field {
  display: flex;
  flex-direction: column;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: calc(14 / 16 * 1rem);
  line-height: 20px;
  color: var(--slate-700);
}
.field input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--slate-500);
  border-radius: 4px;
  font-size: calc(16 / 16 * 1rem);
  line-height: 24px;
  font-weight: normal;
  color: var(--slate-700);
}
.field input:focus-within {
  outline: 2px solid var(--slate-500);
  outline-offset: 2px;
}
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--slate-500);
  border-radius: 4px;
  font-size: calc(16 / 16 * 1rem);
  line-height: 24px;
  font-weight: normal;
  color: var(--slate-700);
  resize: vertical;
  min-height: 120px;
  height: 120px;
  max-height: 320px;
}
.field textarea:focus-within {
  outline: 2px solid var(--slate-500);
  outline-offset: 2px;
}
.field select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--slate-500);
  border-radius: 4px;
  font-size: calc(16 / 16 * 1rem);
  line-height: 24px;
  font-weight: normal;
  color: var(--slate-700);
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM2NDc0OGIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1jaGV2cm9ucy11cC1kb3duIj48cGF0aCBkPSJtNyAxNSA1IDUgNS01Ii8+PHBhdGggZD0ibTcgOSA1LTUgNSA1Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 12px);
  background-position-y: 10px;
  background-color: #fff;
}
.field select:focus-within {
  outline: 2px solid var(--slate-500);
  outline-offset: 2px;
}
.field fieldset {
  border-style: solid;
  border-color: var(--slate-500);
  border-width: 1px;
  border-radius: 4px;
}
.field legend {
  padding-inline: 8px;
  margin-bottom: 8px;
  font-size: calc(14 / 16 * 1rem);
  line-height: 20px;
}
.field fieldset label {
  font-size: calc(16 / 16 * 1rem);
  line-height: 24px;
  display: flex;
  gap: 6px;
}
.field input[type='checkbox'] {
  width: 16px;
  min-height: 16px;
  flex-shrink: 0;
  align-self: flex-start;
  position: relative;
  top: 4px;
}
.form .btn__wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: span 12;
}
.form .btn__inner {
  color: var(--slate-700);
  border-radius: 8px;
  transform: unset !important;
  box-shadow: var(--box-shadow-warm);
  background-color: #fff;
}
.form button:focus-within {
  outline: 2px solid var(--slate-500);
  outline-offset: 2px;
  border-radius: 8px;
}
.field p {
  font-size: calc(14 / 16 * 1rem);
  line-height: 20px;
  color: var(--slate-500);
  margin-top: 8px;
}
.field p a {
  text-decoration: underline;
  color: var(--slate-500);
}
.field .required {
  color: var(--main);
  font-size: calc(12 / 16 * 1rem);
  position: relative;
  top: -2px;
  left: 2px;
  line-height: 0;
}
.spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  color: #e5e7eb;
  fill: var(--color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

input[type="file"] {
  padding: 10px;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  cursor: pointer;
  padding: 8px 14px;
  background-color: var(--slate-200);
  color: var(--slate-700);
  border: none;
  border-radius: 4px;
  margin-right: 8px;
}

/* reCAPTCHA v3 */
.grecaptcha-badge {
  bottom: 69px !important;
  z-index: 9 !important;
}

@media(max-width: 500px) {
  .form * {
    grid-column: span 12 !important;
  }
  .form button {
    justify-self: end;
  }
}