/* ===== Modern Installation Guide - Frontend Styles ===== */

.wpig-box {
	direction: rtl;
	text-align: right;
	background: linear-gradient(160deg, var(--wpig-bg-start, #FFFBE6) 0%, var(--wpig-bg-end, #FFF4C8) 100%);
	border: 1px solid var(--wpig-border, #E8C86A);
	border-radius: var(--wpig-radius, 10px);
	box-shadow: 0 8px 24px rgba(184, 134, 11, 0.12), 0 2px 6px rgba(184, 134, 11, 0.08);
	padding: 24px;
	max-width: 720px;
	margin: 24px auto;
	box-sizing: border-box;
	transition: box-shadow 0.25s ease;
}

.wpig-box:hover {
	box-shadow: 0 12px 32px rgba(184, 134, 11, 0.16), 0 4px 10px rgba(184, 134, 11, 0.1);
}

.wpig-font-vazirmatn,
.wpig-font-vazirmatn * {
	font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.wpig-font-iransans,
.wpig-font-iransans * {
	font-family: 'IRANSans', Tahoma, sans-serif;
}

.wpig-header {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 18px;
}

.wpig-title {
	color: var(--wpig-title, #B8860B);
	font-size: 30px;
	font-weight: 700;
	margin: 0;
	line-height: 1.4;
}

.wpig-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

.wpig-steps li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 18px;
	opacity: 1;
}

.wpig-anim .wpig-steps li {
	animation: wpig-fade-in 0.5s ease both;
}

@keyframes wpig-fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.wpig-step-number {
	flex-shrink: 0;
	min-width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	background: var(--wpig-number-bg, #B8860B);
}

.wpig-num-circle .wpig-step-number {
	border-radius: 50%;
}

.wpig-num-badge .wpig-step-number {
	border-radius: 6px;
	padding: 0 8px;
}

.wpig-num-plain .wpig-step-number {
	background: transparent;
	color: var(--wpig-number-bg, #B8860B);
	font-size: 18px;
	min-width: auto;
	height: auto;
}

.wpig-step-text {
	color: var(--wpig-text, #8A5A00);
	font-size: 18px;
	line-height: 2;
}

.wpig-step-text .wpig-en,
.wpig-note-text .wpig-en {
	color: var(--wpig-accent, #B8860B);
	font-weight: 700;
	unicode-bidi: embed;
	direction: ltr;
	display: inline-block;
}

.wpig-note {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px dashed var(--wpig-border, #E8C86A);
	font-size: 17px;
	line-height: 2;
	color: var(--wpig-text, #8A5A00);
}

.wpig-note-title {
	font-weight: 700;
	color: var(--wpig-note-title, #B8860B);
	margin-left: 6px;
}

@media (max-width: 600px) {
	.wpig-title { font-size: 24px; }
	.wpig-step-text, .wpig-note { font-size: 16px; }
	.wpig-box { padding: 18px; }
}
