.tpayos-box {
	max-width: 720px;
	margin: 24px auto;
	padding: 24px;
	border: 1px solid #e3e6eb;
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	color: #1a1a1a;
}

.tpayos-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
}

.tpayos-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
}

.tpayos-qr {
	flex: 0 0 260px;
	text-align: center;
}

.tpayos-qr img {
	width: 260px;
	height: 260px;
	border: 1px solid #e3e6eb;
	border-radius: 8px;
	background: #fff;
}

.tpayos-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	color: #2563eb;
	text-decoration: none;
}

.tpayos-link:hover {
	text-decoration: underline;
}

.tpayos-info {
	flex: 1 1 300px;
}

.tpayos-info table {
	width: 100%;
	border-collapse: collapse;
}

.tpayos-info th,
.tpayos-info td {
	text-align: left;
	padding: 8px 4px;
	border-bottom: 1px solid #f0f0f3;
	vertical-align: top;
}

.tpayos-info th {
	width: 120px;
	font-weight: 500;
	color: #6b7280;
	white-space: nowrap;
}

.tpayos-info code {
	background: #f4f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 13px;
	word-break: break-all;
}

.tpayos-hint {
	margin: 12px 0 0;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.5;
}

.tpayos-warn {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #b91c1c;
	line-height: 1.5;
}

.tpayos-status {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding: 12px 16px;
	border-radius: 8px;
	background: #f8fafc;
	font-size: 14px;
}

.tpayos-status--ok {
	background: #ecfdf5;
	color: #047857;
}

.tpayos-status--expired {
	background: #fef2f2;
	color: #b91c1c;
}

.tpayos-spinner {
	width: 14px;
	height: 14px;
	border: 2px solid #cbd5e1;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: tpayos-spin 0.8s linear infinite;
	flex: 0 0 auto;
}

.tpayos-status--ok .tpayos-spinner,
.tpayos-status--expired .tpayos-spinner {
	display: none;
}

@keyframes tpayos-spin {
	to {
		transform: rotate( 360deg );
	}
}

.tpayos-alert {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.tpayos-alert--error {
	background: #fef2f2;
	color: #b91c1c;
}

.tpayos-btn {
	display: inline-block;
	margin-top: 16px;
	padding: 9px 18px;
	border: 0;
	border-radius: 8px;
	background: #2563eb;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}

.tpayos-btn:hover {
	background: #1d4ed8;
}

.tpayos-btn--ghost {
	background: transparent;
	border: 1px solid #cbd5e1;
	color: #334155;
}

.tpayos-btn[disabled] {
	opacity: 0.6;
	cursor: default;
}

@media ( max-width: 560px ) {
	.tpayos-qr,
	.tpayos-qr img {
		flex-basis: 100%;
		width: 100%;
		max-width: 260px;
	}
	.tpayos-grid {
		justify-content: center;
	}
}
