/* ==========================================================================
   PROFILIO – Registration Wizard
   Wszystko z-namespacowane pod #profilio-registration-wizard / .prw-root
   ========================================================================== */

#profilio-registration-wizard,
#profilio-registration-wizard * {
	box-sizing: border-box;
}

/* Root + typografia
   -------------------------------------------------------------------------- */

#profilio-registration-wizard.prw-root {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	color: #0c1633;
	font-size: 15px;
	line-height: 1.5;
	margin: 40px auto 80px;
	padding: 0 16px;
}

#profilio-registration-wizard .prw-inner {
	max-width: 1180px;
	margin: 0 auto;
}

/* Nadpisanie globalnych nagłówków tylko wewnątrz kreatora */

#profilio-registration-wizard h1,
#profilio-registration-wizard h2,
#profilio-registration-wizard h3,
#profilio-registration-wizard h4 {
	margin: 0;
	font-weight: 600;
	color: #0c1633;
}

/* Formularz */

#profilio-registration-wizard .prw-form {
	margin: 0;
}

/* Karty / layout ogólny
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-card-gradient,
#profilio-registration-wizard .prw-card-plain,
#profilio-registration-wizard .prw-card {
	border-radius: 32px;
}

/* Globalne karty (step content) */

#profilio-registration-wizard .prw-card {
	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 18px 45px rgba(15, 43, 87, 0.08);
	padding: 28px 32px 32px;
}

/* Sekcje w kartach */

#profilio-registration-wizard .prw-section {
	margin-bottom: 10px;
}

#profilio-registration-wizard .prw-section:last-child {
	margin-bottom: 0;
}

/* Header (gradientowa belka u góry)
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-header {
	position: relative;
	margin-bottom: 16px;
	padding: 28px 40px 32px;
	background: linear-gradient(95deg, #00a4ff 0%, #00c96d 55%, #9be330 100%);
	color: #ffffff;
	border-radius: 32px;
	box-shadow: 0 18px 40px rgba(0, 132, 255, 0.29);
	overflow: visible;
}

#profilio-registration-wizard .prw-header-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

#profilio-registration-wizard .prw-header-left {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

/* Okrąg z numerem kroku */

#profilio-registration-wizard .prw-step-pill {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 20px;
	color: #ffffff;
	flex-shrink: 0;
}

#profilio-registration-wizard .prw-step-pill-number {
	display: inline-block;
}

/* Teksty w headerze */

#profilio-registration-wizard .prw-header-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 650px;
}

#profilio-registration-wizard .prw-step-position {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.9;
	display: flex;
	gap: 4px;
	align-items: baseline;
}

#profilio-registration-wizard .prw-step-position-label {
	font-weight: 500;
}

#profilio-registration-wizard .prw-step-title {
	font-size: 30px;
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
	margin-top: 4px;
}

#profilio-registration-wizard .prw-step-subtitle {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.6;
	max-width: 620px;
	color: rgba(255, 255, 255, 0.95);
}

/* Pill "Co mogę tu zrobić" */

#profilio-registration-wizard .prw-help-pill {
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	border: none;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	backdrop-filter: blur(8px);
}

#profilio-registration-wizard .prw-help-icon {
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #00a173;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

#profilio-registration-wizard .prw-help-label {
	white-space: nowrap;
}

/* Popover "Co mogę tu zrobić" */

#profilio-registration-wizard .prw-help-popover {
	position: absolute;
	left: 40px;
	bottom: 24px;
	transform: translateY(100%);
	max-width: 540px;
	z-index: 20;
}

#profilio-registration-wizard .prw-help-popover-inner {
	background: #ffffff;
	color: #0c1633;
	border-radius: 18px;
	padding: 16px 18px;
	box-shadow: 0 14px 35px rgba(3, 21, 54, 0.35);
	font-size: 13px;
	line-height: 1.55;
}

#profilio-registration-wizard .prw-help-text {
	margin: 0 0 6px;
}

#profilio-registration-wizard .prw-help-text:last-child {
	margin-bottom: 0;
}

/* X (zamykanie headera) */

