/* Custom CSS cho Cá Mai 79 */
@import url('../vendor/fonts/inter.css');

:root {
    --primary-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Custom table cards */
.table-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.table-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.table-card.selected {
    ring: 2px solid var(--primary-color);
    ring-opacity: 50%;
}

/* Loading animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: loading 1.5s infinite;
}

.bg-orange-500 { background-color: #f97316; }
.hover\:bg-orange-600:hover { background-color: #ea580c; }

.bg-teal-500 { background-color: #14b8a6; }
.hover\:bg-teal-600:hover { background-color: #0d9488; }

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 300px;
    z-index: 1000;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive utilities */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 0.875rem;
    }
    
    .btn-responsive {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@import './pos.css';

/* Responsive utilities từ core system */
.responsive-grid {
    display: grid;
    gap: 1rem;
}

.mobile-layout .responsive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.tablet-layout .responsive-grid {
    grid-template-columns: repeat(3, 1fr);
}

.desktop-layout .responsive-grid {
    grid-template-columns: repeat(4, 1fr);
}