.psp-native-ninja-form {
  position: absolute !important;
  left: -100000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0.001 !important;
  pointer-events: none !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.psp-customer-application-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.psp-customer-application {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #263746 !important;
  text-shadow: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

/*
 * The rental-flow theme uses light typography over its blue panels. The custom
 * application itself is a white card, so explicitly reset those inherited
 * colors and shadows only inside this component. The !important declarations
 * are intentional because several page-builder/theme rules also use !important.
 */
.psp-customer-application .psp-customer-application-heading h1,
.psp-customer-application .psp-customer-application-heading h2,
.psp-customer-application .psp-customer-application-heading h3,
.psp-customer-application .psp-customer-application-heading h4,
.psp-customer-application .psp-customer-application-heading h5,
.psp-customer-application .psp-customer-application-heading h6,
.psp-customer-application .psp-customer-application-heading p,
.psp-customer-application .psp-customer-field > label,
.psp-customer-application .psp-customer-field legend,
.psp-customer-application .psp-customer-choice span,
.psp-customer-application .psp-customer-field-help,
.psp-customer-application .psp-customer-field--html,
.psp-customer-application .psp-customer-field--html * {
  color: #263746 !important;
  text-shadow: none !important;
}

.psp-customer-application .psp-customer-application-heading h1,
.psp-customer-application .psp-customer-application-heading h2,
.psp-customer-application .psp-customer-application-heading h3,
.psp-customer-application .psp-customer-application-heading h4,
.psp-customer-application .psp-customer-application-heading h5,
.psp-customer-application .psp-customer-application-heading h6,
.psp-customer-application .psp-customer-field > label,
.psp-customer-application .psp-customer-field legend,
.psp-customer-application .psp-customer-choice span,
.psp-customer-application .psp-customer-field--html,
.psp-customer-application .psp-customer-field--html * {
  opacity: 1 !important;
}

.psp-customer-application .psp-customer-field--html a {
  color: #1e4f7a !important;
  text-decoration-color: currentColor;
}

.psp-customer-application .psp-required,
.psp-customer-application .psp-customer-field-error {
  color: #a52424 !important;
  text-shadow: none !important;
}

.psp-customer-application input[type="text"],
.psp-customer-application input[type="email"],
.psp-customer-application input[type="tel"],
.psp-customer-application input[type="password"],
.psp-customer-application input[type="number"],
.psp-customer-application input[type="date"],
.psp-customer-application select,
.psp-customer-application textarea {
  color: #1f2933 !important;
  -webkit-text-fill-color: #1f2933;
  text-shadow: none !important;
}

.psp-customer-application input::placeholder,
.psp-customer-application textarea::placeholder {
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280;
  opacity: 1;
}

.psp-customer-application select option {
  color: #1f2933;
  background: #fff;
}

.psp-customer-application *,
.psp-customer-application *::before,
.psp-customer-application *::after {
  box-sizing: border-box;
}

.psp-customer-application-heading {
  margin-bottom: 22px;
}

.psp-customer-application-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.psp-customer-application-heading p {
  margin: 0;
  opacity: 0.72;
}

.psp-customer-application-fields {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 18px 22px;
}

.psp-customer-field {
  grid-column: span 10;
  min-width: 0;
}

/* Keep the mailing address in two deliberate desktop rows:
 * Address / Apt-Suite = 4/5 + 1/5, then City / State / ZIP = 2/4 + 1/4 + 1/4.
 */
.psp-customer-field--address-street {
  grid-column: span 16;
}

.psp-customer-field--address-unit {
  grid-column: span 4;
}

.psp-customer-field--address-city {
  grid-column: span 10;
}

.psp-customer-field--address-state,
.psp-customer-field--address-zip {
  grid-column: span 5;
}

.psp-customer-field--textarea,
.psp-customer-field--html,
.psp-customer-field--divider,
.psp-customer-field--listcheckbox,
.psp-customer-field--listradio,
.psp-customer-field--checkbox {
  grid-column: 1 / -1;
}

.psp-customer-field > label,
.psp-customer-field legend {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  font-weight: 650;
  line-height: 1.35;
}

.psp-customer-field fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.psp-customer-field input[type="text"],
.psp-customer-field input[type="email"],
.psp-customer-field input[type="tel"],
.psp-customer-field input[type="password"],
.psp-customer-field input[type="number"],
.psp-customer-field input[type="date"],
.psp-customer-field select,
.psp-customer-field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  font: inherit;
  line-height: 1.35;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.psp-ssn-input {
  display: grid;
  grid-template-columns: minmax(64px, 3fr) auto minmax(52px, 2fr) auto minmax(78px, 4fr);
  align-items: center;
  gap: 8px;
  width: 100%;
}

.psp-ssn-input input[type="password"] {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 8px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 7px;
  background: #fff;
  color: #1f2933 !important;
  -webkit-text-fill-color: #1f2933;
  font: inherit;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.14em;
}

.psp-ssn-input input[type="password"]:focus {
  outline: none;
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.psp-ssn-separator {
  color: #263746 !important;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
  text-shadow: none !important;
}

.psp-customer-field--html,
.psp-customer-field--divider {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: start;
}

.psp-customer-field--html:empty {
  display: none !important;
}

.psp-customer-field--html > :first-child,
.psp-customer-field--html > :first-child > :first-child,
.psp-customer-field--html > :first-child > :first-child > :first-child,
.psp-customer-field--html h1:first-child,
.psp-customer-field--html h2:first-child,
.psp-customer-field--html h3:first-child,
.psp-customer-field--html h4:first-child,
.psp-customer-field--html h5:first-child,
.psp-customer-field--html h6:first-child {
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.psp-customer-field--html > :last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.psp-customer-field--html p:empty,
.psp-customer-field--html div:empty,
.psp-customer-field--html span:empty {
  display: none !important;
}

.psp-customer-field--divider hr {
  margin: 0;
}

.psp-customer-field textarea {
  min-height: 118px;
  resize: vertical;
}

.psp-customer-field input:focus,
.psp-customer-field select:focus,
.psp-customer-field textarea:focus {
  outline: none;
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.psp-customer-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.psp-customer-choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 46px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.015);
  cursor: pointer;
}

.psp-customer-choice--single {
  border: 0;
  background: transparent;
  padding-left: 0;
}

.psp-customer-choice input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.psp-required,
.psp-customer-field-error {
  color: #a52424;
}

.psp-customer-field-help {
  margin: 6px 0 0;
  font-size: 0.9em;
  opacity: 0.74;
}

.psp-customer-field-error {
  margin: 6px 0 0;
  font-size: 0.9em;
  font-weight: 600;
}

.psp-customer-field--invalid input,
.psp-customer-field--invalid select,
.psp-customer-field--invalid textarea,
.psp-customer-field--invalid .psp-customer-choice {
  border-color: #a52424;
}

.psp-customer-application-status,
.psp-customer-application-errors {
  margin-top: 18px;
  line-height: 1.45;
}

.psp-customer-application-errors {
  color: #842020 !important;
  font-weight: 600;
  white-space: pre-line;
}

.psp-customer-application-status:empty,
.psp-customer-application-errors:empty {
  display: none;
}

.psp-customer-application-status {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.045);
}

.psp-customer-application-status.is-success {
  background: #e9f7ec;
  color: #165d28;
  font-weight: 650;
}

.psp-customer-application-status.is-error {
  background: #fbecec;
  color: #842020;
}

.psp-customer-application-status.is-working {
  background: #edf3fa;
}

.psp-customer-application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

.psp-customer-application-submit,
.psp-customer-application-retry {
  min-width: 140px;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.psp-customer-application-submit {
  background: #1e4f7a;
  color: #fff;
}

.psp-customer-application-retry {
  border: 1px solid currentColor;
  background: #fff;
  color: inherit;
}

.psp-customer-application button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.psp-customer-application-trap {
  position: absolute !important;
  left: -100000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 700px) {
  .psp-customer-application {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .psp-customer-application-fields,
  .psp-customer-choice-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .psp-customer-application .psp-customer-field,
  .psp-customer-application .psp-customer-field--address-street,
  .psp-customer-application .psp-customer-field--address-unit,
  .psp-customer-application .psp-customer-field--address-city,
  .psp-customer-application .psp-customer-field--address-state,
  .psp-customer-application .psp-customer-field--address-zip {
    grid-column: 1 / -1;
  }

  .psp-customer-application-actions {
    flex-direction: column;
  }

  .psp-customer-application-submit,
  .psp-customer-application-retry {
    width: 100%;
  }
}
