/* ============================================
   SECTION 1: LINK COLORS
   Accent color: RGB(63, 181, 0) = #3FB500
   Only content links are green. UI stays white.
   ============================================ */

   :root {
    --text-accent: #ffffff;
    --text-accent-hover: #cccccc;
  }
  
  /* Site name — white */
  .site-body-left-column-site-name {
    color: #ffffff !important;
  }
  
  /* Sidebar navigation links — white */
  .nav-view-outer a,
  .tree-item-inner,
  .nav-file-title-content {
    color: #ffffff !important;
  }
  
  /* Content [[wikilinks]] — green */
  .markdown-preview-view .internal-link {
    color: #3FB500 !important;
  }
  .markdown-preview-view .internal-link:hover {
    color: #4dd610 !important;
  }
  
  /* Content external URLs — green */
  .markdown-preview-view .external-link {
    color: #3FB500 !important;
  }
  .markdown-preview-view .external-link:hover {
    color: #4dd610 !important;
  }
  
  
  /* ============================================
     SECTION 2: SIDEBAR TOGGLE
     Hamburger button to collapse/expand sidebars.
     Works with publish.js toggling the class
     "sidebars-collapsed" on document.body.
     ============================================ */
  
  /* Toggle button — sits in the left sidebar above the search bar */
  #sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0 0 6px 0;
    background: transparent;
    color: var(--text-muted);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
  }
  #sidebar-toggle:hover {
    opacity: 1;
    color: var(--text-normal);
  }

  /* Collapsed: hide sidebar contents, keep layout unchanged */
  .sidebars-collapsed .site-body-left-column {
    visibility: hidden !important;
  }
  .sidebars-collapsed .site-body-right-column {
    visibility: hidden !important;
  }

  /* Keep the toggle button visible and clickable even when sidebar is hidden */
  .sidebars-collapsed #sidebar-toggle {
    visibility: visible !important;
  }

  /* Hide the Obsidian Publish footer completely */
  .site-footer {
    display: none !important;
  }