/* ==========================================================================
   BMA Forms – obrazec na strani.
   Barve, zaobljenost in pisava pridejo iz teme portala (--c-*, --radius*),
   dizajn obrazca jih lahko prepiše (--bmaf-accent, --bmaf-radius).
   ========================================================================== */

.bmaf {
	/* Žetoni teme (--bmaf-t-*) pridejo iz profila teme (inc/theme.php); brez njih veljajo
	   žetoni platforme (--c-*) ali nevtralne privzete vrednosti. */
	--bmaf-accent: var(--bmaf-t-accent, var(--c-primary, #2856d6));
	--bmaf-on-accent: var(--bmaf-t-on-accent, var(--c-on-primary, var(--bmaf-surface)));
	--bmaf-link: var(--bmaf-t-link, var(--bmaf-accent));
	--bmaf-text: var(--bmaf-t-text, var(--c-text, #1e2a33));
	--bmaf-heading: var(--bmaf-t-heading, var(--c-dark, #132029));
	--bmaf-soft: var(--bmaf-t-soft, color-mix(in srgb, var(--bmaf-text) 64%, transparent));
	--bmaf-muted: var(--bmaf-t-muted, var(--bmaf-soft));
	--bmaf-surface: var(--bmaf-t-surface, var(--bmaf-surface));
	--bmaf-field: var(--bmaf-t-field, var(--bmaf-surface));
	--bmaf-line: var(--bmaf-t-line, color-mix(in srgb, var(--bmaf-heading) 14%, transparent));
	--bmaf-line-strong: var(--bmaf-t-line-strong, color-mix(in srgb, var(--bmaf-heading) 30%, transparent));
	--bmaf-rule: var(--bmaf-t-rule, var(--bmaf-line));
	--bmaf-inv: var(--bmaf-t-inv, var(--bmaf-heading));
	--bmaf-tint: color-mix(in srgb, var(--bmaf-accent) 6%, var(--bmaf-surface));
	--bmaf-radius: var(--bmaf-t-radius, var(--radius-sm, 10px));
	--bmaf-card-radius: calc(var(--bmaf-radius) + 6px);
	--bmaf-btn-radius: var(--btn-radius, var(--bmaf-radius));
	--bmaf-check: var(--bmaf-accent);
	--bmaf-on-check: var(--bmaf-on-accent);
	--bmaf-btn-bg: var(--bmaf-accent);
	--bmaf-btn-fg: var(--bmaf-on-accent);
	--bmaf-bw: 1.5px;
	--bmaf-danger: #c42b2b;
	--bmaf-success: var(--c-success, #1d8a4b);
	--bmaf-gap: 22px;
	--bmaf-h: var(--bmaf-t-h, 50px);
	--bmaf-fs: var(--bmaf-t-fs, 1rem);
	--bmaf-label-fs: var(--bmaf-t-label-fs, .95rem);
	--bmaf-ease: var(--ease, cubic-bezier(.2, .7, .2, 1));

	width: 100%;
	margin-inline: auto;
	color: var(--bmaf-text);
	font: inherit;
	font-family: var(--bmaf-t-font, inherit);
	line-height: 1.5;
}
.bmaf *, .bmaf *::before, .bmaf *::after { box-sizing: border-box; }
.bmaf--size-sm { --bmaf-h: calc(var(--bmaf-t-h, 50px) - 8px); --bmaf-fs: calc(var(--bmaf-t-fs, 1rem) * .95); --bmaf-gap: 16px; }
.bmaf--size-lg { --bmaf-h: calc(var(--bmaf-t-h, 50px) + 8px); --bmaf-fs: calc(var(--bmaf-t-fs, 1rem) * 1.075); --bmaf-gap: 26px; }
.bmaf--gap-tight { --bmaf-gap: 14px; }
.bmaf--gap-loose { --bmaf-gap: 32px; }

/* ---------- Podlaga ---------- */

.bmaf--surface-card .bmaf__form,
.bmaf--surface-card .bmaf__success,
.bmaf--surface-card .bmaf__closed {
	padding: clamp(20px, 4vw, 44px);
	border: 1px solid var(--bmaf-line);
	border-radius: var(--bmaf-card-radius);
	background: var(--bmaf-surface);
	box-shadow: var(--shadow-sm, 0 1px 3px rgb(16 24 40 / 8%));
}
.bmaf--surface-soft .bmaf__form,
.bmaf--surface-soft .bmaf__success,
.bmaf--surface-soft .bmaf__closed {
	padding: clamp(20px, 4vw, 44px);
	border-radius: var(--bmaf-card-radius);
	background: var(--bmaf-tint);
}
.bmaf__title { margin: 0 0 18px; color: var(--bmaf-heading); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.bmaf__intro { margin-bottom: var(--bmaf-gap); color: var(--bmaf-soft); }
.bmaf__intro > :last-child { margin-bottom: 0; }

/* ---------- Mreža ---------- */

.bmaf__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--bmaf-gap) 18px;
}
.bmaf__grid > * { grid-column: span 12; min-width: 0; margin: 0; }
.bmaf__grid > .bmaf-w1 { grid-column: span 1; } .bmaf__grid > .bmaf-w2 { grid-column: span 2; }
.bmaf__grid > .bmaf-w3 { grid-column: span 3; } .bmaf__grid > .bmaf-w4 { grid-column: span 4; }
.bmaf__grid > .bmaf-w5 { grid-column: span 5; } .bmaf__grid > .bmaf-w6 { grid-column: span 6; }
.bmaf__grid > .bmaf-w7 { grid-column: span 7; } .bmaf__grid > .bmaf-w8 { grid-column: span 8; }
.bmaf__grid > .bmaf-w9 { grid-column: span 9; } .bmaf__grid > .bmaf-w10 { grid-column: span 10; }
.bmaf__grid > .bmaf-w11 { grid-column: span 11; }
@media (max-width: 640px) {
	.bmaf__grid > [class*="bmaf-w"] { grid-column: span 12; }
}
.bmaf [hidden] { display: none !important; }
.bmaf .bmaf-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Oznake ---------- */

.bmaf fieldset.bmaf-f { padding: 0; border: 0; min-width: 0; }
.bmaf-f__label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: var(--bmaf-heading);
	font-size: var(--bmaf-label-fs);
	font-weight: 650;
	line-height: 1.35;
}
.bmaf-req { margin-left: 3px; color: var(--bmaf-accent); font-weight: 700; }
.bmaf-f__help, .bmaf-section__help { margin-top: 6px; color: var(--bmaf-soft); font-size: .875rem; }
.bmaf-f__help > :last-child { margin-bottom: 0; }
.bmaf-f__error { margin: 6px 0 0; color: var(--bmaf-danger); font-size: .86rem; font-weight: 600; }
.bmaf-f__error:empty { display: none; }
.bmaf-f__error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: var(--bmaf-danger); color: #fff; font-size: .7rem; vertical-align: 1px; }

/* ---------- Vnosna polja ---------- */

.bmaf input[type="text"], .bmaf input[type="email"], .bmaf input[type="tel"], .bmaf input[type="url"],
.bmaf input[type="number"], .bmaf input[type="date"], .bmaf input[type="time"], .bmaf select, .bmaf textarea {
	display: block;
	width: 100%;
	min-height: var(--bmaf-h);
	margin: 0;
	padding: 11px 16px;
	border: var(--bmaf-bw) solid var(--bmaf-line);
	border-radius: var(--bmaf-radius);
	background-color: var(--bmaf-field);
	color: var(--bmaf-field-text, var(--bmaf-text));
	font: inherit;
	font-size: var(--bmaf-fs);
	line-height: 1.4;
	box-shadow: 0 1px 2px rgb(16 24 40 / 4%);
	transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.bmaf select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 18px;
	cursor: pointer;
}
.bmaf textarea { min-height: 120px; resize: vertical; }
.bmaf input::placeholder, .bmaf textarea::placeholder { color: color-mix(in srgb, var(--bmaf-field-text, var(--bmaf-text)) 45%, transparent); }
.bmaf input:hover, .bmaf select:hover, .bmaf textarea:hover { border-color: var(--bmaf-line-strong); }
.bmaf input:focus, .bmaf select:focus, .bmaf textarea:focus {
	outline: none;
	border-color: var(--bmaf-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmaf-accent) 16%, transparent);
}
.bmaf .is-invalid input:not([type="radio"]):not([type="checkbox"]),
.bmaf .is-invalid select, .bmaf .is-invalid textarea {
	border-color: var(--bmaf-danger);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmaf-danger) 12%, transparent);
}

/* Zapolnjena polja */
.bmaf--style-filled input:not([type="radio"]):not([type="checkbox"]),
.bmaf--style-filled select, .bmaf--style-filled textarea {
	border-color: transparent;
	background-color: color-mix(in srgb, var(--bmaf-heading) 5.5%, var(--bmaf-surface));
	box-shadow: none;
}
.bmaf--style-filled input:not([type="radio"]):not([type="checkbox"]):hover,
.bmaf--style-filled select:hover, .bmaf--style-filled textarea:hover { border-color: transparent; background-color: color-mix(in srgb, var(--bmaf-heading) 8%, var(--bmaf-surface)); }
.bmaf--style-filled input:focus, .bmaf--style-filled select:focus, .bmaf--style-filled textarea:focus { background-color: var(--bmaf-field); }

/* Samo črta */
.bmaf--style-underline input:not([type="radio"]):not([type="checkbox"]),
.bmaf--style-underline select, .bmaf--style-underline textarea {
	padding-inline: 2px;
	border-width: 0 0 var(--bmaf-bw);
	border-radius: 0;
	background-color: transparent;
	box-shadow: none;
}
.bmaf--style-underline select { padding-right: 36px; background-position: right 4px center; }
.bmaf--style-underline input:focus, .bmaf--style-underline select:focus, .bmaf--style-underline textarea:focus { box-shadow: 0 2px 0 0 var(--bmaf-accent); }

/* Oznaka v polju (plavajoča) */
.bmaf-f--inside { position: relative; }
.bmaf-f--inside input, .bmaf-f--inside textarea { padding-top: 22px; padding-bottom: 6px; }
.bmaf-f--inside .bmaf-f__label {
	position: absolute;
	top: calc(var(--bmaf-h) / 2);
	left: 17px;
	margin: 0;
	color: var(--bmaf-soft);
	font-weight: 500;
	transform: translateY(-50%);
	transform-origin: left top;
	pointer-events: none;
	transition: transform .18s var(--bmaf-ease), top .18s var(--bmaf-ease), color .18s;
}
.bmaf-f--inside input:focus + .bmaf-f__label, .bmaf-f--inside input:not(:placeholder-shown) + .bmaf-f__label,
.bmaf-f--inside textarea:focus + .bmaf-f__label, .bmaf-f--inside textarea:not(:placeholder-shown) + .bmaf-f__label {
	top: 8px;
	color: var(--bmaf-accent);
	transform: translateY(0) scale(.78);
}

/* Ime in priimek */
.bmaf-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
@media (max-width: 520px) { .bmaf-subs { grid-template-columns: 1fr; } }
.bmaf-sub { display: flex; flex-direction: column; }
.bmaf-sub__label { order: 2; margin-top: 5px; color: var(--bmaf-soft); font-size: .8rem; }
.bmaf--labels-inside .bmaf-sub { position: relative; }
.bmaf--labels-inside .bmaf-sub input { padding-top: 22px; padding-bottom: 6px; }
.bmaf--labels-inside .bmaf-sub__label { position: absolute; top: calc(var(--bmaf-h) / 2); left: 17px; margin: 0; font-size: var(--bmaf-fs); transform: translateY(-50%); transform-origin: left top; pointer-events: none; transition: transform .18s, top .18s, color .18s; }
.bmaf--labels-inside .bmaf-sub input:focus + .bmaf-sub__label,
.bmaf--labels-inside .bmaf-sub input:not(:placeholder-shown) + .bmaf-sub__label { top: 8px; color: var(--bmaf-accent); transform: translateY(0) scale(.78); }

/* ---------- Izbire ---------- */

.bmaf-choices { display: grid; gap: 10px; }
.bmaf-choices--inline { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.bmaf-choices--cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.bmaf-choice {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 0;
	color: var(--bmaf-text);
	font-size: var(--bmaf-fs);
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
}
.bmaf-choice input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.bmaf-choice__mark {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: -1px;
	border: 1.5px solid var(--bmaf-line-strong);
	border-radius: 6px;
	background: var(--bmaf-field);
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.bmaf-choice input[type="radio"] + .bmaf-choice__mark { border-radius: 50%; }
.bmaf-choice__mark::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	opacity: 0;
	transform: scale(.4);
	transition: opacity .15s, transform .2s var(--bmaf-ease);
}
.bmaf-choice input[type="checkbox"] + .bmaf-choice__mark::after {
	width: 11px; height: 6px; border: solid var(--bmaf-on-check); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg) scale(.4);
}
.bmaf-choice input[type="radio"] + .bmaf-choice__mark::after { width: 10px; height: 10px; border-radius: 50%; background: var(--bmaf-on-check); }
.bmaf-choice input:checked + .bmaf-choice__mark { border-color: var(--bmaf-check); background: var(--bmaf-check); }
.bmaf-choice input:checked + .bmaf-choice__mark::after { opacity: 1; transform: scale(1); }
.bmaf-choice input[type="checkbox"]:checked + .bmaf-choice__mark::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.bmaf-choice:hover .bmaf-choice__mark { border-color: var(--bmaf-check); }
.bmaf-choice input:focus-visible + .bmaf-choice__mark { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmaf-check) 22%, transparent); }
.bmaf .is-invalid .bmaf-choice__mark { border-color: var(--bmaf-danger); }

