.gr-reseller-form {
  margin: 0 auto;
  max-width: 920px;
}

.gr-reseller-form__introduction,
.gr-reseller-form__message {
  margin-bottom: 1.5rem;
}

.gr-reseller-form__message {
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 1rem;
}

.gr-reseller-form__message--success {
  color: #19703e;
}

.gr-reseller-form__message--error,
.gr-reseller-form__error {
  color: #b42318;
}

.gr-reseller-form__message ul {
  margin: 0;
}

.gr-reseller-form__field {
  margin-bottom: 1.25rem;
}

.gr-reseller-form__required {
  color: #666;
  font-size: .9rem;
  margin: 0 0 1rem;
}

.gr-reseller-form__required-mark {
  color: #db4e2f;
  font-weight: 700;
}

.gr-reseller-form__field > label,
.gr-reseller-form legend {
  display: block;
  font-weight: 600;
  margin-bottom: .45rem;
}

.gr-reseller-form__fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.gr-reseller-form__fieldset > legend {
  color: #2b2b2b;
  float: none;
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: .85rem;
  padding: 0;
  width: 100%;
}

.gr-reseller-form input[type='text'],
.gr-reseller-form input[type='email'],
.gr-reseller-form input[type='url'],
.gr-reseller-form input[type='tel'],
.gr-reseller-form select,
.gr-reseller-form textarea {
  border: 1px solid #bbb;
  border-radius: 4px;
  box-sizing: border-box;
  padding: .75rem;
  width: 100%;
}

.gr-reseller-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.gr-reseller-form__choice {
  cursor: pointer;
  display: block;
  font-weight: 400;
  margin: 0;
  position: relative;
}

.gr-reseller-form__choices {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gr-reseller-form__choice > input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.gr-reseller-form__choice > span {
  align-items: center;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 12px;
  color: #454545;
  display: flex;
  gap: .7rem;
  line-height: 1.35;
  min-height: 3.25rem;
  padding: .75rem .9rem;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.gr-reseller-form__choice > span::before {
  align-items: center;
  background: #fff;
  border: 1.5px solid #aaa;
  box-sizing: border-box;
  color: #fff;
  content: '';
  display: inline-flex;
  flex: 0 0 1.25rem;
  font-size: .8rem;
  font-weight: 800;
  height: 1.25rem;
  justify-content: center;
  line-height: 1;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.gr-reseller-form__choice > input[type='checkbox'] + span::before {
  border-radius: 5px;
}

.gr-reseller-form__choice > input[type='radio'] + span::before {
  border-radius: 50%;
}

.gr-reseller-form__choice:hover > span {
  border-color: #db8c79;
  box-shadow: 0 5px 16px rgba(65, 42, 35, .08);
  transform: translateY(-1px);
}

.gr-reseller-form__choice > input:focus-visible + span {
  outline: 3px solid rgba(219, 78, 47, .22);
  outline-offset: 2px;
}

.gr-reseller-form__choice > input:checked + span {
  background: #fff6f3;
  border-color: #db4e2f;
  box-shadow: 0 5px 16px rgba(219, 78, 47, .1);
  color: #a93620;
  font-weight: 600;
}

.gr-reseller-form__choice > input[type='checkbox']:checked + span::before {
  background: #db4e2f;
  border-color: #db4e2f;
  content: '\2713';
}

.gr-reseller-form__choice > input[type='radio']:checked + span::before {
  background: #db4e2f;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1.5px #db4e2f;
}

.gr-reseller-form__help,
.gr-reseller-form__error {
  display: block;
  margin-top: .4rem;
}

.gr-reseller-form__submit {
  background: #db4e2f;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: .8rem 1.5rem;
}

.gr-reseller-form__trap {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

@media (max-width: 640px) {
  .gr-reseller-form__choices {
    grid-template-columns: 1fr;
  }

  .gr-reseller-form__choice > span {
    min-height: 3rem;
  }
}
