/* Local utility layer replacing the removed CDN utility styles */

* {
    box-sizing: border-box;
}

.hidden { display: none !important; }
.block { display: block !important; }
.inline-flex { display: inline-flex !important; }
.flex { display: flex !important; }
.grid { display: grid !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-end { justify-content: flex-end !important; }
.fixed { position: fixed !important; }
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-y-auto { overflow-y: auto !important; }
.object-cover { object-fit: cover !important; }
.cursor-move { cursor: move !important; }
.cursor-pointer { cursor: pointer !important; }

.w-full { width: 100% !important; }
.h-48 { height: 12rem !important; }
.max-w-xs { max-width: 20rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }
.max-w-6xl { max-width: 72rem !important; }
.max-w-7xl { max-width: 80rem !important; }
.max-h-screen { max-height: 100vh !important; }
.min-h-screen { min-height: 100vh !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.ml-2 { margin-left: 0.5rem !important; }

.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }

.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }
.space-y-1 > * + * { margin-top: 0.25rem !important; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }

.rounded-md { border-radius: 0.375rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded { border-radius: 0.25rem !important; }

.border { border: 1px solid #d1d5db !important; }
.border-transparent { border-color: transparent !important; }
.border-gray-200 { border-color: #e5e7eb !important; }
.border-gray-300 { border-color: #d1d5db !important; }

.bg-white { background: #ffffff !important; }
.bg-gray-50 { background: #f9fafb !important; }
.bg-gray-100 { background: #f3f4f6 !important; }
.bg-gray-600 { background: #4b5563 !important; }
.bg-red-100 { background: #fee2e2 !important; }
.bg-blue-50 { background: #eff6ff !important; }
.bg-indigo-600 { background: #4f46e5 !important; }
.bg-slate-600 { background: #475569 !important; }
.bg-opacity-50 { opacity: 1 !important; }
.bg-gray-600.bg-opacity-50 { background: rgba(75, 85, 99, 0.5) !important; }

.text-white { color: #ffffff !important; }
.text-gray-900 { color: #111827 !important; }
.text-gray-800 { color: #1f2937 !important; }
.text-gray-700 { color: #374151 !important; }
.text-gray-600 { color: #4b5563 !important; }
.text-gray-500 { color: #6b7280 !important; }
.text-red-700 { color: #b91c1c !important; }
.text-red-600 { color: #dc2626 !important; }
.text-red-500 { color: #ef4444 !important; }
.text-indigo-600 { color: #4f46e5 !important; }
.text-blue-800 { color: #1e40af !important; }
.text-blue-900 { color: #1e3a8a !important; }
.text-center { text-align: center !important; }

.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.08) !important; }
.shadow-md { box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important; }
.shadow-lg { box-shadow: 0 10px 24px rgba(0,0,0,0.14) !important; }

.focus\:border-indigo-300:focus { border-color: #a5b4fc !important; outline: none !important; }
.focus\:ring:focus { box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.15) !important; outline: none !important; }
.focus\:ring-indigo-200:focus { box-shadow: 0 0 0 3px rgba(199, 210, 254, 0.5) !important; outline: none !important; }
.focus\:ring-opacity-50:focus { outline: none !important; }
.hover\:bg-indigo-700:hover { background: #4338ca !important; }
.hover\:bg-gray-400:hover { background: #9ca3af !important; }
.hover\:bg-slate-700:hover { background: #334155 !important; }
.hover\:text-red-800:hover { color: #991b1b !important; }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:flex-row { flex-direction: row !important; }
    .md\:items-center { align-items: center !important; }
    .md\:justify-between { justify-content: space-between !important; }
    .md\:col-span-2 { grid-column: span 2 / span 2 !important; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
