/* ====================================================================
   استایل فرم درخواست خرید — مرحله ۱: بازطراحی کامل ظاهر (UI/UX)
   منطق سیستم دست نخورده است؛ این فایل فقط ظاهر را کنترل می‌کند.
   پالت رنگی: تم تیره (Navy) با گرادیان آبی/بنفش، مطابق تصویر مرجع.
   ==================================================================== */

:root {
	/* --- پس‌زمینه‌ها --- */
	--prs-bg: #0B0F1E;
	--prs-bg-2: #0E1424;
	--prs-card: #141B30;
	--prs-card-2: #1B2340;
	--prs-card-3: #212B4D;
	--prs-input-bg: #1B2340;

	/* --- بردرها --- */
	--prs-border: rgba(255, 255, 255, 0.08);
	--prs-border-strong: rgba(255, 255, 255, 0.16);

	/* --- برند / گرادیان اصلی --- */
	--prs-primary: #5B8CFF;
	--prs-primary-2: #8B5CF6;
	--prs-gradient: linear-gradient(135deg, var(--prs-primary), var(--prs-primary-2));
	--prs-gradient-soft: linear-gradient(135deg, rgba(91, 140, 255, .16), rgba(139, 92, 246, .16));

	/* --- متن --- */
	--prs-text: #FFFFFF;
	--prs-text-muted: #99A3C4;
	--prs-text-faint: #6E7897;

	/* --- وضعیت‌ها --- */
	--prs-success: #22C55E;
	--prs-success-dark: #16A34A;
	--prs-danger: #FF5C6C;
	--prs-danger-dark: #E6453C;

	/* --- اندازه‌ها --- */
	--prs-radius-lg: 26px;
	--prs-radius-md: 16px;
	--prs-radius-sm: 10px;
	--prs-radius-pill: 999px;

	/* --- ترنزیشن --- */
	--prs-transition: 0.3s cubic-bezier(.2, .8, .2, 1);
	--prs-transition-fast: 0.18s ease;
}

/* ==================================================================
   استیج اصلی ویجت
   ================================================================== */
.prs-wrapper {
	max-width: 1100px;
	margin: auto;
	padding: 48px 20px 60px;
	direction: rtl;
	position: relative;
	color: var(--prs-text);
	font-family: inherit;
	isolation: isolate;
	overflow: hidden;
}

.prs-wrapper * {
	box-sizing: border-box;
}

/* گوی‌های نورانی تزئینی پشت زمینه (مثل تصویر مرجع) */
.prs-wrapper::before,
.prs-wrapper::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	pointer-events: none;
	z-index: -1;
	opacity: 0.35;
}

.prs-wrapper::before {
	width: 320px;
	height: 320px;
	top: -60px;
	left: -60px;
	background: radial-gradient(circle, var(--prs-primary-2), transparent 70%);
}

.prs-wrapper::after {
	width: 380px;
	height: 380px;
	bottom: 10%;
	right: -100px;
	background: radial-gradient(circle, var(--prs-primary), transparent 70%);
}

/* --------------------- نشانگر مراحل --------------------- */
.prs-steps-indicator {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	margin-bottom: 32px;
	position: relative;
	z-index: 1;
}

.prs-step-dot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: 0.5;
	transition: opacity var(--prs-transition);
}

.prs-step-dot.is-active,
.prs-step-dot.is-done {
	opacity: 1;
}

.prs-step-number {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--prs-card-3);
	border: 1.5px solid var(--prs-border-strong);
	color: var(--prs-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	transition: background var(--prs-transition), color var(--prs-transition), border-color var(--prs-transition), box-shadow var(--prs-transition);
}

.prs-step-dot.is-active .prs-step-number {
	background: var(--prs-gradient);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 0 0 5px rgba(91, 140, 255, .16), 0 10px 25px rgba(91, 140, 255, .35);
}

.prs-step-dot.is-done .prs-step-number {
	background: rgba(34, 197, 94, .16);
	border-color: rgba(34, 197, 94, .5);
	color: var(--prs-success);
	font-size: 0;
}

.prs-step-dot.is-done .prs-step-number::after {
	content: "✓";
	font-size: 15px;
}

