/* Reset e configuração base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #26519D 0%, #1e3d73 100%);
  min-height: 100vh;
  color: #333;
}

/* Header/Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Mobile search row */
.mobile-search-row {
  padding-top: 0.2rem !important;
  padding-bottom: 1rem !important;
  background: rgba(255, 255, 255, 0.95);
}
.navbar-brand {
  display: flex;
  align-items: center;
  color: #26519D !important;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: #1e3d73 !important;
  text-decoration: none;
}

.brand-logo {
  min-width: 120px;
  height: auto;
  max-height: 40px;
  margin-right: 12px;
  object-fit: contain;
}

.brand-text {
  font-weight: 600;
  color: #26519D;
  font-size: 1.1rem;
  white-space: nowrap;
}

.search-container {
  max-width: 400px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f9fafb;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: #26519D;
  box-shadow: 0 0 0 3px rgba(38, 81, 157, 0.1);
  background: white;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 1rem;
  z-index: 2;
}

/* Área de resultados de busca */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #26519D;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(38, 81, 157, 0.15);
  z-index: 1000;
  max-height: 500px;
  overflow: hidden;
  display: none;
  animation: searchSlideDown 0.3s ease;
}

.search-results.active {
  display: block;
}

@keyframes searchSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-results-header {
  background: linear-gradient(135deg, #26519D 0%, #1e3d73 100%);
  color: white;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.search-results-list {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.search-results-list::-webkit-scrollbar {
  width: 6px;
}

.search-results-list::-webkit-scrollbar-track {
  background: transparent;
}

.search-results-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.search-result-item:hover {
  background: linear-gradient(90deg, rgba(38, 81, 157, 0.08) 0%, transparent 100%);
  color: #26519D;
  text-decoration: none;
  border-left: 3px solid #26519D;
  padding-left: 1.375rem;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-content {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #1e293b;
}

.search-result-title mark {
  background: linear-gradient(135deg, rgba(38, 81, 157, 0.2) 0%, rgba(38, 81, 157, 0.1) 100%);
  color: #26519D;
  font-weight: 700;
  border-radius: 3px;
  padding: 0.1em 0.2em;
}

.search-result-section {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
}

.search-result-relevance {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.search-result-relevance i {
  color: #fbbf24;
  font-size: 0.7rem;
}

.search-no-results {
  text-align: center;
  padding: 3rem 2rem;
  color: #64748b;
  display: none;
}

.search-no-results i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.search-no-results p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #475569;
}

.search-no-results small {
  font-size: 0.9rem;
  color: #94a3b8;
}

.header-actions {
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.mobile-menu-btn {
  background: #26519D;
  color: white;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(38, 81, 157, 0.2);
}

.mobile-menu-btn:hover {
  background: #1e3d73;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(38, 81, 157, 0.3);
}

.site-btn {
  background: #26519D;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.site-btn:hover {
  background: #1e3d73;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 81, 157, 0.3);
}

.dashboard-btn {
  background: transparent;
  color: #26519D;
  border: 2px solid #26519D;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.dashboard-btn:hover {
  background: #26519D;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 81, 157, 0.3);
}

/* Container principal */
.main-container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 1400px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: calc(100vh - 4rem);
}

/* Sidebar */
.sidebar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  padding: 2rem 0;
  min-height: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.sidebar-section {
  margin-bottom: 2.5rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #26519D;
  background: linear-gradient(90deg, rgba(38, 81, 157, 0.1) 0%, transparent 100%);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 3px solid #26519D;
}

.sidebar-header i {
  margin-right: 0.7rem;
  font-size: 1rem;
  color: #26519D;
}

.sidebar-item {
  display: block;
  padding: 0.9rem 2rem;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
  position: relative;
}

.sidebar-item:hover {
  background: linear-gradient(90deg, rgba(38, 81, 157, 0.08) 0%, transparent 100%);
  color: #26519D;
  text-decoration: none;
  border-left-color: rgba(38, 81, 157, 0.3);
}

.sidebar-item.active {
  background: linear-gradient(90deg, rgba(38, 81, 157, 0.15) 0%, rgba(38, 81, 157, 0.05) 100%);
  color: #26519D;
  border-left-color: #26519D;
  font-weight: 600;
}

.sidebar-subitem {
  padding-left: 3.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  position: relative;
  font-weight: 400;
}

.sidebar-subitem::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 2.5rem;
  color: #cbd5e1;
  font-size: 0.7rem;
}

.sidebar-subitem:hover::before {
  color: #26519D;
}

/* Área de conteúdo */
.content-area {
  padding: 2.5rem;
  min-height: 100%;
  background: white;
}

.content-header {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.content-header .logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #26519D 0%, #1e3d73 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  box-shadow: 0 4px 12px rgba(38, 81, 157, 0.3);
}

.content-header .logo i {
  color: white;
  font-size: 1.3rem;
}

.content-header h1 {
  color: #26519D;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

/* Conteúdo principal */
.main-content {
  display: flex;
  gap: 3rem;
}

.article-content {
  flex: 1;
  min-width: 0;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* TOC Sidebar */
.toc-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
  border: 1px solid #e2e8f0;
}

.toc-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: #26519D;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.toc-header i {
  margin-right: 0.5rem;
}

.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: 0.6rem;
}

.toc-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: block;
  padding: 0.3rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.8rem;
}

.toc-link:hover,
.toc-link.active {
  color: #26519D;
  text-decoration: none;
  border-left-color: #26519D;
  background: rgba(38, 81, 157, 0.05);
  border-radius: 0 4px 4px 0;
}

/* Markdown content styling */
.markdown-body {
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: auto;
  margin-bottom: 0;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.markdown-body h1 {
  font-size: 2.2rem;
  border-bottom: 3px solid #26519D;
  padding-bottom: 0.8rem;
  color: #26519D;
}

.markdown-body h2 {
  font-size: 1.7rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.markdown-body h3 {
  font-size: 1.35rem;
  color: #26519D;
}

.markdown-body h4 {
  font-size: 1.1rem;
}

.markdown-body p {
  margin-bottom: 1.4rem;
  color: #475569;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 1.8rem;
  margin-bottom: 1.4rem;
}

.markdown-body li {
  margin-bottom: 0.5rem;
}

.markdown-body a {
  color: #26519D;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.markdown-body a:hover {
  color: #1e3d73;
  text-decoration: underline;
}

.markdown-body code {
  background: #f1f5f9;
  color: #26519D;
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-size: 0.9em;
  font-family: "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 500;
}

.markdown-body pre {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  font-size: 0.9em;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.markdown-body blockquote {
  padding: 1.5rem 2rem;
  color: #64748b;
  border-left: 4px solid #26519D;
  background: linear-gradient(90deg, rgba(38, 81, 157, 0.05) 0%, transparent 100%);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  font-style: italic;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.markdown-body th,
.markdown-body td {
  border: 1px solid #e2e8f0;
  padding: 1rem 1.2rem;
  text-align: left;
}

.markdown-body th {
  background: #26519D;
  color: white;
  font-weight: 600;
}

.markdown-body tr:nth-child(even) {
  background: #f8fafc;
}

/* Welcome page styling */
.welcome-content {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(38, 81, 157, 0.05) 0%, rgba(38, 81, 157, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(38, 81, 157, 0.1);
}

.welcome-title {
  font-size: 3rem;
  font-weight: 700;
  color: #26519D;
  margin-bottom: 1.5rem;
}

.welcome-description {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Botões e elementos interativos */
.btn-primary {
  background: #26519D;
  border-color: #26519D;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #1e3d73;
  border-color: #1e3d73;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 81, 157, 0.3);
}

/* Responsive */
/* Estilos do Offcanvas Bootstrap customizados */
.offcanvas {
  width: 280px;
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.mobile-sidebar-content {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.mobile-sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.mobile-sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-sidebar-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.mobile-sidebar-footer {
  flex-shrink: 0;
  padding: 1.5rem;
  background: white;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-sidebar-footer .site-btn,
.mobile-sidebar-footer .dashboard-btn {
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mobile-sidebar-footer .site-btn {
  background: #26519D;
  color: white;
  border: none;
}

.mobile-sidebar-footer .site-btn:hover {
  background: #1e3d73;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 81, 157, 0.3);
}

.mobile-sidebar-footer .dashboard-btn {
  background: transparent;
  color: #26519D;
  border: 2px solid #26519D;
}

.mobile-sidebar-footer .dashboard-btn:hover {
  background: #26519D;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 81, 157, 0.3);
}

.mobile-sidebar-footer .mb-2 {
  margin-bottom: 0.75rem !important;
}

/* Manter estilos desktop intactos */
.sidebar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  padding: 2rem 0;
  min-height: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Remover estilos antigos do offcanvas-footer */
.offcanvas-footer {
  flex-shrink: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.offcanvas-header {
  background: linear-gradient(135deg, #26519D 0%, #1e3d73 100%);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.offcanvas .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.offcanvas .btn-close:hover {
  opacity: 1;
}

/* Botões de ação no offcanvas */
.offcanvas .site-btn,
.offcanvas .dashboard-btn {
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.offcanvas .site-btn {
  background: #26519D;
  color: white;
  border: none;
}

.offcanvas .site-btn:hover {
  background: #1e3d73;
  color: white;
}

.offcanvas .dashboard-btn {
  background: transparent;
  color: #26519D;
  border: 2px solid #26519D;
}

.offcanvas .dashboard-btn:hover {
  background: #26519D;
  color: white;
}

@media (max-width: 768px) {
  .navbar {
    padding-bottom: 0;
  }
  
  .mobile-search-row {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
  
  .mobile-search-row .search-container {
    max-width: none;
  }
  
  .mobile-search-row .search-input {
    padding: 0.875rem 1rem 0.875rem 2.8rem;
    font-size: 0.95rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
  }
  
  .mobile-search-row .search-input:focus {
    background: white;
    border-color: #26519D;
    box-shadow: 0 0 0 3px rgba(38, 81, 157, 0.08);
  }
  
  .mobile-search-row .search-icon {
    left: 1rem;
    font-size: 1rem;
    color: #64748b;
  }
  
  .brand-logo {
    min-width: 100px;
    max-height: 32px;
  }
  
  .brand-text {
    font-size: 1rem;
  }
  
  .search-input {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    font-size: 0.9rem;
  }
  
  .search-icon {
    left: 0.8rem;
    font-size: 0.9rem;
  }
  
  .site-btn,
  .dashboard-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .content-area {
    padding: 1.5rem;
  }
  
  .main-content {
    flex-direction: column;
  }
  
  .toc-sidebar {
    width: 100%;
    order: -1;
    margin-bottom: 2rem;
    position: static;
  }
  
  .welcome-title {
    font-size: 2.2rem;
  }
  
  .article-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .navbar .container-fluid {
    padding: 0 0.75rem;
  }
  
  .brand-logo {
    min-width: 80px;
    max-height: 28px;
  }
  
  .brand-text {
    font-size: 0.9rem;
  }
  
  .site-btn,
  .dashboard-btn {
    padding: 0.5rem;
  }
  
  .site-btn span,
  .dashboard-btn span {
    display: block;
  }
  
  .search-input {
    padding: 0.6rem 1rem 0.6rem 2.3rem;
    font-size: 0.85rem;
  }
  
  .search-icon {
    left: 0.7rem;
    font-size: 0.85rem;
  }
}

/* Melhorias de acessibilidade */
.sidebar-item:focus,
.toc-link:focus,
.search-input:focus,
.site-btn:focus,
.dashboard-btn:focus {
  outline: 2px solid #26519D;
  outline-offset: 2px;
}

/* Animações suaves */
* {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Estados de loading */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Footer com assinatura da empresa */
.company-footer {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #64748b;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 2px solid #26519D;
  position: relative;
}

.company-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #26519D 0%, rgba(38, 81, 157, 0.3) 100%);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #26519D;
  text-decoration: none;
  transform: translateY(-1px);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #26519D;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Responsividade do footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
}

/* Print styles */
@media print {
  .sidebar,
  .toc-sidebar,
  .navbar {
    display: none;
  }
  
  .main-container {
    box-shadow: none;
    margin: 0;
  }
}