@@ -224,41 +224,56 @@ export default function PatientDetailPage() {
224224
225225 { /* Center/Right Column: High-Density Clinical Tabs */ }
226226 < div className = "lg:col-span-3 space-y-4" >
227- < div className = "flex items-center gap-1 p-1 bg-[var(--input-bg)] border border-[var(--card-border )] rounded-xl w-fit flex-wrap" >
227+ < div className = "flex items-center gap-0.5 p-1 bg-slate-200/50 dark:bg-neutral-900/60 backdrop-blur-md rounded-full border border-slate-300/40 dark:border-neutral-800/40 shadow-[inset_0_1px_3px_rgba(0,0,0,0.05 )] dark:shadow-[inset_0_1px_3px_rgba(0,0,0,0.5)] w-fit flex-wrap" >
228228 < button
229229 onClick = { ( ) => setActiveTab ( "snapshot" ) }
230- className = { `px-4 py-1.5 rounded-lg text-[9px] font-black uppercase tracking-widest transition-all flex items-center gap-2 active:scale-95
231- ${ activeTab === "snapshot" ? "bg-[var(--primary)] text-white shadow-lg" : "text-[var(--text-muted)] hover:text-[var(--text-primary)]" } ` }
230+ className = { `relative px-4 py-1.5 rounded-full text-[9px] font-extrabold uppercase tracking-widest transition-all duration-300 flex items-center gap-2 group/tab border border-transparent active:scale-95
231+ ${ activeTab === "snapshot"
232+ ? "bg-white dark:bg-white/10 text-[var(--primary)] shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_3px_rgba(0,0,0,0.04)] dark:shadow-[0_4px_16px_rgba(0,0,0,0.4)] border-slate-200/50 dark:border-white/5"
233+ : "text-slate-500 hover:text-slate-900 dark:text-neutral-400 dark:hover:text-neutral-200 hover:bg-white/40 dark:hover:bg-white/[0.02]" } `}
232234 >
233- < Activity className = "w-3.5 h-3.5" /> Clinical Snapshot
235+ < Activity className = { `w-3.5 h-3.5 transition-colors ${ activeTab === "snapshot" ? "text-[var(--primary)]" : "text-slate-400 dark:text-neutral-500 group-hover/tab:text-slate-700 dark:group-hover/tab:text-neutral-300" } ` } />
236+ < span > Clinical Snapshot</ span >
234237 </ button >
235238 < button
236239 onClick = { ( ) => setActiveTab ( "history" ) }
237- className = { `px-4 py-1.5 rounded-lg text-[9px] font-black uppercase tracking-widest transition-all flex items-center gap-2 active:scale-95
238- ${ activeTab === "history" ? "bg-[var(--primary)] text-white shadow-lg" : "text-[var(--text-muted)] hover:text-[var(--text-primary)]" } ` }
240+ className = { `relative px-4 py-1.5 rounded-full text-[9px] font-extrabold uppercase tracking-widest transition-all duration-300 flex items-center gap-2 group/tab border border-transparent active:scale-95
241+ ${ activeTab === "history"
242+ ? "bg-white dark:bg-white/10 text-[var(--primary)] shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_3px_rgba(0,0,0,0.04)] dark:shadow-[0_4px_16px_rgba(0,0,0,0.4)] border-slate-200/50 dark:border-white/5"
243+ : "text-slate-500 hover:text-slate-900 dark:text-neutral-400 dark:hover:text-neutral-200 hover:bg-white/40 dark:hover:bg-white/[0.02]" } `}
239244 >
240- < History className = "w-3.5 h-3.5" /> Historical Activity
245+ < History className = { `w-3.5 h-3.5 transition-colors ${ activeTab === "history" ? "text-[var(--primary)]" : "text-slate-400 dark:text-neutral-500 group-hover/tab:text-slate-700 dark:group-hover/tab:text-neutral-300" } ` } />
246+ < span > Historical Activity</ span >
241247 </ button >
242248 < button
243249 onClick = { ( ) => setActiveTab ( "activity" ) }
244- className = { `px-4 py-1.5 rounded-lg text-[9px] font-black uppercase tracking-widest transition-all flex items-center gap-2 active:scale-95
245- ${ activeTab === "activity" ? "bg-[var(--primary)] text-white shadow-lg" : "text-[var(--text-muted)] hover:text-[var(--text-primary)]" } ` }
250+ className = { `relative px-4 py-1.5 rounded-full text-[9px] font-extrabold uppercase tracking-widest transition-all duration-300 flex items-center gap-2 group/tab border border-transparent active:scale-95
251+ ${ activeTab === "activity"
252+ ? "bg-white dark:bg-white/10 text-[var(--primary)] shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_3px_rgba(0,0,0,0.04)] dark:shadow-[0_4px_16px_rgba(0,0,0,0.4)] border-slate-200/50 dark:border-white/5"
253+ : "text-slate-500 hover:text-slate-900 dark:text-neutral-400 dark:hover:text-neutral-200 hover:bg-white/40 dark:hover:bg-white/[0.02]" } `}
246254 >
247- < Calendar className = "w-3.5 h-3.5" /> Visit Schedule
255+ < Calendar className = { `w-3.5 h-3.5 transition-colors ${ activeTab === "activity" ? "text-[var(--primary)]" : "text-slate-400 dark:text-neutral-500 group-hover/tab:text-slate-700 dark:group-hover/tab:text-neutral-300" } ` } />
256+ < span > Visit Schedule</ span >
248257 </ button >
249258 < button
250259 onClick = { ( ) => setActiveTab ( "logistics" ) }
251- className = { `px-4 py-1.5 rounded-lg text-[9px] font-black uppercase tracking-widest transition-all flex items-center gap-2 active:scale-95
252- ${ activeTab === "logistics" ? "bg-[var(--primary)] text-white shadow-lg" : "text-[var(--text-muted)] hover:text-[var(--text-primary)]" } ` }
260+ className = { `relative px-4 py-1.5 rounded-full text-[9px] font-extrabold uppercase tracking-widest transition-all duration-300 flex items-center gap-2 group/tab border border-transparent active:scale-95
261+ ${ activeTab === "logistics"
262+ ? "bg-white dark:bg-white/10 text-[var(--primary)] shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_3px_rgba(0,0,0,0.04)] dark:shadow-[0_4px_16px_rgba(0,0,0,0.4)] border-slate-200/50 dark:border-white/5"
263+ : "text-slate-500 hover:text-slate-900 dark:text-neutral-400 dark:hover:text-neutral-200 hover:bg-white/40 dark:hover:bg-white/[0.02]" } `}
253264 >
254- < Truck className = "w-3.5 h-3.5" /> Logistics & Fleet
265+ < Truck className = { `w-3.5 h-3.5 transition-colors ${ activeTab === "logistics" ? "text-[var(--primary)]" : "text-slate-400 dark:text-neutral-500 group-hover/tab:text-slate-700 dark:group-hover/tab:text-neutral-300" } ` } />
266+ < span > Logistics & Fleet </ span >
255267 </ button >
256268 < button
257269 onClick = { ( ) => setActiveTab ( "coordination" ) }
258- className = { `px-4 py-1.5 rounded-lg text-[9px] font-black uppercase tracking-widest transition-all flex items-center gap-2 active:scale-95
259- ${ activeTab === "coordination" ? "bg-[var(--primary)] text-white shadow-lg" : "text-[var(--text-muted)] hover:text-[var(--text-primary)]" } ` }
270+ className = { `relative px-4 py-1.5 rounded-full text-[9px] font-extrabold uppercase tracking-widest transition-all duration-300 flex items-center gap-2 group/tab border border-transparent active:scale-95
271+ ${ activeTab === "coordination"
272+ ? "bg-white dark:bg-white/10 text-[var(--primary)] shadow-[0_2px_8px_rgba(0,0,0,0.06),0_1px_3px_rgba(0,0,0,0.04)] dark:shadow-[0_4px_16px_rgba(0,0,0,0.4)] border-slate-200/50 dark:border-white/5"
273+ : "text-slate-500 hover:text-slate-900 dark:text-neutral-400 dark:hover:text-neutral-200 hover:bg-white/40 dark:hover:bg-white/[0.02]" } `}
260274 >
261- < CheckCircle2 className = "w-3.5 h-3.5" /> Coordination & Records
275+ < CheckCircle2 className = { `w-3.5 h-3.5 transition-colors ${ activeTab === "coordination" ? "text-[var(--primary)]" : "text-slate-400 dark:text-neutral-500 group-hover/tab:text-slate-700 dark:group-hover/tab:text-neutral-300" } ` } />
276+ < span > Coordination & Records </ span >
262277 </ button >
263278 </ div >
264279
0 commit comments