.prs-step-label {
	font-size: 12px;
	color: var(--prs-text-muted);
	white-space: nowrap;
	font-weight: 600;
}

.prs-step-dot.is-active .prs-step-label {
	color: var(--prs-text);
}

.prs-step-line {
	width: 60px;
	height: 2px;
	background: var(--prs-border-strong);
	margin-top: 17px;
	border-radius: 2px;
}

/* --------------------- عنوان مرحله --------------------- */
.prs-title {
	color: var(--prs-text);
	font-size: 30px;
	font-weight: 800;
	text-align: center;
	margin-bottom: 34px;
	position: relative;
	letter-spacing: 0.2px;
}

.prs-title::after {
	content: "";
	width: 120px;
	height: 4px;
	border-radius: var(--prs-radius-pill);
	display: block;
	margin: 16px auto 0;
	background: var(--prs-gradient);
}

@media (max-width: 640px) {
	.prs-title {
		font-size: 24px;
	}
}

/* --------------------- کارت اصلی --------------------- */
.prs-card {
	background: linear-gradient(180deg, var(--prs-card-2), var(--prs-card));
	border: 1px solid var(--prs-border-strong);
	border-radius: var(--prs-radius-lg);
	padding: 40px;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, .45),
		0 0 60px rgba(91, 140, 255, .08),
		inset 0 1px 0 rgba(255, 255, 255, .04);
	position: relative;
}

@media (max-width: 640px) {
	.prs-card {
		padding: 24px 18px;
		border-radius: 20px;
	}
}

/* --------------------- تیتر بخش (با آیکون) --------------------- */
.prs-section-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--prs-text);
	margin-bottom: 16px;
}

.prs-section-heading svg {
	width: 18px;
	height: 18px;
	color: var(--prs-primary);
	flex-shrink: 0;
}

/* --------------------- مرحله / ترنزیشن --------------------- */
.prs-step {
	display: none;
	opacity: 0;
	transform: translateY(16px);
}

.prs-step.is-active {
	display: block;
	animation: prs-fade-in var(--prs-transition) forwards;
}

@keyframes prs-fade-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --------------------- دسته‌بندی‌ها (مرحله ۱) --------------------- */
.prs-card .prs-categories-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 36px;
	position: relative;
}
.prs-category-item {
	position: relative;
}

.prs-card .prs-section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.prs-card .prs-categories-bar .prs-category-btn {
	background: var(--prs-card-3);
	color: var(--prs-text);
	border: 1.5px solid var(--prs-border-strong);
	border-radius: var(--prs-radius-md);
	padding: 11px 16px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	transition: border-color var(--prs-transition), box-shadow var(--prs-transition), transform var(--prs-transition-fast), background var(--prs-transition);
	white-space: nowrap;
	font-family: inherit;
}

.prs-card .prs-categories-bar .prs-category-btn:hover {
	border-color: rgba(91, 140, 255, .55);
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(91, 140, 255, .18);
}

.prs-card .prs-categories-bar .prs-category-btn:active {
	transform: translateY(0) scale(0.98);
}

.prs-card .prs-categories-bar .prs-category-btn.has-selection {
	background: var(--prs-gradient-soft);
	border-color: transparent;
	box-shadow: 0 0 0 1.5px var(--prs-primary), 0 12px 30px rgba(91, 140, 255, .25);
}

.prs-card .prs-categories-bar .prs-category-btn .prs-cat-icon {
	display: flex;
	align-items: center;
	color: var(--prs-primary-2);
	flex-shrink: 0;
}

.prs-category-btn.has-selection .prs-cat-icon {
	color: var(--prs-text);
}

.prs-card .prs-categories-bar .prs-category-btn .prs-caret {
	font-size: 11px;
	color: var(--prs-text-muted);
	transition: transform 0.3s ease;
	line-height: 1;
}

.prs-card .prs-categories-bar .prs-category-btn.is-open .prs-caret {
	transform: rotate(180deg);
	color: var(--prs-primary);
}

.prs-category-count {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--prs-gradient);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
}

.prs-category-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 270px;
	max-height: 320px;
	overflow: auto;
	display: none;
	padding: 10px;
	border-radius: var(--prs-radius-md);
	background: var(--prs-card-3);
	backdrop-filter: blur(18px);
	border: 1px solid var(--prs-border-strong);
	box-shadow: 0 25px 60px rgba(0, 0, 0, .5);
	z-index: 500;
}

