.theme-sepia {
    --bg-main: #FBF0D9;
    --text-main: #704214;
    --text-secondary: #8b5e34;
    --heading: #5a3210;
    --accent: #a65e2e;
    --accent-hover: #8b4b24;
    --borders: #d4c0a1;
    --blockquote-accent: #c97b32;
    --code-bg: #f3e4c9;
    --table-header-bg: #c97b32;
    --table-header-text: #ffffff;
    --table-row-hover: #f0e0c4;
    --top-bars:#FFEABD;
}

#AllDocumentsContainer.theme-sepia{
  background-color: #fcf6e7;
}


.theme-sepia #LinksListContainerDiv{
  background-color: var(--bg-main);
}

.DocumentColumn.theme-sepia {
    background-color: var(--bg-main); /* dark background */
}

#CurrentDocumentTopBar.theme-sepia{
  background-color: var(--top-bars);
}

#RightDocumentsTopBar.theme-sepia{
  background-color: var(--top-bars);
}

#multiple-links-popup.theme-sepia{
  background-color: var(--bg-main); 
}


.theme-sepia .StaticCommentsSection {
    background-color: var(--bg-main);
}

.theme-sepia .NoteDiv{
    background-color: var(--bg-main);
    color: var(--text-main);
}

.theme-sepia .NoteEditingDiv{
    color: var(--text-main);
}


.theme-sepia .linkInputTypeSelectorButton{
  background-color: transparent;
}

.theme-sepia .linkInputTypeSelectedButton{
  background-color: #484de9;
  color: white;
}



.theme-sepia .RightDocumentTab{
  background-color: #c2a382;

}


.theme-sepia .RightDocumentTabSelected{
  background-color: var(--top-bars);
}

.theme-sepia .RightDocumentTabTitle{

}

.theme-sepia .RightDocumentTabTitleSelected{
  color:rgba(37, 38, 39, 0.5);
}

.theme-sepia .DocumentTopPanel{
    background-color: var(--header-footer-bg);
    /* border-top: 1px solid #e0e0e0; */
    border-bottom: 1px solid var(--borders);
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); */
    /* padding: 1rem 2rem; */
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.theme-sepia .TopPanelTitle{
    color: var(--heading);
}

.theme-sepia .TopPanelOptionLink{
    color:var(--heading);
}

.theme-sepia #middle-canvas-topDiv{
  background-color: var(--top-bars);
}

#LinksListContainerDiv.theme-sepia {
  background-color: var(--bg-main);
  border-width: 1px;
  border-style: solid;
  border-color: var(--borders);
}

.theme-sepia .FlinkOneEndContainer{
  background-color: rgba(255, 255, 255, 0.1);;
}

.theme-sepia #LinksListModificationMessage {
  color:var(--text-main);
}

.theme-sepia .DocumentBottomPanel{
    font-family: "Helvetica Neue", Arial, sans-serif;
    border-top: 1px solid var(--borders);
    background-color: var(--header-footer-bg);
    /* box-shadow: 0 -2px 4px rgba(0,0,0,0.05); */
}

.theme-sepia .RightSandwichLine{
    background-color: var(--accent);
}

.theme-sepia .LeftSandwichLine{
    background-color: var(--accent);
}


.theme-sepia .DocumentDropDownMenu{
    background-color: var(--header-footer-bg);
}

.theme-sepia .FooterSectionTitle{
    color: var(--heading);
}
.theme-sepia .FooterOptionLink{
    color:var(--heading);
}

.theme-sepia .DocumentBottomPanelBottomMessage{
    color:#595757;
}


.theme-sepia #CurrentDocumentExportContainer, 
.theme-sepia #RightDocumentExportContainer{
  background-color: var(--bg-main);
}







.theme-sepia .NotePresentationDiv{

    font-family: "Georgia", "Times New Roman", serif; /* Classic reading font */
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-main);
    padding: 2rem;

}


.theme-sepia ol,ul{
    padding-inline-start: 10px;
    color: var(--text-main);
}
  
.theme-sepia div{
    color: var(--text-main);
}

.theme-sepia .ActionButton{
  color:white;
}

.theme-sepia .LinksListSortButton {
    color:#e7b485;
}
.theme-sepia .FlinksListSelectedSide *{
  color:var(--text-main);
}

.theme-sepia #CurrentDocumentInfo{
  background-color: var(--bg-main);
}

.theme-sepia .InfoLinkRowDiv{
  /* background-color: rgb(60, 60, 60); */
}

.theme-sepia #CurrentDocumentMainCollageCanvas,
.theme-sepia .OneCollageCanvas{
  background-color: var(--bg-main);
}

.theme-sepia .DocumentTopBarButtonWrapper,
.theme-sepia .DocumentTopBarButtonWrapper *{
  color:rgb(40, 29, 13);
}

.theme-sepia .TopPanelOptionLinkSelected{
  color:red;
}

.theme-sepia .CurrentDocumentInfoButtonCountDivIncomplete{
  color:red;
}

.theme-sepia .selectedIcon *{
  color:white;
}
  
  /* Paragraphs */
  .theme-sepia p {
    margin: 1em 0;
    font-size: 1.05em;
    color: var(--text-main);
  }
  
  /* Headings */
  .theme-sepia h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin: 1.6em 0 0.6em;
    color: var(--heading);
  }
  
  .theme-sepia h1 {
    font-size: 2.2em;
    /* border-bottom: 2px solid #e0e0e0; */
    padding-bottom: 0.3em;
  }
  
  .theme-sepia h2 {
    font-size: 1.8em;
    margin-top: 2em;
  }
  
  .theme-sepia h3 {
    font-size: 1.4em;
    margin-top: 1.5em;
  }
  
  /* Links */
  .theme-sepia a {
    color: var(--accent);
    text-decoration: none;
  }
  .theme-sepia a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
  }

  .theme-sepia a[data-static] {
    color: rgb(26, 125, 54);
  }

