.threedh-quote-form-wrap {
  width: min(94%, 1040px);
  margin: 32px auto 56px;
}

.threedh-quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid #e7ded3;
  border-radius: 18px;
  background: #ffffff;
  color: #181818;
  box-shadow: 0 18px 45px rgba(23, 19, 21, 0.10);
}

.threedh-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.threedh-field {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #181818;
}

.threedh-field label {
  color: #181818;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.threedh-field input,
.threedh-field select,
.threedh-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #d7cbbf;
  border-radius: 10px;
  background: #fffdfb;
  color: #181818;
}

.threedh-hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.threedh-checkbox-field label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
}

.threedh-checkbox-field input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-top: 0.25em;
}

.threedh-account-note {
  margin: -2px 0 0;
  padding: 12px 14px;
  border: 1px solid #eadfd7;
  border-radius: 12px;
  background: #fff8f4;
  color: #3b2d2a;
  font-weight: 700;
  line-height: 1.45;
}

.threedh-field input:focus,
.threedh-field select:focus,
.threedh-field textarea:focus {
  border-color: #a01820;
  outline: 2px solid rgba(160, 24, 32, 0.16);
  outline-offset: 1px;
}

.threedh-field textarea {
  min-height: 130px;
}

.threedh-field .description {
  color: #5f5452;
  font-size: 0.92rem;
  line-height: 1.45;
}

.threedh-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.threedh-quote-submit {
  justify-self: start;
  min-height: 48px;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #a01820 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tdh-main-card .tdh-cta-red + .tdh-cta-dark,
.tdh-main-card .tdh-cta-red + span + .tdh-cta-dark {
  margin-left: 12px;
}

.tdh-main-card .tdh-step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 10px 6px 0;
  border-radius: 999px;
  background: #a01820;
  color: #ffffff;
  line-height: 1;
}

@media (max-width: 520px) {
  .tdh-main-card .tdh-cta-red,
  .tdh-main-card .tdh-cta-dark {
    display: block;
    width: 100%;
    margin: 8px 0 0 !important;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .threedh-quote-form-wrap {
    width: min(94%, 620px);
    margin: 24px auto 44px;
  }

  .threedh-form-grid {
    grid-template-columns: 1fr;
  }

  .threedh-quote-form {
    padding: 18px;
  }

  .threedh-quote-submit {
    width: 100%;
    justify-self: stretch;
  }
}
