input[name="phone"] {
  padding-left: 90px !important;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

#root,
.min-h-screen {
  max-width: 100%;
  overflow-x: clip;
}

.cta-adaptive {
  white-space: normal;
  max-width: 100%;
  height: auto;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
  line-height: 1.35;
}

.cta-adaptive > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cta-adaptive svg {
  flex-shrink: 0;
}

/* Prevent flex/grid children from forcing horizontal page overflow on mobile */
.grid > *,
.min-w-0 {
  min-width: 0;
}

.flex.items-start > span,
.flex.items-center > span,
.flex.justify-between > span,
.flex.justify-between > label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.flex.items-start > svg,
.flex.items-center > svg {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Nested form card: less padding on small screens */
  .bg-white.rounded-xl.p-8 {
    padding: 1rem;
  }

  .bg-white.rounded-xl.p-8 > .bg-white.rounded-xl.p-6 {
    padding: 1rem;
  }

  a.inline-flex.whitespace-nowrap,
  button.inline-flex.whitespace-nowrap {
    white-space: normal;
    height: auto;
    min-height: 2.75rem;
    text-align: center;
    line-height: 1.35;
  }
}