#profilio-registration-wizard .prw-header-close {
	border-radius: 999px;
	border: none;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
	font-size: 18px;
	cursor: pointer;
	flex-shrink: 0;
}

#profilio-registration-wizard .prw-header-close:hover {
	background: rgba(255, 255, 255, 0.32);
}

/* Progress bar
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-progress {
	margin-top: 18px;
	padding: 18px 24px 20px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 12px 28px rgba(10, 33, 73, 0.06);
}

#profilio-registration-wizard .prw-progress-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

#profilio-registration-wizard .prw-progress-title {
	font-size: 14px;
	font-weight: 600;
	color: #1e315a;
}

#profilio-registration-wizard .prw-progress-percent {
	font-size: 13px;
	color: #4f647f;
}

#profilio-registration-wizard .prw-progress-bar {
	position: relative;
	height: 4px;
	border-radius: 999px;
	background: #e3edf9;
	overflow: hidden;
	margin-bottom: 12px;
}

#profilio-registration-wizard .prw-progress-bar-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 33%;
	border-radius: inherit;
	background: linear-gradient(90deg, #0ca5ff, #10c679);
	transition: width 0.25s ease-out;
}

/* Progress – kółka pod belką */

#profilio-registration-wizard .prw-progress-steps {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
}

#profilio-registration-wizard .prw-progress-step {
	text-align: center;
	flex: 1;
	font-size: 13px;
	color: #8a9bb8;
}

#profilio-registration-wizard .prw-progress-circle {
	width: 24px;
	height: 24px;
	margin: 0 auto 6px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #c8d9f2;
	background: #ffffff;
	color: #7a8fb2;
	font-size: 12px;
	font-weight: 600;
}

#profilio-registration-wizard .prw-progress-step.is-active .prw-progress-circle,
#profilio-registration-wizard
	.prw-progress-step.prw-progress-step--active
	.prw-progress-circle {
	border-color: #11c271;
	background: #11c271;
	color: #ffffff;
}

#profilio-registration-wizard
	.prw-progress-step.prw-progress-step--done
	.prw-progress-circle {
	border-color: #11c271;
	background: #ffffff;
	color: #11c271;
}

#profilio-registration-wizard .prw-progress-step.is-active .prw-progress-label,
#profilio-registration-wizard
	.prw-progress-step.prw-progress-step--active
	.prw-progress-label {
	color: #233a63;
	font-weight: 600;
}

/* Główna siatka: lewa/prawa kolumna
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-main-layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(260px, 1.6fr);
	gap: 24px;
	margin-top: 24px;
	align-items: flex-start;
}

/* Placeholder AI po prawej */

#profilio-registration-wizard .prw-card-placeholder {
	background: #ffffff;
	border-radius: 24px;
	padding: 24px 22px;
	box-shadow: 0 10px 26px rgba(9, 28, 66, 0.06);
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

#profilio-registration-wizard .prw-placeholder-icon {
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #e4f5ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

#profilio-registration-wizard .prw-placeholder-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 4px;
}

#profilio-registration-wizard .prw-placeholder-description {
	margin: 0;
	font-size: 13px;
	color: #61728f;
}

/* Kroki (sekcje .prw-step)
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-step {
	display: none;
}

#profilio-registration-wizard .prw-step.is-active {
	display: block;
}

/* Sekcje – nagłówki */

#profilio-registration-wizard .prw-section-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
}

#profilio-registration-wizard .prw-section-header-main {
	flex: 1;
}

#profilio-registration-wizard .prw-section-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 4px;
}

#profilio-registration-wizard .prw-section-subtitle {
	margin: 0;
	font-size: 13px;
	color: #6a7a95;
}

/* Małe ikonki info ("i" / "?") */

#profilio-registration-wizard .prw-info-icon-btn {
	border-radius: 999px;
	width: 20px;
	height: 20px;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #edf3ff;
	color: #4a6ddc;
	font-size: 14px;
	cursor: pointer;
	flex-shrink: 0;
}

#profilio-registration-wizard .prw-info-icon {
	font-weight: 600;
}

