@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lexend:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lexend:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lexend:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap);
/**
 * 🎨 baseLINE Design System — PCMedicalist Edition
 * Single source of truth for all design tokens.
 * ════════════════════════════════════════════════════════════
 */

:root {
  /* ═══════════════════════════════════════════════════════════
     🎯 PCMEDICALIST BRAND (Clinical Enterprise)
     ═══════════════════════════════════════════════════════════ */
  --color-brand-primary: #0F172A;      /* Deep Slate */
  --color-brand-secondary: #2563EB;    /* PCMedicalist Blue */
  --color-brand-accent: #10B981;       /* Clinical Green */
  --color-brand-light: #60A5FA;        /* Sky Blue */

  /* 🌈 SEMANTIC */
  --color-accent-success: #10B981;
  --color-accent-warning: #F59E0B;
  --color-accent-critical: #EF4444;
  --color-accent-info: #3B82F6;

  /* 🟦 BACKGROUND HIERARCHY (Clean Enterprise) */
  --color-bg-darkest: #020617;
  --color-bg-darker: #0F172A;
  --color-bg-base: #1E293B;
  --color-bg-surface: #1E293B;
  --color-bg-overlay: #334155;
  --color-bg-hover: #475569;
  
  /* Legacy dark aliases */
  --color-dark-void: #020617;
  --color-dark-darkest: #0F172A;
  --color-dark-darker: #1E293B;
  --color-dark-base: #1E293B;
  --color-dark-surface: #334155;
  --color-dark-overlay: #475569;
  --color-dark-border: #64748B;

  /* 📝 TEXT */
  --color-text-primary: #F8FAFC;
  --color-text-secondary: #E2E8F0;
  --color-text-tertiary: #94A3B8;
  --color-text-muted: #64748B;
  
  /* ✨ GLASS MORPHISM (Refined) */
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-backdrop: blur(16px) saturate(110%);
  --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);

  /* 🔤 TYPOGRAPHY (PCMedicalist Topography) */
  --font-display: 'Lexend', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 📏 FONT SIZES */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;

  /* 📐 SPACING */
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* 🔘 RADIUS (Enterprise Sharp) */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  
  /* 🎨 GRADIENTS */
  --gradient-primary: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

/**
 * 🔄 baseLINE CSS Reset & Normalization
 * Cross-browser consistency & security hardening
 * ════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════
   🛡️ SECURITY: Prevent CSS Injection
   ═══════════════════════════════════════════════════════════ */

/* Never allow user-controlled styles */
[style*="javascript:"],
[style*="expression("],
[style*="behavior:"],
[style*="binding:"],
[style*="@import"],
[style*="url(data:text/html"] {
  display: none !important;
  visibility: hidden !important;
}

/* ═══════════════════════════════════════════════════════════
   📦 BOX MODEL: Border-Box Everything
   ═══════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ═══════════════════════════════════════════════════════════
   🌐 HTML & BODY: Base Setup
   ═══════════════════════════════════════════════════════════ */

html {
  font-size: 16px; /* Base font size for rem calculations */
  -webkit-text-size-adjust: 100%; /* Prevent font size adjustment on iOS */
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background: var(--color-dark-void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Remove default tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════════════════════════
   🔤 TYPOGRAPHY: Normalize Text Elements
   ═══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
}

p {
  margin: 0 0 var(--space-md) 0;
}

a {
  color: var(--color-text-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--easing-default);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

strong, b {
  font-weight: var(--font-weight-bold);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════
   📝 CODE & PREFORMATTED TEXT
   ═══════════════════════════════════════════════════════════ */

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  padding: 0.125em 0.25em;
  background: var(--color-bg-darker);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-sm);
  color: var(--color-accent-info);
}

pre {
  padding: var(--space-md);
  background: var(--color-bg-darker);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  white-space: pre;
  line-height: var(--line-height-relaxed);
}

pre code {
  padding: 0;
  background: transparent;
  border: none;
}

/* ═══════════════════════════════════════════════════════════
   📋 LISTS
   ═══════════════════════════════════════════════════════════ */

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   📸 IMAGES & MEDIA
   ═══════════════════════════════════════════════════════════ */

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMS: Normalize Inputs
   ═══════════════════════════════════════════════════════════ */

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

input,
textarea,
select {
  background: var(--color-bg-surface);
  border: 2px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-primary);
  transition: all var(--duration-fast) var(--easing-default);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Remove default styling for file inputs */
[type="file"] {
  background: transparent;
  border: none;
  padding: 0;
}

/* Checkbox and radio */
[type="checkbox"],
[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  cursor: pointer;
  accent-color: var(--color-brand-primary);
}

/* ═══════════════════════════════════════════════════════════
   🔘 BUTTONS: Base Styles
   ═══════════════════════════════════════════════════════════ */

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--duration-normal) var(--easing-default);
  user-select: none;
}

button:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

button:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 4px;
}

/* ═══════════════════════════════════════════════════════════
   📊 TABLES
   ═══════════════════════════════════════════════════════════ */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

thead {
  background: var(--color-bg-darker);
}

th, td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-dark-border);
}

th {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

tr:hover {
  background: var(--color-bg-hover);
}

/* ═══════════════════════════════════════════════════════════
   🎨 HORIZONTAL RULES
   ═══════════════════════════════════════════════════════════ */

hr {
  height: 0;
  border: 0;
  border-top: 2px solid var(--color-dark-border);
  margin: var(--space-lg) 0;
}

/* ═══════════════════════════════════════════════════════════
   💬 DETAILS & SUMMARY (Accordion)
   ═══════════════════════════════════════════════════════════ */

details {
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--color-bg-surface);
}

summary {
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  user-select: none;
  padding: var(--space-sm);
  margin: calc(-1 * var(--space-md));
  margin-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-dark-border);
  transition: color var(--duration-fast) var(--easing-default);
}

summary:hover {
  color: var(--color-brand-primary);
}

details[open] summary {
  margin-bottom: var(--space-md);
  color: var(--color-brand-primary);
}

/* ═══════════════════════════════════════════════════════════
   ♿ ACCESSIBILITY: Focus Indicators
   ═══════════════════════════════════════════════════════════ */

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════
   🔍 SELECTION HIGHLIGHT
   ═══════════════════════════════════════════════════════════ */

::selection {
  background: var(--color-brand-primary);
  color: #ffffff;
}

::-moz-selection {
  background: var(--color-brand-primary);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   📜 SCROLLBAR STYLING (Webkit)
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-base);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-bg-hover);
}

/* ═══════════════════════════════════════════════════════════
   🚫 HIDDEN ELEMENTS
   ═══════════════════════════════════════════════════════════ */

[hidden] {
  display: none !important;
}

[aria-hidden="true"] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Display
   ═══════════════════════════════════════════════════════════ */

.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Flexbox
   ═══════════════════════════════════════════════════════════ */

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Text Alignment
   ═══════════════════════════════════════════════════════════ */

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Text Transform
   ═══════════════════════════════════════════════════════════ */

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Font Weights
   ═══════════════════════════════════════════════════════════ */

.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Colors
   ═══════════════════════════════════════════════════════════ */

