.leads-online-ofc-embed {
  --lo-navy: #1d2b44;
  --lo-blue: #3367f6;
  --lo-blue-dark: #090f55;
  --lo-yellow: #ffc51f;
  --lo-border: #cbd4e1;
  --lo-muted: #667085;
  --lo-error-bg: #ffd8dc;
  --lo-error: #e02424;
  color: #101828;
  font-family: "Aptos", "Segoe UI", sans-serif;
  margin: 32px auto;
  max-width: 980px;
}

.leads-online-ofc-form {
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.leads-online-ofc-hp {
  left: -9999px;
  position: absolute;
  top: auto;
}

.lo-progress-track {
  background: #c5ccd8;
  height: 10px;
  overflow: hidden;
}

.lo-progress-bar {
  background: var(--lo-yellow);
  display: block;
  height: 100%;
  transition: width 180ms ease;
  width: 8%;
}

.lo-progress-meta {
  color: #5d6472;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 16px 18px;
}

.lo-step {
  display: none;
}

.lo-step.is-active {
  display: block;
}

.lo-header {
  border-bottom: 1px solid var(--lo-border);
  padding: 64px 66px 48px;
}

.lo-header h2 {
  color: var(--lo-navy);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0 0 8px;
}

.lo-header p {
  color: #0f172a;
  font-size: 19px;
  margin: 0;
}

.lo-body {
  padding: 32px 66px;
}

.lo-grid {
  display: grid;
  gap: 30px;
}

.lo-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leads-online-ofc-form .lo-choice-pair {
  align-items: flex-start;
  display: grid !important;
  gap: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.lo-field-group,
.lo-fieldset,
.lo-consent {
  margin-bottom: 34px;
  padding: 12px;
}

.lo-field-group.is-invalid,
.lo-fieldset.is-invalid,
.lo-consent.is-invalid {
  background: var(--lo-error-bg);
  border-radius: 3px;
}

.lo-label,
.lo-fieldset legend {
  color: #101828;
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
}

.lo-label strong,
.lo-fieldset strong,
.lo-consent strong {
  color: var(--lo-error);
}

.lo-field-group input,
.lo-field-group select,
.lo-field-group textarea {
  background: #fff;
  border: 1px solid #b8c4d6;
  border-radius: 3px;
  box-sizing: border-box;
  color: #25324a;
  font-size: 18px;
  min-height: 46px;
  padding: 10px 14px;
  width: 100%;
}

.lo-field-group.is-invalid input,
.lo-field-group.is-invalid select,
.lo-field-group.is-invalid textarea {
  border-color: #ff2633;
}

.lo-fieldset.is-invalid legend {
  margin-bottom: 16px;
}

.lo-fieldset.is-invalid label {
  position: relative;
}

.lo-field-group small {
  color: #2c3446;
  display: block;
  font-size: 13px;
  margin-top: 10px;
}

.lo-field-group input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.lo-field-group input[type="number"]::-webkit-outer-spin-button,
.lo-field-group input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lo-error {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

.lo-error:not(:empty) {
  background: var(--lo-error);
  border-radius: 3px;
  display: inline-block;
  padding: 4px 10px;
}

.lo-error:not(:empty)::before {
  content: "!";
  background: #fff;
  border-radius: 50%;
  color: var(--lo-error);
  display: inline-flex;
  font-size: 10px;
  height: 14px;
  justify-content: center;
  margin-right: 6px;
  width: 14px;
}

.lo-fieldset {
  border: 0;
}

.lo-choice-block {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 168px;
  flex: 1 1 0;
  width: 100%;
}

.lo-add-driver[data-primary-add-driver] {
  display: flex !important;
  flex-direction: column;
}

.lo-fieldset label,
.lo-consent label {
  align-items: center;
  display: flex;
  font-size: 17px;
  gap: 12px;
  margin: 11px 0;
}

.lo-fieldset input[type="radio"],
.lo-fieldset input[type="checkbox"],
.lo-consent input[type="checkbox"] {
  height: 22px;
  width: 22px;
}

.lo-vehicle {
  border-bottom: 1px solid #d7deeb;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.lo-vehicle:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lo-driver-basic,
.lo-driver-detail {
  border-bottom: 1px solid #d7deeb;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.lo-driver-basic:last-child,
.lo-driver-detail:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lo-vehicle h3 {
  color: var(--lo-navy);
  margin: 0 0 20px;
}

.lo-driver-primary-heading {
  margin: 0 0 20px;
}

.lo-section-heading {
  margin: 28px 0 20px;
}

.lo-section-heading-divider {
  border-top: 1px solid #d7deeb;
  padding-top: 24px;
}

.lo-section-heading h3,
.lo-driver-primary-heading h3,
.lo-driver-basic__card h3,
.lo-driver-detail__card h3 {
  color: var(--lo-navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 20px;
  position: relative;
}

.lo-section-heading h3::after,
.lo-driver-primary-heading h3::after,
.lo-driver-basic__card h3::after,
.lo-driver-detail__card h3::after {
  background: var(--lo-yellow);
  bottom: -14px;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  width: 38px;
}

.lo-driver-detail h3 span {
  color: var(--lo-muted);
  display: inline-block;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-left: 10px;
  vertical-align: middle;
}

.lo-add-car legend span {
  font-weight: 400;
}

.lo-remove-vehicle {
  background: transparent;
  border: 0;
  color: var(--lo-blue);
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 16px;
}

.lo-driver-body {
  padding-top: 48px;
}

.lo-driver-body > .lo-field-group,
.lo-driver-body > .lo-fieldset,
.lo-driver-body > .lo-consent {
  max-width: 820px;
}

.lo-driver-body > .lo-fieldset[data-field-group="needSr22Form"] {
  margin-top: 40px;
}

.lo-consent p {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 14px;
}

.lo-turnstile {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.lo-actions {
  align-items: center;
  border-top: 1px solid var(--lo-border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 86px;
  padding: 22px 66px;
}

.lo-btn {
  align-items: center;
  border: 0;
  border-radius: 3px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  min-height: 58px;
  min-width: 160px;
  padding: 17px 30px;
  text-align: center;
  white-space: nowrap;
}

.lo-btn-primary {
  background: var(--lo-blue);
  color: #fff;
  margin-left: auto;
}

.lo-btn-secondary {
  background: #e8ebf3;
  border: 1px solid #c4ccda;
  color: #172033;
}

.lo-btn-submit {
  background: var(--lo-blue-dark);
  color: #fff;
  margin-left: auto;
}

.lo-page-feedback {
  color: #172033;
  flex: 1;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 980px) {
  .leads-online-ofc-embed {
    max-width: 100%;
    padding: 0 14px;
  }

  .lo-header,
  .lo-body,
  .lo-actions {
    padding-left: 34px;
    padding-right: 34px;
  }

  .lo-grid {
    gap: 22px;
  }

  .lo-driver-detail h3 span {
    display: block;
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .leads-online-ofc-embed {
    margin: 18px auto;
  }

  .lo-header,
  .lo-body,
  .lo-actions {
    padding-left: 22px;
    padding-right: 22px;
  }

  .lo-header {
    padding-top: 42px;
  }

  .lo-body {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .lo-grid-two {
    grid-template-columns: 1fr;
  }

  .lo-field-group,
  .lo-fieldset,
  .lo-consent {
    margin-bottom: 24px;
    padding: 10px;
  }

  .lo-field-group label,
  .lo-driver-basic label {
    display: block;
  }

  .lo-fieldset label,
  .lo-consent label {
    align-items: flex-start;
    gap: 10px;
  }

  .lo-driver-primary-heading h3,
  .lo-vehicle h3,
  .lo-driver-basic__card h3,
  .lo-driver-detail__card h3 {
    font-size: 28px;
  }

  .lo-driver-detail h3 span {
    font-size: 0.62em;
    line-height: 1.3;
  }

  .lo-turnstile {
    overflow: visible;
  }

  .cf-turnstile {
    max-width: 100%;
  }

  .lo-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .lo-btn,
  .lo-btn-primary,
  .lo-btn-submit {
    margin-left: 0;
    width: 100%;
  }

  .lo-page-feedback {
    font-size: 16px;
    order: 3;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .leads-online-ofc-form .lo-choice-pair {
    gap: 12px;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .lo-progress-meta {
    flex-direction: column;
    gap: 6px;
  }

  .lo-header h2 {
    font-size: 26px;
  }

  .lo-header p,
  .lo-label,
  .lo-fieldset legend,
  .lo-consent p {
    font-size: 16px;
  }

  .lo-field-group input,
  .lo-field-group select,
  .lo-field-group textarea {
    font-size: 16px;
    min-height: 44px;
  }

  .lo-btn {
    font-size: 17px;
    min-width: 0;
    padding: 15px 22px;
  }
}

@media (max-width: 360px) {
  .leads-online-ofc-embed {
    padding: 0 8px;
  }

  .lo-header,
  .lo-body,
  .lo-actions {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lo-turnstile {
    justify-content: flex-start;
    overflow: hidden;
  }

  .cf-turnstile {
    transform: scale(0.92);
    transform-origin: left top;
  }
}
