/* Print-specific styles */
@media print {
    body * {
        visibility: hidden;
    }
    #billPreview, #billPreview * {
        visibility: visible;
    }
    #billPreview {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Hide print button when printing */
    #printActions {
        display: none !important;
    }
}

/* Custom styles for bill preview */
.bill-header {
    border-bottom: 2px solid #4F46E5;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.bill-item-row {
    border-bottom: 1px dashed #e5e7eb;
    padding: 0.75rem 0;
}

.bill-footer {
    border-top: 2px solid #4F46E5;
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Animation for adding new items */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.item-row {
    animation: fadeIn 0.3s ease-out;
}