/* ==========================================================================
   PRINT & PDF EXPORT STYLESHEET
   Formatos limpos para impressão / salvar PDF da simulação de rescisão
   ========================================================================== */

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
    padding: 0;
    margin: 0;
  }

  /* Oculta elementos irrelevantes na impressão */
  .site-header,
  .site-footer,
  .ad-container,
  .theme-toggle-btn,
  .quick-types-nav,
  .result-actions,
  .faq-section,
  .seo-article,
  .badge-tag,
  .toast-msg {
    display: none !important;
  }

  .calc-grid {
    display: block !important;
  }

  .card {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    margin-bottom: 20px !important;
    padding: 15px !important;
    color: #000000 !important;
  }

  .form-control, select.form-control {
    border: 1px solid #aaaaaa !important;
    background: #f9f9f9 !important;
    color: #000000 !important;
  }

  .hero-value-box {
    background: #f0fdf4 !important;
    border: 2px solid #16a34a !important;
    color: #000000 !important;
  }

  .hero-value-number {
    color: #16a34a !important;
  }

  .breakdown-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #000000 !important;
    margin-bottom: 4px;
  }

  .item-title {
    color: #000000 !important;
  }

  .item-val.plus { color: #16a34a !important; }
  .item-val.minus { color: #dc2626 !important; }

  /* Cabeçalho impresso oficial */
  .print-header-only {
    display: block !important;
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
}

.print-header-only {
  display: none;
}
