/**
 * Tenbit Addon - Process Step Cards Grid Widget Styles
 * Author: Team Tenbit Solutions
 */

.tenbit-step-cards-grid-wrap {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

/* Grid Container */
.tenbit-step-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 24px;
	width: 100%;
	box-sizing: border-box;
}

/* Step Card Box */
.tenbit-step-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #F7FAFD;
	border: 1px solid #E5EFF8;
	border-radius: 20px;
	padding: 32px 28px;
	overflow: hidden;
	box-sizing: border-box;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tenbit-step-card:hover {
	transform: translateY(-5px);
	border-color: #FFD3B8;
	box-shadow: 0 12px 30px rgba(11, 43, 92, 0.08);
}

/* Link reset */
a.tenbit-step-card {
	color: inherit;
	cursor: pointer;
}

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

/* Top Step Pill Badge Wrap */
.tenbit-card-step-badge-wrap {
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 14px;
	z-index: 2;
}

/* Robust Inline Flex Pill Badge */
.tenbit-card-step-badge {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	background-color: #FFF3EB;
	border: 1px solid #FFE3D1;
	border-radius: 50px;
	padding: 6px 16px;
	color: #FF5A00;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1;
	white-space: nowrap;
	width: auto;
	box-sizing: border-box;
	flex-shrink: 0;
	text-align: center;
}

/* Circular Number Dot */
.tenbit-card-step-num-dot {
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	min-width: 20px;
	line-height: 20px;
	border-radius: 50%;
	background-color: #FF5A00;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
	margin: 0 8px 0 0;
	padding: 0;
	box-sizing: border-box;
}

/* Badge Text */
.tenbit-card-step-badge-text {
	display: inline-block;
	color: inherit;
	line-height: 1;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	text-transform: uppercase;
	letter-spacing: inherit;
}

/* Accent Underline */
.tenbit-step-accent-line {
	width: 32px;
	height: 2px;
	background-color: #FF5A00;
	margin-bottom: 16px;
	border-radius: 2px;
	z-index: 2;
}

/* Title & Description */
.tenbit-step-title {
	color: #0B2B5C;
	font-family: inherit;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 12px 0;
	padding: 0;
	z-index: 2;
}

.tenbit-step-desc {
	color: #4A607A;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 20px;
	z-index: 2;
}

/* Checklist Items */
.tenbit-step-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 2;
}

.tenbit-step-check-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tenbit-check-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	min-width: 17px;
	border-radius: 50%;
	border: 1.5px solid #FF5A00;
	color: #FF5A00;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	flex-shrink: 0;
}

.tenbit-checklist-text {
	color: #4A607A;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

/* Watermark Positions */
.tenbit-step-watermark {
	position: absolute;
	right: 20px;
	bottom: 8px;
	font-family: inherit;
	font-size: 78px;
	font-weight: 900;
	line-height: 1;
	color: rgba(11, 43, 92, 0.05);
	user-select: none;
	pointer-events: none;
	z-index: 1;
}

.tenbit-wm-bottom_left .tenbit-step-watermark {
	right: auto;
	left: 20px;
	bottom: 8px;
}

.tenbit-wm-top_right .tenbit-step-watermark {
	bottom: auto;
	right: 20px;
	top: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
	.tenbit-step-card {
		padding: 26px 22px;
	}

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

	.tenbit-step-watermark {
		font-size: 64px;
	}
}

@media (max-width: 767px) {
	.tenbit-step-cards-grid {
		grid-template-columns: 1fr;
		row-gap: 20px;
	}

	.tenbit-step-card {
		padding: 24px 20px;
	}
}