@media (max-width: 480px) {
	.prs-category-dropdown {
		width: 240px;
	}
}

.prs-category-dropdown.is-open {
	display: block;
	animation: prs-dropdown-in 0.22s ease;
}

@keyframes prs-dropdown-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.prs-checkbox-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 10px;
	margin-bottom: 4px;
	border-radius: var(--prs-radius-sm);
	color: var(--prs-text);
	font-size: 13.5px;
	cursor: pointer;
	transition: background var(--prs-transition-fast);
}

.prs-checkbox-row:last-child {
	margin-bottom: 0;
}

.prs-checkbox-row:hover {
	background: rgba(91, 140, 255, .1);
}

/* چک‌باکس سفارشی گرد-گوشه با تیک گرادیانی */
.prs-card .prs-category-dropdown .prs-checkbox-row input,
.prs-card .prs-category-dropdown .prs-product-checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 19px;
	height: 19px;
	border-radius: 6px;
	border: 1.5px solid var(--prs-border-strong);
	background: var(--prs-card);
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
	transition: background var(--prs-transition-fast), border-color var(--prs-transition-fast);
}

.prs-card .prs-category-dropdown .prs-checkbox-row input:checked,
.prs-card .prs-category-dropdown .prs-product-checkbox:checked {
	background: var(--prs-gradient);
	border-color: transparent;
}

.prs-card .prs-category-dropdown .prs-checkbox-row input:checked::after,
.prs-card .prs-category-dropdown .prs-product-checkbox:checked::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 6px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.prs-empty-category-msg {
	color: var(--prs-text-muted);
	font-size: 13px;
	padding: 10px;
	opacity: 0.85;
}

.prs-category-dropdown::-webkit-scrollbar {
	width: 6px;
}

.prs-category-dropdown::-webkit-scrollbar-track {
	background: transparent;
}

.prs-category-dropdown::-webkit-scrollbar-thumb {
	background: var(--prs-gradient);
	border-radius: 30px;
}

/* --------------------- فیلدهای فرم --------------------- */
.prs-form-row {
	display: grid;
	gap: 20px;
	margin-bottom: 20px;
}

.prs-form-row-2col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
	.prs-form-row-2col {
		grid-template-columns: 1fr;
	}
}

.prs-field {
	margin-bottom: 4px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.prs-field label {
	color: var(--prs-text);
	font-size: 13.5px;
	font-weight: 700;
	padding-right: 2px;
}

/* پوسته دور اینپوت که آیکون را در خودش جا می‌دهد */
.prs-input-wrap {
	position: relative;
}

.prs-input-wrap .prs-input-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    transform: translateY(-50%);
    color: var(--prs-text-faint);
    display: flex;
    pointer-events: none;
    transition: color var(--prs-transition-fast);
}

.prs-input-wrap .prs-input-icon svg {
	width: 18px;
	height: 18px;
}

.prs-input-wrap textarea ~ .prs-input-icon {
	top: 20px;
	transform: none;
}

.prs-input-wrap:focus-within .prs-input-icon {
	color: var(--prs-primary);
}

.prs-field input,
.prs-field textarea,
.prs-field select {
	width: 100%;
	background: var(--prs-input-bg);
	color: var(--prs-text);
	border: 1.5px solid var(--prs-border);
	border-radius: var(--prs-radius-md);

	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 18px;
	padding-right: 50px; /* فضای آیکون */

	font-size: 14px;
	font-family: inherit;
	transition: border-color var(--prs-transition-fast), box-shadow var(--prs-transition-fast);
	outline: none;
	box-sizing: border-box;
}

.prs-field textarea {
	min-height: 120px;
	resize: vertical;
	line-height: 1.8;
	padding-right: 50px;
	padding-left: 18px;
}

.prs-field input::placeholder,
.prs-field textarea::placeholder {
	color: var(--prs-text-faint);
}

.prs-field input:focus,
.prs-field textarea:focus,
.prs-field select:focus {
	border-color: var(--prs-primary);
	box-shadow: 0 0 0 4px rgba(91, 140, 255, .16);
}

