/* Rental Agreement Styling */

.document-container {
  font-family: 'Georgia', serif;
  line-height: 1.6;
}

.document-container h3 {
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dee2e6;
  color: #212529;
}

.document-container h4 {
  margin-top: 1.2rem;
  color: #495057;
}

/* Payment Terms Section Highlighting */
.document-container .payment-terms-header {
  background-color: #e9f5ff;
  padding: 0.75rem;
  border-left: 4px solid #0d6efd;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  color: #0d6efd;
  font-weight: 600;
}

/* Code blocks for formulas */
.document-container pre {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 1rem;
  margin: 1rem 0;
}

/* Payment formula special styling */
.document-container .payment-formula {
  background-color: #fff8e6;
  border: 1px solid #ffd166;
  border-left: 4px solid #ffd166;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

/* Bold text emphasis */
.document-container strong {
  color: #0d6efd;
}

/* Total amounts emphasis */
.document-container .total-payment {
  color: #198754;
  font-size: 1.1em;
  background-color: #e9f7f0;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
  margin: 1rem 0;
}

/* Print styles */
@media print {
  .document-container {
    font-size: 12pt;
  }
  
  .document-container h3 {
    page-break-after: avoid;
  }
  
  .document-container pre {
    page-break-inside: avoid;
  }
}
