/**
 * DB Step Tabs — vertical nav + image panel (reference: aigency_tabs).
 */

.dbbk-step-tabs {
	display: grid;
	align-items: start;
	gap: clamp(1.25rem, 4vw, 3rem);
	width: 100%;
}

.dbbk-step-tabs__nav {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dbbk-step-tabs__tab {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 1.4rem 1.35rem;
	text-align: left;
	font: inherit;
	color: inherit;
	background: rgba(0, 0, 0, 0.03);
	border: 1px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dbbk-step-tabs__tab:hover {
	background: rgba(0, 0, 0, 0.06);
}

.dbbk-step-tabs__tab.is-active {
	background: #fff;
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06), inset 3px 0 0 0 var(--dbbk-st-accent, #6366f1);
}

.dbbk-step-tabs__tab:focus {
	outline: 2px solid var(--dbbk-st-accent, #6366f1);
	outline-offset: 2px;
}

.dbbk-step-tabs__tab-icon {
	flex: 0 0 2.75rem;
	width: 2.75rem;
	height: 2.75rem;
	color: currentColor;
	opacity: 0.85;
}

.dbbk-step-tabs__tab-icon i {
	display: block;
	font-size: 1.45rem;
	line-height: 1;
	text-align: center;
}

.dbbk-step-tabs__tab-icon svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: currentColor;
}

.dbbk-step-tabs__tab-body {
	flex: 1;
	min-width: 0;
}

.dbbk-step-tabs__tab-title {
	display: block;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 0.45em;
}

.dbbk-step-tabs__tab-desc {
	display: block;
	margin: 0;
	font-size: 0.9em;
	line-height: 1.55;
	opacity: 0.85;
	white-space: normal;
}

.dbbk-step-tabs__panels {
	min-width: 0;
	position: relative;
}

.dbbk-step-tabs__panel {
	border-radius: 12px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
}

.dbbk-step-tabs__panel[hidden] {
	display: none !important;
}

.dbbk-step-tabs__panel img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.dbbk-step-tabs__panel-placeholder {
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
	opacity: 0.55;
	font-size: 0.95rem;
}

.dbbk-step-tabs__empty {
	padding: 1.5rem;
	text-align: center;
	opacity: 0.6;
}

@media (max-width: 767px) {

	.dbbk-step-tabs {
		grid-template-columns: 1fr !important;
	}

	.dbbk-step-tabs__nav,
	.dbbk-step-tabs__panels {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {

	.dbbk-step-tabs__tab {
		transition: none;
	}
}
