.black{
  color:  black;
}

.blue{
  color: blue;
}

.red{
  color: red;
}

.yellow {
  color: rgb(255, 220, 44);
}

.green {
  color: rgb(14, 182, 14);
}

.grey {
  color: gray;
}

.bold{
  font-weight: 700;
}

.h7 {
  font-size: 0.8em;
}

.h8 {
  font-size: 0.75em;
}

.h9 {
  font-size: 0.7em;
}

/* Ensure custom heading elements display as block elements */
.h7, .h8, .h9 {
  display: block;
  margin: 1em 0;
  cursor: pointer;
  font-weight: bold;
}


.h7:hover,
.h8:hover,
.h9:hover {
  text-decoration: underline;
  text-decoration-color: #42b983;
}


/* 调整正文内容字体大小 */
.markdown-section {
  font-size: 1.2em; /* 默认 1em，调整为 1.2 倍（约放大 20%） */
}

/* 调整代码块字体大小（可选） */
pre, code {
  font-size: 14px !important; /* 默认 13px */
}

/* 调整标题字体大小（可选） */
.markdown-section h1 {
  font-size: 2.5em !important; /* 默认 2em */
}

.turn-red {
  color: red;
  font-weight: bold;
}

.turn-green {
  color: rgb(14, 182, 14);
  font-weight: bold;
}

.turn-stress {
  font-weight: bold;
  text-decoration: underline;
}

.reset {
  color: black; /* Use a specific color instead of 'initial' */
  font-weight: normal;
  text-decoration: none;
}

/* Style for buttons to align with Docsify's minimalistic design */
button {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 5px;
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  background-color: #42b983; /* Docsify's primary green color */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
  background-color: #369a6e; /* Darker green for hover effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}

button:active {
  background-color: #2d7a5a; /* Even darker green for active state */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); /* Inset shadow for active state */
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 185, 131, 0.5); /* Focus ring */
}

.split-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.split-column-container {
  flex: 1;
  margin: 0 10px;
}

.column-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.split-column {
  list-style: none;
  padding: 0;
}

.split-item {
  margin: 5px 0;
}

.space-item {
  height: 20px;
}

/* Style for inline numbers in split view */
.split-column .split-item-container {
  display: flex;
  align-items: flex-start; /* Align the number with the start of the text */
}

.split-column .item-number {
  font-weight: bold;
  margin-right: 5px;
  white-space: nowrap; /* Prevent the number from breaking to a new line */
}

.split-column .split-item {
  flex: 1; /* Ensure the text takes up the remaining space */
  word-wrap: break-word; /* Allow text to wrap naturally */
}