.prs-field input:hover,
.prs-field textarea:hover,
.prs-field select:hover {
	border-color: var(--prs-border-strong);
}

.prs-field input[readonly] {
	opacity: 0.65;
	cursor: not-allowed;
}

.prs-field input,
.prs-field textarea,
.prs-field select {
    text-align: right;
    direction: rtl;
    padding-right: 50px !important;
    padding-left: 18px !important;
}

#prs_customer_phone,
#prs_final_phone {
    direction: ltr;
    text-align: left;
    padding-left: 18px !important;
    padding-right: 50px !important;
}

/* --------------------- دکمه‌ها --------------------- */
.prs-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 32px;
	flex-wrap: wrap;
	gap: 14px;
}

.prs-actions-split {
	justify-content: space-between;
}

@media (max-width: 768px) {

	.prs-actions,
	.prs-actions-split {
		flex-direction: column-reverse;
	}

	.prs-actions .prs-btn {
		width: 100%;
	}
}

.prs-actions .prs-btn {
	border: none;
	border-radius: var(--prs-radius-pill);
	padding: 14px 30px;
	font-size: 14.5px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: transform var(--prs-transition-fast),
				box-shadow var(--prs-transition-fast),
				opacity var(--prs-transition-fast),
				background var(--prs-transition-fast);
}

.prs-actions .prs-btn svg {
	width: 17px;
	height: 17px;
}

.prs-actions .prs-btn:hover {
	transform: translateY(-2px);
}

.prs-actions .prs-btn:active {
	transform: translateY(0);
}

.prs-actions .prs-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.prs-actions .prs-btn-primary {
	background: var(--prs-gradient);
	color: #fff;
	box-shadow: 0 14px 34px rgba(91, 140, 255, .32);
}

.prs-btn-primary:hover {
	box-shadow: 0 18px 40px rgba(91, 140, 255, .42);
}

.prs-actions .prs-btn-secondary {
	background: transparent;
	color: var(--prs-text);
	border: 1.5px solid var(--prs-border-strong);
}

.prs-btn-secondary:hover {
	border-color: var(--prs-text-muted);
}

/* اکشن قطعی و برگشت‌ناپذیر (ثبت نهایی سفارش) — عمداً سبز، برای تمایز از «ادامه» */
.prs-actions .prs-btn-success {
	background: linear-gradient(135deg, var(--prs-success), var(--prs-success-dark));
	color: #fff;
	box-shadow: 0 14px 34px rgba(34, 197, 94, .3);
}

.prs-btn-success:hover {
	box-shadow: 0 18px 40px rgba(34, 197, 94, .4);
}

/* --------------------- جدول قیمت‌گذاری (مرحله ۲) --------------------- */
.prs-pricing-table-header {
	display: grid;
	grid-template-columns:2.8fr 1.2fr;
	gap: 16px;
	font-size: 11px;
	color: var(--prs-text-muted);
	font-weight: 700;
	padding: 0 16px 10px;
    letter-spacing: .2px;
    opacity: .8;
}

.prs-pricing-row {
	display: grid;
	grid-template-columns:2.8fr 1.2fr;
	gap: 16px;
	align-items: start;
	background: var(--prs-card-2);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 18px;
	padding: 24px;
	margin-bottom: 20px;
	transition:
		transform .25s ease,
		border-color .25s ease,
		box-shadow .25s ease;
}