.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-text-accent); }
.text-success { color: var(--color-text-success); }
.text-warning { color: var(--color-text-warning); }
.text-error { color: var(--color-text-error); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Background Colors
   ═══════════════════════════════════════════════════════════ */

.bg-void { background: var(--color-dark-void); }
.bg-darkest { background: var(--color-dark-darkest); }
.bg-darker { background: var(--color-dark-darker); }
.bg-base { background: var(--color-dark-base); }
.bg-surface { background: var(--color-dark-surface); }
.bg-overlay { background: var(--color-dark-overlay); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Spacing (Margin & Padding)
   ═══════════════════════════════════════════════════════════ */

.m-0 { margin: 0; }
.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }
.m-xl { margin: var(--space-xl); }

.p-0 { padding: 0; }
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Border Radius
   ═══════════════════════════════════════════════════════════ */

.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Shadows
   ═══════════════════════════════════════════════════════════ */

.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Neon Glows
   ═══════════════════════════════════════════════════════════ */

.glow-cyan { box-shadow: var(--glow-cyan); }
.glow-magenta { box-shadow: var(--glow-magenta); }
.glow-purple { box-shadow: var(--glow-purple); }
.glow-blue { box-shadow: var(--glow-blue); }
.glow-green { box-shadow: var(--glow-green); }
.glow-neon-mix { box-shadow: var(--glow-neon-mix); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Animations
   ═══════════════════════════════════════════════════════════ */

.animate-fade-in { animation: fadeIn var(--duration-normal) var(--easing-default); }
.animate-slide-in-up { animation: slideInUp var(--duration-normal) var(--easing-default); }
.animate-slide-in-down { animation: slideInDown var(--duration-normal) var(--easing-default); }
.animate-pulse { animation: pulse 2s var(--easing-default) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s var(--easing-default) infinite; }
.animate-glow { animation: glow 3s var(--easing-default) infinite; }
.animate-glitch { animation: glitchText 3s var(--easing-default) infinite; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Transitions
   ═══════════════════════════════════════════════════════════ */

.transition-fast { transition: all var(--duration-fast) var(--easing-default); }
.transition-normal { transition: all var(--duration-normal) var(--easing-default); }
.transition-slow { transition: all var(--duration-slow) var(--easing-default); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Overflow
   ═══════════════════════════════════════════════════════════ */

.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }

/**
 * 🎨 baseLINE Design System — PCMedicalist Edition
 * Single source of truth for all design tokens.
 * ════════════════════════════════════════════════════════════
 */

:root {
  /* ═══════════════════════════════════════════════════════════
     🎯 PCMEDICALIST BRAND (Clinical Enterprise)
     ═══════════════════════════════════════════════════════════ */
  --color-brand-primary: #0F172A;      /* Deep Slate */
  --color-brand-secondary: #2563EB;    /* PCMedicalist Blue */
  --color-brand-accent: #10B981;       /* Clinical Green */
  --color-brand-light: #60A5FA;        /* Sky Blue */

  /* 🌈 SEMANTIC */
  --color-accent-success: #10B981;
  --color-accent-warning: #F59E0B;
  --color-accent-critical: #EF4444;
  --color-accent-info: #3B82F6;

  /* 🟦 BACKGROUND HIERARCHY (Clean Enterprise) */
  --color-bg-darkest: #020617;
  --color-bg-darker: #0F172A;
  --color-bg-base: #1E293B;
  --color-bg-surface: #1E293B;
  --color-bg-overlay: #334155;
  --color-bg-hover: #475569;
  
  /* Legacy dark aliases */
  --color-dark-void: #020617;
  --color-dark-darkest: #0F172A;
  --color-dark-darker: #1E293B;
  --color-dark-base: #1E293B;
  --color-dark-surface: #334155;
  --color-dark-overlay: #475569;
  --color-dark-border: #64748B;

  /* 📝 TEXT */
  --color-text-primary: #F8FAFC;
  --color-text-secondary: #E2E8F0;
  --color-text-tertiary: #94A3B8;
  --color-text-muted: #64748B;
  
  /* ✨ GLASS MORPHISM (Refined) */
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-backdrop: blur(16px) saturate(110%);
  --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);

  /* 🔤 TYPOGRAPHY (PCMedicalist Topography) */
  --font-display: 'Lexend', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 📏 FONT SIZES */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;

  /* 📐 SPACING */
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* 🔘 RADIUS (Enterprise Sharp) */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  
  /* 🎨 GRADIENTS */
  --gradient-primary: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

/**
 * 🔄 baseLINE CSS Reset & Normalization
 * Cross-browser consistency & security hardening
 * ════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════
   🛡️ SECURITY: Prevent CSS Injection
   ═══════════════════════════════════════════════════════════ */

/* Never allow user-controlled styles */
[style*="javascript:"],
[style*="expression("],
[style*="behavior:"],
[style*="binding:"],
[style*="@import"],
[style*="url(data:text/html"] {
  display: none !important;
  visibility: hidden !important;
}

/* ═══════════════════════════════════════════════════════════
   📦 BOX MODEL: Border-Box Everything
   ═══════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ═══════════════════════════════════════════════════════════
   🌐 HTML & BODY: Base Setup
   ═══════════════════════════════════════════════════════════ */

html {
  font-size: 16px; /* Base font size for rem calculations */
  -webkit-text-size-adjust: 100%; /* Prevent font size adjustment on iOS */
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background: var(--color-dark-void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Remove default tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════════════════════════
   🔤 TYPOGRAPHY: Normalize Text Elements
   ═══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
}

p {
  margin: 0 0 var(--space-md) 0;
}

a {
  color: var(--color-text-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--easing-default);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

strong, b {
  font-weight: var(--font-weight-bold);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════
   📝 CODE & PREFORMATTED TEXT
   ═══════════════════════════════════════════════════════════ */

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  padding: 0.125em 0.25em;
  background: var(--color-bg-darker);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-sm);
  color: var(--color-accent-info);
}

pre {
  padding: var(--space-md);
  background: var(--color-bg-darker);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  white-space: pre;
  line-height: var(--line-height-relaxed);
}

pre code {
  padding: 0;
  background: transparent;
  border: none;
}

/* ═══════════════════════════════════════════════════════════
   📋 LISTS
   ═══════════════════════════════════════════════════════════ */

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   📸 IMAGES & MEDIA
   ═══════════════════════════════════════════════════════════ */

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMS: Normalize Inputs
   ═══════════════════════════════════════════════════════════ */

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

input,
textarea,
select {
  background: var(--color-bg-surface);
  border: 2px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-primary);
  transition: all var(--duration-fast) var(--easing-default);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Remove default styling for file inputs */
[type="file"] {
  background: transparent;
  border: none;
  padding: 0;
}

/* Checkbox and radio */
[type="checkbox"],
[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  cursor: pointer;
  accent-color: var(--color-brand-primary);
}

/* ═══════════════════════════════════════════════════════════
   🔘 BUTTONS: Base Styles
   ═══════════════════════════════════════════════════════════ */

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--duration-normal) var(--easing-default);
  user-select: none;
}

button:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

button:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 4px;
}

/* ═══════════════════════════════════════════════════════════
   📊 TABLES
   ═══════════════════════════════════════════════════════════ */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

thead {
  background: var(--color-bg-darker);
}

th, td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-dark-border);
}

th {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

tr:hover {
  background: var(--color-bg-hover);
}

/* ═══════════════════════════════════════════════════════════
   🎨 HORIZONTAL RULES
   ═══════════════════════════════════════════════════════════ */

hr {
  height: 0;
  border: 0;
  border-top: 2px solid var(--color-dark-border);
  margin: var(--space-lg) 0;
}

/* ═══════════════════════════════════════════════════════════
   💬 DETAILS & SUMMARY (Accordion)
   ═══════════════════════════════════════════════════════════ */

details {
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--color-bg-surface);
}

summary {
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  user-select: none;
  padding: var(--space-sm);
  margin: calc(-1 * var(--space-md));
  margin-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-dark-border);
  transition: color var(--duration-fast) var(--easing-default);
}

summary:hover {
  color: var(--color-brand-primary);
}

details[open] summary {
  margin-bottom: var(--space-md);
  color: var(--color-brand-primary);
}

/* ═══════════════════════════════════════════════════════════
   ♿ ACCESSIBILITY: Focus Indicators
   ═══════════════════════════════════════════════════════════ */

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════
   🔍 SELECTION HIGHLIGHT
   ═══════════════════════════════════════════════════════════ */

::selection {
  background: var(--color-brand-primary);
  color: #ffffff;
}

::-moz-selection {
  background: var(--color-brand-primary);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   📜 SCROLLBAR STYLING (Webkit)
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-base);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-bg-hover);
}

/* ═══════════════════════════════════════════════════════════
   🚫 HIDDEN ELEMENTS
   ═══════════════════════════════════════════════════════════ */

[hidden] {
  display: none !important;
}

[aria-hidden="true"] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Display
   ═══════════════════════════════════════════════════════════ */

.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Flexbox
   ═══════════════════════════════════════════════════════════ */

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Text Alignment
   ═══════════════════════════════════════════════════════════ */

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Text Transform
   ═══════════════════════════════════════════════════════════ */

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Font Weights
   ═══════════════════════════════════════════════════════════ */

.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Colors
   ═══════════════════════════════════════════════════════════ */