/*

html, body {
  color: #333;
  background-color: #f8f9fa;
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.6;
}

article {
  font-size: 1.2em;
}


#navbar {
  position: fixed;
  min-width: 1px;
  top: 0;
  left: 0;
  width: 350px;
  height: 100%;
  background: linear-gradient(to bottom, #ffffff, #f1f1f1);
  border-right: 1px solid rgba(0, 22, 22, 0.2);
  padding-top: 15px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
  transition: width 0.1s ease-out;
  max-width: calc(100vw - var(--scrollbar-width, 20px)); 
}



#navbar ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    overflow-y: auto;
  }
   
#navbar li {
  border-top: 1px solid;
  list-style: none;
  position: relative;
  width: 100%;
}

#navbar a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
  font-size: 1.2em;
}

#navbar a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-left: 3px solid gray;
  padding-left: 12px;
}

#main-doc {
  margin-left: 370px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
}

header {
  color: #222;
  margin: 20px 0;
  text-align: center;
  font-size: 1.8em;
  font-weight: 700;
}

#main-doc header {
  text-align: left;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.h {
  text-align: left;
  font-size: 1.8em;
  margin-bottom: 10px;
}


@media only screen and (max-width: 815px) {
  #navbar {
    position: relative;
    width: 100%;
    max-height: 250px;
    border-bottom: 2px solid rgba(0, 22, 22, 0.2);
  }

  #main-doc {
    margin-left: 0;
    padding: 20px;
    margin-top: 260px;
  }
}

@media only screen and (max-width: 400px) {
  #main-doc {
    padding: 15px;
  }

}

a.download:visited {
  color:blue;
}

.h1::before {
  content: "";
}

.h2::before {
  content: "\00A0\00A0\00A0\00A0";
}

.h3::before {
  content: "\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0";
}

.h4::before {
  content: "\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0";
}

.h5::before {
  content: "\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0";
}

.h6::before {
  content: "\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0";
}

.h7::before {
  content: "\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0";
}

p.h1, p.h2, p.h3, p.h4, p.h5, p.h6, p.h7{
  font-weight: 700;
}

li {
  position: relative;
}

.comment {
  position: absolute;
  right: 0;
  top: 50%;
  trans: translateY(-50%);
}

.space20 {
  margin-left: 20px;
}

.space90 {
  margin-left: 90px;
}

.space200 {
  margin-left: 200px;
}

.collapsed {
  display: none;
}

a.show {
  background-color: gray;
}

table, th, td, tr{
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
  }

  .turn-red {
    color: red;
    font-weight: bold;
  }
  
  .turn-green {
    color: rgb(14, 182, 14);
    font-weight: bold;
  }
  
  .turn-stress {
    font-weight: bold;
    text-decoration: underline;
  }
  
  .reset {
    color: initial;
    font-weight: normal;
    text-decoration: none;
  }

  .split-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
  }

  .split-column {
    width: 48%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .split-item {
    position: relative;
    padding-left: 2em;
    margin: 4px 0;
  }

  .split-item::before {
    content: attr(data-original-number) ".";
    position: absolute;
    left: 0;
    font-weight: bold;
  }

  .hidden {
    display: none;
  }

  .column-title {
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 0.9em;
    color: #333;
  }

.picture {
  display: inline-block;
  margin: 10px;
  width: 200px;
  height: auto;
}

.content {
  display: inline-block;
  margin: 0px;
  width: 800px;
  height: auto;
}

.table-picture {
  display: inline-block;
  margin: 10px;
  width: 100px;
  height: auto;
}
  
.image-container {
  text-align: left;
}

  /* 调整列容器 */
  .split-column-container {
    width: 48%;
  }
  /* 确保列宽度填充容器 */
  .split-column {
    width: 100%;
  }

  #resizer {
    position: fixed;
    top: 0;
    left: 350px;
    width: 5px;
    height: 100%;
    background: #ddd;
    cursor: col-resize;
    z-index: 1000;
    user-select: none;
    right: calc(100% - 5px);
  }
  
  #resizer:hover {
    background: grey;
  }

  .resizing {
    cursor: col-resize !important;
    user-select: none;
  }
  
  @media only screen and (max-width: 815px) {
    #resizer {
      display: none !important;
    }
  }

  .space-item {
    height: 1.2em; /* 精确匹配行高 */
    list-style: none;
  }

/* Search Highlight Styles */
.search-highlight {
  background-color: #ffeb3b;
  color: #000;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  animation: searchPulse 2s ease-in-out;
}

@keyframes searchPulse {
  0% { background-color: #ffeb3b; }
  50% { background-color: #ffc107; }
  100% { background-color: #ffeb3b; }
}

/* Enhanced search results styling */
.search-results {
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-top: 5px;
}

.search-results a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease;
  line-height: 1.4;
  font-size: 14px;
}

.search-results a:hover {
  background-color: #f8f9fa;
  color: #42b983;
}

.search-results a:last-child {
  border-bottom: none;
}

.search-results a:active {
  background-color: #e9ecef;
}

/* Search result content styling */
.search-results a {
  position: relative;
}

.search-results a::before {
  content: "📄";
  margin-right: 8px;
  opacity: 0.6;
  font-size: 12px;
}

/* Highlight search terms in results */
.search-results mark {
  background-color: #ffeb3b;
  color: #000;
  padding: 1px 2px;
  border-radius: 2px;
  font-weight: bold;
}

/* Search input styling */
.search input {
  border: 2px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.search input:focus {
  border-color: #42b983;
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 185, 131, 0.1);
}

/* Search container */
.search {
  position: relative;
  margin-bottom: 20px;
}

/* Search results container */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

/* Search result item with context */
.search-results .search-result-item {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}

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

.search-results .search-result-title {
  font-weight: bold;
  color: #42b983;
  margin-bottom: 4px;
}

.search-results .search-result-context {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* No results styling */
.search-results .no-results {
  padding: 16px;
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Search loading indicator */
.search-loading {
  padding: 16px;
  text-align: center;
  color: #666;
}

.search-loading::after {
  content: "🔍";
  animation: searchPulse 1s infinite;
}

@keyframes searchPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}