/* Sehel lead form on project and project-apartment pages (scripts/templates/lead_form.html). */
.lead-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f3f4f6; direction: rtl; }
.lead-form__title { margin: 0 0 2px; font-size: 15px; font-weight: 700; text-align: center; color: var(--primary-color); }
.lead-form__input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; font: inherit; font-size: 16px; color: #111827; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; text-align: right; }
.lead-form__input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 1px var(--primary-color); }
.lead-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.lead-form__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.lead-form__consent input { margin-top: 3px; }
.lead-form__submit { height: 46px; font: inherit; font-size: 16px; font-weight: 800; color: #fff; background: var(--accent-color); border: 0; border-radius: 12px; cursor: pointer; }
.lead-form__submit:hover { background: var(--accent-hover, var(--accent-color)); }
.lead-form__submit:disabled { opacity: .6; cursor: default; }
.lead-form__message { margin: 0; font-size: 14px; font-weight: 600; text-align: center; }
.lead-form__message:empty { display: none; }
.lead-form__message.is-error { color: #b91c1c; }
.lead-form__message.is-success { color: #15803d; }
.lead-form--dark { border-bottom-color: rgba(255, 255, 255, .2); }
.lead-form--dark .lead-form__title { color: #fff; }
.lead-form--dark .lead-form__consent { color: #cbd5e1; }
.lead-form--dark .lead-form__message.is-error { color: #fecaca; }
.lead-form--dark .lead-form__message.is-success { color: #bbf7d0; }
