/* Solar Icon Tabs - Frontend Styles */

.sat-icon-tabs-wrap {
	width: 100%;
	box-sizing: border-box;
}

.sat-icon-tabs-wrap * {
	box-sizing: border-box;
}

/* ---------- Tabs Navigation ---------- */
.sat-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid #E5EAF1;
	gap: 0;
}

.sat-tab-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #FFFFFF;
	color: #0A2540;
	border: none;
	cursor: pointer;
	padding: 16px 28px;
	font-family: inherit;
	transition: background-color 0.25s ease, color 0.25s ease;
	position: relative;
	flex: 0 0 auto;
}

.sat-tab-item .sat-tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	color: inherit;
}

.sat-tab-item .sat-tab-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sat-tab-item .sat-tab-label {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.3;
}

.sat-tab-item.is-active {
	background: #0A2540;
	color: #FFFFFF;
}

.sat-tab-item.is-active:after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #0A2540;
}

/* Desktop: row layout, icon beside label */
@media (min-width: 769px) {
	.sat-tab-item {
		flex-direction: row;
	}
}

/* ---------- Panels ---------- */
.sat-tabs-panels {
	padding-top: 40px;
}

.sat-tab-panel {
	display: none;
}

.sat-tab-panel.is-active {
	display: block;
	animation: sat-fade-in 0.35s ease;
}

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

.sat-tab-panel-inner {
	display: flex;
	align-items: stretch;
	gap: 40px;
}

.sat-tab-panel-inner.sat-image-right {
	flex-direction: row;
}

.sat-tab-panel-inner.sat-image-left {
	flex-direction: row-reverse;
}

.sat-content-col {
	flex: 0 0 42%;
	max-width: 42%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sat-image-col {
	flex: 1 1 auto;
	display: flex;
}

/* ---------- Text Elements ---------- */
.sat-eyebrow {
	color: #1B5FD1;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 10px;
	padding-bottom: 10px;
	border-bottom: 2px solid #1B5FD1;
	display: inline-block;
	width: fit-content;
}

.sat-main-heading {
	color: #0A2540;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 16px;
}

.sat-description {
	color: #5B6B7C;
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 24px;
}

/* ---------- Checklist ---------- */
.sat-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sat-checklist li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.sat-checklist li:last-child {
	margin-bottom: 0;
}

.sat-checklist-icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #1B5FD1;
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

.sat-checklist-icon svg {
	width: 0.7em;
	height: 0.7em;
	fill: currentColor;
}

.sat-checklist-text {
	color: #0A2540;
	font-size: 15px;
	font-weight: 500;
}

/* ---------- Image ---------- */
.sat-tab-image {
	width: 100%;
	height: 100%;
}

.sat-tab-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) and (min-width: 769px) {
	.sat-main-heading {
		font-size: 26px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	.sat-tabs-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.sat-tabs-nav::-webkit-scrollbar {
		display: none;
	}

	.sat-tab-item {
		padding: 14px 10px;
		flex: 1 1 0;
		min-width: 84px;
	}

	.sat-tab-item .sat-tab-label {
		font-size: 12px;
		white-space: normal;
		text-align: center;
	}

	.sat-tab-item .sat-tab-icon {
		font-size: 18px;
	}

	.sat-tab-panel-inner,
	.sat-tab-panel-inner.sat-image-right,
	.sat-tab-panel-inner.sat-image-left {
		flex-direction: column;
	}

	.sat-content-col,
	.sat-image-col {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.sat-image-col {
		margin-top: 28px;
	}

	.sat-main-heading {
		font-size: 24px;
	}

	.sat-tabs-panels {
		padding-top: 28px;
	}
}
