body html {
  position: relative;
  width: 100%;
}

.root {
  font-family: monospace, monospace;
}

.container {
  /* margin-left: 0; */
  padding-bottom: 40px;
}

.cnk {
  position: relative;
  white-space: nowrap;
  display: inline-block;
  vertical-align: top;
}

.idx {
  position: relative;
  display: none;
  vertical-align: top;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hidden {
  display: none;
}

.lblContainer {
  direction: rtl;
}

.lbl-hidden {
  padding-left: 2px;
  padding-right: 5px;
  -webkit-user-select: none;
  display: block;
  height: 1em;
  line-height: 1em;
  margin-bottom: 1.5em;
  font-style: italic;
  justify-content: flex-end;
  flex-direction: column;
}

.lbl {
  font-size: 1em;
}

.cell {
  margin-bottom: 1.5em;
  height: 1em;
  display: inline-block;
}

.highlight {
  /* background-color: #EBD270 !important; */
}

/* 'card' name is not available because used by bootstrap */
.crd {
  position: relative;
  display: inline-block;
}

.crds {
  display: inline-block;
  -webkit-user-select: none;
}

.tf_info {
  font-family: verdana, arial, helvetica, sans-serif;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 5px;
  border: 1px solid #56b3f1
}

.tf_info th {
  background-color: #56b3f1;
  font-style: italic;
  color: #000;
  padding: 3px;
  text-align: left
}

.tf_info td {
  border: 1px solid #56b3f1;
  padding: 2px 5px 2px 7px
}

.tf_info tr.alt {
  color: #000;
  background-color: #d6efff
}

.tf_info tr.title {
  color: #000;
  background-color: #d6efff;
  font-weight: 700;
  font-size: .9em
}

a:link {
  color: #20a6ff;
  border-color: #000;
  text-decoration: none
}


a:hover {
  color: #080;
  font-weight: bold;
}

g text {
  cursor: pointer;
}

#chart {
  width: 100%;
  /* 设置宽度 */
  height: 100%;
  /* 设置高度为100% */
}

.loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, .5);
  display: none;
  z-index: 10000;
}

.loadingOverlay .wave-loading {
  width: 400px;
  height: 100px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loadingOverlay .wave-loading span {
  display: inline-block;
  font-size: 30px;
  color: #fff;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  animation: wave-loading 1s ease-in-out infinite;
  animation-delay: calc(0.1s * var(--time));
}

@keyframes wave-loading {
  0% {
    transform: translateY(0px);
  }

  25% {
    transform: translateY(-20px);
  }

  50%,
  100% {
    transform: translateY(0px);
  }
}

.tabList {
  width: 100%;
  display: flex;
  margin-bottom: 30px;
}

/* .tabList .tabItem {
  min-width: 40px;
  font-size: 20px;
  cursor: pointer;
  color: #909399;
  padding: 6px 0;
  margin: 0 22px;
  display: flex;
  justify-content: center;
}

.tabList .tabItem-active {
  min-width: 40px;
  font-size: 20px;
  cursor: pointer;
  color: #303133;
  padding: 6px 0;
  margin: 0 22px;
  border-bottom: 3px solid #56b3f1;
  display: flex;
  justify-content: center;
} */

/* .modalContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
} */

.modalContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family:  Consolas, monospace;
  font-weight: 500;
  max-height: 700px;
  overflow: auto;
}

.modalContainer .line {
  color: #333;
  font-size: 20px;
  /* font-family: Univers, Trebuchet MS, Helvetica, Arial, sans-serif; */
  text-align: left;
  margin: 16px;
  word-break: break-all;
  line-height: 24px;
}

.modalContainer .line .lable {
  font-weight: bold;
  margin-right: 10px;
}

.modalContainer .line a {
  color: #20a6ff;
}

.modalContainer .line a:hover {
  text-decoration: underline;
}

/* 标签页切换 */
.tabList {
  width: 100%;
  display: flex;
  margin-bottom: 30px;
}

.tabList .tabItem {
  min-width: 40px;
  font-size: 20px;
  cursor: pointer;
  color: #909399;
  padding: 10px 0;
  /* margin: 0 22px; */
  margin-right: 22px;
  display: flex;
  justify-content: center;
}

.tabList .tabItem-active {
  min-width: 40px;
  font-size: 20px;
  cursor: pointer;
  color: #303133;
  padding: 10px 0;
  margin-right: 22px;
  border-bottom: 3px solid #56b3f1;
  display: flex;
  justify-content: center;
}

.search-container {
  width: 100%;
  /* max-width: 500px; */
  padding: 20px 20px 20px 0px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  font-family: verdana, arial, helvetica, sans-serif;
}
.search-container .exampleList {
  display: flex;
  align-items: center;
  margin-left: 40px;
}
.search-container .exampleList .item-text {
  font-size: 13px;
  margin-right: 18px;
  cursor: pointer;
}

.search-box {
  max-width: 500px;
  position: relative;
  width: 100%;
  height: 44px;
  display: flex;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-box:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.search-input {
  width: 100%;
  padding: 13px 25px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: white;
  margin: 0;
}

.search-input::placeholder {
  color: #aaa;
  font-weight: 300;
}

.search-button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60px;
  border: none;
  background: #37a9f5;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: #7dc5f5;
}

.search-icon {
  width: 20px;
  height: 20px;
  fill: white;
}

/* 响应式设计 */
@media (max-width: 600px) {
  .search-input {
    padding: 15px 20px;
  }

  .search-button {
    width: 50px;
  }
}

.search-results {
  position: absolute;
  top: 55px;
  width: 480px;
  margin-top: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.search-result-item {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: all 0.2s;
}

.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item {
  border-bottom: none;
  background: aliceblue;
}

.search-result-item:hover {
  background: antiquewhite;
}

.search-result-item.highlight {
  background: #f0f5ff;
  color: #4a6cf7;
}

.no-results {
  padding: 15px;
  text-align: center;
  color: #888;
}

.gene-item {
  margin-bottom: 20px;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-all;
  color: #333;
  font-size: 20px;
  line-height: 28px;
}

.search-results .close-btn {
  position: absolute;
  right: 5px;
  top: 21px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 26px;
  color: #fff;
  background: #f16b6c;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255,77,79,0.15);
  z-index: 2;
  font-family: Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.search-results .close-btn:hover {
  background: #ff7875;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,77,79,0.25);
}