/* Minimal utility set to replace Tailwind CDN for this project */

:root {
  --tw-slate-50: #f8fafc;
  --tw-slate-100: #f1f5f9;
  --tw-slate-500: #64748b;
  --tw-slate-600: #475569;
  --tw-slate-700: #334155;
  --tw-slate-800: #1f2937;
  --tw-slate-900: #0f172a;
  --tw-blue-500: #3b82f6;
  --tw-blue-600: #2563eb;
}

/* Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.top-\[76px\] { top: 76px; }
.z-40 { z-index: 40; }
.\-z-10 { z-index: -10; }

/* Sizing */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-36 { width: 9rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-fit { width: fit-content; }
.w-full { width: 100%; }
.max-w-\[90\%\] { max-width: 90%; }
.h-full { height: 100%; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }

.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-1 { padding-left: 0.25rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-white { color: #ffffff; }
.text-slate-500 { color: var(--tw-slate-500); }
.text-slate-600 { color: var(--tw-slate-600); }
.text-slate-700 { color: var(--tw-slate-700); }
.text-slate-800 { color: var(--tw-slate-800); }
.text-slate-900 { color: var(--tw-slate-900); }

/* Backgrounds */
.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: var(--tw-slate-50); }
.bg-white\/40 { background-color: rgba(255, 255, 255, 0.4); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/50 { background-color: rgba(255, 255, 255, 0.5); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.bg-white\/70 { background-color: rgba(255, 255, 255, 0.7); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-blue-500 { background-color: var(--tw-blue-500); }

/* Borders */
.border { border-width: 1px; border-style: solid; border-color: rgba(148, 163, 184, 0.35); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-gray-200\/50 { border-color: rgba(229, 231, 235, 0.5); }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-200\/60 { border-color: rgba(226, 232, 240, 0.6); }
.border-slate-300 { border-color: #cbd5e1; }
.border-blue-600\/60 { border-color: rgba(37, 99, 235, 0.6); }

/* Rounded */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08); }
.shadow-lg { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16); }
.shadow-xl { box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2); }
.shadow-2xl { box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28); }

/* Rings */
.ring-1 {
  --tw-ring-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px var(--tw-ring-color);
}
.ring-white\/50 { --tw-ring-color: rgba(255, 255, 255, 0.5); }

/* Effects */
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.overflow-x-auto { overflow-x: auto; }
.whitespace-nowrap { white-space: nowrap; }

/* Transitions */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

/* Transform utilities */
.transform {
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) scale(var(--tw-scale-x), var(--tw-scale-y));
}
.translate-y-2 { --tw-translate-y: 0.5rem; }
.\-translate-x-1\/2 { --tw-translate-x: -50%; }
.scale-95 { --tw-scale-x: 0.95; --tw-scale-y: 0.95; }
.scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; }

/* Backdrop */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-2xl { backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); }

/* Lists */
.list-decimal { list-style-type: decimal; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }

/* Scrollbar */
.scrollbar-hide { scrollbar-width: none; -ms-overflow-style: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* Placeholder */
.placeholder-slate-400::placeholder { color: var(--tw-slate-500); }
.object-cover { object-fit: cover; }

/* Focus */
.focus\:border-blue-500:focus { border-color: var(--tw-blue-500); }
.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(59, 130, 246, 0.35));
}
.focus\:ring-blue-500:focus { --tw-ring-color: rgba(59, 130, 246, 0.45); }

/* Hover / Active */
.hover\:bg-white\/40:hover { background-color: rgba(255, 255, 255, 0.4); }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:scale-110:hover { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }
.hover\:brightness-105:hover { filter: brightness(1.05); }
.hover\:shadow-xl:hover { box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2); }
.active\:scale-95:active { --tw-scale-x: 0.95; --tw-scale-y: 0.95; }

/* Dark mode (html.dark) */
html.dark .dark\:text-white { color: #ffffff; }
html.dark .dark\:text-slate-100 { color: #f1f5f9; }
html.dark .dark\:text-slate-200 { color: #e2e8f0; }
html.dark .dark\:bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
html.dark .dark\:bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
html.dark .dark\:bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); }
html.dark .dark\:bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
html.dark .dark\:bg-slate-700\/50 { background-color: rgba(51, 65, 85, 0.5); }
html.dark .dark\:bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9); }
html.dark .dark\:border-gray-600 { border-color: #4b5563; }
html.dark .dark\:ring-white\/10 { --tw-ring-color: rgba(255, 255, 255, 0.1); }
html.dark .dark\:placeholder-slate-500::placeholder { color: var(--tw-slate-600); }
html.dark .dark\:hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
html.dark .dark\:shadow-black\/30 { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3); }

/* Responsive */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:items-center { align-items: center; }
  .md\:hidden { display: none; }
  .md\:inline { display: inline; }
  .md\:w-12 { width: 3rem; }
  .md\:w-auto { width: auto; }
  .md\:h-12 { height: 3rem; }
  .md\:h-auto { height: auto; }
  .md\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .md\:py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .md\:opacity-100 { opacity: 1; }
  .md\:pointer-events-auto { pointer-events: auto; }
  .md\:translate-x-0 { --tw-translate-x: 0; }
  .md\:translate-y-0 { --tw-translate-y: 0; }
  .md\:scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; }
  .md\:static { position: static; }
  .md\:max-w-\[65\%\] { max-width: 65%; }
}

@media (hover: none) {
  .hover\:scale-105:hover,
  .hover\:scale-110:hover,
  .hover\:-translate-y-1:hover {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-translate-y: 0;
  }
  .hover\:brightness-105:hover {
    filter: none;
  }
  .hover\:shadow-xl:hover {
    box-shadow: inherit;
  }
}

@media (prefers-reduced-motion: reduce) {
  .transition-all,
  .transition-colors,
  .transition-transform {
    transition: none;
  }
}
