/* Shared controls for the appointment and contact forms. */
.dvr-public-form.dvr-public-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  min-width: 0;
}
#contact-form .dvr-public-form { padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; }
#appointment-form, #contact-form { scroll-margin-top: 1.25rem; }
#appointment-form { margin: 0; }
.dvr-public-form .dvr-form-wide,
.dvr-public-form > h2,
.dvr-public-form > p,
.dvr-public-form > .notice { grid-column: 1 / -1; }
.dvr-public-form.dvr-public-form label {
  display: grid;
  gap: .4rem;
  min-width: 0;
  margin: 0;
  color: #213e5d;
  font: 700 .875rem/1.35 'DM Sans', sans-serif;
}
.dvr-public-form .dvr-form-field-name { display: block; }
.dvr-public-form .dvr-form-required { color: #a32637; }
.dvr-public-form .dvr-form-optional { color: #536b82; font-weight: 500; }
.dvr-public-form.dvr-public-form :is(input:not([type=checkbox],[type=hidden]), select, textarea) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: .625rem .75rem;
  border: 1px solid #b8cce1;
  border-radius: .5rem;
  background: #f8fbfe;
  color: #132f4b;
  font: 500 1rem/1.35 'DM Sans', sans-serif;
}
.dvr-public-form select { appearance: auto; }
.dvr-public-form textarea { resize: vertical; }
.dvr-public-form :is(input, select, textarea, button):focus-visible {
  outline: 2px solid #006ac3;
  outline-offset: 2px;
}
.dvr-public-form select:disabled { background: #eef3f8; color: #536b82; opacity: 1; }
.dvr-public-form.dvr-public-form .dvr-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  color: #37536d !important;
  font-size: .875rem !important;
  line-height: 1.45;
}
.dvr-public-form.dvr-public-form .dvr-contact-consent input {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  padding: 0;
  margin: .1rem 0 0;
  accent-color: #006ac3;
}
.dvr-public-form.dvr-public-form .dvr-form-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: #006ac3;
  box-shadow: none;
  color: #fff;
  font: 800 .95rem/1.35 'DM Sans', sans-serif;
  cursor: pointer;
}
.dvr-public-form.dvr-public-form .dvr-form-submit:hover:not(:disabled) { background: #00569e; }
.dvr-public-form.dvr-public-form .dvr-form-submit:disabled {
  background: #e5edf5;
  border-color: #b9cbdc;
  color: #425b74;
  opacity: 1;
  cursor: not-allowed;
}
.dvr-public-form.dvr-public-form .dvr-form-hint { margin: .15rem 0 0; color: #536b82; font-size: .8125rem; line-height: 1.45; }
.dvr-public-form .dvr-form-hint.dvr-form-footer { display: block; margin-top: .625rem; text-align: center; }
.dvr-public-form .dvr-form-unavailable { padding: .75rem; border: 1px solid #c5d7e7; border-radius: .5rem; background: #eef5fb; color: #284663; }
.dvr-quote-button { justify-content: center; }
@media (max-width: 1100px) {
  .dvr-appt-hero > .dvr-soft-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .dvr-appt-hero .dvr-appt-copy { grid-column: auto; }
  .dvr-appt-hero .dvr-appt-image { display: none; }
}
@media (max-width: 800px) {
  .dvr-appt-hero > .dvr-soft-shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .dvr-public-form.dvr-public-form { grid-template-columns: minmax(0, 1fr); gap: .875rem; }
}
