/**
 * Styl przycisków repeatera formularza aplikacyjnego.
 * Kolory i typografia dziedziczą po motywie/Kadence.
 */
.impeks-repeater-controls {
	margin: 0.25rem 0 1.5rem;
}

.impeks-repeater-add,
.impeks-repeater-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	box-sizing: border-box;
	min-height: 40px;
	margin: 0;
	padding: 0.45em 1.1em;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: var(--global-palette1, #2b38d2);
	box-shadow: none;
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.impeks-repeater-add::before {
	content: "+";
	font-size: 1.15em;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.impeks-repeater-add:hover,
.impeks-repeater-add:focus-visible {
	border-color: var(--global-palette1, #2b38d2);
	background: var(--global-palette1, #2b38d2);
	color: #fff;
	box-shadow: none;
	text-decoration: none;
}

.impeks-repeater-add:focus-visible,
.impeks-repeater-remove:focus-visible {
	outline: 2px solid var(--global-palette1, #2b38d2);
	outline-offset: 3px;
}

.impeks-repeater-item {
	position: relative;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.impeks-repeater-remove {
	min-height: 36px;
	margin-top: 0.6rem;
	padding: 0.35em 0.9em;
	border-color: #b32d2e;
	color: #b32d2e;
	font-size: 0.9em;
}

.impeks-repeater-remove:hover,
.impeks-repeater-remove:focus-visible {
	border-color: #b32d2e;
	background: #b32d2e;
	color: #fff;
	box-shadow: none;
	text-decoration: none;
}

.impeks-repeater-remove:focus-visible {
	outline-color: #b32d2e;
}

.impeks-repeater-remove::before {
	content: "\00d7";
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

@media (max-width: 767px) {
	.impeks-repeater-controls {
		margin-bottom: 1.25rem;
	}

	.impeks-repeater-item {
		margin-top: 1rem;
		padding-top: 1rem;
	}
}
