.pb-didit-status {
	margin: 0.75rem 0 0.65rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	border: 1px solid rgba(15, 40, 68, 0.12);
	background: #f6f8fb;
	font-size: 0.95rem;
	line-height: 1.5;
}
.pb-didit-status[data-state="pending"] { color: #31415a; }
.pb-didit-status[data-state="checking"] { color: #0b4a8a; background: #eef5ff; }
.pb-didit-status[data-state="passed"] { color: #0d5c38; background: #e8f7ee; border-color: #b7e0c7; }
.pb-didit-status[data-state="failed"] { color: #8a1f1f; background: #fdeeee; border-color: #f0c2c2; }
.pb-didit-help {
	margin: 0 0 1rem;
	color: #4a5d73;
	font-size: 0.88rem;
	line-height: 1.45;
}
.pb-didit-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.pb-didit-frame {
	position: relative;
	width: 100%;
	min-height: 640px;
	border: 1px solid rgba(15, 40, 68, 0.12);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 1.25rem;
}
.pb-didit-frame iframe {
	display: block;
	width: 100%;
	min-height: 640px;
	border: 0;
	background: #fff;
}
@media (max-width: 720px) {
	.pb-didit-frame,
	.pb-didit-frame iframe { min-height: 720px; }
}

.pb-app-status {
	width: calc(100% - 92px);
	margin: 0 46px 22px;
	padding: 16px 18px 14px;
	color: #172b40;
	background: #fff;
	border: 1px solid #d5e3ee;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(7, 33, 69, 0.06);
}
.pb-app-status--review {
	width: 100%;
	margin: 0 0 18px;
	background: #fff8ee;
	border-color: #efd3a3;
}
.pb-app-status__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
.pb-app-status__kicker {
	margin: 0 0 4px;
	color: #147da8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.pb-app-status__id {
	margin: 0;
	color: #4a5d73;
	font-size: 13px;
}
.pb-app-status__id strong {
	color: #0a2948;
	font-size: 15px;
	overflow-wrap: anywhere;
}
.pb-app-status__phase {
	flex: 0 0 auto;
	padding: 5px 10px;
	border-radius: 999px;
	background: #eef5ff;
	color: #0b4a8a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.pb-app-status[data-phase="ready"] .pb-app-status__phase,
.pb-app-status[data-phase="received"] .pb-app-status__phase {
	background: #e8f7ee;
	color: #0d5c38;
}
.pb-app-status[data-phase="action"] .pb-app-status__phase {
	background: #fff4d6;
	color: #7a4b00;
}
.pb-app-status[data-phase="payment"] .pb-app-status__phase {
	background: #fde8e8;
	color: #8a1f1f;
}
.pb-app-status[data-phase="new"] .pb-app-status__phase {
	background: #eef5ff;
	color: #0b4a8a;
}
.pb-app__saved-actions-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}
.pb-app__saved-actions-buttons .pb-button {
	white-space: normal;
}
.pb-app-status__next {
	margin: 0 0 12px;
	color: #0a2948;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.45;
}
.pb-app-status__missing {
	margin: 0 0 10px;
	padding: 10px 12px;
	color: #5c3a00;
	background: #fff6e5;
	border: 1px solid #efd3a3;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.45;
}
.pb-app-status__payment-note {
	margin: 0 0 12px;
	padding: 10px 12px;
	color: #6b1c1c;
	background: #fdf2f2;
	border: 1px solid #f0c7c7;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
}
.pb-app-status__payment-note[data-state="received"] {
	color: #0d5c38;
	background: #eef8f2;
	border-color: #b7ddc8;
}
.pb-payment-required__notice {
	margin: 0 0 16px;
	padding: 14px 16px;
	color: #4a1a1a;
	background: #fff4f4;
	border: 1px solid #e8b4b4;
	border-radius: 12px;
}
.pb-payment-required__notice strong {
	display: block;
	margin-bottom: 6px;
	color: #8a1f1f;
	font-size: 16px;
}
.pb-payment-required__notice p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}
.pb-app-status__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 8px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pb-app-status__list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	color: #4a5d73;
	font-size: 13px;
	line-height: 1.4;
}
.pb-app-status__list li[data-done="true"] {
	color: #0d5c38;
}
.pb-app-status__list li[data-done="false"][data-current="true"] {
	color: #0a2948;
	font-weight: 650;
}
.pb-app-status__mark {
	display: grid;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	place-items: center;
	border-radius: 50%;
	background: #e6edf4;
	color: #627084;
	font-size: 11px;
	font-weight: 800;
}
.pb-app-status__list li[data-done="true"] .pb-app-status__mark {
	background: #167149;
	color: #fff;
}
.pb-app-status__list button {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.pb-app-status__list button:hover,
.pb-app-status__list button:focus-visible {
	color: #147da8;
}
.pb-app__form-footer {
	flex-wrap: wrap;
}
.pb-app__next-help {
	flex: 1 1 100%;
	order: 3;
	margin: 0;
	padding: 0;
	color: #0a2948;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}
.pb-app__next-help:empty {
	display: none;
}
.pb-app__success-next {
	max-width: 780px;
	margin: 0 auto 22px;
	padding: 0;
	list-style: none;
	text-align: left;
}
.pb-app__success-next li {
	margin: 0 0 10px;
	padding: 12px 14px;
	color: #172b40;
	background: #f6fafc;
	border: 1px solid #d8e3ed;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.45;
}
.pb-app__success-next strong {
	display: block;
	margin-bottom: 2px;
	color: #0a2948;
}
.pb-app__saved-actions[data-state="active"] strong {
	color: #0a2948;
}
@media (max-width: 720px) {
	.pb-app-status {
		width: calc(100% - 40px);
		margin: 0 20px 16px;
		padding: 14px 14px 12px;
	}
	.pb-app-status--review {
		width: 100%;
		margin: 0 0 16px;
	}
	.pb-app-status__top {
		flex-direction: column;
	}
	.pb-app-status__list {
		grid-template-columns: 1fr;
	}
	.pb-didit-actions .pb-button {
		width: 100%;
	}
}
