@@ -162,109 +162,10 @@ const AdditionalDetails = memo(({ tab, step }: Props) => {
162162 animate = "animate"
163163 >
164164 { /* Enhanced Header */ }
165- < motion . div
166- variants = { headerVariants }
167- className = "bg-gradient-to-r from-orange-50 via-red-50 to-pink-50 rounded-xl p-6 border border-orange-100 shadow-sm overflow-hidden relative"
168- >
169- { /* Background Pattern */ }
170- < div className = "absolute inset-0 opacity-5" >
171- < div className = "absolute top-4 right-4 w-32 h-32 bg-orange-500 rounded-full blur-3xl" />
172- < div className = "absolute bottom-4 left-4 w-24 h-24 bg-red-500 rounded-full blur-2xl" />
173- </ div >
174-
175- < div className = "relative" >
176- < div className = "flex justify-between items-start" >
177- < div className = "flex items-center gap-4" >
178- < motion . div
179- className = "p-3 bg-gradient-to-br from-orange-500 to-red-600 rounded-xl shadow-lg relative overflow-hidden"
180- whileHover = { { scale : 1.05 , rotate : 5 } }
181- transition = { { duration : 0.2 } }
182- >
183- < motion . div
184- className = "absolute inset-0 bg-gradient-to-r from-white/20 to-transparent"
185- animate = { { x : [ '-100%' , '100%' ] } }
186- transition = { { repeat : Infinity , duration : 3 , ease : "linear" } }
187- />
188- < Shield className = "w-6 h-6 text-white relative z-10" />
189- </ motion . div >
190- < div >
191- < h1 className = "text-2xl font-bold bg-gradient-to-r from-orange-600 via-red-600 to-pink-600 bg-clip-text text-transparent" >
192- Additional Details
193- </ h1 >
194- < p className = "text-gray-600 text-sm font-medium mt-1" >
195- Risk assessment, disclosures, and financial considerations
196- </ p >
197- </ div >
198- </ div >
199-
200- { /* Progress Indicator */ }
201- < motion . div
202- variants = { statsVariants }
203- className = "text-right"
204- >
205- < div className = "text-lg font-bold text-orange-600" > { tabs . length } </ div >
206- < div className = "text-xs text-gray-500" > Categories</ div >
207- </ motion . div >
208- </ div >
209-
210- { /* Enhanced Categories Overview */ }
211- < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mt-6" >
212- { tabs . map ( ( tab , index ) => {
213- const Icon = tab . icon ;
214- const colors = [ 'orange' , 'red' , 'pink' , 'rose' ] ;
215- const color = colors [ index % colors . length ] ;
216-
217- return (
218- < motion . div
219- key = { tab . id }
220- variants = { featureVariants }
221- className = { `bg-white/80 backdrop-blur-sm rounded-xl p-4 border border-${ color } -200 shadow-sm hover:shadow-md transition-all duration-300 cursor-pointer` }
222- whileHover = { { scale : 1.02 , y : - 2 } }
223- onClick = { ( ) => handleTabChange ( tab . id ) }
224- >
225- < div className = "flex items-start gap-3" >
226- < div className = { `p-2 bg-${ color } -100 rounded-lg flex-shrink-0` } >
227- < Icon className = { `w-4 h-4 text-${ color } -600` } />
228- </ div >
229- < div className = "flex-1 min-w-0" >
230- < span className = "text-sm font-semibold text-gray-800 block truncate" > { tab . title } </ span >
231- < p className = "text-xs text-gray-500 mt-1 line-clamp-2" > { tab . description } </ p >
232- </ div >
233- </ div >
234- </ motion . div >
235- ) ;
236- } ) }
237- </ div >
238- </ div >
239- </ motion . div >
165+
240166
241167 { /* Quick Stats */ }
242- < motion . div
243- className = "grid grid-cols-1 md:grid-cols-3 gap-4"
244- initial = { { opacity : 0 , y : 20 } }
245- animate = { { opacity : 1 , y : 0 } }
246- transition = { { delay : 0.3 , staggerChildren : 0.1 } }
247- >
248- < StatsCard
249- icon = { Shield }
250- label = "Risk Management"
251- value = "Active"
252- color = "orange"
253- trend = "up"
254- />
255- < StatsCard
256- icon = { FileText }
257- label = "Documentation"
258- value = "Ready"
259- color = "red"
260- />
261- < StatsCard
262- icon = { CheckCircle2 }
263- label = "Compliance"
264- value = "Verified"
265- color = "emerald"
266- />
267- </ motion . div >
168+
268169
269170 { /* Enhanced Content */ }
270171 < motion . div
0 commit comments