/* Admin Panel Fallback Styles - WowDash Template */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.5;
}

/* Layout */
.max-w-7xl, .max-w-3xl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.max-w-3xl {
    max-width: 768px;
}

/* Header */
header {
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

/* Flexbox */
.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

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

.items-start {
    align-items: flex-start;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

/* Typography */
h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-white {
    color: white;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-900 {
    color: #1e3a8a;
}

.text-green-600 {
    color: #16a34a;
}

.text-red-600 {
    color: #dc2626;
}

.text-red-800 {
    color: #991b1b;
}

.text-purple-600 {
    color: #9333ea;
}

.text-blue-800 {
    color: #1e40af;
}

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.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-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }

/* Colors */
.bg-white {
    background: white;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-blue-300 {
    background-color: #93c5fd;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.bg-gray-600 {
    background-color: #4b5563;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

/* Borders */
.border {
    border-width: 1px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.border-blue-300 {
    border-color: #93c5fd;
}

.border-red-400 {
    border-color: #fca5a5;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadows */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="checkbox"],
textarea,
select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 1rem;
    color: #111827;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

input[readonly] {
    background-color: #f9fafb;
    cursor: not-allowed;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

label {
    display: block;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Buttons */
button,
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.2s;
}

.bg-blue-600 {
    background-color: #2563eb;
    color: white;
}

.bg-blue-600:hover {
    background-color: #1d4ed8;
}

.bg-green-600 {
    background-color: #16a34a;
    color: white;
}

.bg-green-600:hover {
    background-color: #15803d;
}

.bg-red-600 {
    background-color: #dc2626;
    color: white;
}

.bg-red-600:hover {
    background-color: #b91c1c;
}

/* Links */
a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #111827;
}

.text-blue-600:hover {
    color: #1d4ed8;
}

.text-green-600:hover {
    color: #15803d;
}

.text-red-600:hover {
    color: #b91c1c;
}

.text-purple-600:hover {
    color: #7e22ce;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f9fafb;
}

th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

tbody tr:hover {
    background-color: #f9fafb;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Badges */
.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.inline-flex {
    display: inline-flex;
}

.leading-5 {
    line-height: 1.25rem;
}

/* Status badges */
.bg-green-100 {
    background-color: #dcfce7;
}

.text-green-800 {
    color: #166534;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.text-gray-800 {
    color: #1f2937;
}

/* Cards */
.overflow-hidden {
    overflow: hidden;
}

/* Grid Layout */
.grid {
    display: grid;
}

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

.gap-6 {
    gap: 1.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

/* Flex utilities */
.flex-1 {
    flex: 1 1 0%;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

/* Utilities */
.w-full {
    width: 100%;
}

.w-96 {
    width: 24rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.min-h-screen {
    min-height: 100vh;
}

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

/* Modal styles */
.hidden {
    display: none;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.overflow-y-auto {
    overflow-y: auto;
}

.h-full {
    height: 100%;
}

.w-full {
    width: 100%;
}

.z-50 {
    z-index: 50;
}

.relative {
    position: relative;
}

.top-20 {
    top: 5rem;
}

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

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rounded-md {
    border-radius: 0.375rem;
}

/* Border utilities */
.border-l-4 {
    border-left-width: 4px;
}

.border-blue-500 {
    border-color: #3b82f6;
}

.border-green-500 {
    border-color: #16a34a;
}

.border-purple-500 {
    border-color: #9333ea;
}

.border-indigo-500 {
    border-color: #6366f1;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

/* Text sizes */
.text-3xl {
    font-size: 1.875rem;
}

/* Spacing */
.mt-1 {
    margin-top: 0.25rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.ml-5 {
    margin-left: 1.25rem;
}

/* Background colors */
.bg-indigo-100 {
    background-color: #e0e7ff;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

/* Text colors */
.text-indigo-600 {
    color: #4f46e5;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

/* Utilities */
.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-relaxed {
    line-height: 1.625;
}

.max-h-64 {
    max-height: 16rem;
}

.overflow-y-auto {
    overflow-y: auto;
}

.rounded-r {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0));
}

.to-gray-100 {
    --tw-gradient-to: #f3f4f6;
}

.from-blue-500 {
    --tw-gradient-from: #3b82f6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-blue-600 {
    --tw-gradient-to: #2563eb;
}

.hover\:bg-blue-100:hover {
    background-color: #dbeafe;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.inline-flex {
    display: inline-flex;
}

.flex-col {
    flex-direction: column;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Responsive Grid */
@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Responsive */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Mobile-friendly flex utilities */
@media (max-width: 767px) {
    .md\:flex-row {
        flex-direction: column;
    }
    
    .md\:items-center {
        align-items: stretch;
    }
    
    .md\:justify-between {
        justify-content: flex-start;
    }
    
    .md\:w-auto {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:items-center {
        align-items: center;
    }
    
    .md\:justify-between {
        justify-content: space-between;
    }
    
    .md\:w-auto {
        width: auto;
    }
}

.flex-col {
    flex-direction: column;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-wrap {
    flex-wrap: wrap;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-50 {
    --tw-gradient-from: #eff6ff;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.to-indigo-50 {
    --tw-gradient-to: #eef2ff;
}

.break-all {
    word-break: break-all;
    overflow-wrap: break-word;
}

.font-mono {
    font-family: 'Courier New', Courier, monospace;
}

.min-w-\[140px\] {
    min-width: 140px;
}

.active\:bg-blue-800:active {
    background-color: #1e40af;
}

.border-l-4 {
    border-left-width: 4px;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

