/* ============================================
   InSimul - shadcn-inspired Design System
   Black & White Theme
   ============================================ */

/* --- Design Tokens (shadcn zinc theme) --- */
:root {
  --background: #ffffff;
  --foreground: #09090b;
  --card: #ffffff;
  --card-foreground: #09090b;
  --popover: #ffffff;
  --popover-foreground: #09090b;
  --primary: #09090b;
  --primary-foreground: #fafafa;
  --secondary: #f4f4f5;
  --secondary-foreground: #18181b;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --accent: #f4f4f5;
  --accent-foreground: #18181b;
  --destructive: #ef4444;
  --destructive-foreground: #fafafa;
  --border: #e4e4e7;
  --input: #e4e4e7;
  --ring: #09090b;
  --radius: 0.5rem;
  --sidebar: #09090b;
  --sidebar-foreground: #fafafa;
  --sidebar-muted: #27272a;
  --sidebar-border: #27272a;
  --shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dark {
  --background: #09090b;
  --foreground: #fafafa;
  --card: #18181b;
  --card-foreground: #fafafa;
  --popover: #18181b;
  --popover-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #18181b;
  --secondary: #27272a;
  --secondary-foreground: #fafafa;
  --muted: #27272a;
  --muted-foreground: #a1a1aa;
  --accent: #27272a;
  --accent-foreground: #fafafa;
  --border: #27272a;
  --input: #27272a;
  --ring: #d4d4d8;
  --sidebar: #09090b;
  --sidebar-foreground: #fafafa;
  --sidebar-muted: #27272a;
  --sidebar-border: #27272a;
  --shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

/* --- shadcn-style Components --- */

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card-header { margin-bottom: 1rem; }
.card-title { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.card-description { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem; font-weight: 500; line-height: 1.5;
  transition: all 0.15s ease; gap: 0.5rem;
  border: 1px solid var(--border); background: var(--card); color: var(--foreground);
}
.btn:hover { background: var(--muted); }
.btn-primary { background: #111; color: #fff; border-color: #111; }
.btn-primary:hover { background: #333; }
.dark .btn-primary { background: #fff; color: #111; border-color: #fff; }
.dark .btn-primary:hover { background: #ccc; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--muted); }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-icon { padding: 0.5rem; width: 2.25rem; height: 2.25rem; }

/* Badge */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.125rem 0.625rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; line-height: 1.5;
  border: 1px solid var(--border); background: var(--muted); color: var(--muted-foreground);
}
.badge-success { background: #e5e5e5; color: #171717; border-color: #d4d4d4; }
.dark .badge-success { background: #262626; color: #fafafa; border-color: #404040; }
.badge-warning { background: #e5e5e5; color: #171717; border-color: #d4d4d4; }
.dark .badge-warning { background: #262626; color: #fafafa; border-color: #404040; }
.badge-danger { background: #e5e5e5; color: #171717; border-color: #d4d4d4; }
.dark .badge-danger { background: #262626; color: #fafafa; border-color: #404040; }

/* Input */
.input {
  width: 100%; padding: 0.5rem 0.75rem; border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border); background: var(--card); color: var(--foreground);
  font-size: 0.875rem; line-height: 1.5; transition: border-color 0.15s ease;
  outline: none;
}
.input:focus { border-color: var(--ring); box-shadow: 0 0 0 2px rgba(163, 163, 163, 0.2); }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th {
  text-align: left; padding: 0.75rem 1rem; font-weight: 600;
  border-bottom: 1px solid var(--border); color: var(--muted-foreground);
  background: var(--muted); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.table tr:hover td { background: var(--muted); }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); }
.tab {
  padding: 0.75rem 1.25rem; font-weight: 500; font-size: 0.875rem;
  border-bottom: 2px solid transparent; color: var(--muted-foreground);
  transition: all 0.15s ease; cursor: pointer;
}
.tab:hover { color: var(--foreground); }
.tab.active { color: var(--foreground); border-bottom-color: var(--foreground); }

/* Sidebar - shadcn inspired */
.sidebar {
  position: fixed; top: 0; left: 0; height: 100vh; z-index: 40;
  background: var(--sidebar); border-right: 1px solid var(--sidebar-border);
  transition: width 0.2s ease; overflow: hidden;
  width: 16rem; display: flex; flex-direction: column;
}
.sidebar.collapsed { width: 4rem; }
.sidebar.collapsed .sidebar-label,
.sidebar.collapsed .sidebar-section,
.sidebar.collapsed .sidebar-user-info,
.sidebar.collapsed .sidebar-logo-text { display: none; }
.sidebar.collapsed .sidebar-item { justify-content: center; padding: 0.75rem 0; margin: 0 0.5rem; }
.sidebar.collapsed .sidebar-header { justify-content: center; padding: 1.25rem 0.5rem; }
.sidebar.collapsed .sidebar-user { justify-content: center; padding: 1rem; }
.sidebar.collapsed .sidebar-toggle svg { transform: rotate(180deg); }

@media (max-width: 1023px) {
  .sidebar { transform: translateX(-100%); width: 16rem; }
  .sidebar.mobile-open { transform: translateX(0); }
  .sidebar.collapsed { width: 16rem; }
  .sidebar.collapsed .sidebar-label,
  .sidebar.collapsed .sidebar-section,
  .sidebar.collapsed .sidebar-user-info,
  .sidebar.collapsed .sidebar-logo-text { display: block; }
  .sidebar.collapsed .sidebar-item { justify-content: flex-start; padding: 0.75rem 1rem; margin: 0 0.5rem; }
  .sidebar.collapsed .sidebar-header { justify-content: flex-start; }
  .sidebar.collapsed .sidebar-user { justify-content: flex-start; }
}

.sidebar-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.25rem; border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}

.sidebar-nav { flex: 1; padding: 0.75rem 0; overflow-y: auto; }
.sidebar-section { padding: 0 1rem; margin-bottom: 0.5rem; }
.sidebar-section-title {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--sidebar-muted); padding: 0 0.5rem; white-space: nowrap;
}

.sidebar-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 1rem; margin: 0.125rem 0.5rem; border-radius: calc(var(--radius) - 2px);
  color: #a1a1aa; transition: all 0.15s ease; font-size: 0.875rem;
  white-space: nowrap; text-decoration: none;
}
.sidebar-item:hover { background: var(--sidebar-muted); color: var(--sidebar-foreground); }
.sidebar-item.active { background: var(--sidebar-muted); color: var(--sidebar-foreground); font-weight: 600; }
.sidebar-item svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; }

.sidebar-user {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; border-top: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}

.sidebar-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: calc(var(--radius) - 2px);
  color: var(--sidebar-foreground); background: transparent; cursor: pointer;
  transition: background 0.15s ease; border: none; flex-shrink: 0;
}
.sidebar-toggle:hover { background: var(--sidebar-muted); }

.main-content { transition: padding-left 0.2s ease; }
@media (min-width: 1024px) { .main-content { padding-left: 16rem; } .main-content.sidebar-collapsed { padding-left: 4rem; } }

/* Stat cards */
.stat-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 1.25rem; box-shadow: var(--shadow);
}
.stat-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 6rem; height: 6rem; border-radius: 50%; opacity: 0.05;
  transform: translate(25%, -25%);
}
.stat-card.gray::before { background: #666; }

/* Status dot */
.status-dot { display: inline-block; width: 0.625rem; height: 0.625rem; border-radius: 50%; }
.status-dot.online { background: #555; }
.dark .status-dot.online { background: #aaa; }
.status-dot.warning { background: #666; }
.dark .status-dot.warning { background: #888; }
.status-dot.critical { background: #333; animation: pulse 2s infinite; }
.dark .status-dot.critical { background: #ccc; }
.status-dot.offline { background: #ccc; }
.dark .status-dot.offline { background: #444; }

/* Skeleton */
.skeleton { background: var(--muted); border-radius: var(--radius); animation: pulse 2s infinite; }

/* Status indicator for text (B&W) */
.status-critical { color: #000; font-weight: 700; }
.dark .status-critical { color: #fff; font-weight: 700; }
.status-warning { color: #555; }
.dark .status-warning { color: #aaa; }
.status-healthy { color: #333; }
.dark .status-healthy { color: #ddd; }

/* Navigation */
.nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-item { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); border-radius: calc(var(--radius) - 2px); transition: all 0.15s ease; }
.nav-item:hover { color: var(--foreground); background: var(--muted); }

/* Separator */
.separator { height: 1px; background: var(--border); margin: 1rem 0; }

/* Dialog/Modal */
.dialog-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 50; display: flex; align-items: center; justify-content: center; }
.dialog { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; max-width: 32rem; width: 90%; box-shadow: var(--shadow-lg); }
.dialog-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }

/* Utility classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); } }
.w-full { width: 100%; }
.w-4 { width: 1rem; } .w-5 { width: 1.25rem; } .w-6 { width: 1.5rem; } .w-7 { width: 1.75rem; } .w-8 { width: 2rem; } .w-9 { width: 2.25rem; } .w-10 { width: 2.5rem; } .w-14 { width: 3.5rem; } .w-16 { width: 4rem; } .w-72 { width: 18rem; }
.h-4 { height: 1rem; } .h-5 { height: 1.25rem; } .h-6 { height: 1.5rem; } .h-7 { height: 1.75rem; } .h-8 { height: 2rem; } .h-9 { height: 2.25rem; } .h-10 { height: 2.5rem; } .h-14 { height: 3.5rem; } .h-16 { height: 4rem; }
.min-h-screen { min-height: 100vh; }
.p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; } .p-12 { padding: 3rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; } .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; } .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; } .py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; } .mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.leading-tight { line-height: 1.25; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.max-h-64 { max-height: 16rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: calc(var(--radius) - 2px); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top: 1px solid var(--border); }
.bg-white { background: var(--card); }
.bg-transparent { background: transparent; }
.text-muted { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }
.object-cover { object-fit: cover; }
.shadow-sm { box-shadow: var(--shadow); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.transition { transition: all 0.15s ease; }
.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-transform { transition: transform 0.2s ease; }
.hover\:bg-muted:hover { background: var(--muted); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:underline:hover { text-decoration: underline; }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(163, 163, 163, 0.3); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* Dark mode overrides */
.dark .bg-white { background: var(--card); }
.dark .text-muted { color: var(--muted-foreground); }

/* Animations */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spin { to { transform: rotate(360deg); } }
.animate-pulse { animation: pulse 2s infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 0.5rem; height: 0.5rem; }
::-webkit-scrollbar-track { background: var(--muted); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-foreground); }

/* shadcn-specific extras */
[data-radix-popper-content-wrapper] { z-index: 60; }

.text-sidebar-foreground { color: var(--sidebar-foreground); }
.text-sidebar-muted { color: var(--sidebar-muted); }

/* Tabs - shadcn style (for settings page) */
.tab-btn {
  padding: 0.625rem 1rem; font-weight: 500; font-size: 0.875rem;
  border-bottom: 2px solid transparent;
  color: var(--muted-foreground);
  transition: all 0.15s ease; cursor: pointer;
  white-space: nowrap; background: transparent;
}
.tab-btn:hover { color: var(--foreground); }
.tab-btn.active { color: var(--foreground); border-bottom-color: var(--foreground); }

/* Buttons */
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1.25rem; border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border); color: var(--foreground); background: var(--card);
  transition: all 0.15s ease; cursor: pointer;
}
.btn-secondary:hover { background: var(--muted); }

/* Modal */
.modal-backdrop { background: rgba(0,0,0,0.6); }

/* Text colors that templates use */
.text-slate-400 { color: var(--muted-foreground); }
.text-slate-500 { color: var(--muted-foreground); }
.text-slate-600 { color: var(--muted-foreground); }
.text-slate-700 { color: var(--foreground); }
.text-slate-800 { color: var(--foreground); }
.dark .text-slate-400 { color: var(--muted-foreground); }
.dark .text-slate-500 { color: var(--muted-foreground); }
.dark .text-slate-300 { color: #d4d4d8; }
.text-white { color: #fff; }

/* Backgrounds */
.bg-slate-50 { background: var(--background); }
.bg-slate-100 { background: var(--muted); }
.bg-slate-800 { background: var(--card); }
.dark .bg-slate-50 { background: var(--background); }
.dark .bg-slate-100 { background: var(--muted); }
.bg-slate-900 { background: #09090b; }
.bg-slate-950 { background: #09090b; }
.bg-black\/50 { background: rgba(0,0,0,0.5); }
.dark .bg-slate-800 { background: var(--card); }
.dark .bg-slate-900 { background: var(--background); }

/* Borders */
.border-slate-700 { border-color: var(--border); }
.border-slate-800 { border-color: var(--border); }
.border-slate-200 { border-color: var(--border); }
.dark .border-slate-700 { border-color: var(--border); }
.dark .border-slate-200 { border-color: var(--border); }
.border-slate-200\/50 { border-color: var(--border); }
.dark .border-slate-700\/50 { border-color: var(--border); }
.border-slate-800\/50 { border-color: var(--sidebar-border); }

/* Hover */
.hover\:text-white:hover { color: #fff; }
.hover\:bg-slate-800:hover { background: var(--accent); }
.hover\:bg-slate-100:hover { background: var(--accent); }
.hover\:bg-slate-700:hover { background: var(--accent); }
.dark .hover\:bg-slate-700:hover { background: var(--accent); }
.dark .hover\:bg-slate-800:hover { background: var(--accent); }
.hover\:text-slate-300:hover { color: var(--foreground); }
.hover\:text-slate-700:hover { color: var(--foreground); }

/* Gradient */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-gray-400 { --tw-gradient-from: #9ca3af; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-gray-500 { --tw-gradient-from: #6b7280; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-gray-600 { --tw-gradient-from: #4b5563; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-gray-500 { --tw-gradient-to: #6b7280; }
.to-gray-700 { --tw-gradient-to: #374151; }
.to-gray-800 { --tw-gradient-to: #1f2937; }

/* Misc */
.border-b-2 { border-bottom-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-gray-200 { border-color: var(--border); }
.dark .border-gray-200 { border-color: var(--border); }

/* Animation for pulse dot */
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.pulse-dot { animation: pulse-dot 2s infinite; }
