/* Custom additions for Bootstrap 5 integration */

/* Sidebar Layout */
.app-sidebar {
  width: 260px;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .app-sidebar {
    width: 100%;
    min-height: auto;
  }
}

.nav-link.active-nav {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  font-weight: 600;
}

/* Timeline component */
.ticket-timeline {
  position: relative;
  padding-left: 2rem;
}

.ticket-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 15px;
  width: 2px;
  background-color: #dee2e6;
}

.ticket-timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.ticket-timeline-item:last-child {
  margin-bottom: 0;
}

.ticket-timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: #0d6efd;
  z-index: 2;
}

/* Markdown typography */
.markdown-body {
  line-height: 1.6;
  color: #212529;
}

.markdown-body p {
  margin-bottom: 1rem;
}

.markdown-body pre {
  background-color: #212529;
  color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.markdown-body code {
  background-color: #f8f9fa;
  color: #d63384;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.markdown-body pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
}

.markdown-body blockquote {
  border-left: 4px solid #dee2e6;
  padding-left: 1rem;
  color: #6c757d;
  margin-bottom: 1rem;
}