.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-text-accent); }
.text-success { color: var(--color-text-success); }
.text-warning { color: var(--color-text-warning); }
.text-error { color: var(--color-text-error); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Background Colors
   ═══════════════════════════════════════════════════════════ */

.bg-void { background: var(--color-dark-void); }
.bg-darkest { background: var(--color-dark-darkest); }
.bg-darker { background: var(--color-dark-darker); }
.bg-base { background: var(--color-dark-base); }
.bg-surface { background: var(--color-dark-surface); }
.bg-overlay { background: var(--color-dark-overlay); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Spacing (Margin & Padding)
   ═══════════════════════════════════════════════════════════ */

.m-0 { margin: 0; }
.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }
.m-xl { margin: var(--space-xl); }

.p-0 { padding: 0; }
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Border Radius
   ═══════════════════════════════════════════════════════════ */

.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Shadows
   ═══════════════════════════════════════════════════════════ */

.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Neon Glows
   ═══════════════════════════════════════════════════════════ */

.glow-cyan { box-shadow: var(--glow-cyan); }
.glow-magenta { box-shadow: var(--glow-magenta); }
.glow-purple { box-shadow: var(--glow-purple); }
.glow-blue { box-shadow: var(--glow-blue); }
.glow-green { box-shadow: var(--glow-green); }
.glow-neon-mix { box-shadow: var(--glow-neon-mix); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Animations
   ═══════════════════════════════════════════════════════════ */

.animate-fade-in { animation: fadeIn var(--duration-normal) var(--easing-default); }
.animate-slide-in-up { animation: slideInUp var(--duration-normal) var(--easing-default); }
.animate-slide-in-down { animation: slideInDown var(--duration-normal) var(--easing-default); }
.animate-pulse { animation: pulse 2s var(--easing-default) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s var(--easing-default) infinite; }
.animate-glow { animation: glow 3s var(--easing-default) infinite; }
.animate-glitch { animation: glitchText 3s var(--easing-default) infinite; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Transitions
   ═══════════════════════════════════════════════════════════ */

.transition-fast { transition: all var(--duration-fast) var(--easing-default); }
.transition-normal { transition: all var(--duration-normal) var(--easing-default); }
.transition-slow { transition: all var(--duration-slow) var(--easing-default); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Overflow
   ═══════════════════════════════════════════════════════════ */

.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }

/**
 * 🎨 baseLINE Unified CSS Base
 * PCMedicalist Enterprise Edition
 * ════════════════════════════════════════════════════════
 */

:root {
  /* ⏱️ TIMING (base-specific) */
  --transition-fast: 100ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 300ms ease-out;
  --timing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* 📱 MOBILE LAYOUT */
  --mobile-header-height: 60px;
  --mobile-nav-height: 70px;
}

body {
  background: var(--color-bg-darkest);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); color: var(--color-text-secondary); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

a {
  color: var(--color-brand-light);
  text-decoration: none;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--color-brand-secondary);
  border-bottom-color: var(--color-brand-secondary);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
  border-color: var(--color-brand-secondary);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

button {
  font-family: var(--font-display);
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE MEDIA QUERIES
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/**
 * 🧭 Sticky Navigation Bar
 * PCMedicalist Clinical Edition
 */

.sticky-nav {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-sticky);
  
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); /* Enterprise Sharp */
  
  transition: all var(--duration-normal) var(--ease-smooth);
  
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-xs);
  
  width: auto;
  max-width: 90vw;
  padding: var(--space-xs) var(--space-sm);
  box-shadow: var(--glass-shadow);
}

.sticky-nav:hover {
  max-width: calc(100vw - var(--space-xl));
  gap: var(--space-sm);
  border-color: var(--color-brand-secondary);
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  
  color: var(--color-text-tertiary);
  font-family: var(--font-display); /* Lexend */
  font-size: var(--text-xs);
  font-weight: 500;
  
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-in-out);
  text-decoration: none;
  white-space: nowrap;
}

.nav-item:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-brand-light);
}

