/* ============================================================
   DS Client Portal – digitalstarter. Badge  (Frontend Shortcode)
   digitalstarter. - Online Marketing
   ============================================================ */

.ds-footer-badge {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 24px 0 10px;
	background: transparent;
	font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	position: relative;
	z-index: 1;
}

.ds-footer-badge a {
	text-decoration: none;
	color: inherit;
}

.ds-badge-inner {
	border-radius: 16px;
	padding: 12px 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	position: relative;
	transition: all 0.3s ease;
	min-width: 260px;
	height: 52px;
}

.ds-badge-inner--dark {
	background-color: #1e1e1e;
	color: #fff;
}

.ds-badge-inner--light {
	background-color: #f9fafb;
	color: #111827;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
	border: 1px solid rgba(148, 163, 184, 0.5);
}

.ds-badge-label {
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	line-height: 1;
}

.ds-logo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	transition: transform 0.4s ease;
	flex-shrink: 0;
	object-fit: cover;
	display: block;
}

.ds-badge-inner:hover .ds-logo {
	transform: rotate(6deg) scale(1.1);
}

.ds-preview {
	position: absolute;
	bottom: 100%;
	right: 0;
	margin-bottom: 14px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.4s ease;
	z-index: 5;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.ds-badge-inner:hover .ds-preview {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ds-preview img {
	width: 320px;
	height: auto;
	display: block;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.ds-preview img { width: 260px; }
}