/* Pola formularza
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-field {
	 
}

#profilio-registration-wizard .prw-field-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 6px;
	color: #1c2640;
}

#profilio-registration-wizard .prw-field-required {
	color: #e84855;
	margin-left: 2px;
}

#profilio-registration-wizard .prw-input-wrapper,
#profilio-registration-wizard .prw-select-wrapper {
	position: relative;
}

#profilio-registration-wizard .prw-input,
#profilio-registration-wizard .prw-select,
#profilio-registration-wizard .prw-input-dob-display {
	width: 100%;
	border-radius: 14px;
	border: 1px solid #d5e2f4;
	background: #f8fbff;
	padding: 10px 14px;
	font-size: 14px;
	color: #15213b;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

#profilio-registration-wizard .prw-input::placeholder {
	color: #98a7c1;
}

#profilio-registration-wizard .prw-select {
	appearance: none;
	padding-right: 34px;
}

/* Strzałka w selectach */

#profilio-registration-wizard .prw-select-arrow {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	font-size: 11px;
	color: #7c8fb2;
}

/* Focus / valid / invalid */

#profilio-registration-wizard
	.prw-input:focus:not(.is-invalid),
#profilio-registration-wizard
	.prw-select:focus:not(.is-invalid),
#profilio-registration-wizard
	.prw-input-dob-display:focus:not(.is-invalid) {
	border-color: #2c9dff;
	box-shadow: 0 0 0 1px rgba(44, 157, 255, 0.16);
	background: #ffffff;
}

#profilio-registration-wizard .prw-input.is-valid,
#profilio-registration-wizard .prw-select.is-valid {
	border-color: #1bb36b;
	background: #f4fff8;
}

#profilio-registration-wizard .prw-input.is-invalid,
#profilio-registration-wizard .prw-select.is-invalid {
	border-color: #e84855;
	background: #fff5f5;
}

/* Podpowiedź i błąd pod polem */

#profilio-registration-wizard .prw-field-hint {
	margin: 4px 0 0;
	font-size: 12px;
	color: #7b8dad;
}

#profilio-registration-wizard .prw-field-error {
	min-height: 16px;
	margin-top: 4px;
	font-size: 12px;
	color: #e84855;
}

/* Dwie kolumny */

#profilio-registration-wizard .prw-two-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

#profilio-registration-wizard .prw-gap-md {
	gap: 18px;
}

/* Specyficzne dla kroku 1
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-step1-card {
	padding-top: 22px;
}

/* Select kraju – pseudo custom dropdown */

#profilio-registration-wizard .prw-country-select-wrapper {
	position: relative;
	max-width: 260px;
}

#profilio-registration-wizard .prw-select-country {
	position: relative;
	z-index: 2;
	background: transparent;
	color: transparent; /* ukrywamy tekst w samym select */
}

#profilio-registration-wizard .prw-country-selected-visual {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border-radius: 14px;
	background: #f8fbff;
	border: 1px solid #d5e2f4;
	display: flex;
	align-items: center;
	padding: 10px 14px;
	gap: 10px;
	pointer-events: none;
	color: #15213b;
}

#profilio-registration-wizard .prw-country-flag-placeholder {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #dde7f8;
}

#profilio-registration-wizard .prw-country-name-placeholder {
	font-size: 14px;
}

#profilio-registration-wizard .prw-country-arrow {
	margin-left: auto;
	font-size: 11px;
	color: #7c8fb2;
}

/* E-mail + przycisk */

#profilio-registration-wizard .prw-email-row {
	display: grid;
	grid-template-columns: minmax(0, 3fr) auto;
	gap: 18px;
	align-items: flex-end;
}

/* Badge "Zweryfikowano" */

#profilio-registration-wizard .prw-email-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #11c271;
	color: #ffffff;
	font-size: 12px;
}

#profilio-registration-wizard .prw-email-verified-icon {
	font-size: 14px;
}

/* OTP panel */

#profilio-registration-wizard .prw-otp-panel {
	margin-top: 18px;
	padding: 16px 18px 14px;
	border-radius: 18px;
	background: #f6fbff;
	border: 1px dashed #bcd5f6;
}