.prs-pricing-row:hover {
	border-color: rgba(91,140,255,.35);
	box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

@media (max-width: 640px) {
	.prs-pricing-table-header {
		display: none;
	}

	.prs-pricing-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.prs-pricing-cell {
	min-width: 0;
}

/* ستون اول: اطلاعات محصول (فقط نمایشی) */
.prs-pricing-cell-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.prs-product-name {
	font-weight: 700;
	color: var(--prs-text);
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 2px;
}

.prs-product-header{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    margin-bottom:8px;
    flex-wrap:wrap;
}

.prs-product-price-badge{
    padding:6px 12px;
    border-radius:999px;
    background:rgba(91,140,255,.12);
    border:1px solid rgba(91,140,255,.25);
    color:var(--prs-primary-2);
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
    margin-right:10px;
}

.prs-product-category {
	font-size: 12px;
	color: var(--prs-primary-2);
	font-weight: 600;
	opacity: .9;
	margin-top: 4px;
	margin-bottom: 8px;
}

.prs-description-readonly {
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 14px;
	padding: 14px 16px;
	margin-top: 8px;
	font-size: 13px;
	color: var(--prs-text-muted);
	line-height: 1.9;
	max-height: 110px;
	overflow-y: auto;
	transition: .25s;
}

.prs-description-readonly:hover{
	border-color:rgba(91,140,255,.25);
}

.prs-item-adjustment-badge {
	display: inline-block;
	margin-top: 6px;
	background: rgba(34, 197, 94, 0.14);
	color: #86f0b0;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 11px;
	border-radius: var(--prs-radius-pill);
	width: fit-content;
}

/* ستون دوم: قیمت واحد (فقط نمایشی) */
.prs-pricing-cell-price {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.prs-readonly-price {
	background: rgba(0, 0, 0, 0.22);
	border-radius: var(--prs-radius-sm);
	padding: 9px 12px;
	color: var(--prs-text);
	font-size: 14px;
	font-weight: 700;
    min-width: 120px;
}

.prs-field-caption {
	font-size: 11px;
	color: var(--prs-text-faint);
	margin: 0;
	opacity: .65;
}

/* ستون سوم: مقدار (تنها فیلد قابل ویرایش) */
.prs-pricing-cell-qty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
}

.prs-quantity-input-group {
	display: inline-flex;
	align-items: stretch;
	gap: 0;
	align-self: center;
	width: fit-content;
}

.prs-pricing-row .prs-quantity-input-group input {
	width: 72px;
	flex: none;
	min-width: 0;
	height: 38px;
	background: var(--prs-input-bg);
	border: 1.5px solid var(--prs-border);
	border-radius: 0 12px 12px 0;
	padding: 0 14px;
	color: var(--prs-text);
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	text-align: center;
	outline: none;
	transition: border-color var(--prs-transition-fast), box-shadow var(--prs-transition-fast);
}

.prs-pricing-row .prs-quantity-input-group input:focus {
	border-color: var(--prs-primary);
	box-shadow: 0 0 0 3px rgba(91, 140, 255, .16);
	position: relative;
	z-index: 2;
}

.prs-pricing-row .prs-quantity-input-group input::placeholder {
	color: var(--prs-text-faint);
	font-size: 13px;
	font-weight: 500;
	opacity: .55;
}

.prs-unit-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--prs-gradient);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 0 10px;
	min-height: 38px;
	border-radius: 12px 0 0 12px;
	white-space: nowrap;
}

.prs-line-total{
	text-align:center;
	font-size:16px;
	font-weight:700;
	line-height:1;
	color:var(--prs-text);
}

.prs-pricing-row .prs-remove-item-btn{
    margin-top: 2px;
    align-self: center;
    min-width: 120px;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 12px;
    background: rgba(255,92,108,.08);
    border: 1px solid rgba(255,92,108,.25);
    color: #ff7080;
    transition: .25s;
}

.prs-pricing-row .prs-remove-item-btn:hover{
    background: #ff5c6c;
    color: #fff;
    border-color: #ff5c6c;
    box-shadow: 0 10px 24px rgba(255,92,108,.25);
}

.prs-remove-icon {
	font-size: 11px;
}

/* --------------------- باکس جمع کل --------------------- */
.prs-totals-box {
	background: var(--prs-card-2);
	border: 1px solid var(--prs-border);
	border-radius: var(--prs-radius-md);
	padding: 18px 20px;
	margin-top: 16px;
}

.prs-totals-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.prs-adjustment-message {
	color: var(--prs-primary-2);
	font-size: 12.5px;
	flex: 1;
	min-width: 180px;
	line-height: 1.7;
	display: none;
}

.prs-shipping-line {
	display: none;
	justify-content: space-between;
	width: 100%;
	font-size: 13px;
	color: var(--prs-text-muted);
	border-top: 1px dashed var(--prs-border);
	padding-top: 8px;
	margin-top: 4px;
}

.prs-total-figures {
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-inline-start: auto;
}

.prs-total-original {
	text-decoration: line-through;
	color: red;
	font-size: 12px;
	margin-bottom: 2px;
}

