.balepardakht-thankyou-box,
.balepardakht-thankyou-box * {
	box-sizing: border-box;
}
.balepardakht-thankyou-box {
	font-family: 'IRANYekan', Tahoma, sans-serif;
	direction: rtl;
	text-align: right;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	padding: 28px;
	margin: 24px auto !important;
	max-width: 560px;
	box-shadow: 0 1px 2px rgba(20,20,43,.03), 0 20px 45px -24px rgba(20,20,43,.18);
	position: relative;
	overflow: hidden;
}
.balepardakht-thankyou-box::before {
	content: "";
	position: absolute; inset: 0 0 auto 0; height: 4px;
	background: linear-gradient(90deg, #4f46e5, #0cbc8d);
}
.balepardakht-title { margin: 6px 0 8px; font-size: 18px; font-weight: 700; color: #1f2430; }
.balepardakht-instructions { color: #6b7280; font-size: 13.5px; margin-bottom: 18px; line-height: 1.9; }

.balepardakht-checkout-inline-box,
.balepardakht-checkout-inline-box * { box-sizing: border-box; }
.balepardakht-checkout-inline-box {
	font-family: 'IRANYekan', Tahoma, sans-serif;
	direction: rtl; text-align: right;
	margin-top: 14px; padding-top: 14px;
	border-top: 1px dashed #e5e7eb;
}

.balepardakht-step-label {
	font-size: 12.5px; font-weight: 700; color: var(--balepardakht-step-color, #4f46e5); margin: 0 0 10px;
	display: flex; align-items: center; gap: 6px;
}
.balepardakht-step-label::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--balepardakht-step-color, #4f46e5); flex-shrink: 0;
}

.balepardakht-cards-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }

.balepardakht-send-info-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; width: 100%; margin-top: 8px; }
a.balepardakht-send-info-btn,
button.balepardakht-send-info-btn {
	display: inline-flex !important; align-items: center; gap: 6px; justify-content: center;
	width: 100%; height: 34px; padding: 0 14px !important; border-radius: 9px;
	background: linear-gradient(135deg, var(--balepardakht-primary, #4f46e5), var(--balepardakht-primary-dark, #3730a3)) !important;
	color: var(--balepardakht-btn-text, #fff) !important; border: none !important;
	font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none !important;
	box-shadow: 0 4px 10px -4px rgba(79,70,229,.55) !important; line-height: 1; white-space: nowrap;
	transition: filter .15s ease;
}
a.balepardakht-send-info-btn:hover,
button.balepardakht-send-info-btn:hover { filter: brightness(1.08); color: #fff !important; }
button.balepardakht-send-info-btn:disabled { opacity: .6 !important; cursor: not-allowed; }
a.balepardakht-send-info-btn svg,
button.balepardakht-send-info-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.balepardakht-send-info-status { font-size: 11px; width: 100%; text-align: center; }
.balepardakht-send-info-status:empty { display: none; }
.balepardakht-send-info-status.success { color: #16a34a; }
.balepardakht-send-info-status.error { color: #dc2626; }

.balepardakht-card-item {
	position: relative;
	display: block;
	cursor: pointer;
	padding-bottom: 1px;
}
.balepardakht-card-radio { position: absolute; opacity: 0; width: 0; height: 0; }

.balepardakht-card-face {
	position: relative;
	display: flex; flex-direction: column; gap: 16px;
	border-radius: 18px; padding: 20px 20px 18px;
	background: linear-gradient(145deg, #232842 0%, #171b2e 55%, #0f1220 100%);
	color: #fff;
	overflow: hidden;
	border: 2px solid transparent;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 5px 8px 16px -10px rgba(15,17,32,.4);
	transition: box-shadow .2s ease, transform .15s ease, border-color .15s ease;
	min-height: 172px;
	justify-content: space-between;
	will-change: transform;
	transform: perspective(900px);
}

/* سایه‌ی چندلایه برای حس سه‌بعدی بیشتر (قابل خاموش‌کردن از تنظیمات) - عمدتاً بالای کارت تا با باکس توضیحاتِ پایین کارت تداخل نداشته باشد */
.bp-fx-shadow .balepardakht-card-face {
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.09),
		7px 12px 22px -11px rgba(15,17,32,.5);
}
.bp-fx-shadow .balepardakht-card-item:hover .balepardakht-card-face,
.bp-fx-shadow .balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-card-face {
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.13),
		10px 20px 34px -14px rgba(15,17,32,.65);
}

/* افکت درخشش یک‌باره روی کارت هنگام هاور (قابل خاموش‌کردن از تنظیمات) */
.balepardakht-card-shine {
	position: absolute; inset: -20% -10%; pointer-events: none; z-index: 1;
	background: linear-gradient(75deg, transparent 42%, rgba(255,255,255,.5) 50%, transparent 58%);
	transform: translateX(-140%);
	transition: transform 0s;
	mix-blend-mode: screen;
}
.bp-fx-shine .balepardakht-card-item:hover .balepardakht-card-shine {
	transition: transform .9s ease;
	transform: translateX(140%);
}
@media (prefers-reduced-motion: reduce) {
	.bp-fx-shine .balepardakht-card-item:hover .balepardakht-card-shine { transition: none; transform: translateX(-140%); }
}

/* در دسکتاپ کارت به‌جای کشیده‌شدن روی کل عرض باکس، عرض محدود و نسبت ابعاد شبیه کارت بانکی واقعی می‌گیرد (روی موبایل بی‌اثر است) */
@media (min-width: 560px) {
	.balepardakht-card-item { align-self: center; width: 100%; max-width: 460px; }
	.balepardakht-card-face { min-height: 260px; padding: 26px 24px 24px; gap: 18px; }
}
.balepardakht-card-face::after {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(circle at 88% -10%, rgba(255,255,255,.16), transparent 45%),
		repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 26px);
	pointer-events: none;
}
.balepardakht-card-face-glow {
	position: absolute; inset: -40% -20% auto auto; width: 60%; height: 140%;
	background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
	pointer-events: none; opacity: .8;
}
.balepardakht-card-item:hover .balepardakht-card-face {
	transform: translateY(-2px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 8px 14px 24px -12px rgba(15,17,32,.5);
}

/* رنگ متمایز برای هر کارت */
.balepardakht-theme-0 .balepardakht-card-face { background: linear-gradient(145deg, #4338ca 0%, #312e81 55%, #1e1b4b 100%); }
.balepardakht-theme-1 .balepardakht-card-face { background: linear-gradient(145deg, #0f766e 0%, #115e59 55%, #0c3d3a 100%); }
.balepardakht-theme-2 .balepardakht-card-face { background: linear-gradient(145deg, #9d174d 0%, #831843 55%, #500724 100%); }
.balepardakht-theme-3 .balepardakht-card-face { background: linear-gradient(145deg, #b45309 0%, #92400e 55%, #451a03 100%); }
.balepardakht-theme-4 .balepardakht-card-face { background: linear-gradient(145deg, #1d4ed8 0%, #1e40af 55%, #0b1f52 100%); }
.balepardakht-theme-5 .balepardakht-card-face { background: linear-gradient(145deg, #374151 0%, #1f2937 55%, #0b0f16 100%); }

/* رنگ سفارشی هر کارت (از تنظیمات کارت‌های بانکی)؛ اگر رنگی انتخاب نشود همان تم‌های بالا استفاده می‌شوند */
.balepardakht-theme-custom .balepardakht-card-face { background: var(--balepardakht-card-color, #232842); }
@supports (background: color-mix(in srgb, red, blue)) {
	.balepardakht-theme-custom .balepardakht-card-face {
		background: linear-gradient(145deg,
			var(--balepardakht-card-color) 0%,
			color-mix(in srgb, var(--balepardakht-card-color) 75%, black 25%) 55%,
			color-mix(in srgb, var(--balepardakht-card-color) 42%, black 58%) 100%);
	}
}

/* نشان انتخاب یکنواخت که با هر رنگ کارت هماهنگ است */
.balepardakht-card-selected-badge {
	position: absolute; top: -9px; right: -9px; z-index: 3;
	width: 28px; height: 28px; border-radius: 50%;
	background: #16a34a; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 3px 10px -2px rgba(0,0,0,.45), 0 0 0 3px #fff;
	opacity: 0; transform: scale(.5);
	transition: opacity .18s ease, transform .18s ease;
}
.balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-card-face {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 8px 14px 24px -12px rgba(0,0,0,.4);
}
.balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-card-selected-badge {
	opacity: 1; transform: scale(1);
}

.balepardakht-card-face-top { position: relative; display: flex; align-items: center; gap: 10px; }
.balepardakht-card-chip { flex-shrink: 0; border-radius: 3px; }
.balepardakht-bank-name { font-weight: 700; font-size: 13.5px; color: #fff; }
.balepardakht-card-label {
	margin-inline-start: auto; font-size: 10.5px; font-weight: 600; color: #fff;
	background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 10px;
}

.balepardakht-card-number-row,
.balepardakht-card-sheba-row {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
	direction: ltr; text-align: center; flex-wrap: wrap; row-gap: 6px;
}
.balepardakht-card-number {
	display: inline-flex; align-items: baseline; flex-wrap: nowrap;
	font-weight: 700; letter-spacing: 5px; font-size: 20px; color: #fff;
	font-family: 'Courier New', monospace; direction: ltr;
	text-shadow: 0 1px 2px rgba(0,0,0,.25);
	gap: 11px; min-width: 0;
}
.balepardakht-card-number-group { letter-spacing: inherit; }
.balepardakht-card-number.balepardakht-fa-digits,
.balepardakht-sheba.balepardakht-fa-digits {
	font-family: 'IRANYekan', Tahoma, sans-serif;
}
.balepardakht-card-number.balepardakht-fa-digits { font-size: 23px; letter-spacing: 9px; gap: 14px; }
.balepardakht-sheba.balepardakht-fa-digits { font-size: 18px; letter-spacing: 4px; }
.balepardakht-card-sheba-wrap { display: flex; align-items: center; gap: 8px; direction: ltr; min-width: 0; }
.balepardakht-sheba-tag {
	font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.7);
	border: 1px solid rgba(255,255,255,.3); border-radius: 5px; padding: 2px 7px; flex-shrink: 0;
}
.balepardakht-sheba {
	font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 1px; direction: ltr;
	font-family: 'Courier New', monospace; text-shadow: 0 1px 2px rgba(0,0,0,.2);
	white-space: nowrap; min-width: 0;
}

@media (max-width: 420px) {
	.balepardakht-card-face { padding: 18px 14px 16px; gap: 13px; }
	.balepardakht-card-number-row, .balepardakht-card-sheba-row { gap: 8px; }
	.balepardakht-card-number { font-size: 15px; letter-spacing: 2px; gap: 7px; }
	.balepardakht-sheba { font-size: 12px; letter-spacing: .3px; }
	.balepardakht-card-number.balepardakht-fa-digits { font-size: 18px; letter-spacing: 5.5px; gap: 9px; }
	.balepardakht-sheba.balepardakht-fa-digits { font-size: 14.5px; letter-spacing: 2.5px; }
	.balepardakht-sheba-tag { font-size: 9px; padding: 1px 5px; }
	.balepardakht-card-sheba-wrap { gap: 5px; }
	button.balepardakht-copy-btn { padding: 0 9px !important; font-size: 10.5px; height: 27px; width: 72px; }
}

@media (max-width: 340px) {
	.balepardakht-card-number { font-size: 13px; letter-spacing: 1.5px; gap: 6px; }
	.balepardakht-sheba { font-size: 10.5px; }
	.balepardakht-card-number.balepardakht-fa-digits { font-size: 15.5px; letter-spacing: 4px; gap: 7px; }
	.balepardakht-sheba.balepardakht-fa-digits { font-size: 13px; letter-spacing: 1.8px; }
}

.balepardakht-card-face-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.balepardakht-holder-name { color: rgba(255,255,255,.75); font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; }

.balepardakht-card-select-hint {
	display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
	color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 4px 10px;
}
.balepardakht-hint-selected { display: none; align-items: center; gap: 5px; }
.balepardakht-hint-default { display: inline-flex; align-items: center; gap: 5px; }
.balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-card-select-hint {
	color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14);
}
.balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-hint-default { display: none; }
.balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-hint-selected { display: inline-flex; }

/* بخش پیام راهنما که فقط برای کارت انتخاب‌شده باز می‌شود */
.balepardakht-card-details {
	display: block; max-height: 0; opacity: 0; overflow: hidden;
	transition: max-height .28s ease, opacity .2s ease;
}
.balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-card-details { max-height: 92px; opacity: 1; }
.balepardakht-card-item:has(.balepardakht-card-radio:checked) .balepardakht-card-details.has-send-btn { max-height: 168px; }
.balepardakht-card-details-note {
	margin-top: 18px; display: flex; align-items: flex-start; gap: 8px;
	font-size: 12px; line-height: 1.7; color: #4338ca;
	background: #eef0ff; border: 1px solid #dcdffb; border-radius: 12px; padding: 9px 12px;
	position: relative; z-index: 1;
	box-shadow: 0 4px 12px -6px rgba(30,27,75,.25);
}
.balepardakht-card-details-note svg { flex-shrink: 0; margin-top: 2px; }

/* دکمه کپی - آیکون + برچسب متنی */
button.balepardakht-copy-btn {
	flex-shrink: 0; display: inline-flex !important; align-items: center; gap: 5px; justify-content: center;
	width: 84px; height: 30px; border-radius: 8px;
	border: 1px solid rgba(255,255,255,.25) !important; background: rgba(255,255,255,.1) !important; color: #fff !important;
	cursor: pointer; padding: 0 !important; margin: 0; line-height: 1; font-size: 11.5px; font-weight: 700;
	-webkit-appearance: none; appearance: none; box-shadow: none !important;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
button.balepardakht-copy-btn svg { display: block; pointer-events: none; flex-shrink: 0; }
button.balepardakht-copy-btn .balepardakht-copy-icon-done { display: none; }
button.balepardakht-copy-btn .balepardakht-copy-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.balepardakht-copy-btn:hover { background: rgba(255,255,255,.2) !important; }
button.balepardakht-copy-btn.is-copied { background: #16a34a !important; color: #fff !important; border-color: #16a34a !important; }
button.balepardakht-copy-btn.is-copied .balepardakht-copy-icon-default { display: none; }
button.balepardakht-copy-btn.is-copied .balepardakht-copy-icon-done { display: block; }

.balepardakht-upload-form { margin-bottom: 4px; }

.balepardakht-upload-dropzone {
	background: linear-gradient(180deg, #f8f9ff, #fdfaff);
	border: 1.5px dashed #c7cdf5;
	border-radius: 16px;
	padding: 30px 20px;
	text-align: center;
	transition: border-color .15s ease, background .15s ease;
}
.balepardakht-upload-dropzone.is-dragover { border-color: #4f46e5; background: #eef0ff; }
.balepardakht-upload-icon { color: #4f46e5; display: inline-flex; margin-bottom: 6px; }
.balepardakht-upload-title { margin: 0; font-size: 14px; font-weight: 700; color: #1f2430; }
.balepardakht-upload-sub { margin: 6px 0; font-size: 11.5px; color: #9ca3af; }
label.balepardakht-choose-file-btn {
	display: inline-flex !important; align-items: center; justify-content: center;
	background: #fff !important; color: var(--balepardakht-primary, #4f46e5) !important;
	border: 1.5px solid #c7cdf5 !important; border-radius: 10px;
	padding: 9px 22px !important; font-size: 13px; font-weight: 700; cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
label.balepardakht-choose-file-btn:hover { background: #eef0ff !important; border-color: var(--balepardakht-primary, #4f46e5) !important; }
.balepardakht-upload-dropzone input[type="file"] { display: none; }
.balepardakht-upload-hint { margin: 12px 0 0; font-size: 11px; color: #9ca3af; }

.balepardakht-upload-preview {
	display: flex; align-items: center; gap: 12px;
	background: #f7f8ff; border: 1px solid #e2e5f5; border-radius: 14px; padding: 12px 14px;
}
.balepardakht-upload-preview[hidden] { display: none; }
.balepardakht-upload-preview img {
	width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
	border: 1px solid #e2e5f5; background: #fff;
}
.balepardakht-preview-info { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.balepardakht-preview-name { font-size: 12.5px; color: #1f2430; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.balepardakht-preview-remove {
	flex-shrink: 0; display: inline-flex !important; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 8px;
	border: 1px solid #f3d4d4 !important; background: #fff5f5 !important; color: #dc2626 !important;
	cursor: pointer; padding: 0 !important; box-shadow: none !important;
}
button.balepardakht-preview-remove:hover { background: #fee2e2 !important; }

button.balepardakht-upload-btn {
	width: 100%; margin-top: 16px;
	display: flex !important; align-items: center; justify-content: center; gap: 8px;
	background: linear-gradient(135deg, var(--balepardakht-primary, #4f46e5), var(--balepardakht-primary-dark, #3730a3)) !important;
	color: var(--balepardakht-btn-text, #fff) !important;
	border: none !important; border-radius: 12px;
	padding: 14px 30px !important; font-size: 14px; font-weight: 700; cursor: pointer;
	box-shadow: 0 10px 22px -10px rgba(79,70,229,.55) !important;
	transition: filter .15s ease, transform .1s ease;
	-webkit-appearance: none; appearance: none;
	font-family: inherit; line-height: normal;
}
button.balepardakht-upload-btn:hover { filter: brightness(1.06); color: var(--balepardakht-btn-text, #fff) !important; }
button.balepardakht-upload-btn:active { transform: scale(.98); }
button.balepardakht-upload-btn:disabled { opacity: .5 !important; cursor: not-allowed; filter: none; box-shadow: none !important; }
.balepardakht-upload-status { margin-top: 12px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.balepardakht-upload-status:empty { display: none; }
.balepardakht-upload-status.success { color: #16a34a; }
.balepardakht-upload-status.error { color: #dc2626; }

.balepardakht-discount-badge {
	display: inline-flex; align-items: center; vertical-align: middle;
	background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 700;
	border-radius: 999px; padding: 2px 9px; margin-inline-start: 6px;
}

.balepardakht-negative-sign { display: inline-block; margin: 0 1px; }

/* هم‌تراز کردن ستون مبلغ ردیف تخفیف با سایر ردیف‌های جدول جمع کل (جلوگیری از جابه‌جایی به‌خاطر بلندتر بودن متن برچسب) */
.woocommerce-checkout-review-order-table tr.fee th,
table.shop_table tr.fee th,
.cart_totals tr.fee th,
.order_details tr.fee th {
	width: auto;
}
.woocommerce-checkout-review-order-table tr.fee td,
table.shop_table tr.fee td,
.cart_totals tr.fee td,
.order_details tr.fee td {
	width: 1% !important;
	white-space: nowrap !important;
	text-align: left !important;
}
.woocommerce-checkout-review-order-table tr.fee td .woocommerce-Price-amount,
table.shop_table tr.fee td .woocommerce-Price-amount,
.cart_totals tr.fee td .woocommerce-Price-amount,
.order_details tr.fee td .woocommerce-Price-amount {
	display: inline-block;
	direction: ltr;
}

.balepardakht-wallet-box {
	font-family: 'IRANYekan', Tahoma, sans-serif;
	border-radius: 14px; padding: 16px 18px; margin: 16px auto; font-size: 13px; line-height: 1.9;
	max-width: 560px;
}
.balepardakht-wallet-ok, .balepardakht-wallet-warning { display: flex; align-items: flex-start; gap: 10px; }
.balepardakht-wallet-ok > span:last-child, .balepardakht-wallet-warning > span:last-child { padding-top: 5px; }
.balepardakht-wallet-connect { background: linear-gradient(135deg, #f7f4ff, #fef4f8); border: 1px dashed #c7b8ff; }
.balepardakht-wallet-ok { background: #ecfdf3; border: 1px solid #b7ecca; color: #15803d; }
.balepardakht-wallet-warning { background: #fef3c7; border: 1px solid #fde68a; color: #92400e; }
a.balepardakht-connect-btn {
	display: inline-flex !important; align-items: center; gap: 7px;
	background: linear-gradient(135deg, var(--balepardakht-primary, #4f46e5), var(--balepardakht-primary-dark, #3730a3)) !important;
	color: var(--balepardakht-btn-text, #fff) !important; border: none;
	border-radius: 10px; padding: 10px 22px; font-size: 13.5px; font-weight: 600; text-decoration: none !important; margin-top: 6px;
}
button.balepardakht-check-btn {
	display: inline-flex !important; align-items: center; gap: 7px;
	background: #fff !important; color: var(--balepardakht-primary, #4f46e5) !important;
	border: 1.5px solid var(--balepardakht-primary, #4f46e5) !important;
	border-radius: 10px; padding: 9px 20px; font-size: 13.5px; font-weight: 600;
	cursor: pointer; margin-top: 6px; margin-inline-start: 8px;
}
button.balepardakht-check-btn:hover:not(:disabled) { background: var(--balepardakht-primary, #4f46e5) !important; color: #fff !important; }
button.balepardakht-check-btn:disabled { opacity: .6; cursor: default; }
.balepardakht-check-result { margin-top: 12px; font-size: 12.5px; padding: 10px 14px; border-radius: 10px; line-height: 1.8; }
.balepardakht-check-result.success { background: #ecfdf3; color: #15803d; border: 1px solid #b7ecca; }
.balepardakht-check-result.pending { background: #fef9e7; color: #92400e; border: 1px solid #fde68a; }
.balepardakht-check-result.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.balepardakht-status-icon {
	flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
}
.balepardakht-status-icon.ok { background: #dcfce7; color: #16a34a; }
.balepardakht-status-icon.warning { background: #fef3c7; color: #b45309; }
.balepardakht-status-icon.connect { background: #eef0ff; color: #4f46e5; }

.balepardakht-wallet-connect-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.balepardakht-wallet-connect-head span:last-child { line-height: 1.9; padding-top: 4px; }
.balepardakht-wallet-steps { font-size: 12px; color: #6b7280; margin: 8px 0 0; }

.balepardakht-connect-status { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.balepardakht-connect-status strong { display: block; font-size: 14.5px; color: #1f2430; }
.balepardakht-connect-substatus { margin: 4px 0 0; font-size: 12.5px; color: #6b7280; display: flex; align-items: center; gap: 6px; }

.balepardakht-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #cbd1ea; flex-shrink: 0; }
.balepardakht-live-dot.is-online { background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.55); animation: balepardakht-live-pulse 1.8s ease-out infinite; }
@keyframes balepardakht-live-pulse {
	0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55); }
	70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); }
	100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

@media (prefers-reduced-motion: reduce) {
	.balepardakht-live-dot.is-online { animation: none; }
}

.balepardakht-connect-wrap {
	font-family: 'IRANYekan', Tahoma, sans-serif;
	direction: rtl; text-align: right;
	background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px;
	margin: 24px auto !important; max-width: 480px;
	box-shadow: 0 1px 2px rgba(20,20,43,.03), 0 20px 45px -24px rgba(20,20,43,.18);
}
.balepardakht-connect-wrap a.button {
	background: linear-gradient(135deg, #4f46e5, #3730a3) !important; color: #fff !important; border: none !important;
	border-radius: 10px; padding: 10px 20px; text-decoration: none !important; display: inline-block;
}

@media (max-width: 600px) {
	.balepardakht-thankyou-box, .balepardakht-connect-wrap { margin: 16px !important; padding: 20px; }
	.balepardakht-wallet-box { margin: 16px auto; }
}

/* ===== نمای بزرگ‌شده کارت (باز شدن با کلیک دوم روی کارت انتخاب‌شده) ===== */
.balepardakht-card-modal-overlay {
	position: fixed; inset: 0; z-index: 999999;
	background: rgba(15,17,32,.6);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	display: flex; align-items: center; justify-content: center;
	padding: 24px; box-sizing: border-box;
	opacity: 0; transition: opacity .2s ease;
	font-family: 'IRANYekan', Tahoma, sans-serif;
}
.balepardakht-card-modal-overlay.is-open { opacity: 1; }

.balepardakht-card-modal {
	position: relative; width: 100%; max-width: 440px;
	transform: scale(.9); transition: transform .2s ease;
}
.balepardakht-card-modal-overlay.is-open .balepardakht-card-modal { transform: scale(1); }

.balepardakht-card-modal-close {
	position: absolute; top: -46px; left: 50%; transform: translateX(-50%);
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255,255,255,.16) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important;
	display: flex !important; align-items: center; justify-content: center; cursor: pointer;
	box-shadow: none !important; padding: 0 !important;
}
.balepardakht-card-modal-close:hover { background: rgba(255,255,255,.26) !important; }
.balepardakht-card-modal-close svg { width: 16px; height: 16px; }

.balepardakht-card-face-enlarged {
	min-height: 220px !important;
	cursor: pointer;
	box-shadow: 0 30px 60px -18px rgba(0,0,0,.65) !important;
}
.balepardakht-card-face-enlarged .balepardakht-card-selected-badge { display: none !important; }
@media (min-width: 420px) {
	.balepardakht-card-face-enlarged { min-height: 260px !important; padding: 30px 26px 26px !important; }
	.balepardakht-card-face-enlarged .balepardakht-card-number { font-size: 26px !important; letter-spacing: 5.5px !important; gap: 14px !important; }
	.balepardakht-card-face-enlarged .balepardakht-card-number.balepardakht-fa-digits { font-size: 27px !important; letter-spacing: 10px !important; gap: 16px !important; }
	.balepardakht-card-face-enlarged .balepardakht-sheba { font-size: 19px !important; }
	.balepardakht-card-face-enlarged .balepardakht-sheba.balepardakht-fa-digits { font-size: 20px !important; letter-spacing: 4.5px !important; }
	.balepardakht-card-face-enlarged .balepardakht-bank-name { font-size: 16px !important; }
	.balepardakht-card-face-enlarged .balepardakht-holder-name { font-size: 13px !important; }
}

.balepardakht-card-modal-details {
	max-height: none !important; opacity: 1 !important; overflow: visible !important;
	margin-top: 14px;
}
.balepardakht-card-modal-details .balepardakht-card-details-note { font-size: 12.5px; }
.balepardakht-card-modal-details .balepardakht-send-info-row { margin-top: 10px; }
