.code-block {
    background-color: #2d2d2d; /* Dark background color */
    border-radius: 5px;
    padding: 20px;
    color: #fff;
    overflow-x: auto;
    position: relative;
    padding: 20px;
    border-radius: 5px;
    white-space: pre-wrap;
    overflow: auto;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: #444; /* Button color */
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
}
.copy-btn:hover {
    background-color: #666; /* Button hover color */
}

.docs-content {
    display: flex;
    flex-direction: row;
    position: relative;
}


.toc {
    position: -webkit-sticky;
    position: fixed;
    top: 80px; /* Adjust based on your header height */
    padding: 15px;
    /* background: #f8f9fa; */
    border-left: 1px solid #ddd;
    height: calc(100vh - 80px); /* Full height, minus the header */
    overflow-y: auto;
}
.text-theme{
    color: #405189;
}
a.btn-theme{
  background-color: #405189;
  color: #ffff;
}
a.btn-theme:hover{
  background-color: #7a88b6;
  color: #ffff;
}


.sentence {
    cursor: pointer;
    padding: 5px;
    /* display: inline-block; */
    /* background-color: lightgray; */
    border-radius: 5px;
    position: relative;
    transition: background-color 0.3s;
  }

  .sentence:hover {
    background-color: rgb(221, 221, 221);
  }

  .popup {
    display: none;
    position: absolute;
    bottom: -30px;
    left: 0;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1;
  }

  .sentence.show-popup .popup {
    display: block;
  }
  
  a{
    word-wrap: break-word;
  }

    /* Hide the table of contents by default in mobile view */
    @media (max-width: 991.98px) { /* Bootstrap breakpoint for mobile */
        #small-nav {
          display: none;
        }
    
      }

