.theme-rose {
    --bg-main: #fbd9de;
    --text-main: #701433;
    --text-secondary: #8b3452;
    --heading: #5a102c;
    --accent: #a62e62;
    --accent-hover: #8b2453;
    --borders: #d4a1ad;
    --top-bars: #ff99a8;
    --header-footer-bg: #f8c3cb;
    --blockquote-accent: #c93267;
    --blockquote-bg: #f8ccd4;
    --code-bg: #f0c9d3;
    --code-text: #5a102c;
    --code-border: #d4a3b0;
    --table-text: #2c2c2c;
    --table-header-bg: #dc9ca5;
    --table-header-text: #2c2c2c;
    --table-row-stripe: #f9f9f9;
    --table-row-hover: #f6c2c9;
    --page-backdrop: #fce7e9;
    --tab-inactive-bg: #c28296;
    --icon-tint: #280d13;
    --sort-button-text: #e785a8;
    --footer-message-text: #595759;
    --media-card-bg: #fddfe4;
    --scrollbar-track: #f3cbd3;
    --scrollbar-thumb-hover: #a05e74;
}

.theme-rose #AllDocumentsContainer{
  background-color: var(--page-backdrop);
}


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

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

.theme-rose #CurrentDocumentTopBar{
  background-color: var(--top-bars);
  border-bottom-color: var(--borders);
}

.theme-rose #RightDocumentsTopBar{
  background-color: var(--top-bars);
  border-bottom-color: var(--borders);
}

.theme-rose #OneDocumentContainer {
    background-color: var(--bg-main);
    border-right-color: var(--borders);
}

.theme-rose #AllRightDocumentsContainer {
    background-color: var(--bg-main);
    border-left-color: var(--borders);
}

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


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

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




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

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



.theme-rose .RightDocumentTab{
  background-color: var(--tab-inactive-bg);

}


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

.theme-rose .RightDocumentTabTitle{

}

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

.theme-rose .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: var(--font-headers-family, "Helvetica Neue", Arial, sans-serif);
}

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

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

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

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

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

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

