/* Camelot look (a-field / a-button) for the lead form. Tokens from camelot-components:
   rebel-100 #5133E6 · rebel-80 #6147EE · rebel-20 #CECCFF · rebel-10 #F0F0FF · black-100 #1E0046 · black-60 #786690 · black-20 #D2CCDA · black-10 #E8E5EC · bubblegum-80 #DD2677 · mint-60 #35C79A */
.clf-section { background: var(--clf-bg, #F7F6FA); padding: var(--clf-padding, 48px 0 64px); }
/* Form placed in a section that already has its own background: add this class to a parent (custom properties are inherited),
   or set --clf-bg / --clf-padding in a style attribute of a parent. */
.clf-embedded { --clf-bg: transparent; --clf-padding: 0; }
.clf-card {
  max-width: 960px; margin: 0 auto; padding: 32px;
  background: #fff; border: 1px solid #E8E5EC; border-radius: 13px;
  font-family: -apple-system, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; color: #1E0046;
}
.clf-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.clf-field[hidden] { display: none; }
.clf-label { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; line-height: 1.4; font-weight: 700; color: #1E0046; }
.clf-help { margin: -4px 0 8px; font-size: 14px; color: #786690; }
.clf-input {
  width: 100%; min-height: 44px; padding: 12px 16px; box-sizing: border-box;
  font: inherit; font-size: 16px; color: #1E0046; background: #fff;
  border: 1px solid #D2CCDA; border-radius: 8px; outline: 4px solid transparent; box-shadow: none;
  transition: border-color .2s, outline-color .2s;
}
.clf-textarea { height: auto; min-height: 112px; padding-top: 12px; padding-bottom: 12px; line-height: 1.5; resize: vertical; font-family: inherit; }
.clf-input:hover, .clf-input:focus { border-color: #5133E6; }
.clf-input:focus { outline-color: #F0F0FF; }
.clf-input::placeholder { color: #786690; opacity: 1; }
/* phone input (vue-phone-number-input) aligned on the same field look */
.clf-card .vue-phone-number-input .input-tel__input, .clf-card .vue-phone-number-input .select-country-container .country-selector__input {
  border-radius: 8px !important; border-color: #D2CCDA !important; color: #1E0046 !important; min-height: 44px !important;
}
.clf-card .vue-phone-number-input .is-focused .input-tel__input, .clf-card .vue-phone-number-input .is-focused .country-selector__input {
  border-color: #5133E6 !important; box-shadow: 0 0 0 4px #F0F0FF !important;
}
.clf-card .vue-phone-number-input .country-selector__label, .clf-card .vue-phone-number-input .input-tel__label { display: none; }
/* choices */
.clf-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.clf-choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 12px 16px;
  font-size: 16px; font-weight: 400; color: #1E0046; cursor: pointer;
  background: #fff; border: 1px solid #D2CCDA; border-radius: 8px; outline: 4px solid transparent;
  transition: border-color .2s, background-color .2s, outline-color .2s;
}
.clf-choice:hover { border-color: #5133E6; }
.clf-choice:focus-within { border-color: #5133E6; outline-color: #F0F0FF; }
.clf-choice:has(input:checked) { border-color: #5133E6; background: #F0F0FF; }
.clf-choice input { accent-color: #5133E6; width: 16px; height: 16px; margin: 0; }
/* button (a-button --md, primary) */
.clf-actions { margin-top: 32px; }
.clf-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 12px 28px;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1; color: #fff;
  background: #5133E6; border: 2px solid #5133E6; border-radius: 999px; cursor: pointer; outline: none;
  transition: background-color .2s, border-color .2s;
}
.clf-button:hover:not(:disabled) { background: #6147EE; border-color: #6147EE; }
.clf-button:focus-visible { border-color: #CECCFF; outline: 4px solid #CECCFF; }
.clf-button:disabled { opacity: .4; cursor: not-allowed; }
.clf-status { margin: 16px 0 0; font-size: 14px; }
.clf-status--success { color: #1E0046; }
.clf-status--success::before { content: "\2713\00a0"; color: #35C79A; font-weight: 700; }
.clf-status--error { color: #DD2677; }
@media (max-width: 575px) { .clf-card { padding: 20px; } .clf-choices { grid-template-columns: 1fr; } }

/* generated forms */
.clf-title { margin: 0 0 24px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.3px; color: #1E0046; }
.clf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.clf-field--full { grid-column: 1 / -1; }
.clf-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.clf-fieldset .clf-label { float: none; width: auto; }
.clf-select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E0046' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.clf-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.clf-choice span { display: flex; flex-direction: column; gap: 2px; }
.clf-choice-desc { font-size: 13px; line-height: 1.4; color: #786690; }
.clf-choice--single { align-items: flex-start; border-color: transparent; padding-left: 0; }
.clf-choice--single:hover { border-color: transparent; }
.clf-input[aria-invalid], .clf-field:has([data-error]:not([hidden])) .clf-input { border-color: #DD2677; }
.clf-error { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #DD2677; }
.clf-range { width: 100%; accent-color: #5133E6; }
.clf-output { font-weight: 400; color: #786690; margin-left: 4px; }
.clf-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: clf-spin .7s linear infinite; }
.clf-spinner[hidden] { display: none; }
@keyframes clf-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .clf-grid { grid-template-columns: 1fr; } .clf-choices { grid-template-columns: 1fr; } }

.clf-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.clf-preview-banner { font-family: -apple-system, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; background: #FFF7D6; border-bottom: 1px solid #F0D98C; color: #5C4A00; font-size: 14px; padding: 8px 16px; text-align: center; }
