/* Quote form action bar, consent row and landing copyright.
   Loaded last so it wins over drev-r3.css, which pins submit buttons to
   flex: 0 0 auto / max-width: none and lets them run off narrow screens. */

/* Action bar: Back stays compact, the main button takes the rest and shrinks. */
html body .czwiz-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 10px;
}
html body .czwiz-nav .czwiz-back-btn {
  flex: 0 0 auto !important;
  white-space: nowrap;
}
html body .czwiz-nav .dw-submit-btn,
html body .czwiz-nav .dw-submit-btn.dw-submit-tesla,
html body .czwiz-nav .dw-submit-btn.dw-submit-v2h,
html body .czwiz-nav .czwiz-next-btn {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-content: center;
  text-align: center;
}
@media (min-width: 721px) {
  /* Desktop: keep the button its natural size, pushed right. */
  html body .czwiz-nav .dw-submit-btn,
  html body .czwiz-nav .dw-submit-btn.dw-submit-tesla,
  html body .czwiz-nav .dw-submit-btn.dw-submit-v2h,
  html body .czwiz-nav .czwiz-next-btn { flex: 0 1 auto !important; }
}
@media (max-width: 360px) {
  html body .czwiz-nav .czwiz-back-btn { padding-left: 14px !important; padding-right: 14px !important; }
  html body .czwiz-nav .dw-submit-btn,
  html body .czwiz-nav .dw-submit-btn.dw-submit-tesla,
  html body .czwiz-nav .dw-submit-btn.dw-submit-v2h,
  html body .czwiz-nav .czwiz-next-btn { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Consent: checkbox inline with its text, whole row is the tap target. */
html body .czwiz-consent-label {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 12px !important;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html body .czwiz-consent-label input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  cursor: pointer;
}

/* Landing copyright line. */
#business-landing .business-copyright {
  width: 100%;
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: rgba(15, 23, 42, .5);
  text-align: center;
}
#business-landing .business-copyright strong { font-weight: 600; color: rgba(15, 23, 42, .72); letter-spacing: .06em; }

/* Landing footer contact icons: one centered row of 4 round buttons. */
#business-landing footer .business-footer-actions { width: 100%; }
#business-landing .business-footer-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
#business-landing .business-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #0052cc;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
#business-landing .business-footer-btn:hover { background: rgba(0, 82, 204, .08); border-color: rgba(0, 82, 204, .3); transform: translateY(-1px); }
#business-landing .business-footer-btn:focus-visible { outline: 2px solid #0052cc; outline-offset: 2px; }
#business-landing .business-footer-btn .business-footer-icon { width: 20px; height: 20px; flex: none; }
#business-landing .business-footer-btn img { width: 22px; height: 22px; object-fit: contain; display: block; flex: none; }
