/* Proste Dane — style formularza wpłat i widgetu przycisku "POMAGAM" */

.pd-inactive-notice {
	padding: 16px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #64748b;
	font-size: 14px;
	text-align: center;
}

.pd-form-wrapper iframe {
	display: block;
}

/* Formularz jako stały panel (atrybut floating="1"), niezależny od przewijania treści strony */
.pd-form-wrapper--floating {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999998;
	width: 360px;
	max-width: calc(100vw - 40px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.pd-help-button {
	font-family: inherit;
	font-size: 14px;
	line-height: 1.2;
	transition: opacity 0.15s ease;
}
.pd-help-button:hover {
	opacity: 0.9;
}

/* Panel pływający otwierany przyciskiem — ukryty domyślnie (atrybut [hidden]) */
#pd-floating-panel {
	position: fixed;
	inset: 0;
	z-index: 999999;
}
#pd-floating-panel[hidden] {
	display: none;
}
#pd-floating-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.35);
}
#pd-floating-panel__body {
	position: absolute;
	right: 20px;
	bottom: 20px;
	top: 20px;
	width: 400px;
	max-width: calc(100vw - 40px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
#pd-floating-panel__body iframe {
	flex: 1;
	width: 100%;
	border: 0;
}
#pd-floating-panel__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	border: 0;
	background: rgba(15, 23, 42, 0.06);
	color: #334155;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
#pd-floating-panel__close:hover {
	background: rgba(15, 23, 42, 0.12);
}

@media (max-width: 480px) {
	#pd-floating-panel__body {
		right: 8px;
		left: 8px;
		bottom: 8px;
		top: 8px;
		width: auto;
	}
}
