/* Payment Request Manager — front-end pay page */
body.prm-body {
	margin: 0;
	background: #eef2f7;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans Bengali", sans-serif;
	color: #1f2937;
	-webkit-font-smoothing: antialiased;
}

.prm-page {
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 16px;
	box-sizing: border-box;
}

.prm-box {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
	overflow: hidden;
}

.prm-brand {
	background: #0f172a;
	color: #fff;
	padding: 18px 24px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.prm-amount {
	text-align: center;
	padding: 30px 24px 8px;
}
.prm-amount-label {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #94a3b8;
	margin-bottom: 6px;
}
.prm-amount-value {
	font-size: 40px;
	font-weight: 800;
	color: #0f172a;
}

.prm-details {
	padding: 12px 24px 8px;
}
.prm-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
}
.prm-row:last-child { border-bottom: 0; }
.prm-row span { color: #64748b; }
.prm-row strong { text-align: right; font-weight: 600; }

.prm-status {
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
}
.prm-status-pending, .prm-status-awaiting_verification { color: #92400e; background: #fef3c7; }
.prm-status-paid { color: #065f46; background: #d1fae5; }
.prm-status-cancelled, .prm-status-expired { color: #7f1d1d; background: #fee2e2; }

.prm-form { padding: 8px 24px 24px; }
.prm-h2 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #64748b;
	margin: 18px 0 12px;
}

.prm-gateways { display: flex; flex-direction: column; gap: 10px; }

.prm-gateway {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.prm-gateway:hover { border-color: #cbd5e1; }
.prm-gateway input { accent-color: #2563eb; width: 18px; height: 18px; }
.prm-gateway-title { font-weight: 600; font-size: 15px; }

.prm-gateway-panel {
	padding: 4px 4px 8px;
	margin: -2px 0 4px;
}
.prm-instructions {
	background: #f8fafc;
	border: 1px solid #eef2f7;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #475569;
	margin-bottom: 12px;
}

.prm-field { margin: 0 0 14px; }
.prm-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #334155;
}
.prm-field input[type="text"],
.prm-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1.5px solid #e2e8f0;
	border-radius: 9px;
	font-size: 15px;
	font-family: inherit;
	background: #fff;
}
.prm-field input:focus,
.prm-field textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.prm-req { color: #dc2626; }

.prm-pay-btn {
	width: 100%;
	margin-top: 8px;
	padding: 15px;
	background: #2563eb;
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s;
}
.prm-pay-btn:hover { background: #1d4ed8; }
.prm-pay-btn:active { transform: translateY(1px); }

.prm-notice {
	margin: 20px 24px 0;
	padding: 12px 14px;
	border-radius: 9px;
	font-size: 14px;
	line-height: 1.5;
}
.prm-notice-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.prm-notice-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.prm-done { text-align: center; padding: 20px 24px 28px; }
.prm-check {
	width: 60px; height: 60px; line-height: 60px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #d1fae5; color: #059669;
	font-size: 30px; font-weight: 700;
}
.prm-done p { color: #334155; font-size: 15px; }

.prm-empty { text-align: center; padding: 40px 24px; }
.prm-empty h1 { font-size: 20px; margin: 0 0 8px; }
.prm-empty p { color: #64748b; }

.prm-foot {
	text-align: center;
	padding: 16px;
	color: #94a3b8;
	font-size: 12px;
	border-top: 1px solid #f1f5f9;
}

@media (max-width: 480px) {
	.prm-page { padding: 20px 12px; }
	.prm-amount-value { font-size: 34px; }
}

/* ---- Embedded shortcodes (rendered inside the theme) ---- */
.prm-embed {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans Bengali", sans-serif;
	color: #1f2937;
	margin: 24px 0;
	display: flex;
	justify-content: center;
}
.prm-embed-card {
	width: 100%;
	max-width: 460px;
	background: #fff;
	border: 1px solid #e5eaf1;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	padding: 26px 26px 28px;
	box-sizing: border-box;
}
.prm-embed-title {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
}
.prm-embed-notice { margin: 0 0 16px; }
.prm-embed-note {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	padding: 14px 16px;
	color: #64748b;
	font-size: 14px;
	max-width: 460px;
}

.prm-embed-form .prm-field { margin: 0 0 15px; }
.prm-embed-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #334155;
}
.prm-embed-form input[type="text"],
.prm-embed-form input[type="email"],
.prm-embed-form input[type="number"],
.prm-embed-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 13px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	background: #fff;
	color: #1f2937;
}
.prm-embed-form input:focus,
.prm-embed-form textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.prm-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 15px;
}
.prm-preset {
	flex: 1 1 auto;
	min-width: 72px;
	padding: 10px 12px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	color: #0f172a;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.prm-preset:hover { border-color: #cbd5e1; }
.prm-preset.is-active {
	border-color: #2563eb;
	background: #eff6ff;
	color: #1d4ed8;
}

.prm-amount-input {
	position: relative;
	display: flex;
	align-items: center;
}
.prm-amount-symbol {
	position: absolute;
	left: 13px;
	font-size: 16px;
	font-weight: 700;
	color: #64748b;
	pointer-events: none;
}
.prm-amount-input input {
	padding-left: 30px !important;
	font-size: 18px !important;
	font-weight: 700;
}
.prm-hint { display: block; margin-top: 6px; color: #94a3b8; font-size: 12.5px; }

.prm-embed .prm-pay-btn { margin-top: 6px; }
.prm-pay-link {
	display: block;
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
}
.prm-pay-link:hover { color: #fff; }

.prm-embed-amount { text-align: center; margin-bottom: 10px; }
.prm-embed-amount .prm-amount-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #94a3b8;
	margin-bottom: 4px;
}
.prm-embed-amount .prm-amount-value { font-size: 34px; font-weight: 800; color: #0f172a; }
.prm-embed-desc { text-align: center; color: #475569; margin: 4px 0 10px; }
.prm-embed-status { text-align: center; color: #64748b; font-size: 14px; margin: 0 0 16px; }
