/* Custom styles for JOACHIM's INNOTECH */

body {
    background: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.product-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.quantity-input {
    width: 80px !important;
}

.add-to-cart {
    white-space: nowrap;
}

.table-responsive {
    overflow-x: auto;
}

@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
    }
}

/* Animation for cart updates */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.list-group-item {
    animation: fadeIn 0.3s ease;
}

.card-header.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

/* Customer info section in receipt */
.customer-info {
    background: #f8f9fa;
    border-left: 3px solid #007bff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.customer-info strong {
    color: #007bff;
}

/* Company details styling */
.company-details {
    font-size: 10px;
    line-height: 1.4;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .receipt {
        width: 100%;
        padding: 15px;
    }
    
    .company-details {
        font-size: 9px;
    }
}

/* Print receipt specific styles */
@media print {
    .customer-info {
        background: none;
        border-left: 2px solid #000;
        padding: 5px;
    }
    
    .company-details {
        color: #000;
    }
}