/* Bridge CRM core/form.php (apx-lead) to Velonara purple landing */
.form-widget {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.header-mobile .apx-lead-heading {
  display: none;
}

.header-mobile .apx-lead.lead-form-wrap,
.header-mobile .apx-lead,
.header-mobile .apx-lead-form {
  background: rgba(15, 10, 30, 0.72);
  border: 1px solid rgba(124, 58, 237, 0.45);
  border-radius: 1rem;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: none;
  max-width: 100%;
}
.apx-lead-form .apx-lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.apx-lead-form .apx-lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.apx-lead-form .apx-lead-field span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}
.apx-lead-form input[type="text"],
.apx-lead-form input[type="email"] {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 0.7rem 0.85rem;
}
/* Tel: never set padding-left / shorthand — ITI flag + dial code need room */
.apx-lead-form input[type="tel"],
.apx-lead-form .iti input[type="tel"],
.apx-lead-form .iti .iti__tel-input {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  padding-right: 0.85rem;
}
.apx-lead-form .iti {
  width: 100%;
  display: block;
}
.apx-lead-form .iti__selected-dial-code,
.apx-lead-form .iti__dial-code {
  color: #f5f3ff !important;
}
.header-mobile .apx-lead-form button.submit,
.header-mobile form.js-lead-form button.submit,
.apx-lead-form button.submit,
.apx-lead-form .submit {
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  cursor: pointer;
}
.apx-lead-form .apx-lead-consent {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.65);
}
.apx-lead-form .apx-lead-consent a {
  color: #c4b5fd;
  text-decoration: underline;
}
.header-mobile .apx-lead-badges {
  display: none !important;
}
@media (max-width: 640px) {
  .apx-lead-form .apx-lead-row {
    grid-template-columns: 1fr;
  }
}
