/* Styling for Markdown content */
.markdown-content {
  line-height: 1.6;
  color: #333;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.markdown-content h1 {
  font-size: 1.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eaecef;
}

.markdown-content h2 {
  font-size: 1.5rem;
}

.markdown-content h3 {
  font-size: 1.25rem;
}

.markdown-content p,
.markdown-content ul,
.markdown-content ol {
  margin-bottom: 1rem;
}

.markdown-content ul,
.markdown-content ol {
  padding-left: 2rem;
}

.markdown-content code {
  background-color: #f6f8fa;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.markdown-content pre {
  background-color: #f6f8fa;
  border-radius: 3px;
  padding: 1rem;
  overflow: auto;
}

.document-container {
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-height: 600px;
  overflow-y: auto;
}

/* Timeline styling */
.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  font-size: 1.25rem;
  color: #6c757d;
  position: relative;
}

.timeline-icon::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #dee2e6;
  top: 40px;
  bottom: -40px;
  left: 19px;
  z-index: 0;
}

.list-group-item:last-child .timeline-icon::after {
  display: none;
}

/* Print styles for rental agreement */
@media print {
  .document-container {
    max-height: none;
    box-shadow: none;
    border: none;
  }
  
  .no-print {
    display: none !important;
  }
}
