.pp-wrap {
	max-width: 780px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}

.pp-hidden {
	display: none !important;
}

/* Kroki */
.pp-steps {
	display: flex;
	gap: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e2e2e2;
	padding-bottom: 12px;
}
.pp-step {
	color: #999;
	font-weight: 600;
}
.pp-step--active {
	color: #2271b1;
}

/* Przyciski */
.pp-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
}
.pp-btn--primary {
	background: #2271b1;
	color: #fff;
}
.pp-btn--primary:hover {
	background: #1a5a8c;
}
.pp-btn--primary:disabled {
	background: #b7cfe0;
	cursor: not-allowed;
}
.pp-btn--secondary {
	background: #f0f0f1;
	color: #1d2327;
}
.pp-btn--secondary:hover {
	background: #dcdcde;
}
.pp-btn--danger {
	background: #d63638;
	color: #fff;
}
.pp-btn--danger:hover {
	background: #b32d2e;
}
.pp-btn--link {
	background: none;
	color: #2271b1;
	padding: 4px 0;
	text-decoration: underline;
}

/* Dropzone */
.pp-dropzone {
	border: 2px dashed #c3c4c7;
	border-radius: 8px;
	padding: 48px 24px;
	text-align: center;
	margin: 16px 0;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.pp-dropzone--over {
	border-color: #2271b1;
	background: #f0f6fc;
}

/* Modal kadrowania */
.pp-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 16px;
}
.pp-modal__content {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	max-width: 640px;
	width: 100%;
}
.pp-crop-container {
	max-height: 60vh;
	overflow: hidden;
	background: #333;
}
.pp-crop-container img {
	display: block;
	max-width: 100%;
}
.pp-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 16px;
}

/* Podgląd */
.pp-preview {
	text-align: center;
	margin-bottom: 24px;
}
.pp-preview img {
	max-width: 260px;
	border-radius: 8px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Grid rodzajów */
.pp-types-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
	margin: 16px 0;
}
.pp-type-card {
	border: 2px solid #e2e2e2;
	border-radius: 8px;
	padding: 12px;
	cursor: pointer;
	display: block;
	position: relative;
	transition: border-color 0.15s ease;
}
.pp-type-card:hover {
	border-color: #a7c7e0;
}
.pp-type-card--selected {
	border-color: #2271b1;
	background: #f0f6fc;
}
.pp-type-card input {
	position: absolute;
	top: 8px;
	right: 8px;
}
.pp-type-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 8px;
}
.pp-type-card__name {
	display: block;
	font-weight: 600;
}
.pp-type-card__desc {
	display: block;
	font-size: 13px;
	color: #666;
	margin-top: 4px;
}
.pp-type-card__badge {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	background: #fef2c0;
	color: #7d5a00;
	padding: 2px 8px;
	border-radius: 12px;
}

/* Cena */
.pp-price-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f6f7f7;
	padding: 16px 20px;
	border-radius: 8px;
	margin: 20px 0;
	font-size: 18px;
}

/* Podsumowanie */
.pp-summary {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-bottom: 20px;
}
.pp-summary img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 8px;
}

/* Auth tabs */
.pp-auth-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
}
.pp-auth-tab {
	padding: 10px 20px;
	border: none;
	background: #f0f0f1;
	cursor: pointer;
	border-radius: 6px 6px 0 0;
	font-weight: 600;
}
.pp-auth-tab--active {
	background: #2271b1;
	color: #fff;
}

/* Panel admina / potwierdzenia */
.pp-review-grid,
.pp-confirm-images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin: 20px 0;
}
.pp-review-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #e2e2e2;
}
.pp-review-meta {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}
.pp-review-meta th,
.pp-review-meta td {
	text-align: left;
	padding: 8px 12px;
	border-bottom: 1px solid #eee;
}
.pp-review-actions {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-top: 24px;
	flex-wrap: wrap;
}
.pp-review-reject-box textarea {
	width: 100%;
	min-width: 260px;
	display: block;
	margin-bottom: 8px;
}

.pp-confirm-checkbox {
	display: block;
	margin: 20px 0;
}

.pp-notes-box {
	background: #fef2c0;
	border-left: 4px solid #dba617;
	padding: 12px 16px;
	margin: 16px 0;
	border-radius: 4px;
}

.pp-error {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	padding: 12px 16px;
	margin-top: 16px;
	border-radius: 4px;
	color: #8a1f1f;
}

.pp-success {
	background: #edfaef;
	border-left: 4px solid #00a32a;
	padding: 12px 16px;
	border-radius: 4px;
	color: #00541a;
}
