/**
 * NV Stepper Timeline - Frontend Styles
 * 
 * @package NV_Stepper_Timeline
 * @version 1.0.0
 */

/* ===========================
   Main Container
   =========================== */
.nv-stepper-timeline {
	display: block;
	width: 100%;
	max-width: 100%;
}

/* ===========================
   Stepper Item (Row)
   =========================== */
.nv-stepper-item {
	display: flex;
	align-items: flex-start;
	position: relative;
	margin-bottom: 40px;
}

.nv-stepper-item:last-child,
.nv-stepper-item-last {
	margin-bottom: 0;
}

/* ===========================
   Left Column (Circle + Line)
   =========================== */
.nv-stepper-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	position: relative;
}

/* ===========================
   Step Circle (Number)
   =========================== */
.nv-step-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #6366F1;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	line-height: 50px;
	text-align: center;
	flex-shrink: 0;
	z-index: 2;
	position: relative;
}

/* ===========================
   Vertical Connecting Line
   =========================== */
.nv-step-line {
	width: 2px;
	flex-grow: 1;
	background-color: #E5E7EB;
	margin-top: 8px;
	min-height: 40px;
}

/* Hide line on last item */
.nv-stepper-item-last .nv-step-line {
	display: none;
}

/* ===========================
   Right Column (Content)
   =========================== */
.nv-stepper-right {
	flex-grow: 1;
	margin-left: 20px;
	padding-top: 4px;
}

/* ===========================
   Step Title
   =========================== */
.nv-stepper-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: #111827;
	margin: 0 0 8px 0;
	padding: 0;
}

/* ===========================
   Step Description
   =========================== */
.nv-stepper-description {
	font-size: 15px;
	line-height: 1.6;
	color: #6B7280;
	margin: 0;
	padding: 0;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablets and below */
@media (max-width: 768px) {
	.nv-step-circle {
		width: 44px;
		height: 44px;
		font-size: 16px;
		line-height: 44px;
	}

	.nv-stepper-right {
		margin-left: 16px;
	}

	.nv-stepper-title {
		font-size: 18px;
		margin-bottom: 6px;
	}

	.nv-stepper-description {
		font-size: 14px;
	}

	.nv-stepper-item {
		margin-bottom: 32px;
	}

	.nv-step-line {
		min-height: 32px;
		margin-top: 6px;
	}
}

/* Mobile devices */
@media (max-width: 480px) {
	.nv-step-circle {
		width: 40px;
		height: 40px;
		font-size: 14px;
		line-height: 40px;
	}

	.nv-stepper-right {
		margin-left: 14px;
		padding-top: 2px;
	}

	.nv-stepper-title {
		font-size: 16px;
		margin-bottom: 5px;
	}

	.nv-stepper-description {
		font-size: 13px;
		line-height: 1.5;
	}

	.nv-stepper-item {
		margin-bottom: 28px;
	}

	.nv-step-line {
		min-height: 28px;
		margin-top: 5px;
	}
}

/* ===========================
   RTL Support
   =========================== */
.rtl .nv-stepper-right {
	margin-left: 0;
	margin-right: 20px;
}

.rtl .nv-stepper-item {
	direction: rtl;
}

@media (max-width: 768px) {
	.rtl .nv-stepper-right {
		margin-right: 16px;
	}
}

@media (max-width: 480px) {
	.rtl .nv-stepper-right {
		margin-right: 14px;
	}
}

/* ===========================
   Accessibility
   =========================== */
.nv-stepper-timeline *:focus-visible {
	outline: 2px solid #6366F1;
	outline-offset: 2px;
}

/* ===========================
   Print Styles
   =========================== */
@media print {
	.nv-stepper-timeline {
		break-inside: avoid;
	}

	.nv-stepper-item {
		page-break-inside: avoid;
		break-inside: avoid;
		margin-bottom: 30px;
	}

	.nv-step-circle {
		border: 2px solid #000;
	}
}
