/* Payment verification gate */
.paygate {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: #e9ebef;
	overflow-y: auto;
	color: #16181d;
	padding: 24px 14px;
	font-family: TeleNeo, Arial, sans-serif;
}

.pg-shell {
	width: 100%;
	max-width: 430px;
	margin: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 60px rgba(17, 17, 17, .55);
	overflow: hidden;
}

.pg-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 18px;
	border-bottom: 1px solid #eceef2;
}

.pg-bank {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	min-width: 0;
}

.pg-lock { font-style: normal; font-size: 12px; }

.pg-secure {
	font-size: 9px;
	letter-spacing: .9px;
	color: #6d7683;
	border: 1px solid #d9dde4;
	border-radius: 4px;
	padding: 4px 6px;
	white-space: nowrap;
}

.pg-merchant {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 13px 18px;
	background: #f6f7f9;
	border-bottom: 1px solid #eceef2;
}

.pg-merchant img { height: 22px; width: auto; max-width: 76px; object-fit: contain; }

.pg-merchant div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.pg-merchant b { font-size: 13px; }

.pg-merchant small { font-size: 10px; color: #707987; }

.pg-merchant strong { font-size: 15px; white-space: nowrap; }

.pg-body { padding: 25px 22px 22px; text-align: left; }

.pg-body > h1 { font-size: 19px; line-height: 1.25; font-weight: 700; margin: 0 0 10px; }

.pg-body > p { font-size: 13px; line-height: 1.65; color: #5c6570; margin: 0 0 18px; }

.pg-body b { color: #16181d; }

.pg-body form { display: flex; flex-direction: column; margin: 0; }

.pg-body label { font-size: 12px; color: #5c6570; margin-bottom: 7px; }

.pg-body input {
	height: 48px;
	border: 1px solid #c9cfd8;
	border-radius: 7px;
	padding: 0 12px;
	font: inherit;
	font-size: 16px;
	outline: none;
	text-align: center;
}

.pg-body input:focus { border-color: #e20074; box-shadow: 0 0 0 3px rgba(226, 0, 116, .13); }

.pg-body input.invalid { border-color: #d8333b; }

.pg-cta {
	display: block;
	width: 100%;
	min-height: 46px;
	margin-top: 16px;
	border: 0;
	border-radius: 7px;
	background: #e20074;
	color: #fff;
	font: 700 14px TeleNeo, Arial, sans-serif;
	cursor: pointer;
}

.pg-cta:hover { filter: brightness(1.06); }

.pg-link {
	display: block;
	margin: 16px auto 0;
	font: inherit;
	font-size: 12px;
	color: #59636f;
	text-decoration: underline;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}

.pg-spinner {
	display: block;
	width: 38px;
	height: 38px;
	margin: 10px auto 18px;
	border-radius: 50%;
	border: 3px solid #e5e8ed;
	border-top-color: #e20074;
	animation: pgspin .9s linear infinite;
}

@keyframes pgspin { to { transform: rotate(360deg); } }

.pg-badge {
	display: block;
	width: 46px;
	height: 46px;
	line-height: 44px;
	text-align: center;
	border-radius: 50%;
	font-size: 22px;
	font-weight: 700;
	margin: 6px auto 16px;
}

.pg-badge.ok { background: #e8f6ec; color: #1a7f37; }
.pg-badge.bad { background: #fdecec; color: #c62828; }

.pg-body > h1.pg-center, .pg-body > p.pg-center { text-align: center; }

.pg-note { font-size: 12px; color: #59636f; text-align: center; margin-top: 10px; }

.pg-error { color: #c62828 !important; font-size: 12px !important; }

.pg-custom {
	background: #f6f7f9;
	border: 1px solid #eceef2;
	border-radius: 8px;
	padding: 12px 14px;
	color: #16181d !important;
	font-size: 13px !important;
	white-space: pre-wrap;
}

.pg-foot {
	padding: 0 18px 14px;
	font-size: 10px;
	color: #8b939e;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

body.pg-locked { overflow: hidden; }

.pg-icon { font-size: 34px; text-align: center; margin: 4px 0 14px; }