.theme-sepia a.multiple-links-popup-row{
    color: var(--text-main);
  }

   .theme-sepia a.multiple-links-popup-row:hover{
    text-decoration: none;
  }
  
  
  
  
  
  
  /* Code snippets */
  .theme-sepia pre,
  .theme-sepia code {
      font-family: "Courier New", Courier, monospace;
      color: #5a3210;
      /* darker brown text */
  }
  
  .theme-sepia pre {
    background-color: #f0e0c9;
    border-radius: 6px;
    padding: 1em;
    border: 1px solid #d4bfa3;
    overflow-x: auto;
  }

  .theme-sepia code {
      background-color: #f0e0c9;
      border-radius: 3px;
  }

  
  .theme-sepia blockquote {
    position: relative;
    margin: 1em 0;
    padding: 1em 1.2em;
    padding-left: 2em; /* space for the quote mark */
    background-color: #f8e9cc;
    border-left: 5px solid var(--blockquote-accent);
    border-radius: 6px;
    color: var(--text-main);
    font-style: italic;
    font-family: Georgia, serif;
    line-height: 1.6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  /* Add a decorative quote mark */
  .theme-sepia blockquote::before {
    
    position: absolute;
    left: 10px;
    top: 0;
    font-size: 3em;
    line-height: 1;
    color: #4a90e2;
    font-family: Georgia, serif;
  }
  
  .theme-sepia blockquote ol {
    padding-left: 10px;
    padding-right: 10px;
    list-style-position: inside;
  }
  
  
  /* Basic table styling */
  .theme-sepia table {
    /* width: 100%; */
    border-collapse: collapse; /* remove double borders */
    margin: 1.5em 0;
    font-family: "Georgia", serif;
    font-size: 16px;
    line-height: 1.5;
    color: #2c2c2c;
    border-color: var(--border);
  }
  
  /* Table header */
  .theme-sepia th {
    background-color: #dcc89c;
    color: #2c2c2c;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
  }
  
  /* Table cells */
  .theme-sepia td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
  }
  
  /* Alternating row colors */
  .theme-sepia tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  /* Hover effect for rows */
  .theme-sepia tr:hover {
    background-color: #eef4fc;
  }

.theme-sepia .media-card {
    display: inline-block;
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 6px 0;
    background-color: #f0f8ff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-sepia .media-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.theme-sepia .load-button {
    color:white;
    background-color: #357ABD;
}

.theme-sepia pre::-webkit-scrollbar,
.DocumentColumn.theme-sepia::-webkit-scrollbar,
.theme-sepia #SourceCodeTextDiv::-webkit-scrollbar,
.theme-sepia .StaticCommentsSection::-webkit-scrollbar,
.theme-sepia .NoteEditingDiv::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

.theme-sepia pre::-webkit-scrollbar-track,
.DocumentColumn.theme-sepia::-webkit-scrollbar-track,
.theme-sepia #SourceCodeTextDiv::-webkit-scrollbar-track,
.theme-sepia .StaticCommentsSection::-webkit-scrollbar-track,
.theme-sepia .NoteEditingDiv::-webkit-scrollbar-track {
    background: #f3e4cb;
    /* slightly darker than page background */
}


.theme-sepia pre::-webkit-scrollbar-thumb,
.DocumentColumn.theme-sepia::-webkit-scrollbar-thumb,
.theme-sepia #SourceCodeTextDiv::-webkit-scrollbar-thumb,
.theme-sepia .StaticCommentsSection::-webkit-scrollbar-thumb,
.theme-sepia .NoteEditingDiv::-webkit-scrollbar-thumb{
    background: #c2a382;
    /* thumb color */
    border: 4px solid transparent;
    /* creates the gap */
    background-clip: content-box;
    /* ensures color doesn't paint over the border */
    border-radius: 10px;
    /* still rounded */
}

.theme-sepia pre::-webkit-scrollbar-thumb:hover,
.DocumentColumn.theme-sepia::-webkit-scrollbar-thumb:hover,
.theme-sepia #SourceCodeTextDiv::-webkit-scrollbar-thumb:hover,
.theme-sepia .StaticCommentsSection::-webkit-scrollbar-thumb:hover,
.theme-sepia .NoteEditingDiv::-webkit-scrollbar-thumb:hover {
    background: #a07f5e;
    border: 4px solid transparent;
    /* creates the gap */
    background-clip: content-box;
    border-radius: 10px;
}

.theme-sepia pre::-webkit-scrollbar-corner,
.DocumentColumn.theme-sepia::-webkit-scrollbar-corner,
.theme-sepia #SourceCodeTextDiv::-webkit-scrollbar-corner,
.theme-sepia .StaticCommentsSection::-webkit-scrollbar-corner,
.theme-sepia .NoteEditingDiv::-webkit-scrollbar-corner {
    background: #f3e4cb;
    /* same as track */
}

.theme-sepia .comments-title {
    margin-top: 10px;
    margin-left: 15px;
}

.theme-sepia .no-comments-text {
    align-self: center;
    margin-top: 15px;
    font-size: 25px;
}