.bmaf-choices--cards .bmaf-choice {
	align-items: center;
	min-height: var(--bmaf-h);
	padding: 12px 16px;
	border: 1.5px solid var(--bmaf-line);
	border-radius: var(--bmaf-radius);
	background: var(--bmaf-field);
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.bmaf-choices--cards .bmaf-choice:hover { border-color: var(--bmaf-line-strong); }
.bmaf-choices--cards .bmaf-choice:has(input:checked) {
	border-color: var(--bmaf-check);
	background: color-mix(in srgb, var(--bmaf-check) 7%, var(--bmaf-field));
	box-shadow: 0 0 0 1px var(--bmaf-check) inset;
}
.bmaf-choice--consent { font-size: .95rem; }
.bmaf-choice--consent a, .bmaf-f--html a, .bmaf-f__help a { color: var(--bmaf-link); }

/* ---------- Sekcije ---------- */

.bmaf-section__title {
	margin: 0 0 4px;
	color: var(--bmaf-heading);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}
.bmaf-section > .bmaf__grid { margin-top: 16px; }
.bmaf--sections-line .bmaf-section { padding-top: calc(var(--bmaf-gap) + 4px); border-top: 1px solid var(--bmaf-rule); }
.bmaf--sections-line .bmaf__form > .bmaf__grid > .bmaf-section:first-child { padding-top: 0; border-top: 0; }
.bmaf--sections-card .bmaf-section {
	padding: clamp(20px, 3.4vw, 32px);
	border: 1px solid color-mix(in srgb, var(--bmaf-heading) 7%, transparent);
	border-radius: var(--bmaf-card-radius);
	background: var(--bmaf-surface);
	box-shadow: 0 1px 2px rgb(16 24 40 / 4%), 0 8px 24px -16px rgb(16 24 40 / 16%);
}
/* Nikoli kartica v kartici: pri sekcijah-karticah zunanja podlaga izgine. */
.bmaf--sections-card .bmaf__form { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.bmaf--sections-card .bmaf__grid { row-gap: max(var(--bmaf-gap), 18px); }
.bmaf--sections-card .bmaf-section .bmaf-rep__row { background: color-mix(in srgb, var(--bmaf-heading) 2.5%, var(--bmaf-surface)); }
.bmaf--sections-card .bmaf-section .bmaf-section { padding: 0; border: 0; background: none; }

/* ---------- Ponavljajoča skupina (več oseb) ---------- */

.bmaf-rep__title { color: var(--bmaf-heading); font-size: 1.05rem; font-weight: 700; }
.bmaf-rep__head { margin-bottom: 14px; }
.bmaf-rep__head .bmaf-f__help { margin-top: 2px; }
.bmaf-rep__rows { display: grid; gap: 12px; }
.bmaf-rep__row {
	padding: clamp(16px, 2.4vw, 22px);
	border: 1px solid color-mix(in srgb, var(--bmaf-heading) 8%, transparent);
	border-radius: var(--bmaf-card-radius);
	background: color-mix(in srgb, var(--bmaf-heading) 2.5%, var(--bmaf-surface));
}
.bmaf-rep__rowhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bmaf-rep__label { display: inline-flex; align-items: center; gap: 10px; color: var(--bmaf-heading); font-size: .95rem; font-weight: 650; }
.bmaf-rep__n {
	order: -1;
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	border-radius: 99px;
	background: color-mix(in srgb, var(--bmaf-accent) 12%, var(--bmaf-surface));
	color: var(--bmaf-accent);
	font-size: .82rem;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
}
.bmaf-rep__remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--bmaf-soft);
	font: inherit;
	font-size: .85rem;
	font-weight: 600;
	cursor: pointer;
}
.bmaf-rep__remove::before { content: "×"; font-size: 1.15em; line-height: 1; }
.bmaf-rep__remove:hover, .bmaf-rep__remove:focus-visible { background: color-mix(in srgb, var(--bmaf-danger) 8%, transparent); color: var(--bmaf-danger); outline: none; }
.bmaf-rep__foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.bmaf-rep__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: calc(var(--bmaf-h) - 4px);
	padding: 9px 18px;
	border: 1.5px solid color-mix(in srgb, var(--bmaf-accent) 35%, transparent);
	border-radius: 99px;
	background: var(--bmaf-field);
	color: var(--bmaf-accent);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.bmaf-rep__add span { font-size: 1.25em; line-height: 1; }
