/* KitchenStock - Custom styles (Tailwind CDN handles most styling) */

/* Brand color override for Tailwind */
:root {
    --color-brand-50: #eff6ff;
    --color-brand-100: #dbeafe;
    --color-brand-200: #bfdbfe;
    --color-brand-300: #93c5fd;
    --color-brand-400: #60a5fa;
    --color-brand-500: #3b82f6;
    --color-brand-600: #2563eb;
    --color-brand-700: #1d4ed8;
    --color-brand-800: #1e40af;
    --color-brand-900: #1e3a8a;
}

/* HTMX loading indicator */
.htmx-indicator {
    display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: block;
}

/* File upload drop zone */
.drop-zone {
    transition: all 0.2s ease;
}
.drop-zone.dragover {
    border-color: var(--color-brand-500);
    background-color: var(--color-brand-50);
}

/* Table row hover effect */
tbody tr {
    transition: background-color 0.1s ease;
}

/* Mobile sidebar transitions */
@media (max-width: 1023px) {
    .sidebar-overlay {
        transition: opacity 0.2s ease;
    }
    .sidebar-panel {
        transition: transform 0.2s ease;
    }
}

/* Stock level progress bars */
.stock-bar {
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    overflow: hidden;
}
.stock-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Print styles for purchase lists */
@media print {
    nav, .no-print, footer, .sidebar {
        display: none !important;
    }
    main {
        margin: 0 !important;
        padding: 0 !important;
    }
    .bg-white {
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
    }
}
