/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary: #06b6d4;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

body {
    font-family: var(--font-main);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glowing Effects */
.glow-primary {
    box-shadow: 0 0 25px -5px rgba(79, 70, 229, 0.4);
}
.glow-emerald {
    box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.4);
}

/* Card Transitions */
.hover-lift {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12);
}

/* Print Styles for Invoices & Thermal Receipts */
@media print {
    body * {
        visibility: hidden;
    }
    .no-print, .sidebar, header, nav, .btn-print, footer {
        display: none !important;
    }
    #print-area, #print-area * {
        visibility: visible;
    }
    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 10px;
        background: white;
        color: black;
    }

    /* Format Struk Thermal (58mm / 80mm) */
    .thermal-receipt {
        width: 76mm !important;
        max-width: 76mm !important;
        font-family: 'Courier New', Courier, monospace !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        color: #000 !important;
        padding: 4px !important;
        margin: 0 auto !important;
    }
    .thermal-receipt table {
        width: 100% !important;
        border-collapse: collapse !important;
    }
    .thermal-receipt hr {
        border-top: 1px dashed #000 !important;
        margin: 6px 0 !important;
    }
}