.nav-item.active {
  color: var(--color-text-primary);
  background: var(--color-brand-secondary);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.nav-icon {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-label {
  opacity: 0;
  visibility: hidden;
  max-width: 0;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.sticky-nav:hover .nav-label {
  opacity: 1;
  visibility: visible;
  max-width: 120px;
}

.battery-indicator {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.battery-indicator.connected {
  color: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
  background: rgba(16, 185, 129, 0.1);
}

@media (max-width: 900px) {
  .sticky-nav {
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateX(0);
    width: 100%;
    max-width: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
  }
}

/**
 * Modern UI Components Styles
 * Crypto Wallet-Style Design System
 */

/* ===== TABS COMPONENT ===== */
.tabs-container {
  width: 100%;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid rgba(29, 78, 216, 0.08);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding: 0 0rem;
  scroll-behavior: smooth;
}

.tabs::-webkit-scrollbar {
  height: 4px;
}

.tabs::-webkit-scrollbar-track {
  background: rgba(0, 82, 255, 0.05);
  border-radius: 2px;
}

.tabs::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 2px;
}

.tab-button {
  position: relative;
  padding: 1.25rem 1.75rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab-button:hover {
  color: var(--color-brand-light);
}

.tab-button.active {
  color: var(--color-brand-light);
}

.tab-icon {
  font-size: 1.25rem;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  box-shadow: var(--glow-blue);
}

/* Command Panel helpers (migrated from inline styles) */
.cmd-container { max-width: 1200px; margin: 0 auto; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.cmd-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; padding-bottom:15px; border-bottom:2px solid #e5e7eb; }
.cmd-status { display:flex; align-items:center; gap:8px; font-size:14px; color:#6b7280; }
.status-dot { width:8px; height:8px; border-radius:50%; display:inline-block; }
.status-dot.connected { background-color: #10b981; }
.status-dot.disconnected { background-color: #ef4444; }
.cmd-tabs { display:flex; border-bottom:1px solid #e5e7eb; margin-bottom:20px; }
.cmd-tab { padding:12px 24px; border:none; background:none; cursor:pointer; font-size:14px; font-weight:500; color:#6b7280; border-bottom:2px solid transparent; }
.cmd-tab.active { color:#3b82f6; border-bottom-color:#3b82f6; }
.commands-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.input-section { display:flex; flex-direction:column; gap:20px; }
.quick-button-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.quick-button { padding:8px 12px; border:1px solid #d1d5db; border-radius:6px; background:#f9fafb; cursor:pointer; font-size:12px; transition:all 0.2s; }
.command-input { display:flex; gap:8px; }
.command-input .input { flex:1; padding:12px; border:1px solid #d1d5db; border-radius:6px; font-size:14px; }
.send-button { padding:12px 24px; background-color:#3b82f6; color:white; border:none; border-radius:6px; cursor:pointer; font-size:14px; font-weight:500; }
.command-help .section-title { font-size:16px; font-weight:600; margin-bottom:12px; color:#111827; }
.help-grid { display:flex; flex-direction:column; gap:4px; font-size:12px; color:#6b7280; }
.history-list { max-height:400px; overflow-y:auto; display:flex; flex-direction:column; gap:12px; }
.history-item { padding:12px; border:1px solid #e5e7eb; border-radius:6px; background-color:#f9fafb; }
.history-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.command-text { font-size:12px; background-color:#e5e7eb; padding:2px 6px; border-radius:3px; }
.timestamp { font-size:11px; color:#6b7280; }
.history-result { font-size:12px; margin-bottom:6px; }
.transaction-hash { font-size:11px; }
.hash-link { color:#3b82f6; text-decoration:none; }
.log-item { padding:12px; border:1px solid #e5e7eb; border-radius:6px; }
.log-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.status-badge { padding:2px 8px; border-radius:12px; font-size:11px; color:white; font-weight:500; }
.log-details { display:flex; gap:16px; font-size:12px; color:#6b7280; }
.time-button { padding:6px 12px; border:1px solid #d1d5db; border-radius:4px; background:#f9fafb; cursor:pointer; font-size:12px; }
.stat-card { padding:16px; border:1px solid #e5e7eb; border-radius:8px; text-align:center; }
.stat-title { font-size:12px; color:#6b7280; margin-bottom:8px; }
.stat-value { font-size:24px; font-weight:700; color:#111827; }
.cmd-message { text-align:center; padding:40px; color:#6b7280; }

/* Loading spinner helpers */
.loading-spinner {
  display:inline-block;
  border: 4px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loading-spinner .spinner-inner { display:block; width:100%; height:100%; }
.w-4 { width: 1rem; height: 1rem; }
.w-8 { width: 2rem; height: 2rem; }
.w-12 { width: 3rem; height: 3rem; }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Additional helpers referenced by CommandPanel */
.logs-list { display:flex; flex-direction:column; gap:12px; }
.analytics-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.time-range-buttons { display:flex; gap:8px; }
.analytics-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }

.tab-content {
  display: none;
  opacity: 0;
  animation: fadeIn 200ms ease-in-out forwards;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* ===== WALLET CONNECTION COMPONENT ===== */
.wallet-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.wallet-connected-card {
  animation: slideIn 300ms ease-out;
}

.wallet-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.wallet-header h3 {
  color: var(--color-accent-success);
  margin: 0;
}

.wallet-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-item label {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.address-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid var(--color-dark-border);
  border-radius: 0.5rem;
  font-family: var(--font-mono);
}

.address-display code {
  flex: 1;
  color: var(--color-brand-light);
  font-size: 0.95rem;
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  border: 1px solid var(--color-accent-success);
  border-radius: 0.5rem;
  color: var(--color-accent-success);
  font-weight: 600;
  width: fit-content;
}

.network-indicator {
  font-size: 1.25rem;
  animation: pulse 2s infinite;
}

.balance-display {
  padding: 0.75rem 1rem;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid var(--color-brand-secondary);
  border-radius: 0.5rem;
  color: var(--color-brand-secondary);
  font-weight: 700;
  font-size: 1.125rem;
}

.wallet-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-dark-border);
}

/* Connect Wallet Container */
.wallet-connect-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.connect-header {
  margin-bottom: 2rem;
  text-align: center;
}

.connect-header h2 {
  margin-bottom: 0.5rem;
  font-size: 1.875rem;
}

.connect-header p {
  color: var(--color-text-secondary);
  margin: 0;
}

.error-banner {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid var(--color-accent-critical);
  border-radius: 0.5rem;
  color: var(--color-accent-critical);
  font-weight: 500;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.wallet-option {
  position: relative;
  padding: 1.5rem 1rem;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-dark-border);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.wallet-option:hover:not(:disabled) {
  border-color: var(--color-brand-primary);
  box-shadow: var(--glow-blue, 0 0 20px rgba(0, 82, 255, 0.5));
  background: rgba(29, 78, 216, 0.06);
  transform: translateY(-4px);
}

.wallet-option:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.wallet-icon {
  font-size: 2.5rem;
}

.wallet-name {
  font-weight: 700;
  color: var(--color-text-primary);
}

.wallet-description {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.wallet-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 1rem;
}

.info-box {
  padding: 1rem;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid var(--color-dark-border);
  border-radius: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.info-box p {
  margin: 0;
}

.info-box strong {
  color: var(--color-brand-light);
}

/* ===== TIP SENDER COMPONENT ===== */
.tip-sender-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.quick-tip-section,
.custom-tip-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.section-header h3 {
  margin: 0;
}

/* Currency Selector */
.currency-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.currency-selector label {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.currency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
}

.currency-btn {
  padding: 0.75rem;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-dark-border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
}

.currency-btn:hover {
  border-color: var(--color-brand-light);
  background: rgba(29, 78, 216, 0.06);
}

.currency-btn.active {
  border-color: var(--color-brand-primary);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(59, 130, 246, 0.06));
  box-shadow: var(--glow-blue);
  color: var(--color-brand-light);
}

.currency-icon {
  font-size: 1.5rem;
}

.currency-name {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Input Groups */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-label {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.input-error-text {
  font-size: 0.75rem;
  color: var(--color-accent-critical);
}

.input-helper-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.input-error {
  border-color: var(--color-accent-critical) !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Recipient Input */
.recipient-input {
  margin: 1rem 0;
}

/* Quick Amounts */
.quick-amounts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-amounts label {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.amounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.amount-btn {
  padding: 1rem;
  background: var(--color-bg-surface);
  border: 2px solid rgba(124, 58, 237, 0.1);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
}

.amount-btn:hover:not(:disabled) {
  border-color: var(--color-brand-secondary);
  background: rgba(124, 58, 237, 0.06);
  transform: translateY(-2px);
}

.amount-btn.active {
  border-color: var(--color-brand-primary);
  background: var(--gradient-primary);
  box-shadow: var(--glow-purple);
  color: white;
}

.amount-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.amount-icon {
  font-size: 1.75rem;
}

.amount-label {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Amount Input */
.amount-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input {
  flex: 1;
  padding: 0.75rem 1rem !important;
  padding-right: 3rem !important;
}

.currency-suffix {
  position: absolute;
  right: 1rem;
  color: var(--color-text-tertiary);
  font-weight: 600;
}

/* Balance Info */
.balance-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid var(--color-dark-border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.balance-info span {
  color: var(--color-text-secondary);
}

.balance-info strong {
  color: var(--color-brand-light);
}

/* Processing Indicator */
.processing-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid var(--color-dark-border);
  border-radius: 0.5rem;
  color: var(--color-brand-light);
  font-weight: 600;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
  color: var(--color-brand-light);
}

.empty-state p {
  color: var(--color-text-tertiary);
}

/* Manage Wallet */
.wallet-manage {
  animation: fadeIn 200ms ease-out;
}

.manage-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.manage-item {
  padding: 0.75rem 1rem;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid var(--color-dark-border);
  border-radius: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.manage-item strong {
  color: var(--color-brand-light);
  margin-right: 1rem;
}

.manage-item code {
  font-family: var(--font-mono);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .wallet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .currency-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amounts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-button {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .wallet-grid {
    grid-template-columns: 1fr;
  }

  .currency-grid {
    grid-template-columns: 1fr;
  }

  .amounts-grid {
    grid-template-columns: 1fr;
  }

  .manage-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   EXTRACTED INLINE STYLES (From Component Refactor)
   Moved from inline <style> tags to global stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ===== TOKENS OVERVIEW COMPONENT ===== */
.tokens-overview {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tokens-header {
  padding: 24px;
  background: var(--color-bg-darker);
  border-bottom: 1px solid var(--color-dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tokens-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== USER PROFILE COMPONENT ===== */
.user-profile {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--color-text-primary);
  border: 1px solid var(--color-dark-border);
}

.user-profile h3 {
  margin: 0 0 1.5rem 0;
  color: var(--color-brand-secondary);
  font-size: 1.25rem;
  font-weight: 600;
}

.profile-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== TRANSACTION HISTORY COMPONENT ===== */
.transaction-history {
  background: var(--color-bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-dark-border);
  backdrop-filter: blur(10px);
  padding: 20px;
  width: 100%;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.history-title {
  font-size: 14px;
  color: var(--color-brand-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ===== WALLET APP (WalletApp.tsx) ===== */
.wallet-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wallet-hero {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.wallet-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SEND FLOW COMPONENT ===== */
.send-flow-container {
  width: 100%;
  padding: 20px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-dark-border);
  backdrop-filter: blur(10px);
}

.send-flow-header {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-brand-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.send-flow-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== NFT GALLERY COMPONENT ===== */
.nft-gallery {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.nft-header {
  padding: 24px;
  background: var(--color-bg-darker);
  border-bottom: 1px solid var(--color-dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nft-title-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nft-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

/**
 * 🎨 baseLINE Design System — PCMedicalist Edition
 * Single source of truth for all design tokens.
 * ════════════════════════════════════════════════════════════
 */

:root {
  /* ═══════════════════════════════════════════════════════════
     🎯 PCMEDICALIST BRAND (Clinical Enterprise)
     ═══════════════════════════════════════════════════════════ */
  --color-brand-primary: #0F172A;      /* Deep Slate */
  --color-brand-secondary: #2563EB;    /* PCMedicalist Blue */
  --color-brand-accent: #10B981;       /* Clinical Green */
  --color-brand-light: #60A5FA;        /* Sky Blue */

  /* 🌈 SEMANTIC */
  --color-accent-success: #10B981;
  --color-accent-warning: #F59E0B;
  --color-accent-critical: #EF4444;
  --color-accent-info: #3B82F6;

  /* 🟦 BACKGROUND HIERARCHY (Clean Enterprise) */
  --color-bg-darkest: #020617;
  --color-bg-darker: #0F172A;
  --color-bg-base: #1E293B;
  --color-bg-surface: #1E293B;
  --color-bg-overlay: #334155;
  --color-bg-hover: #475569;
  
  /* Legacy dark aliases */
  --color-dark-void: #020617;
  --color-dark-darkest: #0F172A;
  --color-dark-darker: #1E293B;
  --color-dark-base: #1E293B;
  --color-dark-surface: #334155;
  --color-dark-overlay: #475569;
  --color-dark-border: #64748B;

  /* 📝 TEXT */
  --color-text-primary: #F8FAFC;
  --color-text-secondary: #E2E8F0;
  --color-text-tertiary: #94A3B8;
  --color-text-muted: #64748B;
  
  /* ✨ GLASS MORPHISM (Refined) */
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-backdrop: blur(16px) saturate(110%);
  --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);

  /* 🔤 TYPOGRAPHY (PCMedicalist Topography) */
  --font-display: 'Lexend', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 📏 FONT SIZES */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;

  /* 📐 SPACING */
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* 🔘 RADIUS (Enterprise Sharp) */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  
  /* 🎨 GRADIENTS */
  --gradient-primary: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

/**
 * 🔄 baseLINE CSS Reset & Normalization
 * Cross-browser consistency & security hardening
 * ════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════
   🛡️ SECURITY: Prevent CSS Injection
   ═══════════════════════════════════════════════════════════ */

/* Never allow user-controlled styles */
[style*="javascript:"],
[style*="expression("],
[style*="behavior:"],
[style*="binding:"],
[style*="@import"],
[style*="url(data:text/html"] {
  display: none !important;
  visibility: hidden !important;
}

/* ═══════════════════════════════════════════════════════════
   📦 BOX MODEL: Border-Box Everything
   ═══════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ═══════════════════════════════════════════════════════════
   🌐 HTML & BODY: Base Setup
   ═══════════════════════════════════════════════════════════ */

html {
  font-size: 16px; /* Base font size for rem calculations */
  -webkit-text-size-adjust: 100%; /* Prevent font size adjustment on iOS */
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background: var(--color-dark-void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Remove default tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════════════════════════
   🔤 TYPOGRAPHY: Normalize Text Elements
   ═══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
}

p {
  margin: 0 0 var(--space-md) 0;
}

a {
  color: var(--color-text-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--easing-default);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

strong, b {
  font-weight: var(--font-weight-bold);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════
   📝 CODE & PREFORMATTED TEXT
   ═══════════════════════════════════════════════════════════ */

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  padding: 0.125em 0.25em;
  background: var(--color-bg-darker);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-sm);
  color: var(--color-accent-info);
}

pre {
  padding: var(--space-md);
  background: var(--color-bg-darker);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  white-space: pre;
  line-height: var(--line-height-relaxed);
}

pre code {
  padding: 0;
  background: transparent;
  border: none;
}

/* ═══════════════════════════════════════════════════════════
   📋 LISTS
   ═══════════════════════════════════════════════════════════ */

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════
   📸 IMAGES & MEDIA
   ═══════════════════════════════════════════════════════════ */

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════
   📝 FORMS: Normalize Inputs
   ═══════════════════════════════════════════════════════════ */

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

input,
textarea,
select {
  background: var(--color-bg-surface);
  border: 2px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-primary);
  transition: all var(--duration-fast) var(--easing-default);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Remove default styling for file inputs */
[type="file"] {
  background: transparent;
  border: none;
  padding: 0;
}

/* Checkbox and radio */
[type="checkbox"],
[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  cursor: pointer;
  accent-color: var(--color-brand-primary);
}

/* ═══════════════════════════════════════════════════════════
   🔘 BUTTONS: Base Styles
   ═══════════════════════════════════════════════════════════ */

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--duration-normal) var(--easing-default);
  user-select: none;
}

button:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

button:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 4px;
}

/* ═══════════════════════════════════════════════════════════
   📊 TABLES
   ═══════════════════════════════════════════════════════════ */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

thead {
  background: var(--color-bg-darker);
}

th, td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-dark-border);
}

th {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

tr:hover {
  background: var(--color-bg-hover);
}

/* ═══════════════════════════════════════════════════════════
   🎨 HORIZONTAL RULES
   ═══════════════════════════════════════════════════════════ */

hr {
  height: 0;
  border: 0;
  border-top: 2px solid var(--color-dark-border);
  margin: var(--space-lg) 0;
}

/* ═══════════════════════════════════════════════════════════
   💬 DETAILS & SUMMARY (Accordion)
   ═══════════════════════════════════════════════════════════ */

details {
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--color-bg-surface);
}

summary {
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  user-select: none;
  padding: var(--space-sm);
  margin: calc(-1 * var(--space-md));
  margin-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-dark-border);
  transition: color var(--duration-fast) var(--easing-default);
}

summary:hover {
  color: var(--color-brand-primary);
}

details[open] summary {
  margin-bottom: var(--space-md);
  color: var(--color-brand-primary);
}

/* ═══════════════════════════════════════════════════════════
   ♿ ACCESSIBILITY: Focus Indicators
   ═══════════════════════════════════════════════════════════ */

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════
   🔍 SELECTION HIGHLIGHT
   ═══════════════════════════════════════════════════════════ */

::selection {
  background: var(--color-brand-primary);
  color: #ffffff;
}

::-moz-selection {
  background: var(--color-brand-primary);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   📜 SCROLLBAR STYLING (Webkit)
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-base);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-bg-hover);
}

/* ═══════════════════════════════════════════════════════════
   🚫 HIDDEN ELEMENTS
   ═══════════════════════════════════════════════════════════ */

[hidden] {
  display: none !important;
}

[aria-hidden="true"] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Display
   ═══════════════════════════════════════════════════════════ */

.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Flexbox
   ═══════════════════════════════════════════════════════════ */

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Text Alignment
   ═══════════════════════════════════════════════════════════ */

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Text Transform
   ═══════════════════════════════════════════════════════════ */

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Font Weights
   ═══════════════════════════════════════════════════════════ */

.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Colors
   ═══════════════════════════════════════════════════════════ */

.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-text-accent); }
.text-success { color: var(--color-text-success); }
.text-warning { color: var(--color-text-warning); }
.text-error { color: var(--color-text-error); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Background Colors
   ═══════════════════════════════════════════════════════════ */

.bg-void { background: var(--color-dark-void); }
.bg-darkest { background: var(--color-dark-darkest); }
.bg-darker { background: var(--color-dark-darker); }
.bg-base { background: var(--color-dark-base); }
.bg-surface { background: var(--color-dark-surface); }
.bg-overlay { background: var(--color-dark-overlay); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Spacing (Margin & Padding)
   ═══════════════════════════════════════════════════════════ */

.m-0 { margin: 0; }
.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }
.m-xl { margin: var(--space-xl); }

.p-0 { padding: 0; }
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Border Radius
   ═══════════════════════════════════════════════════════════ */

.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Shadows
   ═══════════════════════════════════════════════════════════ */

.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Neon Glows
   ═══════════════════════════════════════════════════════════ */

.glow-cyan { box-shadow: var(--glow-cyan); }
.glow-magenta { box-shadow: var(--glow-magenta); }
.glow-purple { box-shadow: var(--glow-purple); }
.glow-blue { box-shadow: var(--glow-blue); }
.glow-green { box-shadow: var(--glow-green); }
.glow-neon-mix { box-shadow: var(--glow-neon-mix); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Animations
   ═══════════════════════════════════════════════════════════ */

.animate-fade-in { animation: fadeIn var(--duration-normal) var(--easing-default); }
.animate-slide-in-up { animation: slideInUp var(--duration-normal) var(--easing-default); }
.animate-slide-in-down { animation: slideInDown var(--duration-normal) var(--easing-default); }
.animate-pulse { animation: pulse 2s var(--easing-default) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s var(--easing-default) infinite; }
.animate-glow { animation: glow 3s var(--easing-default) infinite; }
.animate-glitch { animation: glitchText 3s var(--easing-default) infinite; }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Transitions
   ═══════════════════════════════════════════════════════════ */

.transition-fast { transition: all var(--duration-fast) var(--easing-default); }
.transition-normal { transition: all var(--duration-normal) var(--easing-default); }
.transition-slow { transition: all var(--duration-slow) var(--easing-default); }

/* ═══════════════════════════════════════════════════════════
   🎯 UTILITY CLASSES: Overflow
   ═══════════════════════════════════════════════════════════ */

.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }

/* ============================================================================
   IMPORT UNIFIED DESIGN SYSTEM
   ============================================================================ */

/* ============================================================================
   TOAST SYSTEM STYLES
   Professional Enterprise Notifications
   ============================================================================ */

.toast-container {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-notification);
  pointer-events: none;
  max-width: 400px;
  font-family: var(--font-body);
}

.toast {
  pointer-events: auto;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-xl);
}

/* Success Toast */
.toast-success {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.08) 0%, 
    rgba(5, 150, 105, 0.05) 100%);
  border-color: var(--color-accent-success);
  color: var(--color-text-success);
}

.toast-success .toast-icon {
  color: var(--color-accent-success);
}

/* Error Toast */
.toast-error {
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.08) 0%, 
    rgba(220, 38, 38, 0.05) 100%);
  border-color: var(--color-accent-critical);
  color: var(--color-text-error);
}

.toast-error .toast-icon {
  color: var(--color-accent-critical);
}

/* Warning Toast */
.toast-warning {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.08) 0%, 
    rgba(217, 119, 6, 0.05) 100%);
  border-color: var(--color-accent-warning);
  color: var(--color-text-warning);
}

.toast-warning .toast-icon {
  color: var(--color-accent-warning);
}

/* Info Toast */
.toast-info {
  background: linear-gradient(135deg, 
    rgba(14, 165, 233, 0.08) 0%, 
    rgba(14, 165, 233, 0.04) 100%);
  border-color: var(--color-accent-info);
  color: var(--color-text-info);
}

.toast-info .toast-icon {
  color: var(--color-accent-info);
}

.toast-content {
  padding: 16px;
  position: relative;
}

.toast-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.toast-icon {
  font-size: 18px;
  font-weight: bold;
  min-width: 20px;
  animation: iconGlow 2s ease-in-out infinite alternate;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  flex: 1;
}

.toast-message {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
  margin-left: 32px;
  margin-top: 4px;
}

.toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: all 0.2s ease;
  border-radius: 4px;
  line-height: 1;
}

.toast-close:hover {
  opacity: 1;
  background: var(--color-bg-hover);
  transform: scale(1.1);
}

.toast-action {
  margin-top: 12px;
  margin-left: 32px;
}

.toast-action .btn {
  background: var(--color-bg-hover);
  border: 1px solid var(--color-dark-border);
  color: inherit;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.toast-action .btn:hover {
  background: var(--color-bg-selected);
  border-color: var(--color-brand-primary);
  transform: translateY(-1px);
}

/* Animations */
@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes iconGlow {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.3);
  }
}

/* Exit animation */
.toast-exit {
  animation: toastSlideOut 0.3s ease-in-out forwards;
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .toast {
    margin-bottom: 8px;
  }
  
  .toast-content {
    padding: 12px;
  }
  
  .toast-title {
    font-size: 13px;
  }
  
  .toast-message {
    font-size: 12px;
    margin-left: 28px;
  }
  
  .toast-action {
    margin-left: 28px;
    margin-top: 8px;
  }
}

/* Progress bar for timed toasts */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
  animation: progressBar linear;
}

@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/**
 * STATUS PANEL STYLES
 * PCMedicalist Enterprise Edition
 */

.status-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-backdrop);
}

.status-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100vh;
  background: var(--color-bg-surface);
  backdrop-filter: var(--glass-backdrop);
  border-left: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

.status-panel-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--glass-border);
  background: var(--color-bg-darker);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-panel-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0;
  color: var(--color-text-primary);
}

.status-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.status-section {
  background: var(--color-bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.section-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.status-badge {
  padding: 4px 12px;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
}

.status-badge.online {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-brand-accent);
  border: 1px solid var(--color-brand-accent);
}

.token-item {
  background: var(--color-bg-darkest);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.token-symbol {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-brand-light);
}

.balance-amount {
  font-family: var(--font-mono);
  font-weight: 600;
}

.refresh-btn {
  background: var(--color-brand-secondary);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast);
  margin-top: auto;
}

.refresh-btn:hover {
  background: var(--color-brand-light);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.close-btn {
  background: var(--color-bg-overlay);
  border: 1px solid var(--glass-border);
  color: var(--color-text-primary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.close-btn:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-brand-secondary);
}

/**
 * 🔐 Wallet Profile Styles
 * PCMedicalist Enterprise Edition
 */

.wallet-profile {
  background: var(--color-bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  backdrop-filter: var(--glass-backdrop);
  transition: all var(--duration-normal) var(--ease-smooth);
  
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.wallet-profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--glass-border);
}

.wallet-profile-avatar,
.wallet-profile-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--color-bg-darker);
}

.wallet-profile-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
}

.wallet-profile-address {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-darkest);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.wallet-profile-address:hover {
  border-color: var(--color-brand-secondary);
  color: var(--color-text-primary);
}

.network-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.25rem 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--color-brand-secondary);
  border-radius: var(--radius-md);
  color: var(--color-brand-light);
  font-size: var(--text-xs);
  font-weight: 600;
}

.balance-total {
  background: var(--color-bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.balance-amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-brand-light);
}

.balance-item {
  background: var(--color-bg-darkest);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.balance-item:hover {
  border-color: var(--color-brand-secondary);
}

/**
 * Mobile OS Dashboard Styles
 * PCMedicalist Enterprise Edition
 */

.mobile-dashboard {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-darkest);
  color: var(--color-text-primary);
  overflow: hidden;
  font-family: var(--font-body);
}

.status-bar {
  height: 44px;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--glass-border);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
}

.dashboard-content {
  flex: 1;
  padding: var(--space-md);
  overflow-y: auto;
}

.wallet-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--glass-shadow);
}

.wallet-balance {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  margin: var(--space-xs) 0;
}

.wallet-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-brand-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.app-icon-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-bg-overlay);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  transition: all var(--duration-fast);
}

.app-icon-image:hover {
  border-color: var(--color-brand-secondary);
  transform: translateY(-2px);
}

.app-icon-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: var(--space-xs);
}

/**
 * ⚛️ Quantum Computational Animations
 * Futuristic, smooth, performant
 * 
 * Inspired by:
 * - Quantum superposition (multiple states)
 * - Wave function collapse (transition effects)  
 * - Entanglement (synchronized animations)
 * - Phase coherence (smooth, flowing motion)
 */

/* ════════════════════════════════════════════════════════════════════════════
   💫 QUANTUM PULSE (Superposition animation)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumPulse {
  0% {
    opacity: 1;
    transform: scale(1) translateZ(0);
    filter: brightness(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02) translateZ(0);
    filter: brightness(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateZ(0);
    filter: brightness(1);
  }
}

.pulse-quantum {
  animation: quantumPulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   🌀 QUANTUM WAVE (Phase transition animation)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumWave {
  0% {
    transform: translateX(0) translateZ(0);
    opacity: 1;
  }
  50% {
    transform: translateX(8px) translateZ(0);
    opacity: 0.92;
  }
  100% {
    transform: translateX(0) translateZ(0);
    opacity: 1;
  }
}

.wave-quantum {
  animation: quantumWave 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   ✨ QUANTUM GLOW (Entanglement effect - coherent light)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(79, 70, 229, 0);
  }
}

.glow-quantum {
  animation: quantumGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   🔄 QUANTUM ROTATE (Spin state superposition)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumRotate {
  0% {
    transform: rotate(0deg) translateZ(0);
    opacity: 1;
  }
  25% {
    opacity: 0.95;
  }
  50% {
    transform: rotate(180deg) translateZ(0);
    opacity: 0.9;
  }
  75% {
    opacity: 0.95;
  }
  100% {
    transform: rotate(360deg) translateZ(0);
    opacity: 1;
  }
}

.rotate-quantum {
  animation: quantumRotate 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   💎 QUANTUM SHIMMER (Light interference pattern)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumShimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer-quantum {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  background-size: 200px 100%;
  animation: quantumShimmer 3s infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   🎯 QUANTUM FOCUS (Schrödinger's button - collapse animation)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumFocus {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5);
  }
  50% {
    box-shadow: 0 0 40px 20px rgba(79, 70, 229, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

button:focus-visible,
a:focus-visible {
  animation: quantumFocus 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ════════════════════════════════════════════════════════════════════════════
   🌌 QUANTUM DRIFT (Smooth positional uncertainty)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumDrift {
  0%, 100% {
    transform: translateY(0) translateX(0) translateZ(0);
  }
  25% {
    transform: translateY(-4px) translateX(2px) translateZ(0);
  }
  50% {
    transform: translateY(0) translateX(4px) translateZ(0);
  }
  75% {
    transform: translateY(4px) translateX(0) translateZ(0);
  }
}

.drift-quantum {
  animation: quantumDrift 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   ⚡ QUANTUM ENERGY (Pulsing energy field)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumEnergy {
  0%, 100% {
    opacity: 0.6;
    filter: brightness(1) blur(0px);
  }
  50% {
    opacity: 1;
    filter: brightness(1.15) blur(0.5px);
  }
}

.energy-quantum {
  animation: quantumEnergy 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   🔀 QUANTUM PHASE SHIFT (Color/opacity cascade)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumPhaseShift {
  0% {
    opacity: 1;
    filter: hue-rotate(0deg) saturate(100%);
  }
  25% {
    opacity: 0.96;
    filter: hue-rotate(4deg) saturate(105%);
  }
  50% {
    opacity: 0.92;
    filter: hue-rotate(0deg) saturate(100%);
  }
  75% {
    opacity: 0.96;
    filter: hue-rotate(-4deg) saturate(95%);
  }
  100% {
    opacity: 1;
    filter: hue-rotate(0deg) saturate(100%);
  }
}

.phase-shift-quantum {
  animation: quantumPhaseShift 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   📡 QUANTUM FIELD (Expansion ripple effect)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumField {
  0% {
    transform: scale(1) translateZ(0);
    opacity: 1;
  }
  50% {
    transform: scale(1.05) translateZ(0);
    opacity: 0.85;
  }
  100% {
    transform: scale(1) translateZ(0);
    opacity: 1;
  }
}

.field-quantum {
  animation: quantumField 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   🌀 QUANTUM DOUBLE SLIT (Split-screen transition)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumDoubleSlit {
  0% {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    opacity: 1;
  }
  50% {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    opacity: 0.8;
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
  }
}

.double-slit-quantum {
  animation: quantumDoubleSlit 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   💫 QUANTUM COHERENCE (Synchronized entrances)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumCoherence {
  0% {
    opacity: 0;
    transform: translateY(20px) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.coherence-quantum {
  animation: quantumCoherence 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) ease-out 1;
}

/* ════════════════════════════════════════════════════════════════════════════
   🎨 GRADIENT QUANTUM ANIMATION (Flowing gradients)
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes quantumGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-quantum {
  background-size: 200% 200%;
  animation: quantumGradientFlow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   ♿ ACCESSIBILITY - Respect prefers-reduced-motion
   ════════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .pulse-quantum,
  .wave-quantum,
  .glow-quantum,
  .rotate-quantum,
  .shimmer-quantum,
  .drift-quantum,
  .energy-quantum,
  .phase-shift-quantum,
  .field-quantum,
  .double-slit-quantum,
  .coherence-quantum,
  .gradient-quantum {
    animation: none;
  }
  
  button:focus-visible,
  a:focus-visible {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   🖥️ HARDWARE ACCELERATION (Use transforms and opacity only)
   ════════════════════════════════════════════════════════════════════════════ */
.quantum-acceleration {
  will-change: transform, opacity;
  transform: translateZ(0) translateY(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .nav-item,
  .card {
    &.quantum-acceleration {
      will-change: auto;
    }
  }
}

/* Mobile-first styles extracted from index/landing templates */

/* ===== MOBILE OS CONTAINER ===== */
.mobile-app {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-bg-darkest);
  overflow-x: hidden;
}

/* ===== STATUS BAR (iOS/Android Style) ===== */
.status-bar {
  height: 44px;
  padding: 0 var(--space-md);
  padding-top: env(safe-area-inset-top, 0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-surface);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--color-dark-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  z-index: 200;
}

.status-time { 
  letter-spacing: 0.02em; 
  font-variant-numeric: tabular-nums;
}

.status-left,
.status-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.status-right {
  justify-content: flex-end;
}

.status-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--color-dark-border);
}

.status-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-dark-border);
  background: var(--color-bg-darker);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.125rem;
}

.status-icon-button:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-dark-border);
}

.status-icon-button:active {
  transform: scale(0.92);
}

/* Main Content */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0));
}

/* Header Section / Hero */
.header-section,
.hero-section {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-dark-border);
}

.app-logo,
.app-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.app-logo-image {
  height: 45px;
  width: auto;
  max-width: 150px;
}

.app-tagline,
.app-subtitle { font-size: 0.85rem; color: var(--color-text-secondary); }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem 1rem;
}

