/* SKF Forms — front-end styles */
.skf-form { max-width: 640px; }
.skf-form__body { margin: 0; }
.skf-form__field { margin: 0 0 16px; }
.skf-form__field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.skf-form__field .skf-form__req { color: #c84f00; }
.skf-form__field input[type="text"],
.skf-form__field input[type="email"],
.skf-form__field input[type="tel"],
.skf-form__field input[type="url"],
.skf-form__field input[type="number"],
.skf-form__field input[type="date"],
.skf-form__field input[type="time"],
.skf-form__field input[type="file"],
.skf-form__field textarea,
.skf-form__field select {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid var(--skf-border, #dfe8e1); border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fff;
}
.skf-form__field textarea { min-height: 120px; }
.skf-form__field input:focus, .skf-form__field textarea:focus, .skf-form__field select:focus {
  outline: 2px solid var(--skf-cta-green, #00a25a); outline-offset: 1px;
}
.skf-form__field.has-error input, .skf-form__field.has-error textarea, .skf-form__field.has-error select {
  border-color: #c92c2c;
}
.skf-form__field .skf-form__error { color: #c92c2c; font-size: 12px; margin-top: 4px; display: block; }
.skf-form__check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.skf-form__radio { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-bottom: 6px; }
.skf-form__field--accept label { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.skf-form__quiz-question { display: block; font-weight: 600; margin-bottom: 6px; }
.skf-form__field--file input[type="file"] { padding: 8px; }
.skf-form__file-hint { display: block; font-size: 12px; color: var(--skf-ink-soft, #4a5a50); margin-top: 4px; }
.skf-form__field--range input[type="range"] { width: 100%; padding: 0; border: 0; box-shadow: none; background: none; }
.skf-form__counter { display: block; font-size: 11px; color: var(--skf-ink-soft, #4a5a50); text-align: right; margin-top: 2px; }
.skf-form__turnstile { margin: 4px 0 12px; min-height: 65px; }
.skf-form__field.is-hidden { display: none !important; }
.skf-form__actions { margin: 20px 0 0; }
.skf-form__actions .skf-form__reset { margin-left: 8px; }
.skf-form__status { margin-top: 12px; font-weight: 600; }
.skf-form__status.is-success { color: #00a25a; }
.skf-form__status.is-error { color: #c92c2c; }
.skf-form__success { margin-top: 12px; color: #00a25a; font-weight: 600; }
.skf-form__notice { margin-bottom: 14px; padding: 10px 12px; border-radius: 4px; background: #fff7e6; color: #8a6d1d; }
.skf-form__notice.is-success { background: #e9f9f0; color: #0a7a45; }
.skf-form__recaptcha { margin: 4px 0 12px; }
/* Honeypot hidden from humans */
.skf-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inline layout */
.skf-form--inline .skf-form__body { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.skf-form--inline .skf-form__field { flex: 1 1 200px; margin-bottom: 0; }
.skf-form--inline .skf-form__actions { flex: 0 0 auto; }

/* Rich message editor (paste screenshots inline) */
.skf-form__rich { margin-bottom: 0; }
.skf-form__rich-editor { min-height: 130px; border: 1px solid var(--skf-border, #dfe8e1); border-radius: 8px; padding: 10px 12px; font-size: 15px; background: #fff; line-height: 1.5; overflow-y: auto; }
.skf-form__rich-editor:focus { outline: 2px solid var(--skf-cta-green, #00a25a); outline-offset: 1px; }
.skf-form__rich-editor.is-empty::before { content: attr(data-placeholder); color: #a7aaad; }
.skf-form__rich-editor img { display: block; max-width: 100%; max-height: 180px; margin: 6px 0; border: 1px solid #dcdcde; border-radius: 6px; }
.skf-form__rich-hint { display: block; font-size: 12px; color: var(--skf-ink-soft, #4a5a50); margin-top: 4px; }

/* Accumulating attachment list */
.skf-form__files { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.skf-form__file-chip { display: inline-flex; align-items: center; gap: 6px; background: #f6f7f7; border: 1px solid #dcdcde; border-radius: 999px; padding: 4px 10px; font-size: 12px; max-width: 100%; }
.skf-form__file-chip img { width: 22px; height: 22px; object-fit: cover; border-radius: 4px; }
.skf-form__file-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skf-form__file-chip-remove { background: none; border: 0; color: #b32d2e; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; }

/* Rich editor error state (visible where the hidden textarea can't be) */
.skf-form__rich-editor.has-error { border-color: #c92c2c; outline-color: #c92c2c; }

/* Inline email verification status */
.skf-form__email-status { display: block; font-size: 12px; margin-top: 4px; }
.skf-form__email-status.is-ok { color: #0a7a45; }
.skf-form__email-status.is-error { color: #c92c2c; }
.skf-form__email-status.is-warn { color: #b26b00; }
.skf-form__email-status.is-loading { color: #646970; }
