/* Mikołaj Formularze — frontend. Dziedziczy fonty i kolory motywu. */
.mf-wrap { --mf-accent: #b3122e; --mf-border: #cfcfcf; --mf-error: #b00020; --mf-ok-bg: #edf7ee; --mf-ok: #1e6b2a; max-width: 760px; }
.mf-fields { display: flex; flex-wrap: wrap; gap: 18px 4%; }
.mf-field { flex: 0 0 100%; min-width: 0; }
.mf-field.mf-w-half { flex-basis: 48%; }
.mf-field[hidden] { display: none !important; }
@media (max-width: 600px) { .mf-field.mf-w-half { flex-basis: 100%; } }

.mf-label { display: block; font-weight: 600; margin: 0 0 6px; padding: 0; }
.mf-star { color: var(--mf-accent); }
.mf-field input[type="text"], .mf-field input[type="email"], .mf-field input[type="tel"],
.mf-field input[type="number"], .mf-field input[type="date"], .mf-field select, .mf-field textarea {
	width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--mf-border);
	border-radius: 6px; font: inherit; background: #fff; color: inherit;
}
.mf-field input:focus, .mf-field select:focus, .mf-field textarea:focus { outline: 2px solid var(--mf-accent); outline-offset: 1px; border-color: var(--mf-accent); }
.mf-choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.mf-choice { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; font-weight: normal; cursor: pointer; }
.mf-choice input, .mf-consent input { margin-top: .3em; flex: 0 0 auto; }
.mf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92em; line-height: 1.45; cursor: pointer; }
.mf-help { margin: 5px 0 0; font-size: .88em; opacity: .75; }
.mf-error { margin: 5px 0 0; color: var(--mf-error); font-size: .9em; }
.mf-error:empty { display: none; }
.mf-field.mf-has-error input, .mf-field.mf-has-error select, .mf-field.mf-has-error textarea { border-color: var(--mf-error); }
.mf-section-title { margin: 10px 0 4px; }
.mf-section-text > :last-child { margin-bottom: 0; }

.mf-submit-row { margin-top: 22px; }
.mf-submit { background: var(--mf-accent); color: #fff; border: 0; border-radius: 6px; padding: 12px 28px; font: inherit; font-weight: 700; cursor: pointer; }
.mf-submit:hover { filter: brightness(1.08); }
.mf-submit[disabled] { opacity: .6; cursor: wait; }
.mf-required-note { font-size: .85em; opacity: .7; margin-top: 10px; }

.mf-message { padding: 12px 14px; border-radius: 6px; margin-bottom: 18px; }
.mf-message--error { background: #fdecee; color: var(--mf-error); }
.mf-success { padding: 18px 20px; border-radius: 8px; background: var(--mf-ok-bg); color: var(--mf-ok); }
.mf-success > :last-child { margin-bottom: 0; }

/* Honeypot — poza ekranem (nie display:none, bo część botów to sprawdza). */
.mf-hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
