/* Shared UI Styles: Generic Brand / Partner Credit Badge (FSD Layer: shared/ui) */
.nouva-brand-credit {
	text-decoration: none;
}

.nouva-brand-credit__badge {
	--brand-credit-theme-bg: linear-gradient(90deg, var(--sea-deep, #002C55) 0%, var(--sea, #004A8D) 100%);
	--brand-credit-theme-border: rgba(212, 160, 62, 0.35);
	--brand-credit-original-bg: linear-gradient(90deg, #2563eb 0%, #4f46e5 50%, #9333ea 100%);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-image: var(--brand-credit-theme-bg);
	border: 1px solid var(--brand-credit-theme-border);
	color: var(--foreground, #FFFFFF);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.nouva-brand-credit__badge::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--brand-credit-original-bg);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nouva-brand-credit__label {
	position: relative;
	z-index: 1;
}

.nouva-brand-credit:hover .nouva-brand-credit__badge,
.nouva-brand-credit:focus-visible .nouva-brand-credit__badge {
	border-color: transparent;
	color: #FFFFFF;
}

.nouva-brand-credit:hover .nouva-brand-credit__badge::before,
.nouva-brand-credit:focus-visible .nouva-brand-credit__badge::before {
	opacity: 1;
}