#profilio-registration-wizard .prw-otp-info {
	margin: 0 0 10px;
	font-size: 13px;
	color: #3a4b6a;
}

#profilio-registration-wizard .prw-otp-input-row {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

#profilio-registration-wizard .prw-otp-input {
	width: 38px;
	height: 46px;
	border-radius: 12px;
	border: 1px solid #cddcf2;
	background: #ffffff;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
}

#profilio-registration-wizard .prw-otp-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	color: #6b7ea0;
}

#profilio-registration-wizard .prw-otp-timer-value {
	font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
		"Courier New", monospace;
	color: #2945a5;
	font-weight: 600;
}

/* Krok 2 – layout
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-step2-card {
	padding-top: 24px;
}

#profilio-registration-wizard .prw-step2-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

/* Banner programu partnerskiego */

#profilio-registration-wizard .prw-partner-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
	margin-bottom: 18px;
	border-radius: 18px;
	background: linear-gradient(90deg, #f4fff6, #e2ffe9);
	border: 1px solid #b9f1c9;
}

#profilio-registration-wizard .prw-partner-banner-icon {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #1bb36b;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
}

#profilio-registration-wizard .prw-partner-banner-title {
	font-size: 14px;
	font-weight: 600;
}

#profilio-registration-wizard .prw-partner-banner-subtitle {
	font-size: 13px;
	color: #4b6e4e;
}

/* Data urodzenia – overlay */

#profilio-registration-wizard .prw-input-dob-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
}

#profilio-registration-wizard .prw-input-dob-display {
	background: #f8fbff;
	cursor: pointer;
}

#profilio-registration-wizard .prw-btn-dob-picker {
	white-space: nowrap;
}

/* Badge wieku */

#profilio-registration-wizard .prw-dob-age-badge {
	margin-top: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
}

#profilio-registration-wizard
	.prw-dob-age-badge.prw-dob-age-badge--ok {
	background: #e4fff1;
	color: #157a4a;
}

#profilio-registration-wizard
	.prw-dob-age-badge.prw-dob-age-badge--too-young {
	background: #ffe9eb;
	color: #b5303c;
}

/* Overlay wyboru daty */

#profilio-registration-wizard .prw-dob-overlay {
	position: fixed;
	inset: 0;
	background: rgba(6, 21, 54, 0.45);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

#profilio-registration-wizard .prw-dob-overlay-inner {
	background: #ffffff;
	border-radius: 20px;
	padding: 18px 20px 18px;
	width: min(480px, 100% - 32px);
	max-height: 80vh;
	display: flex;
	flex-direction: column;
}

#profilio-registration-wizard .prw-dob-overlay-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

#profilio-registration-wizard .prw-dob-overlay-title {
	font-weight: 600;
	font-size: 15px;
}

#profilio-registration-wizard .prw-dob-overlay-close {
	border: none;
	border-radius: 999px;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eff2fb;
	font-size: 16px;
	cursor: pointer;
}

#profilio-registration-wizard .prw-dob-overlay-body {
	flex: 1;
	overflow: auto;
	padding-top: 6px;
}

/* Pigułki z latami/miesiącami/dniami */

#profilio-registration-wizard .prw-dob-step {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
	gap: 10px;
}

#profilio-registration-wizard .prw-dob-pill {
	border-radius: 999px;
	border: 1px solid #d2def1;
	padding: 7px 10px;
	font-size: 13px;
	background: #f8fbff;
	cursor: pointer;
}

#profilio-registration-wizard .prw-dob-pill.is-active {
	border-color: #1f96ff;
	background: #ecf5ff;
	color: #124a9e;
}

#profilio-registration-wizard .prw-dob-pill.is-disabled {
	opacity: 0.35;
	cursor: default;
}

/* Hasło + zasady */

#profilio-registration-wizard .prw-input-password-wrapper {
	display: flex;
	align-items: center;
}

