/* =========================================================================
   اشتراک VIP اکوحسین - استایل فرانت
   بدون هیچ کتابخانه‌ی خارجی.
   ========================================================================= */

/* ---------- نشان (badge) ---------- */
.ecoh-vip-badge {
	direction: rtl;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
}
.ecoh-vip-badge-yes {
	background: linear-gradient(135deg, #fde68a, #f59e0b);
	color: #5b3a00;
}
.ecoh-vip-badge-no {
	background: #2a3346;
	color: #c3cad8;
}

/* ---------- وضعیت (status box) ---------- */
.ecoh-vip-status-box {
	direction: rtl;
	max-width: 360px;
	margin: 14px auto;
	padding: 24px;
	border-radius: 16px;
	background: #0f1b34;
	color: #fff;
	text-align: center;
	border: 1px solid #1e2d4d;
}
.ecoh-vip-status-icon { font-size: 38px; margin-bottom: 8px; }
.ecoh-vip-status-text { font-size: 16px; margin-bottom: 16px; line-height: 1.8; }
.ecoh-vip-status-active .ecoh-vip-status-text { color: #7dd3a8; }

/* ---------- محتوای قفل‌شده ---------- */
.ecoh-vip-locked-box {
	direction: rtl;
	text-align: center;
	padding: 40px 24px;
	border-radius: 16px;
	background: #0f1b34;
	color: #fff;
	border: 1px dashed #2c3e63;
	margin: 20px 0;
}
.ecoh-vip-locked-icon { font-size: 46px; margin-bottom: 12px; }
.ecoh-vip-locked-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.ecoh-vip-locked-text { font-size: 14px; color: #aab4c8; margin-bottom: 20px; line-height: 1.9; }

/* ---------- دکمه‌ها ---------- */
.ecoh-vip-btn {
	display: inline-block;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	border-radius: 12px;
	padding: 13px 30px;
	text-decoration: none;
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.ecoh-vip-btn:active { transform: translateY(1px); }
.ecoh-vip-btn-primary {
	background: linear-gradient(135deg, #4f63ff, #3b4ee0);
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(79, 99, 255, .4);
}
.ecoh-vip-btn-primary:hover { box-shadow: 0 8px 22px rgba(79, 99, 255, .55); }
.ecoh-vip-btn-secondary { background: #2a3346; color: #e6eaf2 !important; }
.ecoh-vip-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------- جعبه‌ی پلن‌ها ---------- */
.ecoh-vip-plans-box {
	direction: rtl;
	max-width: 560px;
	margin: 20px auto;
	padding: 22px;
	border-radius: 18px;
	background: #0b1428;
	color: #fff;
}
.ecoh-vip-login-note { text-align: center; color: #c3cad8; }
.ecoh-vip-login-note a { color: #7d8dff; }

.ecoh-vip-plan-list { display: flex; flex-direction: column; gap: 12px; }

.ecoh-vip-plan {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 14px;
	background: #13213d;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.ecoh-vip-plan:hover { background: #16264a; }
.ecoh-vip-plan-selected {
	border-color: #4f63ff;
	background: #16264a;
}

.ecoh-vip-plan-radio {
	width: 22px; height: 22px;
	border-radius: 50%;
	border: 2px solid #4a5878;
	flex-shrink: 0;
	position: relative;
}
.ecoh-vip-plan-selected .ecoh-vip-plan-radio { border-color: #4f63ff; }
.ecoh-vip-plan-selected .ecoh-vip-plan-radio::after {
	content: ""; position: absolute; inset: 4px;
	background: #4f63ff; border-radius: 50%;
}

.ecoh-vip-plan-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ecoh-vip-plan-title { font-size: 17px; font-weight: 700; }
.ecoh-vip-plan-badge {
	align-self: flex-start;
	font-size: 12px;
	background: #1f9d57;
	color: #fff;
	padding: 3px 10px;
	border-radius: 8px;
}
.ecoh-vip-plan-price { text-align: left; display: flex; flex-direction: column; gap: 2px; }
.ecoh-vip-plan-amount { font-size: 16px; font-weight: 700; }
.ecoh-vip-plan-old { font-size: 13px; color: #d05a5a; text-decoration: line-through; }

/* ---------- کد تخفیف ---------- */
.ecoh-vip-coupon-wrap { margin: 20px 0; text-align: center; }
.ecoh-vip-coupon-toggle {
	background: none; border: none; color: #cdd5e6;
	font-family: inherit; font-size: 15px; cursor: pointer;
}
.ecoh-vip-coupon-fields {
	margin-top: 14px; display: flex; gap: 8px; justify-content: center;
}
.ecoh-vip-coupon-fields input {
	flex: 1; max-width: 240px;
	padding: 11px 14px; border-radius: 10px;
	border: 1px solid #2c3e63; background: #13213d; color: #fff;
	font-family: inherit; font-size: 14px;
}
.ecoh-vip-coupon-msg { margin-top: 10px; font-size: 13px; min-height: 18px; }
.ecoh-vip-coupon-msg.ok { color: #4ade80; }
.ecoh-vip-coupon-msg.err { color: #f87171; }

/* ---------- مبلغ کل ---------- */
.ecoh-vip-total {
	display: flex; justify-content: space-between; align-items: center;
	padding: 18px 4px; margin-top: 10px;
	border-top: 1px solid #1e2d4d;
	font-size: 16px; font-weight: 700;
}
#ecoh-vip-total-amount { color: #fff; }

.ecoh-vip-buy { width: 100%; margin-top: 6px; font-size: 17px; padding: 15px; }
.ecoh-vip-buy-msg { margin-top: 12px; text-align: center; font-size: 14px; color: #f87171; min-height: 18px; }

/* ---------- فاکتور ---------- */
.ecoh-vip-invoice {
	direction: rtl;
	max-width: 480px; margin: 30px auto;
	padding: 32px 26px; border-radius: 18px;
	background: #0f1b34; color: #fff; text-align: center;
}
.ecoh-vip-invoice-icon {
	width: 64px; height: 64px; line-height: 64px; margin: 0 auto 14px;
	border-radius: 50%; font-size: 30px; font-weight: 700;
	background: #1f9d57; color: #fff;
}
.ecoh-vip-invoice-icon-x { background: #d23b32; }
.ecoh-vip-invoice-title { font-size: 22px; margin: 0 0 6px; }
.ecoh-vip-invoice-sub { color: #aab4c8; font-size: 14px; margin-bottom: 22px; line-height: 1.9; }
.ecoh-vip-invoice-rows {
	background: #13213d; border-radius: 14px;
	padding: 8px 16px; margin-bottom: 22px; text-align: right;
}
.ecoh-vip-invoice-row {
	display: flex; justify-content: space-between;
	padding: 12px 0; border-bottom: 1px solid #1e2d4d;
	font-size: 14px;
}
.ecoh-vip-invoice-row:last-child { border-bottom: none; }
.ecoh-vip-invoice-row span:first-child { color: #8d99b3; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 480px) {
	.ecoh-vip-plan-title { font-size: 15px; }
	.ecoh-vip-plan-amount { font-size: 14px; }
	.ecoh-vip-coupon-fields { flex-direction: column; align-items: center; }
	.ecoh-vip-coupon-fields input { max-width: none; width: 100%; }
}
