/* Print-friendly styles for habit reports */
@media print {
  /* Hide non-essential elements when printing */
  .no-print,
  .flutter-loaded .loading,
  nav,
  .app-bar,
  .bottom-navigation,
  .floating-action-button {
    display: none !important;
  }
  
  /* Optimize layout for printing */
  body {
    background: white !important;
    color: black !important;
    font-family: serif;
    line-height: 1.4;
  }
  
  /* Page break settings */
  .page-break {
    page-break-before: always;
  }
  
  .avoid-break {
    page-break-inside: avoid;
  }
  
  /* Habit cards for print */
  .habit-card {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
    page-break-inside: avoid;
  }
  
  /* Headers and titles */
  h1, h2, h3 {
    color: black !important;
    page-break-after: avoid;
  }
  
  /* Table styles for reports */
  table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
  }
  
  th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
  }
  
  th {
    background-color: #f5f5f5 !important;
    font-weight: bold;
  }
  
  /* Progress bars */
  .progress-bar {
    border: 1px solid #ccc;
    height: 20px;
    position: relative;
  }
  
  .progress-fill {
    background-color: #ddd !important;
    height: 100%;
  }
  
  /* Footer for printed pages */
  .print-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 5px;
  }
}