/* Tailwind-like utility classes */
.h-full { height: 100%; }
.min-h-full { min-height: 100%; }
.bg-gray-100 { background-color: #f7fafc; }
.bg-gray-900 { background-color: #1a202c; }
.bg-white { background-color: #ffffff; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.overflow-hidden { overflow: hidden; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.mt-12 { margin-top: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.ml-4 { margin-left: 1rem; }
.ml-3 { margin-left: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-3 { padding: 0.75rem; }
.p-2 { padding: 0.5rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.leading-6 { line-height: 1.5rem; }
.font-medium { font-weight: 500; }
.text-gray-900 { color: #1a202c; }
.text-gray-800 { color: #2d3748; }
.text-gray-700 { color: #4a5568; }
.text-gray-600 { color: #718096; }
.text-gray-500 { color: #a0aec0; }
.text-white { color: #ffffff; }
.text-indigo-600 { color: #5a67d8; }

/* Dark mode overrides */
.dark .bg-gray-900 { background-color: #1a202c; }
.dark .bg-gray-800 { background-color: #2d3748; }
.dark .bg-gray-700 { background-color: #4a5568; }
.dark .text-white { color: #ffffff; }
.dark .text-gray-400 { color: #cbd5e0; }
.dark .text-gray-300 { color: #e2e8f0; }
.dark .border-gray-600 { border-color: #718096; }
.dark .border-gray-700 { border-color: #4a5568; }
.dark .focus\:ring-offset-gray-800:focus { --tw-ring-offset-color: #2d3748; }
.dark .hover\:bg-gray-700:hover { background-color: #4a5568; }
.dark .hover\:bg-gray-600:hover { background-color: #718096; }

/* Flexbox utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(1rem * var(--tw-space-x-reverse)); margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:px-0 { padding-left: 0; padding-right: 0; }
    .sm\:p-6 { padding: 1.5rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Button styles */
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.border { border-width: 1px; }
.border-transparent { border-color: transparent; }
.border-gray-300 { border-color: #e2e8f0; }
.text-sm { font-size: 0.875rem; }
.font-medium { font-weight: 500; }
.rounded-md { border-radius: 0.375rem; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.text-white { color: #ffffff; }
.bg-indigo-600 { background-color: #5a67d8; }
.hover\:bg-indigo-700:hover { background-color: #4c51bf; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-offset-2:focus { --tw-ring-offset-width: 2px; }
.focus\:ring-indigo-500:focus { --tw-ring-opacity: 1; --tw-ring-color: rgba(99, 102, 241, var(--tw-ring-opacity)); }

/* Fixed positioning */
.fixed { position: fixed; }
.inset-0 { top: 0px; right: 0px; bottom: 0px; left: 0px; }
.z-50 { z-index: 50; }

/* Display utilities */
.hidden { display: none; }
.block { display: block; }

/* Width and height utilities */
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-xl { max-width: 36rem; }

/* Animation utilities */
.transition { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Loading spinner */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #5a67d8;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Card styles */
.card {
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
}

.dark .card {
    background-color: #2d3748;
}