/* Double Sided Button - Plugin Styles */

.dsb-wrapper {
	display: flex;
	width: 100%;
}

.dsb-container {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	border-radius: 100px; /* default pill, overridden by Elementor controls */
	flex-shrink: 0;
}

.dsb-side {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
	text-decoration: none;
	min-width: 160px;
	padding: 16px 32px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Default left */
.dsb-left {
	background-color: #2563EB;
	border-radius: 100px 0 0 100px;
}

/* Default right */
.dsb-right {
	background-color: #111827;
	border-radius: 0 100px 100px 0;
}

/* Link inside each side */
.dsb-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
	font-weight: 700;
	font-size: 16px;
	white-space: nowrap;
	width: 100%;
	height: 100%;
	justify-content: center;
}

.dsb-link:hover {
	text-decoration: none;
	color: inherit;
}

/* Text span */
.dsb-text {
	line-height: 1;
}

/* Icon spacing */
.dsb-icon-before {
	display: inline-flex;
	align-items: center;
}

.dsb-icon-after {
	display: inline-flex;
	align-items: center;
}

/* Divider */
.dsb-divider {
	width: 1px;
	background-color: rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
	align-self: stretch;
}

/* Hover states (fallback; Elementor selector-driven overrides take precedence) */
.dsb-left:hover {
	opacity: 0.9;
}

.dsb-right:hover {
	opacity: 0.9;
}

/* Responsive */
@media (max-width: 767px) {
	.dsb-container {
		flex-direction: column;
		border-radius: 24px !important;
	}

	.dsb-left {
		border-radius: 24px 24px 0 0 !important;
	}

	.dsb-right {
		border-radius: 0 0 24px 24px !important;
	}

	.dsb-divider {
		width: 100% !important;
		height: 1px;
	}
}