#profilio-registration-wizard .prw-password-toggle {
	margin-left: 6px;
	border-radius: 999px;
	border: none;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #edf3ff;
	cursor: pointer;
}

#profilio-registration-wizard .prw-password-rules {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 16px;
	background: #f7fbff;
	border: 1px dashed #c8d9f3;
	font-size: 12px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
}

#profilio-registration-wizard .prw-password-rule {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #6a7a95;
}

#profilio-registration-wizard .prw-password-rule-icon {
	font-size: 10px;
	width: 16px;
	text-align: center;
}

#profilio-registration-wizard .prw-password-rule.is-ok {
	color: #167c4c;
}

#profilio-registration-wizard .prw-password-rule.is-ok .prw-password-rule-icon {
	content: "●";
}

/* Login preview */

#profilio-registration-wizard .prw-login-preview-row {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 16px;
	background: #f8fbff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 12px;
	color: #647494;
}

#profilio-registration-wizard .prw-login-preview-pill {
	border-radius: 999px;
	padding: 4px 10px;
	background: #ffffff;
	border: 1px solid #dbe6f7;
	font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
		"Courier New", monospace;
	font-size: 12px;
}

/* Referral + portfel */

#profilio-registration-wizard .prw-section-title-with-icon {
	display: flex;
	align-items: center;
	gap: 8px;
}

#profilio-registration-wizard .prw-section-icon-circle {
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: #f6fff6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

#profilio-registration-wizard .prw-wallet-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f5f9ff;
	font-size: 13px;
	color: #425676;
}

#profilio-registration-wizard .prw-wallet-value {
	font-weight: 600;
	color: #1a8248;
}

#profilio-registration-wizard .prw-referral-row {
	display: grid;
	grid-template-columns: minmax(0, 3fr) auto;
	gap: 16px;
	align-items: flex-end;
}

#profilio-registration-wizard .prw-referral-result {
	margin-top: 12px;
}

#profilio-registration-wizard .prw-referral-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 16px;
	background: #f7fffb;
	border: 1px solid #bfead0;
	font-size: 13px;
}

#profilio-registration-wizard .prw-referral-avatar {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #1bb36b;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: 600;
}

#profilio-registration-wizard .prw-referral-badge {
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #11c271;
	color: #ffffff;
	font-size: 11px;
}

#profilio-registration-wizard .prw-btn-icon.prw-btn-danger {
	background: #ffedf0;
	color: #c9374a;
}

/* Krok 3 – zgody
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-step3-card {
	padding-top: 24px;
}

/* Górna belka: warunki + portfel + accept all */

#profilio-registration-wizard .prw-section-header-terms {
	align-items: center;
}

#profilio-registration-wizard .prw-section-header-side {
	display: flex;
	align-items: center;
	gap: 10px;
}

#profilio-registration-wizard .prw-wallet-pill-small {
	padding: 4px 8px;
	font-size: 12px;
}

/* Zaakceptuj wszystkie zgody */

#profilio-registration-wizard .prw-accept-all-row {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

#profilio-registration-wizard .prw-btn-accept-all {
	padding-inline: 16px;
	height: 40px;
	border-radius: 999px;
	background: #11c271;
	color: #ffffff;
	border: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

#profilio-registration-wizard .prw-voucher-badge {
	padding: 4px 12px;
	border-radius: 999px;
	background: #f2fff6;
	color: #1a8248;
	font-size: 13px;
	font-weight: 500;
}

/* Bloki zgód */

#profilio-registration-wizard .prw-consents-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-top: 22px;
	margin-bottom: 10px;
}

#profilio-registration-wizard .prw-consents-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 4px;
}

#profilio-registration-wizard .prw-consents-subtitle {
	margin: 0;
	font-size: 13px;
	color: #6a7a95;
}

#profilio-registration-wizard .prw-consents-header-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

/* Checkboxy – globalnie dla kreatora */

#profilio-registration-wizard .prw-checkbox {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	border: 2px solid #c6d5f0;
	background: #ffffff;
	display: inline-block;
	position: relative;
	vertical-align: middle;
	margin: 0 8px 0 0;
	cursor: pointer;
}

