/* ================================================================
 *  ریزبین — استایل سمت کاربر
 * ================================================================ */
.rizben-wrap {
	font-family: Vazirmatn, IRANSans, Tahoma, sans-serif;
	max-width: 1000px;
	margin: 0 auto;
	color: #3a3a4a;
}

/* ---- پیام‌ها ---- */
.rizben-notice {
	padding: 12px 18px;
	border-radius: 14px;
	margin-bottom: 18px;
	font-size: 15px;
}
.rizben-notice-success { background: #e6f7ef; color: #1b7a52; border: 1px solid #b8ecd4; }
.rizben-notice-error   { background: #fdecec; color: #b23b3b; border: 1px solid #f6c9c9; }

/* ---- باکس‌های آمار بالای صفحه (سبک مدرن) ---- */
.rizben-stat-boxes {
	display: flex;
	gap: 18px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.rizben-stat-box {
	flex: 1 1 240px;
	display: flex;
	align-items: center;
	gap: 16px;
	border-radius: 22px;
	padding: 24px 22px;
	color: #fff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(100, 100, 160, 0.22);
	transition: transform .18s ease, box-shadow .18s ease;
}
.rizben-stat-box:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(100, 100, 160, 0.3);
}
.rizben-stat-box::after {
	content: '';
	position: absolute;
	left: -30px;
	top: -30px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
}
.rizben-box-a { background: linear-gradient(135deg, #6f8ef5, #8f6ff5); }
.rizben-box-b { background: linear-gradient(135deg, #ff8fa3, #ff9f7a); }
.rizben-stat-icon {
	width: 56px;
	height: 56px;
	min-width: 56px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
}
.rizben-stat-icon svg {
	width: 28px;
	height: 28px;
	color: #fff;
}
.rizben-stat-num {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.1;
	text-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.rizben-stat-label {
	margin-top: 5px;
	font-size: 14px;
	opacity: .92;
}

/* ---- کارت‌ها ---- */
.rizben-card {
	background: #fff;
	border: 1px solid #eef0f6;
	border-radius: 22px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 8px 24px rgba(140, 140, 180, 0.1);
}
.rizben-card-title {
	margin: 0 0 18px;
	font-size: 19px;
	font-weight: 700;
	color: #44445e;
}

/* ---- فرم ---- */
.rizben-field { margin-bottom: 16px; }
.rizben-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #55556e;
}
.rizben-field input[type="url"],
.rizben-field input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #e3e6ef;
	border-radius: 14px;
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color .2s;
	font-family: inherit;
}
.rizben-field input:focus {
	outline: none;
	border-color: #a9bcf5;
}
.rizben-field small { color: #9a9ab0; font-size: 12px; }

.rizben-btn-primary {
	display: inline-block;
	background: linear-gradient(135deg, #6f8ef5, #8f6ff5);
	color: #fff;
	border: none;
	border-radius: 14px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	box-shadow: 0 6px 16px rgba(111, 142, 245, 0.35);
	transition: transform .15s, box-shadow .15s;
	text-decoration: none;
}
.rizben-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(111, 142, 245, 0.45);
	color: #fff;
}

/* ---- جدول ---- */
.rizben-table-scroll { overflow-x: auto; }
.rizben-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
	font-size: 14px;
}
.rizben-table thead th {
	text-align: right;
	padding: 8px 14px;
	color: #8a8aa3;
	font-weight: 700;
	font-size: 13px;
}
.rizben-table td {
	padding: 14px;
	vertical-align: middle;
}
.rizben-table td:first-child { border-radius: 0 16px 16px 0; }
.rizben-table td:last-child  { border-radius: 16px 0 0 16px; }

/* ---- رنگ پاستیلی هر سطر (چرخشی) ---- */
.rizben-table tbody tr:nth-child(6n+1) td { background: #eef4ff; }
.rizben-table tbody tr:nth-child(6n+2) td { background: #fdeef5; }
.rizben-table tbody tr:nth-child(6n+3) td { background: #eefaf2; }
.rizben-table tbody tr:nth-child(6n+4) td { background: #fff5e8; }
.rizben-table tbody tr:nth-child(6n+5) td { background: #f3eeff; }
.rizben-table tbody tr:nth-child(6n+6) td { background: #e8f8fb; }

.rizben-orig a { color: #4a6fd0; text-decoration: none; word-break: break-all; }
.rizben-short-link { font-weight: 600; color: #444; word-break: break-all; }
.rizben-num { font-weight: 700; text-align: center; color: #555; }

.rizben-copy {
	background: #ffffffcc;
	border: 1px solid #d8def0;
	border-radius: 10px;
	padding: 5px 12px;
	font-size: 12px;
	cursor: pointer;
	margin-right: 6px;
	font-family: inherit;
	color: #5a5a78;
}
.rizben-copy:hover { background: #fff; }

.rizben-qrbox { display: inline-block; transition: transform .15s; }
.rizben-qrbox:hover { transform: scale(1.06); }
.rizben-qrbox img, .rizben-qrbox canvas {
	border-radius: 10px;
	border: 4px solid #fff;
	box-shadow: 0 3px 8px rgba(0,0,0,.08);
	display: block;
}
.rizben-qr { text-align: center; }
.rizben-qr-hint {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	color: #9a9ab0;
}

.rizben-btn-del {
	background: #ffe5e5;
	color: #c0392b;
	border: none;
	border-radius: 12px;
	padding: 8px 16px;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
}
.rizben-btn-del:hover { background: #ffd5d5; }

.rizben-empty { color: #9a9ab0; padding: 20px 0; }
.rizben-login-card { text-align: center; }
.rizben-login-card p { color: #6a6a85; margin-bottom: 18px; }

/* ---- واکنش‌گرا (موبایل): تبدیل جدول به کارت ---- */
@media (max-width: 720px) {
	.rizben-stat-box { flex: 1 1 100%; }
	.rizben-table thead { display: none; }
	.rizben-table, .rizben-table tbody, .rizben-table tr, .rizben-table td { display: block; width: 100%; box-sizing: border-box; }
	.rizben-table tr { margin-bottom: 14px; border-radius: 18px; overflow: hidden; }
	.rizben-table td { border-radius: 0 !important; display: flex; justify-content: space-between; gap: 12px; }
	.rizben-table td::before { content: attr(data-label); font-weight: 700; color: #8a8aa3; }
}

/* ================================================================
 *  صفحه تبلیغ (پاپ‌آپ + شمارنده)
 * ================================================================ */
.rizben-ad-body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f4f1ff, #e8f0ff 50%, #fdeef5);
	font-family: Vazirmatn, IRANSans, Tahoma, sans-serif;
}
.rizben-ad-overlay {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.rizben-ad-card {
	background: #fff;
	border-radius: 28px;
	padding: 34px 30px;
	max-width: 420px;
	width: 100%;
	text-align: center;
	box-shadow: 0 24px 60px rgba(120, 120, 180, 0.25);
	animation: rizben-pop .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes rizben-pop {
	from { transform: scale(.85); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

/* شمارنده دایره‌ای */
.rizben-ad-counter {
	position: relative;
	width: 120px;
	height: 120px;
	margin: 0 auto 22px;
}
.rizben-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.rizben-ring-bg { fill: none; stroke: #eef0f8; stroke-width: 10; }
.rizben-ring-fg {
	fill: none;
	stroke: #6f8ef5;
	stroke-width: 10;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s linear;
}
.rizben-count-num {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	font-size: 44px;
	font-weight: 800;
	color: #5566c4;
}

.rizben-ad-image-wrap { margin-bottom: 18px; }
.rizben-ad-image {
	max-width: 100%;
	max-height: 220px;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(0,0,0,.1);
}
.rizben-ad-text {
	font-size: 17px;
	color: #44445e;
	line-height: 1.7;
	margin: 0 0 22px;
}
.rizben-ad-btn {
	display: inline-block;
	background: linear-gradient(135deg, #ffb199, #ff8fa3);
	color: #fff;
	text-decoration: none;
	padding: 14px 36px;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(255, 143, 163, 0.4);
	transition: transform .15s;
}
.rizben-ad-btn:hover { transform: translateY(-2px); color: #fff; }
.rizben-ad-note {
	margin: 20px 0 0;
	font-size: 13px;
	color: #9a9ab0;
}

/* ================================================================
 *  نسخه 2.0 — فرم بالا، صفحه‌بندی، سفارش تبلیغ
 * ================================================================ */
.rizben-form-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 14px;
}
.rizben-form-grid .rizben-field { margin-bottom: 10px; }
.rizben-hint { display: block; color: #9a9ab0; font-size: 12px; margin: 0 0 14px; }
.rizben-field textarea,
.rizben-field select,
.rizben-field input[type="file"] {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #e3e6ef;
	border-radius: 14px;
	font-size: 15px;
	box-sizing: border-box;
	font-family: inherit;
	background: #fff;
}
.rizben-field input[type="file"] { padding: 9px; background: #f8f9fd; }
.rizben-field textarea:focus, .rizben-field select:focus { outline: none; border-color: #a9bcf5; }

/* سربرگ فهرست + انتخاب تعداد */
.rizben-list-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
.rizben-list-head .rizben-card-title { margin: 0; }
.rizben-per-page { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #8a8aa3; }
.rizben-pill-sm {
	display: inline-block;
	min-width: 34px;
	text-align: center;
	padding: 6px 10px;
	border-radius: 12px;
	background: #f1f3fa;
	color: #5a5a78;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
}
.rizben-pill-sm.active { background: linear-gradient(135deg, #6f8ef5, #8f6ff5); color: #fff; }

/* صفحه‌بندی */
.rizben-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
}
.rizben-pager a, .rizben-pager span {
	display: inline-block;
	min-width: 38px;
	text-align: center;
	padding: 8px 12px;
	border-radius: 12px;
	background: #f1f3fa;
	color: #5a5a78;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	box-sizing: border-box;
}
.rizben-pager a:hover { background: #e6eaf8; color: #4455b8; }
.rizben-pager .rz-current { background: linear-gradient(135deg, #6f8ef5, #8f6ff5); color: #fff; box-shadow: 0 5px 12px rgba(111,142,245,.35); }
.rizben-pager .rz-disabled { opacity: .45; }
.rizben-pager .rz-dots { background: transparent; }

/* سفارش تبلیغ */
.rizben-req { color: #e05a6f; }
.rizben-tip {
	display: block;
	margin-top: 6px;
	background: #fff8e8;
	border: 1px solid #ffe3a8;
	color: #8a6a1f;
	padding: 7px 12px;
	border-radius: 12px;
	font-size: 12.5px;
}
.rizben-file-err { color: #c0392b !important; font-weight: 600; }


/* تبلیغ‌های من */
.rizben-sub-title { margin: 28px 0 12px; font-size: 16px; color: #44445e; }
.rizben-my-ads { display: flex; flex-direction: column; gap: 12px; }
.rizben-my-ad {
	display: flex;
	gap: 14px;
	align-items: center;
	background: #f8f9fd;
	border-radius: 18px;
	padding: 12px;
}
.rizben-my-ad-img { width: 120px; height: 57px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.rizben-my-ad-body { flex: 1; min-width: 0; }
.rizben-my-ad-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.rizben-my-ad-meta { font-size: 12.5px; color: #8a8aa3; }
.rizben-my-ad-link { font-size: 13px; color: #4a6fd0; text-decoration: none; word-break: break-all; }
.rizben-progress { height: 10px; background: #e8eaf4; border-radius: 10px; overflow: hidden; margin-top: 8px; }
.rizben-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #34c98e, #2bb5c9);
	border-radius: 10px;
	transition: width .6s ease;
}
.rizben-progress-text { font-size: 12px; color: #6a6a85; margin-top: 4px; }

.rizben-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.rizben-badge-pending   { background: #fff3dc; color: #a06a00; }
.rizben-badge-approved  { background: linear-gradient(135deg, #34c98e, #2bb5c9); color: #fff; }
.rizben-badge-completed { background: #e8eefc; color: #4455b8; }
.rizben-badge-rejected  { background: #fdecec; color: #b23b3b; }

@media (max-width: 720px) {
	.rizben-form-grid { grid-template-columns: 1fr; }
	.rizben-my-ad { flex-direction: column; align-items: stretch; }
	.rizben-my-ad-img { width: 100%; height: auto; aspect-ratio: 1920 / 912; }
}

/* ================================================================
 *  نسخه 2.1 — دکمه AI، مرتب‌سازی، برچسب تبلیغ، آکاردئون سفارش
 * ================================================================ */

/* ---- فیلد متن دلخواه + دکمه AI ---- */
.rizben-ai-field { position: relative; }
.rizben-ai-field input[type="text"] { padding-left: 74px !important; }
.rizben-ai-btn {
	position: absolute;
	left: 7px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 32px;
	padding: 0 11px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #6f8ef5, #b86ff5);
	color: #fff;
	font: 700 12.5px/1 Tahoma, sans-serif;
	letter-spacing: .5px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(143, 111, 245, .35);
	transition: transform .15s, box-shadow .15s, opacity .15s;
}
.rizben-ai-btn svg { width: 15px; height: 15px; }
.rizben-ai-btn:hover { transform: translateY(-50%) scale(1.05); box-shadow: 0 6px 16px rgba(143, 111, 245, .45); }
.rizben-ai-btn:focus-visible { outline: 3px solid rgba(143, 111, 245, .35); outline-offset: 2px; }
.rizben-ai-btn.is-loading { opacity: .8; cursor: progress; }
.rizben-ai-btn.is-loading svg { animation: rizben-spin 1s linear infinite; }
@keyframes rizben-spin { to { transform: rotate(360deg); } }
.rizben-ai-msg { display: block; margin-top: 6px; font-size: 12px; color: #6a5bc9; }
.rizben-ai-msg.is-err { color: #c0392b; }
.rizben-flash { animation: rizben-flash 1.2s ease; border-color: #a98bf5 !important; }
@keyframes rizben-flash { 0% { background: #efe9ff; } 100% { background: #fff; } }

/* ---- ابزارهای سربرگ فهرست ---- */
.rizben-list-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rizben-sort { display: inline-flex; background: #f1f3fa; border-radius: 14px; padding: 4px; gap: 2px; }
.rizben-sort-btn {
	padding: 7px 12px;
	border-radius: 11px;
	color: #5a5a78;
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.rizben-sort-btn:hover { color: #4455b8; background: #e6eaf8; }
.rizben-sort-btn.active { background: #fff; color: #5a45c4; box-shadow: 0 2px 8px rgba(100, 100, 160, .15); }

/* ---- برچسب «تبلیغ‌شده» ---- */
.rizben-ad-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 4px;
	padding: 3px 9px;
	border-radius: 20px;
	background: #fff1e0;
	color: #b0651a;
	font-size: 11.5px;
	font-weight: 700;
	white-space: nowrap;
	vertical-align: middle;
}
.rizben-ad-tag svg { width: 13px; height: 13px; }
.rizben-ad-tag.is-running { background: linear-gradient(135deg, #ff9f7a, #ff8fa3); color: #fff; box-shadow: 0 3px 8px rgba(255, 143, 163, .35); }

/* ---- آکاردئون سفارش تبلیغ ---- */
.rizben-acc { margin-bottom: 24px; }
.rizben-acc-item {
	background: #fff;
	border: 1px solid #eef0f6;
	border-radius: 22px;
	box-shadow: 0 8px 24px rgba(140, 140, 180, .1);
	overflow: hidden;
}
.rizben-acc-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px;
	cursor: pointer;
	list-style: none;
	background: linear-gradient(135deg, #fff7f2 0%, #fdf1f7 55%, #f4f1ff 100%);
	transition: background .2s;
}
.rizben-acc-head::-webkit-details-marker { display: none; }
.rizben-acc-head:hover { background: linear-gradient(135deg, #fff1e8 0%, #fde8f2 55%, #ede8ff 100%); }
.rizben-acc-head:focus { outline: none; } /* خنثی‌سازی outline قالب پس از کلیک */
.rizben-acc-head:focus-visible { outline: 3px solid rgba(143, 111, 245, .35); outline-offset: -3px; }
.rizben-acc-icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #ff9f7a, #ff6f91);
	color: #fff;
	box-shadow: 0 8px 18px rgba(255, 111, 145, .35);
}
.rizben-acc-icon svg { width: 27px; height: 27px; }
.rizben-acc-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rizben-acc-title { font-size: 18px; font-weight: 800; color: #3f3f5a; }
.rizben-acc-sub { font-size: 12.5px; color: #8a8aa3; line-height: 1.7; }
.rizben-acc-badge {
	flex-shrink: 0;
	padding: 5px 12px;
	border-radius: 20px;
	background: linear-gradient(135deg, #34c98e, #2bb5c9);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.rizben-acc-chev {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	color: #8f6ff5;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 10px rgba(100, 100, 160, .15);
	transition: transform .3s ease;
}
.rizben-acc-chev svg { width: 18px; height: 18px; }
.rizben-acc-item[open] .rizben-acc-chev { transform: rotate(180deg); }
.rizben-acc-body { padding: 22px; border-top: 1px solid #f1f2f8; }
.rizben-acc-item[open] .rizben-acc-body { animation: rizben-acc-in .35s ease; }
@keyframes rizben-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* صف تکمیل */
.rizben-queue-full {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 18px;
	background: linear-gradient(135deg, #fff8e8, #fff1f3);
	border: 1px solid #ffe3c2;
	color: #7a5a2a;
}
.rizben-queue-full > div { display: flex; flex-direction: column; gap: 4px; }
.rizben-queue-full b { font-size: 15px; color: #8a5a10; }
.rizben-queue-full span { font-size: 13px; }
.rizben-queue-icon {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #fff;
	color: #f0a030;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(240, 160, 48, .2);
}
.rizben-queue-icon svg { width: 24px; height: 24px; }

/* گام‌های فرم */
.rizben-step {
	border: 1px solid #eef0f6;
	border-radius: 18px;
	padding: 16px 18px 6px;
	margin: 0 0 16px;
	background: #fcfcff;
	min-width: 0;
}
.rizben-step legend {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 8px;
	font-size: 14px;
	font-weight: 800;
	color: #4a4a6a;
}
.rizben-step-no {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #6f8ef5, #8f6ff5);
	color: #fff;
	font-size: 12px;
}
.rizben-opt { color: #9a9ab0; font-weight: 400; font-size: 12px; }
.rizben-counter { color: #9a9ab0; font-size: 12px; }
.rizben-counter.is-over { color: #c0392b; font-weight: 700; }

/* کارت‌های نوع سفارش */
.rizben-type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rizben-type-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 2px solid #e6e9f3;
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
	margin: 0 !important;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.rizben-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.rizben-type-card:hover { border-color: #c9c2f7; }
.rizben-type-card:has(input:checked) { border-color: #8f6ff5; background: #f6f3ff; box-shadow: 0 6px 16px rgba(143, 111, 245, .18); }
.rizben-type-card:has(input:focus-visible) { outline: 3px solid rgba(143, 111, 245, .35); outline-offset: 2px; }
.rizben-type-ico {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eef1fb;
	color: #6f8ef5;
}
.rizben-type-card:has(input:checked) .rizben-type-ico { background: linear-gradient(135deg, #6f8ef5, #8f6ff5); color: #fff; }
.rizben-type-ico svg { width: 22px; height: 22px; }
.rizben-type-text { display: flex; flex-direction: column; gap: 2px; }
.rizben-type-text b { font-size: 15px; color: #3f3f5a; }
.rizben-type-text small { font-size: 12px; color: #8a8aa3; }
.rizben-qty-field select { max-width: 220px; }

/* کلید ساخت بنر */
.rizben-banner-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	margin: 0 0 14px !important;
	border-radius: 14px;
	background: #fff8f2;
	border: 1px dashed #ffcfae;
	cursor: pointer;
}
.rizben-banner-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.rizben-banner-toggle > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.rizben-banner-toggle b { font-size: 13.5px; color: #4a4a6a; }
.rizben-banner-toggle small { font-size: 12px; color: #b0651a; }
.rizben-switch {
	flex-shrink: 0;
	position: relative;
	width: 42px;
	height: 24px;
	border-radius: 20px;
	background: #dcdff0;
	transition: background .2s;
}
.rizben-switch::after {
	content: '';
	position: absolute;
	top: 3px;
	right: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
	transition: right .2s;
}
.rizben-banner-toggle input:checked + .rizben-switch { background: linear-gradient(135deg, #ff9f7a, #ff8fa3); }
.rizben-banner-toggle input:checked + .rizben-switch::after { right: 21px; }
.rizben-banner-toggle input:focus-visible + .rizben-switch { outline: 3px solid rgba(255, 143, 163, .4); outline-offset: 2px; }

/* محل انتخاب فایل */
.rizben-drop {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 2px dashed #cfd5ee;
	border-radius: 16px;
	background: #f8f9fd;
	cursor: pointer;
	margin: 0 !important;
	transition: border-color .15s, background .15s;
}
.rizben-drop:hover { border-color: #a9bcf5; background: #f2f5ff; }
.rizben-drop.has-file { border-style: solid; border-color: #34c98e; background: #effbf6; }
.rizben-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.rizben-drop-ico {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: #fff;
	color: #8f6ff5;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 10px rgba(100, 100, 160, .12);
}
.rizben-drop.has-file .rizben-drop-ico { color: #1f9e6e; }
.rizben-drop-ico svg { width: 24px; height: 24px; }
.rizben-drop-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rizben-drop-text > b { font-size: 14px; color: #4a4a6a; word-break: break-all; }
.rizben-drop-text small { font-size: 12px; color: #8a8aa3; }
.rizben-drop-sm { padding: 14px; }
.rizben-field[hidden] { display: none !important; }

/* پرداخت: کارت بانکی + خلاصه مبلغ */
.rizben-pay { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 14px; }
.rizben-bank-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	min-height: 170px;
	padding: 20px;
	border-radius: 20px;
	color: #fff;
	background: linear-gradient(135deg, #5b6ff0 0%, #8f6ff5 55%, #c76ff0 100%);
	box-shadow: 0 14px 30px rgba(110, 100, 230, .35);
}
.rizben-bank-card::before,
.rizben-bank-card::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
}
.rizben-bank-card::before { width: 180px; height: 180px; left: -60px; top: -70px; }
.rizben-bank-card::after { width: 120px; height: 120px; right: -30px; bottom: -50px; }
.rizben-bank-top, .rizben-bank-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rizben-chip {
	width: 40px;
	height: 30px;
	border-radius: 7px;
	background: linear-gradient(135deg, #ffe6a3, #f3c14d);
	box-shadow: inset 0 0 0 1px rgba(160, 110, 0, .25);
}
.rizben-bank-name { font-size: 13px; font-weight: 700; opacity: .95; }
.rizben-bank-no {
	position: relative;
	z-index: 1;
	font: 800 22px/1.2 Tahoma, monospace;
	letter-spacing: 2.5px;
	text-align: left;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .15);
	white-space: nowrap;
}
.rizben-bank-owner { font-size: 14px; font-weight: 700; }
.rizben-copy-card {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 11px;
	background: rgba(255, 255, 255, .18);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(4px);
	transition: background .15s;
}
.rizben-copy-card svg { width: 15px; height: 15px; }
.rizben-copy-card:hover { background: rgba(255, 255, 255, .3); }
.rizben-copy-card.is-done { background: #fff; color: #1f9e6e; border-color: #fff; }
.rizben-pay-summary {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #eef0f6;
}
.rizben-pay-row, .rizben-pay-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: #6a6a85; }
.rizben-pay-row[hidden] { display: none; }
.rizben-pay-total { padding-top: 10px; border-top: 1px dashed #e3e6ef; color: #44445e; font-weight: 700; }
.rizben-pay-total b { font-size: 19px; color: #5a45c4; }
.rizben-pay-summary small { font-size: 12px; color: #9a9ab0; line-height: 1.8; }
.rizben-btn-block { width: 100%; padding: 14px; font-size: 16px; }
.rizben-my-ad-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(45deg, #f4f1ff, #f4f1ff 8px, #fdf1f7 8px, #fdf1f7 16px);
	color: #8a6fd0;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 720px) {
	.rizben-acc-head { padding: 16px; gap: 10px; }
	.rizben-acc-icon { width: 44px; height: 44px; border-radius: 14px; }
	.rizben-acc-title { font-size: 16px; }
	.rizben-acc-badge { display: none; }
	.rizben-acc-body { padding: 16px; }
	.rizben-pay { grid-template-columns: 1fr; }
	.rizben-bank-no { font-size: clamp(14px, 4.8vw, 19px); letter-spacing: .5px; }
	.rizben-bank-card { padding: 16px; min-height: 150px; }
	.rizben-step { padding: 14px 12px 4px; }
	.rizben-copy-card span { white-space: nowrap; }
	.rizben-list-tools { width: 100%; }
	.rizben-sort { width: 100%; justify-content: space-between; }
	.rizben-sort-btn { flex: 1; text-align: center; padding: 7px 6px; }
}
