@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

:root {
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-slate-900);
  color: #f1f5f9;
  line-height: 1.6;
}

.bg-slate-900 { background-color: var(--color-slate-900); }
.bg-slate-800 { background-color: var(--color-slate-800); }
.bg-slate-700 { background-color: var(--color-slate-700); }
.bg-slate-600 { background-color: #334155; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-400 { color: var(--color-slate-400); }
.border-slate-700 { border-color: var(--color-slate-700); }

.bg-blue-500 { background-color: var(--color-primary); }
.bg-blue-600 { background-color: var(--color-primary-dark); }
.bg-green-500 { background-color: var(--color-success); }
.bg-yellow-500 { background-color: var(--color-warning); }
.bg-purple-500 { background-color: #a855f7; }
.bg-red-500 { background-color: var(--color-danger); }

.text-blue-500 { color: var(--color-primary); }
.text-green-500 { color: var(--color-success); }
.text-yellow-500 { color: var(--color-warning); }
.text-purple-500 { color: #a855f7; }
.text-red-500 { color: var(--color-danger); }

.bg-blue-500\/20 { background-color: rgba(59, 130, 246, 0.2); }
.bg-green-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-yellow-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
.bg-purple-500\/20 { background-color: rgba(168, 85, 247, 0.2); }

.border-blue-500\/50 { border-color: rgba(59, 130, 246, 0.5); }
.border-green-500\/50 { border-color: rgba(16, 185, 129, 0.5); }
.border-yellow-500\/50 { border-color: rgba(245, 158, 11, 0.5); }
.border-purple-500\/50 { border-color: rgba(168, 85, 247, 0.5); }

.backdrop-blur-sm { backdrop-filter: blur(4px); }

.hover\:bg-slate-700:hover { background-color: var(--color-slate-700); }
.hover\:border-blue-500:hover { border-color: var(--color-primary); }
.hover\:border-green-500:hover { border-color: var(--color-success); }

.transition {
  transition: all 0.2s ease-in-out;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-6 { margin-top: 1.5rem; }

.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-64 { height: 16rem; }
.h-2 { height: 0.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { height: 4rem; }
.w-2 { width: 0.5rem; }

.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }

.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }

.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.right-0 { right: 0; }
.right-1 { right: 0.25rem; }
.left-0 { left: 0; }
.z-50 { z-index: 50; }
.pt-20 { padding-top: 5rem; }
.pb-10 { padding-bottom: 2.5rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }

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

.hidden { display: none; }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.max-w-7xl { max-width: 80rem; }
.max-w-xl { max-width: 36rem; }

.mx-auto { margin-left: auto; margin-right: auto; }