#profilio-registration-wizard .prw-checkbox:checked {
	border-color: #11c271;
	background: #11c271;
}

#profilio-registration-wizard .prw-checkbox:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 6px;
	height: 10px;
	border-radius: 1px;
	border: 2px solid #ffffff;
	border-top: 0;
	border-left: 0;
	transform: rotate(45deg);
}

/* Lista zgód */

#profilio-registration-wizard .prw-consents-list {
	margin-top: 10px;
	border-radius: 22px;
	background: #f7fbff;
	border: 1px solid #dae6f7;
	overflow: hidden;
}

#profilio-registration-wizard .prw-consent-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #e1ecfb;
	font-size: 13px;
}

#profilio-registration-wizard .prw-consent-item:last-child {
	border-bottom: none;
}

#profilio-registration-wizard .prw-consent-item-required {
	background: #f9fcff;
}

#profilio-registration-wizard .prw-consent-label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	cursor: pointer;
}

#profilio-registration-wizard .prw-consent-text {
	color: #364566;
}

#profilio-registration-wizard .prw-consent-info-btn {
	margin-left: 10px;
	border-radius: 999px;
	border: none;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #edf3ff;
	color: #4a6ddc;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

/* Select all */

#profilio-registration-wizard .prw-consents-select-all {
	font-size: 12px;
	color: #4c607f;
	display: flex;
	align-items: center;
}

#profilio-registration-wizard .prw-checkbox-label {
	cursor: pointer;
}

/* Programy partnerskie */

#profilio-registration-wizard .prw-consent-item-program {
	border-radius: 18px;
	border: 1px solid #dae6f7;
	background: #f7fbff;
}

#profilio-registration-wizard .prw-consent-program-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: 16px;
}

#profilio-registration-wizard .prw-consent-link {
	font-size: 13px;
	color: #2955d4;
	text-decoration: none;
	font-weight: 500;
}

/* reCAPTCHA + hint */

#profilio-registration-wizard .prw-recaptcha-card {
	margin-top: 10px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #f5f9ff;
	border: 1px solid #dae6f7;
}

#profilio-registration-wizard .prw-hint-card {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #f7fbff;
	border: 1px solid #dbe6f7;
	font-size: 13px;
	color: #4a5b77;
}

#profilio-registration-wizard .prw-hint-icon {
	font-size: 18px;
}



/* Przyciski globalne
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 999px;
	border: none;
	padding: 0 18px;
	height: 42px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s;
}

#profilio-registration-wizard .prw-btn:disabled,
#profilio-registration-wizard .prw-btn.is-disabled {
	opacity: 0.6;
	cursor: default;
	box-shadow: none !important;
	transform: none !important;
}

/* Primary */

#profilio-registration-wizard .prw-btn-primary {
	background: #11c271;
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(9, 157, 92, 0.35);
}

#profilio-registration-wizard .prw-btn-primary:hover:not(:disabled) {
	background: #0ea663;
}

/* Secondary (szary) */

#profilio-registration-wizard .prw-btn-secondary {
	background: #edf3ff;
	color: #233a63;
}

/* Ghost (Anuluj) */

#profilio-registration-wizard .prw-btn-ghost {
	background: transparent;
	color: #4c5c79;
	border: 1px solid #d2deef;
}

/* Outline */

#profilio-registration-wizard .prw-btn-outline {
	background: #ffffff;
	color: #26406f;
	border: 1px solid #d2deef;
}

/* CTA (step1 – Wyślij KOD) */

#profilio-registration-wizard .prw-btn-cta {
	background: #ffffff;
	color: #0e9cf5;
	border-radius: 999px;
	box-shadow: 0 10px 22px rgba(3, 123, 221, 0.3);
	padding-inline: 20px;
}

#profilio-registration-wizard .prw-btn-cta:hover {
	background: #f2fbff;
}

/* Small */

#profilio-registration-wizard .prw-btn-small {
	height: 34px;
	padding-inline: 14px;
	font-size: 13px;
}

/* Ikony w przyciskach */