.bmaf-rep__add:hover { border-color: var(--bmaf-accent); background: var(--bmaf-accent); color: var(--bmaf-on-accent); }
.bmaf-rep__add:focus-visible { outline: 3px solid color-mix(in srgb, var(--bmaf-accent) 35%, transparent); outline-offset: 2px; }
.bmaf-rep__add:disabled { opacity: .45; cursor: not-allowed; }
.bmaf-rep__add:disabled:hover { background: var(--bmaf-field); color: var(--bmaf-accent); }
.bmaf-rep__count { flex: none; color: var(--bmaf-soft); font-size: .85rem; font-variant-numeric: tabular-nums; }
.bmaf-rep__count:empty { display: none; }

/* ---------- Besedilo / navodilo ---------- */

.bmaf-f--html { color: var(--bmaf-soft); font-size: .95rem; }
.bmaf-f--html > :last-child { margin-bottom: 0; }

/* ---------- Gumb in sporočila ---------- */

.bmaf__actions { display: flex; margin-top: calc(var(--bmaf-gap) + 6px); }
.bmaf--btn-center .bmaf__actions { justify-content: center; }
.bmaf--btn-full .bmaf__submit { width: 100%; }
.bmaf__submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 180px;
	min-height: calc(var(--bmaf-h) + 2px);
	padding: 12px 30px;
	border: 0;
	border-radius: var(--bmaf-btn-radius);
	background: var(--bmaf-btn-bg);
	color: var(--bmaf-btn-fg);
	font: inherit;
	font-size: var(--bmaf-fs);
	font-weight: 700;
	letter-spacing: .01em;
	cursor: pointer;
	box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--bmaf-btn-bg) 60%, transparent);
	transition: background-color .18s, transform .18s var(--bmaf-ease), box-shadow .18s;
}
.bmaf__submit:hover { background: var(--bmaf-btn-hover, color-mix(in srgb, var(--bmaf-btn-bg) 86%, #000)); color: var(--bmaf-btn-hover-fg, var(--bmaf-btn-fg)); transform: translateY(-1px); }
.bmaf__submit:active { transform: translateY(0); }
.bmaf__submit:focus-visible { outline: 3px solid color-mix(in srgb, var(--bmaf-accent) 40%, transparent); outline-offset: 3px; }
.bmaf__submit:disabled { cursor: progress; opacity: .85; transform: none; }
.bmaf__spinner { display: none; width: 18px; height: 18px; border: 2.5px solid color-mix(in srgb, currentColor 35%, transparent); border-top-color: currentColor; border-radius: 50%; animation: bmaf-spin .7s linear infinite; }
.bmaf__submit.is-busy .bmaf__spinner { display: inline-block; }

.bmaf__alert {
	margin-top: var(--bmaf-gap);
	padding: 13px 16px;
	border: 1px solid color-mix(in srgb, var(--bmaf-danger) 30%, transparent);
	border-radius: var(--bmaf-radius);
	background: color-mix(in srgb, var(--bmaf-danger) 7%, var(--bmaf-surface));
	color: color-mix(in srgb, var(--bmaf-danger) 80%, #000);
	font-weight: 600;
	outline: none;
}
.bmaf__success { text-align: center; outline: none; animation: bmaf-in .45s var(--bmaf-ease); }
.bmaf__success-icon {
	position: relative;
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--bmaf-success) 14%, var(--bmaf-surface));
}
.bmaf__success-icon::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 21px;
	width: 22px;
	height: 12px;
	border: solid var(--bmaf-success);
	border-width: 0 0 3.5px 3.5px;
	transform: rotate(-45deg);
}
.bmaf__success-text { max-width: 560px; margin: 0 auto; color: var(--bmaf-heading); font-size: 1.1rem; }
.bmaf__success-text > :last-child { margin-bottom: 0; }
.bmaf__closed { color: var(--bmaf-heading); font-weight: 600; text-align: center; }
.bmaf__captcha { margin-top: var(--bmaf-gap); }
.bmaf-note { margin: 0 0 14px; padding: 9px 13px; border-radius: 8px; background: #fff7e0; color: #7a5300; font-size: .86rem; }

/* Skrito polje za robote */
.bmaf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Prikaz polja, ki ga odpre pogoj */
.bmaf-reveal { animation: bmaf-in .32s var(--bmaf-ease); }
@keyframes bmaf-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes bmaf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.bmaf *, .bmaf-reveal, .bmaf__success { animation: none !important; transition: none !important; }
}

/* ---------- Javni seznam ---------- */

.bmaf-table { --bmaf-line: color-mix(in srgb, var(--c-dark, #132029) 12%, transparent); width: 100%; }
.bmaf-table__tools { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bmaf-table__search {
	flex: 1;
	max-width: 360px;
	min-height: 44px;
	padding: 9px 14px;
	border: 1.5px solid var(--bmaf-line);
	border-radius: var(--radius-sm, 10px);
	font: inherit;
}
.bmaf-table__count { padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c-dark, #132029) 7%, transparent); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bmaf-table__scroll { overflow-x: auto; border: 1px solid var(--bmaf-line); border-radius: var(--radius, 14px); background: var(--bmaf-surface, #fff); }
.bmaf-table table { width: 100%; margin: 0; border-collapse: collapse; font-size: .95rem; }
.bmaf-table th, .bmaf-table td { padding: 12px 16px; border-bottom: 1px solid var(--bmaf-line); text-align: left; vertical-align: top; }
.bmaf-table tbody tr:last-child td { border-bottom: 0; }
.bmaf-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--c-dark, #132029) 2.5%, #fff); }
.bmaf-table th { position: sticky; top: 0; background: var(--bmaf-surface, #fff); }
.bmaf-table__sort { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--c-dark, #132029); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.bmaf-table__sort::after { content: "↕"; opacity: .35; font-size: .85em; }
.bmaf-table__sort[data-dir="asc"]::after { content: "↑"; opacity: 1; }
.bmaf-table__sort[data-dir="desc"]::after { content: "↓"; opacity: 1; }
.bmaf-table__empty { padding: 28px; color: var(--s-soft, #667); text-align: center; }


/* ==========================================================================
   Variante dizajna (Dizajn → Slog). Vsaka je skladen nabor; podrobnosti se da še prilagoditi.
   ========================================================================== */

/* Čisto: bela podlaga, sekcije ločene z zrakom in tanko črto. */
.bmaf--p-clean.bmaf--surface-card .bmaf__form { box-shadow: 0 1px 2px rgb(16 24 40 / 4%), 0 16px 40px -24px rgb(16 24 40 / 20%); }
.bmaf--p-clean .bmaf-section__title { font-size: 1.2rem; }

/* Koraki: oštevilčene sekcije (skrite sekcije se ne štejejo). */
.bmaf--p-steps .bmaf__form > .bmaf__grid { counter-reset: bmafstep; }
.bmaf--p-steps .bmaf__form > .bmaf__grid > .bmaf-section { counter-increment: bmafstep; padding-left: 52px; }
.bmaf--p-steps .bmaf__form > .bmaf__grid > .bmaf-section > .bmaf-section__title { position: relative; display: flex; align-items: center; min-height: 34px; }
.bmaf--p-steps .bmaf__form > .bmaf__grid > .bmaf-section > .bmaf-section__title::before {
	content: counter(bmafstep);
	position: absolute;
	left: -52px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bmaf-accent);
	color: var(--bmaf-on-accent);
	font-size: .9rem;
	font-weight: 750;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--bmaf-accent) 12%, transparent);
}
@media (max-width: 560px) {
	.bmaf--p-steps .bmaf__form > .bmaf__grid > .bmaf-section { padding-left: 0; }
	.bmaf--p-steps .bmaf__form > .bmaf__grid > .bmaf-section > .bmaf-section__title { padding-left: 46px; }
	.bmaf--p-steps .bmaf__form > .bmaf__grid > .bmaf-section > .bmaf-section__title::before { left: 0; }
}

/* Minimalno: brez podlage, polja s črto, majhni naslovi sekcij. */
.bmaf--p-minimal .bmaf-section__title { color: var(--bmaf-soft); font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.bmaf--p-minimal.bmaf--sections-plain .bmaf-section + .bmaf-section { margin-top: 14px; }
.bmaf--p-minimal .bmaf-rep__row { border: 0; border-top: 1px solid var(--bmaf-line); border-radius: 0; background: none; padding-inline: 0; }
.bmaf--p-minimal .bmaf__submit { border-radius: 99px; }

/* Mehko: obarvana podlaga, bela polja brez obrob, velike zaobljenosti. */
.bmaf--p-soft { --bmaf-card-radius: calc(var(--bmaf-radius) + 12px); }
.bmaf--p-soft .bmaf__form { background: color-mix(in srgb, var(--bmaf-accent) 5%, var(--bmaf-surface)) !important; }
.bmaf--p-soft input:not([type="radio"]):not([type="checkbox"]), .bmaf--p-soft select, .bmaf--p-soft textarea {
	border-color: transparent !important;
	background-color: var(--bmaf-field) !important;
	box-shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 2px 8px -4px rgb(16 24 40 / 10%) !important;
}
.bmaf--p-soft input:focus, .bmaf--p-soft select:focus, .bmaf--p-soft textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmaf-accent) 22%, transparent) !important; }
.bmaf--p-soft.bmaf--sections-line .bmaf-section { border-top-color: color-mix(in srgb, var(--bmaf-accent) 12%, transparent); }
.bmaf--p-soft .bmaf-rep__row { border-color: transparent; background: rgb(255 255 255 / 70%); }
.bmaf--p-soft .bmaf-choices--cards .bmaf-choice { border-color: transparent; box-shadow: 0 1px 2px rgb(16 24 40 / 6%); }

/* Skupina na vrhu obrazca se loči enako kot sekcija. */
.bmaf--sections-line .bmaf__form > .bmaf__grid > .bmaf-rep:not(:first-child) { padding-top: calc(var(--bmaf-gap) + 4px); border-top: 1px solid var(--bmaf-rule); }
.bmaf--sections-card .bmaf__form > .bmaf__grid > .bmaf-rep { padding: clamp(20px, 3.4vw, 32px); border: 1px solid color-mix(in srgb, var(--bmaf-heading) 7%, transparent); border-radius: var(--bmaf-card-radius); background: var(--bmaf-surface); box-shadow: 0 1px 2px rgb(16 24 40 / 4%), 0 8px 24px -16px rgb(16 24 40 / 16%); }
.bmaf--sections-card .bmaf__form > .bmaf__grid > .bmaf-consent, .bmaf--sections-card .bmaf__form > .bmaf__grid > .bmaf-f--consent { padding: 0 4px; }

/* Naslovi v pisavi za naslove teme (Portal → Pisave); besedilo podeduje pisavo besedila. */
.bmaf__title, .bmaf-section__title, .bmaf-rep__title, .bmaf__success-text h2, .bmaf__success-text h3 { font-family: var(--font-heading, inherit); }

/* Povezava v soglasju: jasno vidna, klik ne obkljuka polja. */
.bmaf-choice--consent a { position: relative; z-index: 1; color: var(--bmaf-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bmaf-choice--consent a:hover { text-decoration-thickness: 2px; }
.bmaf-choice--consent a:focus-visible { outline: 2px solid var(--bmaf-accent); outline-offset: 2px; border-radius: 2px; }

/* Predogled za urednike: testna oddaja in poročilo o e-pošti */
.bmaf-note--preview { display: grid; gap: 4px; }
.bmaf-note__test { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .92rem; cursor: pointer; }
.bmaf-note__test input { width: 18px; height: 18px; margin: 0; accent-color: var(--bmaf-accent); }
.bmaf-note__mail { color: #7a5300; font-size: .82rem; }
.bmaf-note__mail a { color: inherit; font-weight: 600; }
.bmaf__testreport { max-width: 560px; margin: 20px auto 0; padding: 14px 16px; border: 1px dashed #d9b45a; border-radius: 10px; background: #fff9e8; color: #5c4300; font-size: .9rem; text-align: left; }
.bmaf__testreport ul { margin: 8px 0 0; padding-left: 0; list-style: none; }
.bmaf__testreport li { margin: 3px 0; }
.bmaf__testreport a { color: inherit; font-weight: 700; }

/* Polje, izpolnjeno iz povezave (npr. izbrana kotizacija): kratek poudarek. */
.bmaf-prefilled .bmaf-choice:has(input:checked), .bmaf-prefilled select, .bmaf-prefilled input:not([type="radio"]):not([type="checkbox"]) { animation: bmaf-prefill 2.4s var(--bmaf-ease); }
@keyframes bmaf-prefill { 0%, 40% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmaf-accent) 22%, transparent); border-radius: var(--bmaf-radius); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .bmaf-prefilled * { animation: none !important; } }


/* ==========================================================================
   Podrobnosti dizajna (Dizajn → Barva in oblika / Podrobnosti)
   ========================================================================== */

.bmaf--bw-thin { --bmaf-bw: 1px; }
.bmaf--bw-bold { --bmaf-bw: 2px; }

/* Gumb: oblika, slog, puščica */
.bmaf--btnshape-square { --bmaf-btn-radius: 0px; }
.bmaf--btnshape-rounded { --bmaf-btn-radius: 10px; }
.bmaf--btnshape-pill { --bmaf-btn-radius: 999px; }
.bmaf--btnstyle-dark { --bmaf-btn-bg: var(--bmaf-inv); --bmaf-btn-fg: #fff; }
.bmaf--btnstyle-outline .bmaf__submit { background: transparent; color: var(--bmaf-btn-bg); box-shadow: inset 0 0 0 2px var(--bmaf-btn-bg); }
.bmaf--btnstyle-outline .bmaf__submit:hover { background: var(--bmaf-btn-hover, var(--bmaf-btn-bg)); color: var(--bmaf-btn-hover-fg, var(--bmaf-btn-fg)); box-shadow: inset 0 0 0 2px var(--bmaf-btn-hover, var(--bmaf-btn-bg)); }
.bmaf--btnicon-arrow .bmaf__submit-text { display: inline-flex; align-items: center; gap: 10px; }
.bmaf--btnicon-arrow .bmaf__submit-text::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s;
}
.bmaf--btnicon-arrow .bmaf__submit:hover .bmaf__submit-text::after { transform: translateX(3px); }
.bmaf--btnicon-arrow .bmaf__submit.is-busy .bmaf__submit-text::after { display: none; }

/* Možnosti v okvirčkih (navpični seznam izbir, soglasja) */
.bmaf--options-boxed .bmaf-choices--stack .bmaf-choice,
.bmaf--options-boxed .bmaf-f--consent > .bmaf-choice {
	padding: 12px 14px;
	border: var(--bmaf-bw) solid var(--bmaf-rule);
	border-radius: var(--bmaf-radius);
	background: var(--bmaf-field);
	transition: border-color .15s, background-color .15s;
}
.bmaf--options-boxed .bmaf-choices--stack { gap: 8px; }
.bmaf--options-boxed .bmaf-choices--stack .bmaf-choice:hover,
.bmaf--options-boxed .bmaf-f--consent > .bmaf-choice:hover { border-color: var(--bmaf-line-strong); }
.bmaf--options-boxed .bmaf-choices--stack .bmaf-choice:has(input:checked),
.bmaf--options-boxed .bmaf-f--consent > .bmaf-choice:has(input:checked) { border-color: var(--bmaf-check); background: color-mix(in srgb, var(--bmaf-check) 7%, var(--bmaf-field)); }

/* Poudarna črta na vrhu kartice */
.bmaf--bar.bmaf--surface-card .bmaf__form,
.bmaf--bar.bmaf--surface-soft .bmaf__form { border-top: 4px solid var(--bmaf-accent); }

/* Oštevilčene sekcije: 01 NASLOV ─────── */
.bmaf--sections-numbered .bmaf__form > .bmaf__grid { counter-reset: bmafsec; }
.bmaf--sections-numbered .bmaf-section__title,
.bmaf--sections-numbered .bmaf__form > .bmaf__grid > .bmaf-rep > .bmaf-rep__head > .bmaf-rep__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--bmaf-heading);
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.bmaf--sections-numbered .bmaf__form > .bmaf__grid > .bmaf-section:not([hidden]) > .bmaf-section__title,
.bmaf--sections-numbered .bmaf__form > .bmaf__grid > .bmaf-rep:not([hidden]) > .bmaf-rep__head > .bmaf-rep__title { counter-increment: bmafsec; }
.bmaf--sections-numbered .bmaf__form > .bmaf__grid > .bmaf-section > .bmaf-section__title::before,
.bmaf--sections-numbered .bmaf__form > .bmaf__grid > .bmaf-rep > .bmaf-rep__head > .bmaf-rep__title::before {
	content: counter(bmafsec, decimal-leading-zero);
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: min(var(--bmaf-radius), 6px);
	background: var(--bmaf-inv);
	color: #fff;
	font-size: 12px;
	letter-spacing: .02em;
}
.bmaf--sections-numbered .bmaf-section:focus-within > .bmaf-section__title::before,
.bmaf--sections-numbered .bmaf-rep:focus-within > .bmaf-rep__head > .bmaf-rep__title::before { background: var(--bmaf-accent); color: var(--bmaf-on-accent); }
.bmaf--sections-numbered .bmaf-section__title::after,
.bmaf--sections-numbered .bmaf__form > .bmaf__grid > .bmaf-rep > .bmaf-rep__head > .bmaf-rep__title::after { content: ""; flex: 1; height: 1px; background: var(--bmaf-rule); }
.bmaf--sections-numbered .bmaf-section > .bmaf__grid { margin-top: 18px; }
.bmaf--sections-numbered .bmaf-rep__head { margin-bottom: 18px; }
.bmaf--sections-numbered .bmaf__form > .bmaf__grid { row-gap: 34px; }
.bmaf--sections-numbered .bmaf-section > .bmaf__grid { row-gap: var(--bmaf-gap); }

/* ---------- Slog »Uredniško« (Akademija): ostri robovi, oštevilčeni razdelki, jasna hierarhija ---------- */
.bmaf--p-editorial { --bmaf-gap: 20px; --bmaf-card-radius: var(--bmaf-radius); }
.bmaf--p-editorial input[type="text"], .bmaf--p-editorial input[type="email"], .bmaf--p-editorial input[type="tel"], .bmaf--p-editorial input[type="url"],
.bmaf--p-editorial input[type="number"], .bmaf--p-editorial input[type="date"], .bmaf--p-editorial input[type="time"], .bmaf--p-editorial select, .bmaf--p-editorial textarea {
	padding: 10px 14px;
	color: var(--bmaf-heading);
	box-shadow: none;
}
.bmaf--p-editorial select { padding-right: 44px; background-position: right 14px center; }
.bmaf--p-editorial input:focus, .bmaf--p-editorial select:focus, .bmaf--p-editorial textarea:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmaf-accent) 11%, transparent); }
.bmaf--p-editorial .bmaf-f__label { margin-bottom: 6px; }
.bmaf--p-editorial .bmaf-req { margin-left: 4px; font-weight: 800; }
.bmaf--p-editorial .bmaf-f__help { color: var(--bmaf-muted); font-size: 12.5px; line-height: 1.45; }
.bmaf--p-editorial .bmaf-f--html { color: var(--bmaf-soft); font-size: 13.5px; line-height: 1.6; }
.bmaf--p-editorial .bmaf-f--html p { margin: 0 0 8px; }
.bmaf--p-editorial .bmaf-f--html a, .bmaf--p-editorial .bmaf-choice a { color: var(--bmaf-link); font-weight: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bmaf--p-editorial .bmaf-choice { gap: 11px; font-size: 14.5px; font-weight: 400; line-height: 1.45; }
.bmaf--p-editorial .bmaf-choice__mark { flex-basis: 19px; width: 19px; height: 19px; margin-top: 1px; border-color: color-mix(in srgb, var(--bmaf-heading) 40%, var(--bmaf-surface)); border-radius: min(var(--bmaf-radius), 4px); }
.bmaf--p-editorial .bmaf-choice input[type="checkbox"] + .bmaf-choice__mark::after { width: 10px; height: 5px; }
.bmaf--p-editorial .bmaf-choice input[type="radio"] + .bmaf-choice__mark::after { width: 7px; height: 7px; }
.bmaf--p-editorial .bmaf-choice:hover .bmaf-choice__mark { border-color: var(--bmaf-heading); }
.bmaf--p-editorial .bmaf-choice input:checked + .bmaf-choice__mark { border-color: var(--bmaf-check); }
.bmaf--p-editorial .bmaf-f__error { font-size: 12.5px; color: var(--bmaf-link); }
.bmaf--p-editorial .bmaf-f__error::before { display: none; }
.bmaf--p-editorial .is-invalid input:not([type="radio"]):not([type="checkbox"]), .bmaf--p-editorial .is-invalid select, .bmaf--p-editorial .is-invalid textarea { border-color: var(--bmaf-accent); box-shadow: none; }
/* Skupina (več udeležencev): vrstice ločene s črtkano črto, gumb s črtkano obrobo */
.bmaf--p-editorial .bmaf-rep__rows { gap: 0; }
.bmaf--p-editorial .bmaf-rep__row { padding: 0; border: 0; border-radius: 0; background: none; }
.bmaf--p-editorial .bmaf-rep__row + .bmaf-rep__row { margin-top: 18px; padding-top: 22px; border-top: 1px dashed var(--bmaf-rule); }
/* Ena sama oseba: brez vrstice »Oseba 1« (pokaže se, ko je oseb več). */
.bmaf--p-editorial .bmaf-rep__row:only-child > .bmaf-rep__rowhead { display: none; }
.bmaf--p-editorial .bmaf-rep__foot { margin-top: 16px; }
.bmaf--p-editorial .bmaf-rep__n { border-radius: min(var(--bmaf-radius), 6px); }
.bmaf--p-editorial .bmaf-rep__add {
	min-height: 0;
	padding: 8px 14px;
	border: 1px dashed var(--bmaf-line-strong);
	border-radius: var(--bmaf-radius);
	background: transparent;
	color: var(--bmaf-heading);
	font-size: 13px;
	font-weight: 650;
}
.bmaf--p-editorial .bmaf-rep__add:hover { border-style: solid; border-color: var(--bmaf-accent); background: var(--bmaf-tint); color: var(--bmaf-link); }
.bmaf--p-editorial .bmaf-rep__remove { border-radius: var(--bmaf-radius); }
/* Oddaja: ločena s črto, širok gumb */
.bmaf--p-editorial .bmaf__actions { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--bmaf-rule); }
.bmaf--p-editorial .bmaf__submit { min-width: 220px; min-height: 54px; padding: 0 34px; font-size: 16px; font-weight: 750; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--bmaf-btn-bg) 70%, transparent); }
.bmaf--p-editorial .bmaf__alert { border: 0; border-left: 3px solid var(--bmaf-accent); border-radius: 0 var(--bmaf-radius) var(--bmaf-radius) 0; font-size: 14.5px; font-weight: 500; }
.bmaf--p-editorial .bmaf__success {
	position: relative;
	padding: 22px 22px 22px 64px;
	border: 1px solid color-mix(in srgb, var(--bmaf-success) 30%, var(--bmaf-surface));
	border-radius: var(--bmaf-radius);
	background: color-mix(in srgb, var(--bmaf-success) 9%, var(--bmaf-surface));
	text-align: left;
	box-shadow: none;
}
.bmaf--p-editorial .bmaf__success-icon { position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; margin: 0; background: var(--bmaf-success); }
.bmaf--p-editorial .bmaf__success-icon::after { top: 9px; left: 8px; width: 12px; height: 6px; border-color: #fff; border-width: 0 0 2.5px 2.5px; }
.bmaf--p-editorial .bmaf__success-text { max-width: none; margin: 0; color: color-mix(in srgb, var(--bmaf-success) 62%, var(--bmaf-heading)); font-size: 16px; line-height: 1.55; }
@media (max-width: 600px) {
	.bmaf--p-editorial { --bmaf-h: 50px; --bmaf-fs: 16px; }
	.bmaf--p-editorial .bmaf__submit { width: 100%; }
}

/* ---------- Slog »Izrazito«: debele temne obrobe, ostri robovi, trda senca ---------- */
.bmaf--p-bold { --bmaf-line: var(--bmaf-heading); --bmaf-line-strong: var(--bmaf-heading); --bmaf-card-radius: var(--bmaf-radius); }
.bmaf--p-bold input:not([type="radio"]):not([type="checkbox"]), .bmaf--p-bold select, .bmaf--p-bold textarea { box-shadow: none; font-weight: 500; }
.bmaf--p-bold input:not([type="radio"]):not([type="checkbox"]):focus, .bmaf--p-bold select:focus, .bmaf--p-bold textarea:focus { border-color: var(--bmaf-heading); box-shadow: 4px 4px 0 0 var(--bmaf-accent); }
.bmaf--p-bold .bmaf-f__label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bmaf--p-bold .bmaf-section__title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.bmaf--p-bold.bmaf--surface-card .bmaf__form { border: 2px solid var(--bmaf-heading); box-shadow: 8px 8px 0 0 var(--bmaf-heading); }
.bmaf--p-bold.bmaf--sections-line .bmaf-section { border-top: 2px solid var(--bmaf-heading); }
.bmaf--p-bold .bmaf-choice__mark { border-width: 2px; border-color: var(--bmaf-heading); border-radius: 0; }
.bmaf--p-bold .bmaf-choice input[type="radio"] + .bmaf-choice__mark { border-radius: 50%; }
.bmaf--p-bold .bmaf-rep__row { border: 2px solid var(--bmaf-heading); border-radius: var(--bmaf-radius); background: none; }
.bmaf--p-bold .bmaf-rep__add { border: 2px solid var(--bmaf-heading); border-radius: var(--bmaf-btn-radius); color: var(--bmaf-heading); }
.bmaf--p-bold .bmaf__submit { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 4px 4px 0 0 var(--bmaf-heading); }
.bmaf--p-bold .bmaf__submit:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 0 var(--bmaf-heading); }
.bmaf--p-bold.bmaf--btnstyle-dark .bmaf__submit { box-shadow: 4px 4px 0 0 var(--bmaf-accent); }

/* Možnost »Drugo« s prostim vnosom */
.bmaf-other { display: grid; gap: 8px; }
.bmaf-choices--inline .bmaf-other { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bmaf .bmaf-other__text { min-height: calc(var(--bmaf-h) - 6px); max-width: 420px; }

/* Preklopnik jezika obrazca */
.bmaf__langs { display: flex; justify-content: flex-end; gap: 2px; margin: 0 0 14px; }
.bmaf__lang { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 34px; padding: 4px 14px; border: var(--bmaf-bw) solid var(--bmaf-line); border-radius: var(--bmaf-radius); background: var(--bmaf-field); color: var(--bmaf-soft); font-size: .85rem; font-weight: 650; text-decoration: none; transition: border-color .15s, color .15s, background-color .15s; }
.bmaf__lang + .bmaf__lang { margin-left: -1px; }
.bmaf__lang abbr { border: 0; text-decoration: none; cursor: inherit; }
.bmaf__lang:hover { border-color: var(--bmaf-line-strong); color: var(--bmaf-heading); z-index: 1; }
.bmaf__lang.is-current { border-color: var(--bmaf-accent); background: var(--bmaf-tint); color: var(--bmaf-link); z-index: 2; }
.bmaf__lang:focus-visible { outline: 3px solid color-mix(in srgb, var(--bmaf-accent) 35%, transparent); outline-offset: 2px; z-index: 3; }

/* Lastna barva ozadja obrazca (Dizajn → Barve → Ozadje obrazca): podlaga dobi barvo in notranji rob,
   polja ostanejo bela, razen če je nastavljeno tudi ozadje polj. */
.bmaf--has-bg { --bmaf-field: var(--bmaf-t-field, #fff); }
.bmaf.bmaf--has-bg:not(.bmaf--sections-card) .bmaf__form,
.bmaf.bmaf--has-bg:not(.bmaf--sections-card) .bmaf__success,
.bmaf.bmaf--has-bg:not(.bmaf--sections-card) .bmaf__closed {
	padding: clamp(20px, 4vw, 44px);
	border-radius: var(--bmaf-card-radius);
	background: var(--bmaf-surface) !important;
}

/* Besedilo v okvirčkih izbir je na ozadju polja, ne obrazca. */
.bmaf-choices--cards .bmaf-choice, .bmaf--options-boxed .bmaf-choices--stack .bmaf-choice, .bmaf--options-boxed .bmaf-f--consent > .bmaf-choice { color: var(--bmaf-field-text, var(--bmaf-text)); }
.bmaf--p-editorial input[type="text"], .bmaf--p-editorial input[type="email"], .bmaf--p-editorial input[type="tel"], .bmaf--p-editorial input[type="url"],
.bmaf--p-editorial input[type="number"], .bmaf--p-editorial input[type="date"], .bmaf--p-editorial input[type="time"], .bmaf--p-editorial select, .bmaf--p-editorial textarea { color: var(--bmaf-field-text, var(--bmaf-heading)); }
/* Naslov nad obrazcem in preklopnik jezika sta zunaj podlage obrazca: barve strani, ne obrazca. */
.bmaf .bmaf__title { color: var(--bmaf-t-heading, var(--c-dark, inherit)); }
.bmaf__langs { color: var(--bmaf-t-text, var(--c-text, inherit)); }
.bmaf__lang { border-color: color-mix(in srgb, currentColor 22%, transparent); background: transparent; color: inherit; opacity: .78; }
.bmaf__lang:hover { border-color: color-mix(in srgb, currentColor 55%, transparent); color: inherit; opacity: 1; }
.bmaf__lang.is-current { border-color: var(--bmaf-accent); background: color-mix(in srgb, var(--bmaf-accent) 9%, transparent); color: var(--bmaf-accent); opacity: 1; }