.feature-item,
.feature-card {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.04), rgba(124, 58, 237, 0.04));
  border: 1px solid var(--color-dark-border);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
  transform: translateZ(0);
  transform-style: preserve-3d;
  backdrop-filter: blur(12px);
}

.feature-item:active,
.feature-card:active { transform: scale(0.95); }
.feature-item:hover,
.feature-card:hover { background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(124, 58, 237, 0.08)); }
.feature-icon { font-size: 2rem; }
.feature-name { font-size: 0.85rem; font-weight: 700; color: var(--color-text-primary); }
@media (max-width: 640px) {
  .features-grid.swipe-row::-webkit-scrollbar {
    display: none;
  }
  .features-grid.swipe-row {
    scrollbar-width: none;
  }
}

/* Info sections */
.info-sections,
.info-section { padding: 0 1rem 2rem; }
.info-card {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.04), rgba(124, 58, 237, 0.04));
  border: 1px solid var(--color-dark-border);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}
.info-card h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--color-text-primary); }
.info-card p { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.5; }

/* Generic mini-app layout */
.page-header {
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-dark-border);
}

.page-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-subtitle {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.page-section {
  padding: 1rem;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.card {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.04), rgba(124, 58, 237, 0.04));
  border: 1px solid var(--color-dark-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.card + .card {
  margin-top: 0.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .card-grid.swipe-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .card-grid.swipe-row > .card {
    min-width: 160px;
    scroll-snap-align: start;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--color-dark-border);
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-size: 0.9rem;
}

.textarea {
  min-height: 90px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.button-primary {
  background: var(--gradient-primary);
  color: var(--color-text-primary);
  box-shadow: 0 16px 24px rgba(79, 70, 229, 0.25);
}

.button-primary:hover {
  animation: quantumWave 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.button-secondary {
  background: var(--color-bg-darker);
  color: var(--color-text-primary);
  border: 1px solid var(--color-dark-border);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.chip {
  padding: 0.6rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-dark-border);
  background: var(--color-bg-darker);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.chip.active {
  background: rgba(29, 78, 216, 0.12);
  border-color: var(--color-brand-primary);
}

.feed-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.feed-line {
  color: var(--color-text-secondary);
}

.feed-line strong {
  color: var(--color-text-primary);
}

.pixel-art {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 2px solid var(--color-dark-border);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(124, 58, 237, 0.08));
  margin: 0 auto 0.75rem;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 78, 216, 0.12);
  border: 1px solid var(--color-brand-primary);
  font-weight: 700;
}

.spacer-sm {
  height: 0.75rem;
}

.mt-md {
  margin-top: 1rem;
}

.cta-link { display: inline-block; margin-top: 0.75rem; padding: 0.5rem 1rem; background: var(--gradient-primary); color: var(--color-text-primary); border-radius: 8px; font-size: 0.8rem; font-weight:600; text-decoration:none; }
.cta-link:hover { animation: quantumWave 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite; }
.cta-link:active{ transform: scale(0.95); }

/* Bottom Navigation */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-around; align-items: stretch;
  background: var(--color-bg-surface); backdrop-filter: blur(40px);
  border-top: 0.5px solid var(--color-dark-border); padding-bottom: env(safe-area-inset-bottom,0);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}
.nav-item { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0.25rem; padding:0.75rem 0.5rem; border:none; background:transparent; color:var(--color-text-muted); cursor:pointer; text-decoration:none; min-height:64px; -webkit-tap-highlight-color:transparent; transition: all 0.3s ease; }
.nav-item.active { color:var(--color-text-primary); }
.nav-icon { font-size:1.5rem; transition: transform 0.3s, font-size 0.3s; }
.nav-item.active .nav-icon { transform: scale(1.1); filter: drop-shadow(0 2px 8px rgba(29, 78, 216, 0.2)); }
.nav-label { font-size:0.625rem; font-weight:600; letter-spacing:0.02em; text-transform:uppercase; transition: opacity 0.3s ease, height 0.3s ease; }

/* Scrolled state - hide labels except active */
.bottom-nav.scrolled .nav-item:not(.active) .nav-label {
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.bottom-nav.scrolled .nav-item:not(.active) {
  padding: 0.6rem 0.5rem;
  min-height: 56px;
}
.bottom-nav.scrolled .nav-item.active .nav-icon {
  font-size: 1.75rem;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(29, 78, 216, 0.2);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Notifications */
.notifications-container {
  padding-bottom: 2rem;
}

.notifications-header {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem;
}

.notification-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.notification-card:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-dark-border);
  transform: translateY(-2px);
}

.notification-card:active {
  transform: scale(0.98);
}

.notification-card.unread {
  background: rgba(29, 78, 216, 0.06);
  border-color: rgba(29, 78, 216, 0.1);
}

.notification-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--color-text-primary);
}

