/* ---------- ویجت جایگاه (المنتور) ---------- */
.qs-slot-widget { width: 100%; direction: rtl; text-align: right; }
.qs-slot-inner {
	display: block;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .2s ease, transform .2s ease;
}
.qs-slot-inner { padding: 18px; }
.qs-slot-active { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); display: flex; align-items: center; gap: 16px; border: 1px solid #e2e2e2; }
.qs-slot-active:hover { box-shadow: 0 6px 18px rgba(0,0,0,.14); transform: translateY(-2px); }
.qs-img-left .qs-slot-active { flex-direction: row-reverse; }
.qs-img-top .qs-slot-active { flex-direction: column; align-items: stretch; }
.qs-slot-image-wrap { flex: 0 0 auto; }
.qs-slot-image { width: 100%; height: auto; display: block; border-radius: 10px; }
.qs-slot-body { flex: 1 1 auto; min-width: 0; }
.qs-slot-title { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.qs-slot-bio { font-size: 13px; color: #666; line-height: 1.8; margin-bottom: 10px; }
.qs-slot-social { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12px; }
.qs-slot-social a { color: #2f7d3c; text-decoration: none; }
.qs-slot-phone-btn {
	display: inline-flex; align-items: center; gap: 6px;
	background: #7cb342; color: #fff; padding: 8px 20px; border-radius: 30px;
	font-size: 13px; text-decoration: none; border: 0; cursor: pointer;
}
.qs-slot-phone-static { cursor: default; opacity: .9; }

.qs-slot-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	background: repeating-linear-gradient(45deg, #f5f5f5, #f5f5f5 10px, #eee 10px, #eee 20px);
	border: 2px dashed #ccc;
	text-align: center;
	padding: 12px;
	font-size: 13px;
	color: #888;
}
.qs-slot-empty:hover { border-color: #999; color: #555; }

.qs-slot-not-found,
.qs-slot-empty-config {
	padding: 14px;
	background: #fff3f3;
	color: #a33;
	border: 1px dashed #e3a;
	font-size: 13px;
	text-align: center;
}

/* جایگاه ویژه چسبان موبایل */
@media (max-width: 767px) {
	.qs-sticky-mobile {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;
		box-shadow: 0 -4px 14px rgba(0,0,0,.15);
	}
	.qs-sticky-mobile .qs-slot-inner { border-radius: 0; }
}
@media (min-width: 768px) {
	/* در دسکتاپ چسبان بودن معنا ندارد؛ به‌صورت طبیعی نمایش داده می‌شود */
	.qs-sticky-mobile { position: static; }
}

/* ---------- پیشخوان آگهی‌دهندگان ---------- */
.qs-dashboard { max-width: 900px; margin: 0 auto; font-size: 15px; direction: rtl; text-align: right; }
.qs-notice { background: #eef7ee; border: 1px solid #bfe3bf; color: #2c662c; padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; }
.qs-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 20px; margin-bottom: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.qs-card h3 { margin-top: 0; }
.qs-table { width: 100%; border-collapse: collapse; }
.qs-table th, .qs-table td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; text-align: right; font-size: 14px; }
.qs-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; }
.qs-badge-pending_payment { background: #fff3cd; color: #856404; }
.qs-badge-awaiting_approval { background: #cfe2ff; color: #084298; }
.qs-badge-approved { background: #d1e7dd; color: #0f5132; }
.qs-badge-rejected { background: #f8d7da; color: #842029; }
.qs-badge-expired { background: #e2e3e5; color: #41464b; }
.qs-login-wrap { max-width: 420px; margin: 40px auto; direction: rtl; text-align: right; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 24px; }
.qs-login-wrap label { display: block; margin: 10px 0 6px; font-weight: 600; }
.qs-auth-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.qs-tab-btn { flex: 1; padding: 10px; border: 1px solid #ddd; background: #f7f7f7; border-radius: 6px; cursor: pointer; font-size: 14px; }
.qs-tab-btn.active { background: #2f7d3c; color: #fff; border-color: #2f7d3c; }
.qs-slot-status-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; gap: 10px; }
.qs-slot-status-row form { display: flex; gap: 8px; align-items: center; }
.qs-slot-status-row select { padding: 6px 10px; border-radius: 6px; border: 1px solid #ddd; }
.qs-login-wrap input[type=text], .qs-login-wrap input[type=password] { width: 100%; padding: 9px 12px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; }
.qs-login-wrap p.submit input { margin-top: 14px; background: #2f7d3c; color: #fff; border: 0; padding: 10px 22px; border-radius: 6px; cursor: pointer; }

.qs-form-row { margin-bottom: 14px; }
.qs-form-row label { display: block; margin-bottom: 6px; font-weight: 600; }
.qs-form-row select, .qs-form-row input[type=text], .qs-form-row input[type=number], .qs-form-row input[type=url], .qs-form-row input[type=file], .qs-form-row textarea {
	width: 100%; padding: 9px 12px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box;
}
.qs-btn { display: inline-block; background: #2f7d3c; color: #fff; border: 0; padding: 10px 22px; border-radius: 6px; cursor: pointer; font-size: 14px; text-decoration: none; }
.qs-btn:hover { background: #256030; color:#fff; }
.qs-slots-preview { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.qs-slot-chip { padding: 6px 12px; border-radius: 20px; font-size: 12px; border: 1px solid #ddd; }
.qs-slot-chip.empty { background: #e9f7ef; color: #1e7e34; border-color: #b6e2c4; }
.qs-slot-chip.active { background: #fbeaea; color: #a33; border-color: #f0c2c2; }
.qs-slot-chip.pending { background: #fff8e1; color: #9a7d00; border-color: #f0dea0; }
