/* Formularz rejestracji partnera. Tokeny z motywu, z zapasem gdyby wtyczka trafiła gdzie indziej. */
.szb {
	--szb-ink: #0B0E12;
	--szb-accent: #1668FF;
	--szb-line: #DDE3E9;
	--szb-muted: #6B7787;
	--szb-page: #F4F6F8;

	max-width: 760px;
	margin: 28px 0;
	padding: 26px;
	background: #fff;
	border: 1px solid #E8ECF0;
	border-radius: 16px;
	font-size: 15.5px;
}

.szb__title { margin: 0 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.szb__hint { margin: 0 0 20px; font-size: 14px; color: var(--szb-muted); }
.szb-req { color: #C0392B; font-weight: 700; }

/* przełącznik konsument / firma */
.szb-switch { display: flex; gap: 4px; padding: 5px; background: #F1F4F7; border-radius: 12px; margin-bottom: 22px; }
.szb-switch__opt { flex: 1 1 0; position: relative; }
.szb-switch__opt input { position: absolute; opacity: 0; pointer-events: none; }

.szb-switch__opt span {
	display: block;
	padding: 11px 10px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--szb-muted);
	border-radius: 9px;
	cursor: pointer;
}

.szb-switch__opt input:checked + span { background: #fff; color: var(--szb-ink); box-shadow: 0 1px 3px rgba(11, 14, 18, .16); }
.szb-switch__opt input:focus-visible + span { outline: 2px solid var(--szb-accent); outline-offset: 2px; }

/* siatka pól */
.szb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 620px) { .szb-grid { grid-template-columns: minmax(0, 1fr); } }
.szb-field--wide { grid-column: 1 / -1; }

.szb-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.szb-field label { font-size: 14px; font-weight: 600; color: var(--szb-ink); }
.szb-note { font-size: 12.5px; color: var(--szb-muted); }

.szb input[type="text"],
.szb input[type="email"],
.szb input[type="tel"],
.szb input[type="password"],
.szb select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	font: inherit;
	color: var(--szb-ink);
	background: #fff;
	border: 1px solid var(--szb-line);
	border-radius: 11px;
}

.szb input:focus, .szb select:focus {
	outline: 3px solid rgba(22, 104, 255, .22);
	border-color: var(--szb-accent);
}

.szb input:invalid:not(:placeholder-shown) { border-color: #E0B4AE; }

/* pola firmowe chowamy przy wyborze „Konsument" */
.szb.is-konsument .szb-firma { display: none; }

.szb-consent { margin: 22px 0 0; font-size: 14.5px; line-height: 1.55; }
.szb-consent label { display: flex; gap: 10px; align-items: flex-start; }
.szb-consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.szb-consent a { color: var(--szb-accent); }

.szb-submit {
	margin-top: 22px;
	min-height: 54px;
	padding: 15px 28px;
	font: inherit;
	font-size: 16.5px;
	font-weight: 700;
	color: #fff;
	background: var(--szb-accent);
	border: 0;
	border-radius: 13px;
	cursor: pointer;
}

.szb-submit:hover { background: #0B4FD1; }

.szb-foot { margin: 14px 0 0; font-size: 13.5px; color: var(--szb-muted); }

/* pułapka na boty */
.szb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* komunikaty */
.szb-errors {
	margin: 0 0 20px;
	padding: 14px 18px;
	background: #FDF0EE;
	border-left: 3px solid #C0392B;
	border-radius: 0 12px 12px 0;
	font-size: 15px;
}

.szb-errors ul { margin: 8px 0 0; padding-left: 20px; }

.szb-info {
	max-width: 760px;
	margin: 28px 0;
	padding: 22px 24px;
	background: #F1FAF5;
	border: 1px solid #BFE3CF;
	border-radius: 16px;
	font-size: 15.5px;
}

.szb-info h3 { margin: 0 0 8px; font-size: 20px; color: #14603F; }
.szb-info p { margin: 0 0 10px; }
.szb-info p:last-child { margin-bottom: 0; }

/* cena partnerska w sklepie */
.szb-cena del { color: #8B97A4; font-weight: 400; }
.szb-cena ins { text-decoration: none; }
.szb-cena__tag {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #1E9E68;
}
