/* sp-site-pro-blocks — Elementor Pro Form skinned as the sitepro.co.il lead form (.sp-lf).
   Applied to any form widget with the CSS class "spro-form" (Advanced → CSS Classes).
   Fields stay native Elementor fields, so the client adds/edits them in the editor. */

.spro-form {
  --lf-bg: #000;
  --lf-fg: #fff;
  --lf-muted: rgba(255, 255, 255, .62);
  --lf-line: rgba(255, 255, 255, .18);
  --lf-line-strong: rgba(255, 255, 255, .5);
  --lf-ease: cubic-bezier(.7, 0, .2, 1);
  max-width: 960px;
  margin-inline: auto;
}
.spro-form .elementor-form {
  padding: 48px clamp(20px, 3vw, 56px);
  background: var(--lf-bg);
  border: 1px solid var(--lf-line);
  color: var(--lf-fg);
  font-family: 'Rubik', system-ui, sans-serif;
}
.spro-form .elementor-form-fields-wrapper { row-gap: 32px; }

/* Intro line = an HTML field with class spro-form__intro, or the first "html" field */
.spro-form .elementor-field-type-html { color: var(--lf-muted); font-size: 19px; font-weight: 500; line-height: 1.5; margin-bottom: 12px; }

/* Labels */
.spro-form .elementor-field-group > .elementor-field-label {
  font-size: 16px; font-weight: 500; color: var(--lf-muted); margin-bottom: 10px; padding: 0;
}
.spro-form .elementor-mark-required .elementor-field-label::after { color: var(--lf-fg); }

/* Text inputs, textarea, select: underline only */
body .spro-form .elementor-field-group .elementor-field-textual,
body .spro-form .elementor-field-group select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 0;
  padding: 14px 0;
  background: transparent;
  color: var(--lf-fg);
  border: 0; border-bottom: 1px solid var(--lf-line); border-radius: 0;
  font-family: inherit; font-size: 24px; font-weight: 500; line-height: 1.3;
  box-shadow: none;
  transition: border-color .2s var(--lf-ease);
}
body .spro-form .elementor-field-group select { font-size: 22px; cursor: pointer; }
body .spro-form .elementor-field-group .elementor-field-textual::placeholder { color: rgba(255, 255, 255, .28); }
body .spro-form .elementor-field-group .elementor-field-textual:focus,
body .spro-form .elementor-field-group select:focus { outline: 0; border-bottom-color: var(--lf-fg); }
.spro-form .elementor-field-type-tel input { direction: ltr; text-align: right; }
.spro-form .elementor-select-wrapper::before { color: var(--lf-muted); font-size: 14px; }
.spro-form select option { background: #0A0A0B; color: var(--lf-fg); font-size: 18px; }
.spro-form textarea.elementor-field-textual { resize: vertical; min-height: 80px; }

/* Consent checkbox */
.spro-form .elementor-field-type-acceptance .elementor-field-subgroup { display: flex; }
.spro-form .elementor-field-type-acceptance .elementor-field-option { display: inline-flex; align-items: center; gap: 10px; }
.spro-form .elementor-field-type-acceptance input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: #fff; }
.spro-form .elementor-field-type-acceptance label { font-size: 13px; color: var(--lf-muted); }
.spro-form .elementor-field-type-acceptance label a { color: var(--lf-fg); text-decoration: underline; }

/* Submit: full-width outlined bar with the arrow, fills on hover */
.spro-form .elementor-field-type-submit { margin-top: 16px; }
body .spro-form .elementor-field-type-submit .elementor-button {
  width: 100%; min-height: 64px; padding: 0 24px;
  background: transparent; color: var(--lf-fg);
  border: 1px solid var(--lf-line-strong); border-radius: 0;
  font-family: inherit; font-size: 18px; font-weight: 600;
  transition: background .3s var(--lf-ease), color .3s var(--lf-ease), border-color .3s var(--lf-ease);
}
body .spro-form .elementor-field-type-submit .elementor-button:hover,
body .spro-form .elementor-field-type-submit .elementor-button:focus-visible {
  background: var(--lf-fg); color: var(--lf-bg); border-color: var(--lf-fg);
}
.spro-form .elementor-button-text::after { content: "  ←"; font-family: ui-monospace, monospace; }

/* Validation + status messages */
.spro-form .elementor-message { font-size: 15px; margin-top: 16px; }
.spro-form .elementor-message-success { color: #8BC0FF; }
.spro-form .elementor-message-danger, .spro-form .elementor-error .elementor-field-textual { color: #FF8A6D; border-bottom-color: #FF8A6D; }
.spro-form .elementor-field-group .elementor-message { font-size: 13px; }

@media (max-width: 720px) {
  .spro-form .elementor-form { padding: 32px 20px; }
  body .spro-form .elementor-field-group .elementor-field-textual { font-size: 20px; }
}
/* File upload field (service-call form) */
body .spro-form .elementor-field-type-upload input[type="file"] { width: 100%; padding: 14px; border: 1px dashed var(--lf-line, rgba(245,245,242,.32)); border-radius: 8px; background: transparent; color: var(--lf-muted); font-size: 16px; cursor: pointer; }
body .spro-form .elementor-field-type-upload input[type="file"]::file-selector-button { margin-inline-end: 12px; padding: 8px 16px; border: 1px solid var(--lf-fg); border-radius: 999px; background: transparent; color: var(--lf-fg); font: inherit; cursor: pointer; }
.spro-form .spro-form__hint { color: var(--lf-muted); font-size: 14px; margin-top: 6px; }