.notification-message {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.notification-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-brand-primary);
  text-decoration: none;
  font-weight: 500;
}

.notification-link:hover {
  color: #0066ff;
  text-decoration: underline;
}

.notification-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.notification-time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.notification-badge {
  width: 8px;
  height: 8px;
  background: var(--color-brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(29, 78, 216, 0.2);
}

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-inline img {
  height: 1em;
  width: auto;
}

/* Responsive */
@media (max-width: 640px) {
  .features-grid.swipe-row {
    display: flex;
    overflow-x: auto;
    padding: 1rem 1rem 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .features-grid.swipe-row .feature-item {
    min-width: 140px;
    scroll-snap-align: start;
  }
}

@media (min-width: 768px) {
  .mobile-app { max-width: none; width: 100%; margin: 0; border-left: none; border-right: none; box-shadow: none; }
  .features-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 480px) {
  .app-logo, .app-title { font-size:2rem; }
  .features-grid { gap:0.75rem; padding:1rem; }
  .feature-item, .feature-card { padding:1rem; }
  .feature-icon { font-size:2rem; }
}

@media (max-width: 420px) {
  .nav-label { display: none; }
  .nav-item { min-height: 56px; padding: 0.65rem 0.5rem; }
}

/**
 * baseLINE — PCMedicalist × Bankr Brand Footer
 * Additive styles only — does not modify or override any existing CSS.
 * Uses tokens from tokens.css (already loaded via global.css).
 */

.baseline-footer {
  margin-top: auto;
  padding: 1.5rem 1.25rem 2rem;
  background: var(--glass-bg, rgba(31, 41, 55, 0.75));
  backdrop-filter: var(--glass-backdrop, blur(12px) saturate(120%));
  border-top: 1px solid var(--glass-border, rgba(203, 213, 225, 0.12));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body, 'Source Sans 3', sans-serif);
  font-size: 0.8125rem;
  color: var(--color-text-tertiary, #94a3b8);
  text-align: center;
}

.baseline-footer__copyright {
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.baseline-footer__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.85;
}

.baseline-footer__link {
  color: var(--color-text-secondary, #cbd5e1);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.baseline-footer__link:hover {
  color: var(--color-brand-light, #3b82f6);
  opacity: 1;
}

.baseline-footer__link:focus-visible {
  outline: 2px solid var(--color-brand-light, #3b82f6);
  outline-offset: 2px;
  border-radius: 2px;
}

.baseline-footer__divider {
  color: var(--color-text-muted, #64748b);
  user-select: none;
}

/* Responsive: ensure footer stays readable on narrow screens */
@media (max-width: 480px) {
  .baseline-footer {
    padding: 1.25rem 1rem 1.5rem;
    font-size: 0.75rem;
  }

  .baseline-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .baseline-footer__link {
    transition: none;
  }
}

/**
 * 🎨 baseLINE — Global Stylesheet
 * PCMedicalist Enterprise Edition
 */

/* ═══════════════════════════════════════════════════════════
   🎯 ENTERPRISE LAYOUT & TOPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

body {
  background-color: var(--color-bg-darkest);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
}

/* ═══════════════════════════════════════════════════════════
   🔘 CLINICAL BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn-clinical {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-in-out);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-clinical-primary {
  background-color: var(--color-brand-secondary);
  color: white;
}

.btn-clinical-primary:hover {
  background-color: var(--color-brand-light);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.btn-clinical-outline {
  background: transparent;
  border-color: var(--glass-border);
  color: var(--color-text-secondary);
}

.btn-clinical-outline:hover {
  border-color: var(--color-brand-secondary);
  color: var(--color-text-primary);
}

/* ============================================================================
   IMPORT UNIFIED DESIGN SYSTEM
   ============================================================================ */

/* ============================================================================
   CONFIG PAGE STYLES
   ============================================================================ */
.config-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  font-family: var(--font-mono);
  background: var(--color-dark-void);
  color: var(--color-text-secondary);
  min-height: 100vh;
}

.config-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.config-header h1 {
  color: var(--color-text-primary);
  font-size: var(--text-3xl);
  font-family: var(--font-display);
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px var(--color-brand-primary), -2px -2px var(--color-brand-accent);
}

.config-header p {
  color: var(--color-text-tertiary);
  font-size: var(--text-lg);
  margin: 0;
}

.config-form {
  background: var(--color-dark-darkest);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  border: 2px solid var(--color-dark-overlay);
}

.form-group {
  margin-bottom: var(--spacing-xl);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-primary);
  font-size: var(--text-base);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--color-dark-overlay);
  border-radius: var(--radius-md);
  background: var(--color-dark-darker);
  color: var(--color-text-primary);
  font-size: var(--text-base);
  transition: border-color var(--transition-normal);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-accent);
  box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group small {
  display: block;
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
  margin-top: var(--spacing-xs);
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  accent-color: var(--color-brand-secondary);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.save-button {
  background: var(--color-brand-secondary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-button:hover:not(:disabled) {
  background: #7c3aed;
  transform: translateY(-1px);
}

.save-button:disabled {
  background: #666;
  cursor: not-allowed;
}

.save-button.success {
  background: #10b981;
}

.save-button.error {
  background: #ef4444;
}

.status-message {
  font-size: 0.9rem;
  font-weight: 500;
}

.status-message.success {
  color: #10b981;
}

.status-message.error {
  color: #ef4444;
}

body {
  margin: 0;
  padding: 0;
  background: #0a0a0a;
}

/* ============================================================================
   IMPORT UNIFIED DESIGN SYSTEM
   ============================================================================ */

/* ============================================================================
   PANEL-SPECIFIC OVERRIDES
   ============================================================================ */
body {
  font-family: var(--font-body);
  background: var(--color-dark-darker);
  color: var(--color-text-primary);
  line-height: var(--line-height-normal);
}

/* App container */
.app {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Loading states */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: var(--color-dark-darker);
}

.loading-container p {
  margin-top: var(--spacing-md);
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
}

/* Common button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  min-height: 44px;
  gap: var(--spacing-xs);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-text-primary);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #8441e8 0%, #6b26d1 100%);
  transform: translateY(-1px);
  box-shadow: var(--glow-purple);
}

.btn-secondary {
  background: var(--color-dark-surface);
  color: var(--color-text-primary);
  border: 1px solid var(--color-dark-overlay);
}

.btn-secondary:hover:not(:disabled) {
  background: #383848;
  border-color: #505060;
}

.btn-danger {
  background: linear-gradient(135deg, #ff4757 0%, #e84393 100%);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff3838 0%, #d63384 100%);
}

.btn-success {
  background: linear-gradient(135deg, #2ed573 0%, #1e90ff 100%);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: linear-gradient(135deg, #26c165 0%, #1c7fd4 100%);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  min-height: 36px;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  min-height: 52px;
}

/* Form elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffffff;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #1a1a2e;
  border: 1px solid #2d2d3d;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input::placeholder {
  color: #666;
}

.form-error {
  color: #ff4757;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Card styles */
.card {
  background: #16213e;
  border: 1px solid #2d2d3d;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.card-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2d2d3d;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.card-body {
  flex: 1;
}

/* Grid system */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

/* Color utilities */
.text-white {
  color: #ffffff;
}

.text-gray {
  color: #a0a0a0;
}

.text-success {
  color: #2ed573;
}

.text-danger {
  color: #ff4757;
}

.text-warning {
  color: #ffa502;
}

.text-primary {
  color: #7c3aed;
}

/* Spacing utilities */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: #16213e;
  border: 1px solid #2d2d3d;
  border-radius: 8px;
  padding: 1rem;
  min-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

.toast-success {
  border-left: 4px solid #2ed573;
}

.toast-error {
  border-left: 4px solid #ff4757;
}

.toast-warning {
  border-left: 4px solid #ffa502;
}

.toast-info {
  border-left: 4px solid #3742fa;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: #16213e;
  border: 1px solid #2d2d3d;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: scaleIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
  background: #404050;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #505060;
}

/* Hide scrollbar for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #404050 #1a1a2e;
}

/* Dashboard Styles */
.dashboard {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #0e0e23;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #16213e;
  border-bottom: 1px solid #2d2d3d;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #7c3aed;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.user-status {
  font-size: 0.75rem;
  line-height: 1.2;
}

.status-connected {
  color: #2ed573;
}

.status-disconnected {
  color: #ffa502;
}

.dashboard-nav {
  display: flex;
  background: #1a1a2e;
  border-bottom: 1px solid #2d2d3d;
  overflow-x: auto;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: #a0a0a0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-btn:hover {
  color: #ffffff;
  background: rgba(124, 58, 237, 0.08);
}

.nav-btn.active {
  color: #7c3aed;
  border-bottom-color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
}

.nav-icon {
  font-size: 1rem;
}

.dashboard-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

/* LoginScreen Styles */
.login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0e0e23 0%, #1a1a2e 50%, #16213e 100%);
  padding: 1rem;
}

.login-container {
  background: rgba(22, 33, 62, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.login-header .logo h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.login-header .logo p {
  color: #a0a0a0;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.welcome-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.welcome-text p {
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.feature-icon {
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.feature h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.8rem;
  color: #a0a0a0;
  margin: 0;
}

.login-actions {
  margin-bottom: 2rem;
}

.login-actions .btn {
  width: 100%;
  margin-bottom: 1rem;
}

.twitch-notice {
  color: #ffa502;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.error-message {
  color: #ff4757;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 6px;
}

.login-footer .disclaimer {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .features-list {
    grid-template-columns: 1fr;
  }
  
  .login-container {
    padding: 1.5rem;
  }
  
  .login-header .logo h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .dashboard-header {
    padding: 0.75rem;
  }
  
  .header-left {
    gap: 0.75rem;
  }
  
  .logo h1 {
    font-size: 1.25rem;
  }
  
  .user-info {
    gap: 0.5rem;
  }
  
  .user-avatar {
    width: 28px;
    height: 28px;
  }
  
  .nav-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .dashboard-content {
    padding: 0.75rem;
  }
}