#profilio-registration-wizard .prw-btn-icon {
	display: inline-flex;
}

/* Round icon only */

#profilio-registration-wizard .prw-btn-icon.prw-btn-danger {
	width: 28px;
	height: 28px;
	padding: 0;
}

/* Stopka z przyciskami
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-footer {
	margin-top: 28px;
}

#profilio-registration-wizard .prw-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 8px 0;
	border-top: 1px solid #e1ecfb;
}

#profilio-registration-wizard .prw-footer-note {
	margin: 0;
	font-size: 13px;
	color: #6a7a95;
}

#profilio-registration-wizard .prw-footer-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Toast (globalne komunikaty)
   -------------------------------------------------------------------------- */

#profilio-registration-wizard .prw-toast {
	position: fixed;
	top: 18px;
	left: 50%;
	transform: translateX(-50%);
	padding: 10px 14px;
	border-radius: 999px;
	background: #111827;
	color: #ffffff;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	z-index: 99999;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
}

#profilio-registration-wizard .prw-toast-icon {
	font-size: 16px;
}

#profilio-registration-wizard .prw-toast-text {
	white-space: nowrap;
}

/* Responsywność
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
	#profilio-registration-wizard .prw-main-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	#profilio-registration-wizard .prw-card-placeholder {
		order: -1;
	}

	#profilio-registration-wizard .prw-header {
		padding: 22px 20px 26px;
	}

	#profilio-registration-wizard .prw-header-main {
		flex-direction: column;
		align-items: flex-start;
	}

	#profilio-registration-wizard .prw-step-title {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	#profilio-registration-wizard.prw-root {
		margin-top: 24px;
		margin-bottom: 48px;
	}

	#profilio-registration-wizard .prw-progress {
		padding-inline: 18px;
	}

	#profilio-registration-wizard .prw-two-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	#profilio-registration-wizard .prw-email-row,
	#profilio-registration-wizard .prw-referral-row {
		grid-template-columns: minmax(0, 1fr);
	}

	#profilio-registration-wizard .prw-footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	#profilio-registration-wizard .prw-footer-right {
		align-self: flex-end;
	}
}
.prw-field-error {
	font-size: 12px;
	margin-top: 4px;
	min-height: 16px;
}

.prw-field-error--info {
	color: #6b7280; /* szary */
}

.prw-field-error--danger {
	color: #ef4444; /* czerwony */
}
#prw-email-verified-badge[hidden] {
	display: none !important;
}
.prw-custom-select-wrapper {
    position: relative; /* Ważne dla pozycjonowania listy */
}

.prw-input-select-style {
    text-align: left;
    width: 100%;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.prw-select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
}

.prw-select-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 0 0;
    padding: 0;
    list-style: none;
    z-index: 100; /* Musi być nad resztą */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none; /* Domyślnie ukryte, JS to zmieni */
}

/* Klasa dodawana przez JS, żeby pokazać listę */
.prw-select-dropdown-list.is-visible {
    display: block;
}

.prw-select-option {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.prw-select-option:last-child {
    border-bottom: none;
}

.prw-select-option:hover {
    background-color: #f9f9f9;
}
.prw-field-label-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.prw-field-label-row .prw-field-label {
	flex: 0 1 auto;
}

.prw-field-label-row .prw-info-icon-btn {
	flex: 0 0 auto;
}
/* Styl dymka tooltipa */
/* Styl dymka tooltipa - GLOBALNY (ważne!) */
body .prw-tooltip {
    position: absolute;
    background-color: #111827; /* Ciemny kolor tła */
    color: #ffffff;            /* Biały tekst */
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 260px;
    text-align: center;
    
    /* Cienie i widoczność */
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
    z-index: 999999 !important; /* Musi być bardzo wysoko */
    pointer-events: none;       /* Żeby nie przeszkadzał w klikaniu */
}

/* Opcjonalnie: Mały trójkącik na dole tooltipa */
body .prw-tooltip::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Wystaje na dole */
    left: 50%;
    transform: translateX(-50%);
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #111827; /* Kolor trójkąta zgodny z tłem */
}



