:root {
  --docsifytabs-tab-highlight-color: #6652fd;
  --docsifytabs-tab-color--active: #6652fd;
  --border-color: #eef0f3;
}
:root .close{
  --border-color: transparent;
}

.sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
  border: 1px solid #eef0f3;
  border-radius: 8px;

  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 264px;
  /* padding-top: 0; */
}

body.close .sidebar {
  transform: translateX(-416px);
}

.sidebar-nav {
  padding: 0 8px;
  margin-top: 26px;
  position: relative;
}
.sidebar ul {
  margin: 0;
}

.sidebar ul li {
  height: 33px;
  position: relative !important;
  padding-left: 28px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  padding-right: 40px;

}
.sidebar ul li.active {
  background-color: #505d6b;
}
.sidebar ul li > a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  text-decoration-skip-ink: none;
  /* 超出省略 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* border: 1px solid red; */
}
.sidebar ul li.active > a {
  border-right: 0;
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #ffffff;
}

.sidebar-nav ul:not(.app-sub-sidebar) > li:not(.file)::before {
  content: "";
  display: block;
  position: absolute;
  left: 10px !important;
  border-radius: 100%;
  top: 16px;
  height: 4px;
  width: 4px;
  background-color: #828a95;
}
.sidebar-nav ul li.active::before {
  background-color: white !important;
}

.sidebar-nav ul:not(.app-sub-sidebar) > li:not(.file)::after {
  content: "";
  display: block;
  position: absolute;
  right: 10px !important;
  top: 11px;
  height: 5px;
  width: 5px;
  border-right: 1px solid #505d6b;
  border-bottom: 1px solid #505d6b;
  border-bottom-right-radius: 1px;
  transform: rotate(-45deg); 
  transition: transform 0.1s;
}
.sidebar-nav ul li.active::after {
  border-right: 1px solid #ffffff !important;
  border-bottom: 1px solid #ffffff !important;
}

.logo {
  width: 262px;
  height: 65px;
  position: fixed;
  z-index: 10;
  /* border-top: 1px solid var(--border-color); */
  left: 25px;
  top: 25px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 8px;
  background-color: #ffffff;
  border-radius: 8px 8px 0 0;
  /* border: 1px solid red; */
  transition: all .3s;

}
.close .logo{
  width: 200px;
  background-color: transparent;
}
.close .logo-txt{
  /* flex: 0.5; */
}
.logo-txt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* border: 1px solid red; */
}
.logo .close {
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  /* border: 1px solid red; */
}

.logo .close:hover {
  background-color: rgba(102, 82, 253, 0.4);
}
.logo .close:hover svg {
  color: rgba(102, 82, 253, 1);
}


.markdown-section {
  max-width: 1200px;
  width: 100%;
}
.sidebar-toggle {
  display: none;
}

.change-lng {
  width: 75px;
  height: 33px;
  border-radius: 8px;
  background: #5d626a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  position: fixed;
  top: 32px;
  right: 48px;
  z-index: 10;
  cursor: pointer;
}
.change-lng:hover {
  background: #7d8188;
}
.docsify-tabs__content{
  position: relative;                      
}
.docsify-tabs__content:hover .btn-down{
  display: block;
}
.btn-down{
  position: absolute;
  top:35px;
  right: 200px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: #f5f5f5;
  cursor: pointer;
  display: none;
  background-image: url('/assets/img/download.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* border: 1px solid red; */
}
.btn-down:hover{
  color: #6652fd;
}