.cgf {
	margin-block: 1.5em;
	max-width: 760px;
	scroll-margin-top: 6rem;
}
.cgf__form {
	display: grid;
	gap: 1rem;
}
.cgf__siatka {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.cgf__pole {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}
.cgf__pole label {
	font-weight: 600;
	font-size: 0.9375rem;
}
.cgf__opc {
	font-weight: 400;
	opacity: 0.7;
}
.cgf input[type="text"],
.cgf input[type="email"],
.cgf input[type="tel"],
.cgf select,
.cgf textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 1px solid rgba(127, 127, 127, 0.45);
	border-radius: 8px;
	padding: 0.7rem 0.85rem;
	line-height: 1.4;
}
.cgf select {
	background-color: transparent;
}
.cgf select option {
	color: #111;
	background: #fff;
}
.cgf textarea {
	resize: vertical;
	min-height: 9rem;
}
.cgf input:focus-visible,
.cgf select:focus-visible,
.cgf textarea:focus-visible,
.cgf__przycisk:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.cgf__zgoda {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.6rem;
}
.cgf__zgoda input {
	margin-top: 0.25rem;
	flex: none;
	width: 1.05rem;
	height: 1.05rem;
}
.cgf__zgoda label {
	font-weight: 400;
	font-size: 0.8125rem;
	line-height: 1.5;
	opacity: 0.85;
}
.cgf__akcje {
	margin: 0;
}
.cgf__przycisk {
	cursor: pointer;
}
.cgf__przycisk[disabled] {
	opacity: 0.6;
	cursor: wait;
}
.cgf__pole--ukryte {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.cgf__komunikat {
	padding: 0.9rem 1.1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	line-height: 1.5;
}
.cgf__komunikat--ok {
	background: rgba(12, 163, 12, 0.1);
	border: 1px solid rgba(12, 163, 12, 0.45);
}
.cgf__komunikat--blad {
	background: rgba(208, 59, 59, 0.08);
	border: 1px solid rgba(208, 59, 59, 0.45);
}

@media (max-width: 560px) {
	.cgf__siatka {
		grid-template-columns: 1fr;
	}
}
