/* =============================================================================
   Wexico Steps Accordion Widget
   ============================================================================= */

/* Widget header (title + subtitle above the accordion) */
.wsa-widget-header {
	margin-bottom: 28px;
}

.wsa-widget-title {
	margin: 0 0 6px;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
}

.wsa-widget-subtitle {
	margin: 0;
	font-size: 0.95rem;
	color: #6b7280;
}

/* Steps list */
.wsa-steps {
	display: flex;
	flex-direction: column;
}

/* Individual step wrapper */
.wsa-step {
	border: 1px solid #e5e7eb;
	border-radius: 25px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease;
}
.wsa-readmore{
	background: transparent !important;
}
.wsa-step + .wsa-step {
	margin-top: 12px;
}

.wsa-step.is-active {
	box-shadow: 0 4px 16px rgba(26, 75, 140, 0.08);
}

/* Step Header Row */
.wsa-step-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 !important;
	cursor: pointer;
	background: #fff;
	transition: background-color 0.2s ease;
	gap: 16px;
	user-select: none;
	padding-left: 15px !important;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
}

.wsa-step.is-active .wsa-step-header {
	background-color: #fff !important;
}

.wsa-step-header:hover {
	background-color: #f8faff;
}

/* Left side: number + icon + text */
.wsa-step-left {
	display: flex;
	align-items: center;
	gap: 30px;
	flex: 1;
	min-width: 0;
}
.management-table{
	margin-top: 15px;
	border: 1px solid #e5e7eb;
}
.management-table thead tr {
	background: #eaf3fc;
}
.management-table thead tr th{
	padding: 0 5px;
}
.management-table tbody tr{
	border-bottom: 1px solid #e5e7eb;

}
.management-table tbody tr td{
	padding: 2px 5px;
}
.management-table tbody tr:last-child{
	border-bottom: none;
}
/* Number badge */
.wsa-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 50%;
	background-color: #017cc4 !important;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

/* Icon */
.wsa-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.wsa-icon i,
.wsa-icon svg {
	font-size: 28px;
	width: 28px;
	color: #1a4b8c;
	fill: #1a4b8c;
}

/* Title + Subtitle text block */
.wsa-step-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.wsa-step-title {
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
	line-height: 1.3;
}

.wsa-step-subtitle {
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.4;
}

/* Right side: read-more button */
.wsa-step-right {
	flex-shrink: 0;
}

.wsa-readmore {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: #1a4b8c;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s ease;
	font-family: inherit;
}

.wsa-readmore:hover {
	color: #163d73;
}

.wsa-step.is-active .wsa-readmore {
	color: #6b7280;
}

.wsa-readmore-icon {
	display: flex;
	align-items: center;
	transition: transform 0.3s ease;
}

.wsa-step.is-active .wsa-readmore-icon {
	transform: rotate(180deg);
}

/* Accordion body — grid-template-rows trick for smooth animation */
/* The outer wrapper clips overflow and animates the row height */
.wsa-step-body-outer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.32s ease;
	background: #fff;
	border-top: 0 solid #e5e7eb; /* border fades in with is-active */
	transition: grid-template-rows 0.32s ease, border-top-width 0s 0.32s;
}

.wsa-step.is-active .wsa-step-body-outer {
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.32s ease, border-top-width 0s 0s;
}

/* The inner element must have min-height: 0 for the grid trick to work */
.wsa-step-body {
	overflow: hidden;
	min-height: 0;
	padding: 0 !important;
}

/* Two-column layout inside body */
.wsa-columns, .wsa-columns-inner {
	display: flex;
	gap: 32px;
	padding: 32px 24px;
	align-items: flex-start;
	padding-top: 0 !important;
}
.wsa-columns-inner{
	border: 1px solid #e5e7eb;
	border-radius: 25px;
	padding: 20px !important;
	width: 100%;
}
.wsa-col {
	flex: 1 1 0;
	min-width: 0;
	color: #374151;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.wsa-col--full {
	flex: 1 1 100%;
	width: 100%;
}

.wsa-col p:first-child { margin-top: 0; }
.wsa-col p:last-child  { margin-bottom: 0; }

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 768px) {
	.wsa-number {
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
	}
	.wsa-step-header {
		padding: 16px;
		flex-wrap: wrap;
	}

	.wsa-step-left {
		gap: 10px;
	}

	.wsa-readmore-text {
		display: none; /* Show only chevron on small screens */
	}

	.wsa-columns {
		flex-direction: column;
		gap: 20px;
		padding: 20px 16px;
	}
}
@media (max-width: 575px){
	.wsa-icon{
		display: none !important;
	}
}