:root {
    --bg-color: #1a1a1a;
    --card-bg: #2a2a2a;
    --industrial-orange: #FF6600;
    --text-color: #e5e7eb;
}

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

.mono {
    font-family: 'JetBrains Mono', monospace;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Dashboard Cards */
.dashboard-card {
    transition: all 0.2s ease;
}

/* Modal Overlay */
#invoiceModal {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

#invoiceModal.hidden {
    display: none;
}

/* Cart Sidebar */
#cartSidebar.translate-x-full {
    transform: translateX(100%);
}

#cartSidebar:not(.translate-x-full) {
    transform: translateX(0);
}

/* Progress Bar Shine Effect */
#progressBar {
    position: relative;
    overflow: hidden;
}

#progressBar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

/* Matrix Row Animation */
.matrix-row {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #invoiceContent, #invoiceContent * {
        visibility: visible;
    }
    #invoiceContent {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .print-btn, .close-modal, #cartSidebar, nav, .progress-container {
        display: none !important;
    }
}
