/**
 * Tenbit Addon - Process Steps / How It Works Widget Styles
 * Author: Team Tenbit Solutions
 */

.tenbit-process-steps-wrapper {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

/* Horizontal Connector Line */
.tenbit-process-connector-line {
	position: absolute;
	top: 28px;
	left: 12%;
	right: 12%;
	height: 2px;
	background-color: #D8E5F3;
	z-index: 1;
	pointer-events: none;
	transition: all 0.3s ease;
}

/* Steps Grid */
.tenbit-process-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 36px;
	position: relative;
	z-index: 2;
	width: 100%;
	box-sizing: border-box;
}

/* Step Item */
.tenbit-step-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: transform 0.3s ease;
}

/* Link reset */
a.tenbit-step-item {
	color: inherit;
}

a.tenbit-step-item:hover,
a.tenbit-step-item:focus {
	text-decoration: none;
	color: inherit;
}

/* Badge Wrap & Circle */
.tenbit-process-steps-wrapper .tenbit-process-step-badge-wrap {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
	position: relative;
	z-index: 3;
}

.tenbit-process-steps-wrapper .tenbit-process-step-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	min-width: 56px;
	background-color: #0B2B5C;
	border: 4px solid #FF5A00;
	border-radius: 50%;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 4px 14px rgba(11, 43, 92, 0.15);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
	            box-shadow 0.3s ease, 
	            border-color 0.3s ease, 
	            background-color 0.3s ease;
}

.tenbit-process-steps-wrapper .tenbit-process-step-badge i {
	font-size: 20px;
	color: inherit;
	line-height: 1;
}

.tenbit-process-steps-wrapper .tenbit-process-step-badge svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	stroke: currentColor;
}

/* Hover effects */
.tenbit-step-item:hover .tenbit-process-step-badge {
	transform: scale(1.12);
	box-shadow: 0 8px 24px rgba(255, 90, 0, 0.3);
}

/* Step Title */
.tenbit-step-title {
	margin: 0 0 10px 0;
	padding: 0;
	color: #0B2B5C;
	font-family: inherit;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
	transition: color 0.3s ease;
	word-wrap: break-word;
}

.tenbit-step-item:hover .tenbit-step-title {
	color: #FF5A00;
}

/* Step Description */
.tenbit-step-desc {
	color: #5A6578;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.55;
	margin: 0;
	max-width: 260px;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
	.tenbit-process-connector-line {
		display: none;
	}

	.tenbit-process-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 20px;
		row-gap: 32px;
	}

	.tenbit-step-title {
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	.tenbit-process-steps-grid {
		grid-template-columns: 1fr;
		row-gap: 28px;
	}

	.tenbit-process-steps-wrapper .tenbit-process-step-badge {
		width: 50px;
		height: 50px;
		min-width: 50px;
		font-size: 18px;
		border-width: 3.5px;
	}

	.tenbit-step-desc {
		max-width: 100%;
	}
}