.prs-totals-caption {
	font-size: 11px;
	color: var(--prs-text-muted);
	margin-top: 4px;
}

#prs-total-final {
	font-size: 21px;
	color: var(--prs-text);
	background: green;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* --------------------- پرداخت (مرحله ۳) --------------------- */
.prs-payment-method-toggle {
	display: flex;
	gap: 10px;
}

.prs-radio-pill {
	flex: 1;
	background: var(--prs-input-bg);
	border: 1.5px solid var(--prs-border);
	border-radius: var(--prs-radius-pill);
	padding: 12px 16px;
	text-align: center;
	cursor: pointer;
	color: var(--prs-text-muted);
	font-size: 13.5px;
	font-weight: 700;
	position: relative;
	transition: background var(--prs-transition-fast), border-color var(--prs-transition-fast), color var(--prs-transition-fast);
}

.prs-radio-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.prs-radio-pill:has(input:checked) {
	background: var(--prs-gradient);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 12px 28px rgba(91, 140, 255, .3);
}

/* --------------------- پیام‌ها و لودینگ --------------------- */
.prs-alert {
	border-radius: var(--prs-radius-md);
	padding: 14px 18px;
	margin-bottom: 18px;
	font-size: 13.5px;
	font-weight: 600;
	border: 1px solid transparent;
}

.prs-alert.is-error {
	background: rgba(255, 92, 108, 0.12);
	color: #ff8b97;
	border-color: rgba(255, 92, 108, 0.35);
}

.prs-alert.is-success {
	background: rgba(34, 197, 94, 0.12);
	color: #6fe3a0;
	border-color: rgba(34, 197, 94, 0.35);
}

.prs-loading-overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 15, 30, 0.65);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--prs-radius-lg);
	z-index: 50;
}

.prs-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(255, 255, 255, .12);
	border-top-color: var(--prs-primary);
	border-radius: 50%;
	animation: prs-spin 0.7s linear infinite;
}

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

.prs-loading-text {
	color: var(--prs-text-muted);
	font-size: 13px;
}

/* --------------------- نتیجه نهایی --------------------- */
.prs-result-card {
	text-align: center;
	padding: 56px 40px;
}

.prs-result-icon-wrap {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--prs-success), var(--prs-success-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	box-shadow: 0 14px 34px rgba(34, 197, 94, .35);
}

.prs-result-icon-wrap svg {
	width: 32px;
	height: 32px;
	color: #fff;
}

.prs-result-card h2 {
	font-size: 21px;
	color: var(--prs-text);
	margin: 0 0 14px;
}

.prs-result-invoice-code {
	font-size: 15px;
	font-weight: 700;
	color: var(--prs-text);
	background: var(--prs-card-3);
	border: 1px solid var(--prs-border-strong);
	display: inline-block;
	padding: 10px 22px;
	border-radius: var(--prs-radius-pill);
	margin: 4px 0 8px;
	letter-spacing: 0.3px;
}

.prs-result-card p {
	color: var(--prs-text-muted);
	font-size: 13.5px;
	line-height: 1.8;
}

/* --------------------- غیرفعال بودن ثبت درخواست (سوییچ تنظیمات) --------------------- */
.prs-disabled-card {
	text-align: center;
	padding: 56px 40px;
}

.prs-disabled-icon-wrap {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--prs-card-3);
	border: 1px solid var(--prs-border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}

.prs-disabled-icon-wrap svg {
	width: 28px;
	height: 28px;
	color: var(--prs-text-muted);
}

.prs-disabled-card h2 {
	font-size: 21px;
	color: var(--prs-text);
	margin: 0 0 14px;
}

.prs-disabled-card p {
	color: var(--prs-text-muted);
	font-size: 13.5px;
	line-height: 1.8;
	margin: 0;
}

.prs-result-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	background: var(--prs-gradient);
	color: #fff;
	text-decoration: none;
	padding: 13px 28px;
	border-radius: var(--prs-radius-pill);
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 14px 34px rgba(91, 140, 255, .32);
	transition: transform var(--prs-transition-fast), box-shadow var(--prs-transition-fast);
}

.prs-result-download-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(91, 140, 255, .42);
}

.prs-result-download-btn svg {
	width: 16px;
	height: 16px;
}