.theme-rose .DocumentBottomPanel{
    font-family: var(--font-headers-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-rose .RightSandwichLine{
    background-color: var(--accent);
}

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


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

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

.theme-rose .DocumentBottomPanelBottomMessage{
    color:var(--footer-message-text);
}


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









.theme-rose .PostNavBarSide * {
  color: var(--accent);
}


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

.theme-rose div{
    color: var(--text-main);
}

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

.theme-rose .LinksListSortButton {
    color:var(--sort-button-text);
}
.theme-rose .FlinksListSelectedSide *{
  color:var(--text-main);
}

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

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

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

.theme-rose .DocumentTopBarButtonWrapper,
.theme-rose .DocumentTopBarButtonWrapper *{
  color:var(--icon-tint);
}

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

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

.theme-rose .selectedIcon *{
  color:white;
}

  /* Paragraphs */
  .theme-rose p {
    margin: 1em 0;
    font-size: 1.05em;
    color: var(--text-main);
  }

  /* Headings */
  .theme-rose h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers-family, "Helvetica Neue", Arial, sans-serif);
    font-weight: var(--font-headers-weight, 600);
    line-height: var(--font-headers-line-height, 1.3);
    margin: 1.6em 0 0.6em;
    color: var(--heading);
  }

  .theme-rose h1 {
    font-size: 2.2em;
    /* border-bottom: 2px solid #e0e0e0; */
    padding-bottom: 0.3em;
  }

  .theme-rose h2 {
    font-size: 1.8em;
    margin-top: 2em;
  }

  .theme-rose h3 {
    font-size: 1.4em;
    margin-top: 1.5em;
  }

  .theme-rose hr {
    background-color: var(--borders);
  }

  /* Links */
  .theme-rose a {
    color: var(--accent);
    text-decoration: none;
  }
  .theme-rose a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
  }


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

   .theme-rose a.multiple-links-popup-row:hover{
    text-decoration: none;
  }






  /* Code snippets */
  .theme-rose pre,
  .theme-rose code {
      font-family: var(--font-code-family, "Fira Code", monospace);
      color: var(--code-text);
      /* darker brown text */
  }

  .theme-rose pre {
    background-color: var(--code-bg);
    border-radius: 6px;
    padding: 1em;
    border: 1px solid var(--code-border);
    overflow-x: auto;
  }

  .theme-rose code {
      background-color: var(--code-bg);
      border-radius: 3px;
  }


  .theme-rose blockquote {
    position: relative;
    margin: 1em 0;
    padding: 1em 1.2em;
    padding-left: 2em; /* space for the quote mark */
    background-color: var(--blockquote-bg);
    border-left: 5px solid var(--blockquote-accent);
    border-radius: 6px;
    color: var(--text-main);
    font-style: italic;
    font-family: var(--font-quotes-family, Georgia, serif);
    line-height: var(--font-quotes-line-height, 1.6);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  /* Add a decorative quote mark */
  .theme-rose blockquote::before {

    position: absolute;
    left: 10px;
    top: 0;
    font-size: 3em;
    line-height: 1;
    color: #4a90e2;
    font-family: var(--font-quotes-family, Georgia, serif);
  }

  .theme-rose blockquote ol {
    padding-left: 10px;
    padding-right: 10px;
    list-style-position: inside;
  }


  /* Basic table styling */
  .theme-rose table {
    /* width: 100%; */
    border-collapse: collapse; /* remove double borders */
    margin: 1.5em 0;
    font-family: var(--font-quotes-family, "Georgia", serif);
    font-size: 16px;
    line-height: 1.5;
    color: var(--table-text);
    border-color: var(--borders);
  }

  /* Table header */
  .theme-rose th {
    background-color: var(--table-header-bg);
    color: var(--table-header-text);
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
  }

  /* Table cells */
  .theme-rose td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
  }

  /* Alternating row colors */
  .theme-rose tr:nth-child(even) {
    background-color: var(--table-row-stripe);
  }

  /* Hover effect for rows */
  .theme-rose tr:hover {
    background-color: var(--table-row-hover);
  }

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

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

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

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

.theme-rose pre::-webkit-scrollbar-track,
.theme-rose .DocumentColumn::-webkit-scrollbar-track,
.theme-rose #SourceCodeTextDiv::-webkit-scrollbar-track,
.theme-rose .StaticCommentsSection::-webkit-scrollbar-track{
    background: var(--scrollbar-track);
    /* slightly darker than page background */
}


.theme-rose pre::-webkit-scrollbar-thumb,
.theme-rose .DocumentColumn::-webkit-scrollbar-thumb,
.theme-rose #SourceCodeTextDiv::-webkit-scrollbar-thumb,
.theme-rose .StaticCommentsSection::-webkit-scrollbar-thumb{
    background: var(--tab-inactive-bg);
    /* 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-rose pre::-webkit-scrollbar-thumb:hover,
.theme-rose .DocumentColumn::-webkit-scrollbar-thumb:hover,
.theme-rose #SourceCodeTextDiv::-webkit-scrollbar-thumb:hover,
.theme-rose .StaticCommentsSection::-webkit-scrollbar-thumb:hover{
    background: var(--scrollbar-thumb-hover);
    border: 4px solid transparent;
    /* creates the gap */
    background-clip: content-box;
    border-radius: 10px;
}

.theme-rose pre::-webkit-scrollbar-corner,
.theme-rose .DocumentColumn::-webkit-scrollbar-corner,
.theme-rose #SourceCodeTextDiv::-webkit-scrollbar-corner,
.theme-rose .StaticCommentsSection::-webkit-scrollbar-corner{
    background: var(--scrollbar-track);
    /* same as track */
}

.theme-rose .comments-title {
    margin-top: 10px;
}

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

.theme-rose .swp-leave-comment-btn {
  color:var(--accent);
  border: 1px solid var(--accent);
}

.theme-rose .swp-load-more-btn {
  color: var(--accent);
  border: 1px solid var(--accent);
}

.theme-rose .swp-reply-btn{
  color: var(--accent);
  opacity: 0.8;
}
