/**
 * Minimal Utility CSS - Essential Tailwind-like classes
 * Replaces Tailwind CDN for production use
 */

/* === RESET & BASE === */
* {
  box-sizing: border-box;
}

/* === DISPLAY === */
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* === FLEX === */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-grow { flex-grow: 1; }

/* === GAP === */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* === SPACING - PADDING === */
.p-0\.5 { padding: 0.125rem; }
.p-1\.5 { padding: 0.375rem; }
.p-4 { padding: 1rem; }
.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; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pl-2\.5 { padding-left: 0.625rem; }
.pl-8 { padding-left: 2rem; }

/* === SPACING - MARGIN === */
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-auto { margin-top: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mr-1 { margin-right: 0.25rem; }

/* === WIDTH === */
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-9 { width: 2.25rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-full { width: 100%; }
.w-px { width: 1px; }

/* === HEIGHT === */
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-9 { height: 2.25rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* === MAX WIDTH === */
.max-w-\[1600px\] { max-width: 1600px; }

/* === TYPOGRAPHY === */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-\[10px\] { font-size: 10px; }

.font-sans { font-family: system-ui, -apple-system, sans-serif; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.text-left { text-align: left; }

/* === COLORS - TEXT === */
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-700 { color: #334155; }
.text-slate-900 { color: #0f172a; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }

/* === COLORS - BACKGROUND === */
.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-300 { background-color: #cbd5e1; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-purple-100 { background-color: #f3e8ff; }

/* === COLORS - BORDER === */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-slate-200 { border-color: #e2e8f0; }
.border-blue-300 { border-color: #93c5fd; }

/* === BORDER RADIUS === */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* === SHADOWS === */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* === POSITION === */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.inset-y-0 { top: 0; bottom: 0; }

/* === Z-INDEX === */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* === OVERFLOW === */
.overflow-hidden { overflow: hidden; }

/* === TRANSITIONS === */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* === TRANSFORMS === */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-x-1\/2 { --tw-translate-x: -50%; transform: translateX(-50%) translateY(var(--tw-translate-y, 0)); }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translateX(var(--tw-translate-x, 0)) translateY(-50%); }
.left-1\/2 { left: 50%; }
.top-1\/2 { top: 50%; }

/* === OPACITY === */
.opacity-0 { opacity: 0; }

/* === POINTER EVENTS === */
.pointer-events-none { pointer-events: none; }

/* === CURSOR === */
.cursor-pointer { cursor: pointer; }

/* === HOVER STATES === */
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* === FOCUS STATES === */
.focus\:ring-blue-500:focus { --tw-ring-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); }
.focus\:border-blue-500:focus { border-color: #3b82f6; }
.focus\:w-48:focus { width: 12rem; }

/* === HOVER BACKGROUND === */
.hover\:bg-blue-50:hover { background-color: #eff6ff; }

/* === HOVER TEXT === */
.hover\:text-blue-600:hover { color: #2563eb; }

/* === HOVER BORDER === */
.hover\:border-blue-300:hover { border-color: #93c5fd; }

/* === RESPONSIVE - MD (768px+) === */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:p-6 { padding: 1.5rem; }
}

/* === RESPONSIVE - LG (1024px+) === */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
}
