.aca-form-wrap {
  max-width: 920px;
  margin: 0 auto;
  color: #17211f;
  font-family: inherit;
  font-size: 15px;
}

.aca-form,
.aca-success,
.aca-alert {
  border: 1px solid rgba(51, 102, 102, 0.14);
  border-radius: 12px;
  padding: clamp(16px, 3vw, 26px);
  background: #fffaf5;
  box-shadow: 0 14px 40px rgba(23, 33, 31, 0.08);
}

.aca-form *,
.aca-form *::before,
.aca-form *::after {
  box-sizing: border-box;
}

.aca-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 14px;
}

.aca-section {
  margin: 0 0 20px;
  border: 0;
  padding: 0;
}

.aca-section legend {
  margin-bottom: 12px;
  color: #52b2a4;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 900;
}

.aca-section-note {
  margin: -6px 0 14px;
  color: #59625e;
}

.aca-field,
.aca-consent {
  display: grid;
  gap: 7px;
  font-weight: 700;
  min-width: 0;
}

.aca-field-full {
  grid-column: 1 / -1;
}

.aca-field span,
.aca-consent span {
  font-size: 0.9rem;
}

.aca-field input,
.aca-field select,
.aca-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  border: 2px solid rgba(82, 178, 164, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
  color: #17211f;
  background: #fff;
  font: inherit;
}

.aca-field textarea {
  min-height: 92px;
}

.aca-field input:focus,
.aca-field select:focus,
.aca-field textarea:focus {
  border-color: #336666;
  outline: none;
  box-shadow: 0 0 0 4px rgba(82, 178, 164, 0.14);
}

.aca-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin: 16px 0;
  font-weight: 500;
}

.aca-consent input {
  margin-top: 4px;
}

.aca-form button,
.aca-pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  color: #fff;
  background: #336666;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.aca-form button:hover,
.aca-pay-button:hover {
  color: #fff;
  background: #285252;
}

.aca-alert {
  margin-bottom: 18px;
  border-color: rgba(247, 116, 83, 0.3);
  background: #fff4ef;
}

.aca-alert ul {
  margin-bottom: 0;
}

.aca-success {
  text-align: center;
}

.aca-success h2 {
  margin-top: 0;
  color: #336666;
}

.aca-muted,
.aca-reference {
  color: #59625e;
}

.aca-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 720px) {
  .aca-grid {
    grid-template-columns: 1fr;
  }
}
