/* =====================================================
   Zyndhux Print Styles
   Scope: status.zyndhux.com
   Notes:
   - Optimizado para imprimir reportes de estado
   - Oculta elementos no necesarios en papel
   ===================================================== */

@media print {
  /* ================= HEADER / FOOTER ================= */
  .status-header,
  .status-footer,
  .brand,
  .footer-brand {
    display: none !important;
  }

  /* ================= BODY ================= */
  body {
    background: white !important;
    color: black !important;
    font-size: var(--text-sm);
    line-height: 1.4;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* ================= PRODUCTS & COMPONENTS ================= */
  .product,
  .component,
  .incident-list {
    background: none !important;
    border: 1px solid #000 !important;
    box-shadow: none !important;
    color: black !important;
  }

  .product + .product {
    margin-top: var(--space-md);
  }

  /* ================= STATUS INDICATORS ================= */
  .status-indicator,
  .product-status-dot,
  .component-status {
    background: #000 !important;
    box-shadow: none !important;
  }

  /* ================= UPTIME BAR ================= */
  .uptime-bar span {
    background: #000 !important;
    opacity: 1 !important;
  }

  /* ================= TYPOGRAPHY ================= */
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    page-break-inside: avoid;
  }

  p, span, td, th {
    color: black !important;
  }

  /* ================= PAGE BREAKS ================= */
  .product, .component, .incident-list {
    page-break-inside: avoid;
    page-break-after: auto;
  }

  /* ================= LINKS ================= */
  a::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
