/* Screen styles for print preview */ body { font-family: Arial, sans-serif; background-color: #f8f9fa; margin: 0; padding: 20px; } .print-header { text-align: center; border-bottom: 2px solid #000; margin-bottom: 20px; padding-bottom: 10px; background-color: #fff; padding: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .print-header h1 { margin: 0; color: #333; } .print-header p { margin: 5px 0 0; color: #666; } .dashboard-widgets { display: flex; flex-wrap: wrap; gap: 20px; } .widget-print { width: 100%; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 15px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .widget-print h3 { margin-top: 0; border-bottom: 1px solid #eee; padding-bottom: 8px; color: #333; } .print-footer { text-align: center; border-top: 1px solid #000; margin-top: 30px; padding-top: 10px; color: #666; font-size: 0.9em; } /* Print button for screen */ .print-button { position: fixed; top: 20px; right: 20px; background-color: #007bff; color: white; border: none; padding: 10px 15px; border-radius: 4px; cursor: pointer; z-index: 1000; } .print-button:hover { background-color: #0056b3; } /* Responsive adjustments */ @media (max-width: 768px) { .dashboard-widgets { flex-direction: column; } .widget-print { width: 100%; } }