import React from 'react'; import { cn } from './utils'; interface AnimatedGlossyBorderProps { className?: string; borderWidth?: 1 | 2; opacity?: number; color?: 'white' | 'primary'; } export function AnimatedGlossyBorder({ className, borderWidth = 1, color = 'white' }: AnimatedGlossyBorderProps) { const isWhite = color === 'white'; const glowColor = isWhite ? 'rgba(255,255,255,0.6)' : 'rgba(17,124,97,0.6)'; const gradientColors = isWhite ? 'transparent 0%, rgba(255,255,255,0.1) 15%, rgba(255,255,255,0.85) 25%, rgba(255,255,255,0.1) 35%, transparent 50%, transparent 50%, rgba(255,255,255,0.1) 65%, rgba(255,255,255,0.85) 75%, rgba(255,255,255,0.1) 85%, transparent 100%' : 'transparent 0%, rgba(17,124,97,0.1) 15%, rgba(17,124,97,0.85) 25%, rgba(17,124,97,0.1) 35%, transparent 50%, transparent 50%, rgba(17,124,97,0.1) 65%, rgba(17,124,97,0.85) 75%, rgba(17,124,97,0.1) 85%, transparent 100%'; return (