.print-container {
  padding: 20px;
  max-width: 210mm;
  margin: 0 auto;
  background: white;
}

.report-page {
  margin-bottom: 40px;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.company-logo {
  height: 60px;
  object-fit: contain;
}

.page-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #222;
}

.report-subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.report-content {
  padding: 10px 0;
}

.report-content img {
  max-width: 100%;
  height: auto;
  page-break-inside: avoid;
}

.page-break {
  page-break-after: always;
  height: 0;
  margin: 0;
  padding: 0;
}

.print-instructions {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #4f46e5;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 14px;
  z-index: 1000;
}

.print-instructions kbd {
  background: white;
  color: #4f46e5;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-family: monospace;
}

/* Print-specific styles */
@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    margin: 0;
    padding: 0;
  }

  .print-container {
    padding: 0;
    max-width: 100%;
  }

  .print-instructions {
    display: none !important;
  }

  .page-break {
    page-break-after: always;
    break-after: page;
  }

  .report-page {
    page-break-after: always;
    break-after: page;
    margin-bottom: 0;
  }

  .page-header {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  img {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  @page {
    margin: 18mm;
    size: A4;
  }

  /* Analytics print styles */
  canvas {
    page-break-inside: avoid !important;
    margin-bottom: 30px;
  }

  div, section {
    break-inside: avoid !important;
  }

  .shadow, .rounded {
    box-shadow: none !important;
  }
}
