/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary: #326295;
  --secondary: #056bd8;
  --third: #b6d5f7;
  --background: #f4fbfe;
  --border-color: rgba(0, 0, 0, 0.1);
}

body {
  font-family:  "Roboto", sans-serif;
  color: #212529;
  overflow-y: scroll;
  font-size: 14px;
}

/* 抵消滚动条消失带来的宽度变化 */
body.modal-open {
  overflow: hidden !important;
  padding-right: 5px !important; /* 与滚动条宽度一致 */
}

.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0; /* 默认占满宽度 */
  transition: padding-right 0.3s ease; /* 平滑过渡避免突兀变化 */
}

/* 为固定定位的标题栏添加补偿 */
body.modal-open .fixed-top {
  padding-right: 0 !important; /* 与滚动条宽度一致 */
  right: 0 !important; /* 保持右对齐 */
  width: calc(100% - 5px); /* 确保宽度正确 */
}

/* 为固定定位的标题栏添加补偿 */
body.modal-open .search.shrink {
  padding-right: 5px !important; /* 与滚动条宽度一致 */
  width: 100%; /* 调整宽度抵消滚动条消失的影响 */
  right: 5px !important; /* 调整位置抵消滚动条消失的影响 */
}

body::-webkit-scrollbar {
  width: 5px;
}

.fixed-table-body::-webkit-scrollbar,
#prediction .left-panel::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

body::-webkit-scrollbar-track
{
  background: transparent;
  border-radius: 2px;
}

.fixed-table-body::-webkit-scrollbar-track,
#prediction .left-panel::-webkit-scrollbar-track
{
  background: rgba(50, 98, 149, 0.1);
  border-radius: 2px;
}

body::-webkit-scrollbar-thumb,
.fixed-table-body::-webkit-scrollbar-thumb,
#prediction .left-panel::-webkit-scrollbar-thumb
{
  background: rgba(50, 98, 149, 0.3);
  border-radius: 2px;
}

/* 通过缩小轨道隐藏箭头 */
body::-webkit-scrollbar-button {
  height: 0;
  background-color: transparent;
}

a {
  color: #49b5e7;
}

a:hover {
  color: #76c7ed;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Dosis", sans-serif;
}

.container,
.container-fluid {
  max-width: 1440px;
}

.text-primary {
  color: var(--primary) !important;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #1da2e0;
  color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: var(--primary);
  /*transition: all 0.5s;*/
  z-index: 997;
  padding: 20px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  height: 88px;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
}

#header .logo a {
  color: var(--primary);
}

#header .logo img {
  max-height: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: white;
  transition: 0.3s;
  font-size: 18px;
  font-family: "Dosis", sans-serif;
  text-transform: capitalize;
  font-weight: 600;
}

.nav-menu a:hover, .nav-menu .active > a,
.nav-menu li:hover > a {
  color: #80bdff;
  font-weight: 600;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #0f394c;
  text-transform: uppercase;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
  color: #49b5e7;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  top: 23px;
  right: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: white;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  /*bottom: 15px;*/
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #0f394c;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #49b5e7;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(7, 25, 33, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 60vh;
  min-height: 450px;
  background: var(--background);
  padding-top: 88px;
}

#hero .container {
  padding-top: 88px;
  padding-bottom: 40px;
}

#hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 56px;
  color: var(--secondary);
  text-transform: uppercase;
  /*text-transform: capitalize;*/
}

#hero h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  color: var(--secondary);
  text-transform: uppercase;
  /*text-transform: capitalize;*/
}

#hero h3 {
  color: var(--primary);
  margin: 30px 0 60px 0;
  font-size: 20px;
  line-height: 32px;
}

#hero .btn-get-started {
  font-family: "Dosis", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 3px;
  transition: 0.5s;
  margin-top: 25px;
  color: #fff;
  background: var(--primary);
  text-transform: uppercase;
}

#hero .btn-get-started:hover {
  background: #76c7ed;
}

@media (max-width: 991px) {
  #hero {
    height: 70vh;
    text-align: center;
  }
  #hero .hero-img img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }
  #hero .hero-img img {
    width: 80%;
  }
}

#hero .features-image {
  /*position: relative;*/
  /*!*width: 90%; !* 建议用100%适配父元素，或设固定值 *!*!*/
  /*height: 600px; !* 若需自适应高度，可设auto并通过子元素撑开 *!*/
  /*overflow: hidden; !* 必加，隐藏超出部分 *!*/
}

/*#hero .features-image img {*/
/*  !*position: absolute;*!*/
/*  !*top: -2%;*!*/
/*  !*left: 50%;*!*/
/*  !*transform: translateX(-50%);*!*/
/*  max-width: 100%;*/
/*  max-height: 100%;*/
/*}*/

/*!* 激活状态的图：突出显示（可略大一点或层级最高） *!*/
/*#hero .features-image .features-box {*/
/*  margin: 0 auto;*/
/*  !*top: 25%;*!*/
/*  !*left: 15%;*!*/
/*  !*height: 50%;*!*/
/*  transition: opacity 1s ease-in-out;*/
/*  opacity: 0.6;*/
/*  width: auto; !* 保持宽高比 *!*/
/*  transform: scale(1.05); !* 比其他图稍大，突出当前图 *!*/
/*}*/

/*!* 非激活状态的图：层级依次降低，位置依次后移 *!*/
/*#hero .features-image .features-box.inactive-1 {*/
/*  left: 50%; !* 相对于前一张图偏移50%宽度（重叠一半） *!*/
/*  z-index: 1;*/
/*  opacity: 0.8; !* 稍透明，突出当前图 *!*/
/*}*/

/*#hero .features-image .features-box.inactive-2 {*/
/*  left: 100%; !* 偏移100%宽度（与前一张重叠一半） *!*/
/*  z-index: 2;*/
/*  opacity: 0.6;*/
/*}*/

/*#hero .features-image .features-box.inactive-3 {*/
/*  left: 150%; !* 偏移150%宽度 *!*/
/*  z-index: 3;*/
/*  opacity: 0.4;*/
/*}*/

/*#hero .features-image .features-box.active {*/
/*  opacity: 1;*/
/*  z-index: 4;*/
/*}*/

/*.features-box-slider {*/
/*  overflow: hidden;*/
/*  position: relative;*/
/*  transform: matrix3d(0.984808, 0, -0.173648, 0.000173648, 0, 1, 0, 0, 0.173648, 0, 0.984808, -0.000984808, 0, 7.4, 0, 1);*/
/*  !*box-shadow: rgba(24, 37, 56, 0.12) 8px 7px 48px;*!*/
/*}*/

/*.is-loaded .features-box-slider {*/
/*  -webkit-animation: fadeUpBox 1s 0s both ease-in-out;*/
/*  animation: fadeUpBox 1s 0s both ease-in-out;*/
/*  will-change: transform;*/
/*}*/

.is-loaded .features-illustration {
  -webkit-animation: fadeIn 1s 0.2s both cubic-bezier(0.3, 0, 0.2, 1);
  animation: fadeIn 1s 0.2s both cubic-bezier(0.3, 0, 0.2, 1);
  will-change: transform;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 40px 0;
}

.section-bg {
  background-color: var(--background);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: capitalize;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--secondary);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .icon-boxes h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 15px;
}

.about .icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: var(--secondary);
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: var(--secondary);
  border-color: var(--secondary);
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 85px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.about .icon-box .title a {
  color: var(--secondary);
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #49b5e7;
}

.about .icon-box .description {
  margin-left: 85px;
  line-height: 24px;
  font-size: 14px;
}

.about .video-box {
  background: url("../img/about.jpg") center center no-repeat;
  background-size: cover;
  min-height: 500px;
}

@media (min-width: 1200px) {
  .about .video-box {
    margin-left: 15px;
    margin-right: -15px;
  }
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#49b5e7 50%, rgba(73, 181, 231, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(73, 181, 231, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #49b5e7;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  background: url("../img/counts-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 40px 0 40px 0;
  position: relative;
}

.counts::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.counts .title {
  position: relative;
  color: var(--secondary);
  margin-bottom: 40px;
}

.counts .title p{
  position: relative;
  margin-bottom: 40px;
  color: initial;
}

.counts .title h3 {
  font-size: 36px;
  font-weight: 700;
}

.counts .counters span {
  font-size: 44px;
  font-weight: 700;
  display: block;
  color: var(--secondary);
  font-family: "Dosis", sans-serif;
}

.counts .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 15px;
  color: #444444;
}

@media (min-width: 1200px) {
  .counts {
    background-attachment: fixed;
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .clients-wrap {
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
}

.clients .client-logo {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  background: #fff;
  height: 120px;
}

.clients .client-logo img {
  height: 50%;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: 0.3s;
}

.clients .client-logo:hover img {
  -webkit-filter: none;
  filter: none;
  transform: scale(1.2);
}

.clients img {
  transition: all 0.4s ease-in-out;
}

/*--------------------------------------------------------------
# Feature
--------------------------------------------------------------*/
.feature .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 40px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
}

.feature .icon-box:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.feature .icon {
  position: absolute;
  left: 15px;
  top: calc(50% - 30px);
}

.feature .icon i {
  font-size: 64px;
  line-height: 1;
  transition: 0.5s;
}

.feature .title {
  margin-left: 60px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.feature .title a {
  color: #111;
}

.feature .icon-box:hover .title a {
  /*color: var(--secondary);*/
}

.feature .description {
  font-size: 14px;
  margin-left: 60px;
  line-height: 24px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 10px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #49b5e7;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(255, 255, 255, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #bdc6ca;
  border-left: 3px solid #bdc6ca;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #bdc6ca;
  border-right: 3px solid #bdc6ca;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #0f394c;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #0f394c;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #49b5e7;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #8dd0f0;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("../img/cta-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(11, 41, 55, 0.9);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #eee;
}

.testimonials .owl-nav, .testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4) !important;
}

.testimonials .owl-dot.active {
  background-color: #49b5e7 !important;
}

@media (min-width: 1024px) {
  .testimonials {
    background-attachment: fixed;
  }
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #0f394c;
  margin: 0 3px;
  padding-top: 7px;
  border-radius: 50px;
  width: 36px;
  height: 36px;
  background: rgba(73, 181, 231, 0.8);
  display: inline-block;
  transition: ease-in-out 0.3s;
  color: #fff;
}

.team .member .social a:hover {
  background: #76c7ed;
}

.team .member .social i {
  font-size: 18px;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #0f394c;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #49b5e7;
  float: left;
  width: 44px;
  height: 44px;
  background: #ebf7fc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #0f394c;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #2079a1;
}

.contact .info .email, .contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #49b5e7;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #49b5e7;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #1da2e0;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f0f9fd;
  margin-top: 84px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 74px;
  }
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
  font-family: "Lato", sans-serif;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #175977;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-container {
  position: relative;
}

.portfolio-details .portfolio-details-carousel {
  position: relative;
  z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: left;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #49b5e7 !important;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  position: absolute;
  right: 0;
  bottom: -70px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  color: #0f394c;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 50px;
}

.portfolio-details .portfolio-description h2 {
  width: 50%;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0 0 0 0;
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-info {
    position: static;
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 0 0 0 0;
  color: #444444;
  font-size: 14px;
}

#footer .footer-newsletter {
  padding: 50px 0;
  background: #f0f9fd;
  text-align: center;
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  color: #0f394c;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #49b5e7;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: #1da2e0;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Lato", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #0f394c;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #49b5e7;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #49b5e7;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #49b5e7;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #1da2e0;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  color: #0f394c;
}

#footer .credits {
  float: right;
  font-size: 13px;
  color: #0f394c;
}

@media (max-width: 575px) {
  #footer .copyright, #footer .credits {
    float: none;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
.spinner-wrapper {
  position: fixed;
  z-index: 999999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--white);
}

.spinner {
  position: absolute;
  top: 50%; /* centers the loading animation vertically one the screen */
  left: 50%; /* centers the loading animation horizontally one the screen */
  width: 3.75rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -1.875rem; /* is width and height divided by two */
  text-align: center;
}

.spinner > div {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  background-color: var(--primary);
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.spinner .bounce3 {
  -webkit-animation-delay: -0.08s;
  animation-delay: -0.08s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0); }
  40% { -webkit-transform: scale(1.0); }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
  } 40% {
      -webkit-transform: scale(1.0);
      -ms-transform: scale(1.0);
      transform: scale(1.0);
    }
}

/*--------------------------------------------------------------
# Ellipsis
--------------------------------------------------------------*/
.ellipsis-100px {
  display: inline-block;
  width: 100px;          /* 设置固定宽度或最大宽度 */
  white-space: nowrap;   /* 禁止文本换行 */
  overflow: hidden;      /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 显示省略符号 */
  text-align: inherit;
}

.ellipsis-150px {
  display: inline-block;
  width: 150px;          /* 设置固定宽度或最大宽度 */
  white-space: nowrap;   /* 禁止文本换行 */
  overflow: hidden;      /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 显示省略符号 */
  text-align: inherit;
}

.ellipsis-200px {
  display: inline-block;
  width: 200px;          /* 设置固定宽度或最大宽度 */
  white-space: nowrap;   /* 禁止文本换行 */
  overflow: hidden;      /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 显示省略符号 */
  text-align: inherit;
}

.ellipsis-300px {
  display: inline-block;
  width: 300px;          /* 设置固定宽度或最大宽度 */
  white-space: nowrap;   /* 禁止文本换行 */
  overflow: hidden;      /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 显示省略符号 */
  text-align: inherit;
}

/*--------------------------------------------------------------
# Search
--------------------------------------------------------------*/

.search .icon-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 3px;
  margin: 0 10px 10px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.search .icon-box-small {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 5px 20px;
  width: 80px;
  height: 100%;
  overflow: hidden;
  border-radius: 3px;
  margin: 0 10px 10px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.search .icon-box.active {
  background: #80bdff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.2);
}

.search .icon-box-small.active {
  background: #80bdff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.2);
}

.search .icon-box:hover:not(.active) {
  transform: translateY(-5px);
}

.search .icon-box-small:hover:not(.active) {
  transform: translateY(-5px);
}

.search .icon {
  margin-bottom: 5px;
}

.search .icon img{
  width: 40px;
  height: auto;
}

.search .icon i {
  font-size: 32px;
  line-height: 1;
  transition: 0.5s;
}

.search .title {
  margin-bottom: 15px;
  font-size: 16px;
  color: #111;
  font-weight: 800;
}

.search .title-small {
  font-size: 12px;
  color: #111;
  font-weight: 600;
}

.search .active .title,
.search .active .title-small {
  color: #fff;
  font-weight: 500;
}

.search .search-input {
  border-radius: 50px;
  padding-left: 45px;
}

.content-section .search-input {
  border-radius: 50px;
  background: var(--background);
}

.search .search-input::placeholder,
.content-section .search-input::placeholder,
#tree-search::placeholder
{
  color: #a9b1b8;
  font-size: 12px;
  font-weight: 400;
}

.search .search-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search .search-input-container {
  position: relative;
  width: 60vh;
  margin-bottom: 10px;
}

.search .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 5;
  font-size: 20px;
}

.search .gap {
  gap: 1.5rem;
}

.content-section .btn-primary {
  color: var(--primary);
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}

.content-section .btn-primary:hover,
.content-section .btn-primary:not(:disabled):not(.disabled).active,
.content-section .btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle,
.show>.btn-primary.dropdown-toggle:focus {
  color: var(--secondary);
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}

.content-section .btn-primary:focus {
  box-shadow: none;
}

.content-section .btn {
  border: 1px solid transparent;
}

.box-shadow {
  box-shadow: 0 1px 15px rgba(50, 98, 149, 0.1);
}

/* 滚动时搜索栏的收缩样式 */
#search {
  position: fixed;
  top: 88px;
  left: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 997;
  background: var(--background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search.shrink .search-input {
  height: calc((1.5em + .75rem + 2px) * 0.8);
}

.search .row#big {
  margin-bottom: 1rem !important;
  display: flex; /* 展开时显示选项 */
  transition: all 0.3s ease-in-out;
}

.search.shrink .row#big {
  margin-bottom: 0;
  display: none; /* 收缩时隐藏选项 */
  transition: all 0.3s ease-in-out;
}

.search .row#small {
  margin-bottom: 0;
  display: none; /* 展开时隐藏选项 */
  transition: all 0.3s ease-in-out;
}

.search.shrink .row#small {
  margin-bottom: 0;
  display: flex; /* 收缩时显示选项 */
  transition: all 0.3s ease-in-out;
}

.content-section.shrink {
  padding-top: 270px !important;
}

.pt-88 {
  padding-top: 88px;
}

.table-borderless td,
.table-borderless th {
  border-right: 1px solid #f0f2f4 !important;
}

.bootstrap-table .fixed-table-container.fixed-height .table thead th {
  border-bottom: 1px solid #f0f2f4;
}

.content-section .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
}

.content-section .page-link {
  color: var(--primary);
}

.content-section .page-link:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 .1rem rgba(13, 118, 228, 0.4);
}

.content-section .dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: var(--primary);
}

/*--------------------------------------------------------------
# custom-detail-view
--------------------------------------------------------------*/

.custom-detail-view {
  padding-left: 30px;
  font-size: 12px;
}

.custom-detail-view .active {
  color: white;
  font-weight: 800;
  background-color: var(--third);
  border-radius: 3px;
  text-align: center;
  cursor: default !important;
}

.table-hover tbody tr.detail-view {
  background-color: var(--background) !important;
}

.table-hover tbody tr.detail-view:hover {
  background-color: var(--background) !important;
}

.custom-detail-view .jump-zoom-in {
  position: absolute;
  right: 4rem;
  bottom: 3rem;
  padding-inline: 0;
  background: transparent;
  border: none;
  padding: 0;
}

.custom-detail-view .jump-zoom-in {
  outline: none !important;
}

button:focus {
  outline: none !important;
  /* outline: 5px auto -webkit-focus-ring-color; */
}

/* 隐藏垂直滚动条但保持滚动功能 */
.bootstrap-table .fixed-table-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.bootstrap-table .fixed-table-container {
  min-height: 280px; /* 设置表格容器的最小高度 */
}


.bootstrap-table .fixed-table-body {
  min-height: 280px; /* 设置表格容器的最小高度 */
}


.bootstrap-table .fixed-table-container::-webkit-scrollbar {
  display: none;             /* Chrome, Safari and Opera */
}

.bootstrap-table .fixed-table-toolbar input.search-input {
  width: 100%;
}

.hide-search-bar .bootstrap-table .fixed-table-toolbar .search-input {
  display: none;
}

.table-card-search {
  border: 1px solid #e9ecef;
  background-color: white;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 10px 0 rgba(68, 88, 144, 0.05);
  transition: all 0.3s ease-in-out;
}

.table-card-network,
.table-card-prediction {
  border: 1px solid #e9ecef;
  background-color: white;
  border-radius: 10px;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  box-shadow: 0 5px 10px 0 rgba(68, 88, 144, 0.05);
  transition: all 0.3s ease-in-out;
}

/*--------------------------------------------------------------
# Network
--------------------------------------------------------------*/
.content-section .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 40px 10px;
  background: var(--background);
  box-shadow: 0 5px 10px 0 rgba(68, 88, 144, 0.05);
  transition: all 0.3s ease-in-out;
  border: 1px solid #e9ecef;
}

.content-section .icon-box:hover {
  /*transform: translateY(-5px);*/
}

.content-section .icon {
  position: absolute;
  left: 30px;
  top: calc(40%);
}

.content-section .icon i {
  font-size: 64px;
  line-height: 1;
  transition: 0.5s;
}

.content-section .title {
  margin-left: 60px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.content-section .title a {
  color: #111;
}

.content-section .icon-box:hover .title a {
  color: var(--secondary);
}

.content-section .description {
  font-size: 14px;
  margin-left: 60px;
  line-height: 24px;
  margin-bottom: 0;
}

.content-section .icon img{
  width: 40px;
  height: auto;
}

.content-section .structure svg{
  width: auto;
  height: auto;
}

.content-section .search .search-input {
  border-radius: 10px;
  padding-left: 16px;
  height: 30px;
  font-size: 14px;
  letter-spacing: 1px;
  background: var(--background);
  border: 1px solid #e6e6e6;
  margin-top: 4px;
}

/*--------------------------------------------------------------
# Prediction
--------------------------------------------------------------*/
.prediction .layout-container {
  display: flex;
  position: relative;
}

.prediction .left-panel {
  width: 30%;
  min-width: 20%;
  max-width: 40%;
  padding: 20px 20px 20px 0;
  overflow-y: auto;
  /*height: fit-content;*/
}

.prediction .right-panel {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.prediction .resizer {
  width: 3px;
  border-right: 1px solid rgba(50, 98, 149, 0.1);
  /*background-color: rgba(50, 98, 149, 0.2);*/
  cursor: col-resize;
  position: relative;
  transition: background-color 0.5s;
}

.prediction .resizer:hover {
  background-color: rgba(108, 117, 125, 0.3);
}

.prediction .resizer:active {
  background-color: rgba(108, 117, 125, 0.3);
}

/*.prediction .resizer::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 50%;*/
/*  left: 50%;*/
/*  transform: translate(-50%, -50%);*/
/*  width: 1px;*/
/*  height: 40px;*/
/*  background-color: rgba(50, 98, 149, 0.6);*/
/*  border-radius: 1px;*/
/*}*/

.prediction .content-title {
  color: #495057;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 10px;
  /*margin-bottom: 20px;*/
}

.prediction .node-content {
  display: none;
}

.prediction .node-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.prediction .jstree-default .jstree-clicked {
  background-color: #e3f2fd !important;
  color: #1976d2 !important;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1);
}
.prediction .jstree-default .jstree-hovered {
  background-color: #f5f5f5 !important;
}

.prediction .search-container {
  margin-bottom: 15px;
  position: relative;
  display: flex;
  gap: 10px;
}

.prediction .search-container .form-control {
  padding-left: 40px;
}

.prediction .search-icon {
  position: absolute;
  left: 20px;
  top: 12px;
  color: #6c757d;
  z-index: 5;
}

#tree-search::placeholder {
  /*color: #999;*/
  /*font-size: 14px;*/
  /*font-style: italic;*/
  /*opacity: 1; !* 确保在Firefox中正常显示 *!*/
}

.prediction .search-results {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 5px;
}

.prediction .drug {
  width: 24px;
  height: 24px;
  padding: 2px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-image: url('data:image/png;base64,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');
}

/* 自定义节点按钮样式 */
.jstree-node {
  position: relative;
}

.node-actions {
  /*position: absolute;*/
  /*right: 5px;*/
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
  display: none;
  background: white;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  /*padding: 2px;*/
  z-index: 10;
  border: 1px solid #e9ecef;
  margin-left: 10px;
}

/* 淡入动画 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.node-actions.show {
  display: flex;
  animation: fadeIn 0.3s ease-in-out;
}

.node-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: #6c757d;
  margin: 0 1px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}

.node-action-btn:hover {
  background: #f8f9fa;
  color: #495057;
}
.node-action-btn.comparison:hover {
  color: var(--primary);
  background: var(--background);
}

/* 当前选中节点样式 */
.current-selected {
  background-color: #e3f2fd !important;
  border-left: 3px solid #1976d2 !important;
}

/* 悬停节点样式 */
.jstree-hovered-node {
  display: flex;
  background-color: #f8f9fa !important;
}

.jstree-default .jstree-hovered {
  box-shadow: none !important;
}

.jstree-default .jstree-search {
  color: var(--primary) !important;
  background-color: rgba(253, 190, 2, 0.2) !important;
}

/* 空状态样式 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  flex: 1;
  text-align: center;
  color: #6c757d;
  height: 100%;
  padding: 12vh;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--third);
  opacity: 0.7;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(5, 107, 216, 0.8);
  margin-bottom: 15px;
  white-space: nowrap;
}

.empty-state-text {
  font-size: 12px;
  line-height: 1.5;
  color: #6c757d;
  white-space: nowrap;
}

.empty-state.show {
  display: flex;
}

.content-section .drug-card,
.content-section .drug-card-group .drug-card
{
  width: 50%;
  position: relative;
  background: var(--background);
  border-radius: 10px;
  border: 1px solid #e9ecef;
  padding: 15px;
  box-shadow: 0 5px 10px 0 rgba(68, 88, 144, 0.05);
}

.content-section .drug-card-group {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
}

.content-section .drug-card-title {
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: inline-flex;
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap
}

.content-section .drug-card-content {
  justify-content: space-around;
  align-items: center;
  display: inline-flex
}

.content-section .drug-card-content-left {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  display: inline-flex;
  gap: 5px;
  /*border-right: 1px solid #ccc;*/
  /*padding-right: 24px*/
}

.content-section .drug-card-content-right {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  /*padding-left: 24px;*/
  /*white-space: nowrap;*/
}

.content-section #toolbar1,
.content-section #toolbar2,
.content-section #toolbar3 {
  display: flex;
  /*justify-content: space-between;*/
  align-items: center;
  padding: 10px;
}

#comparison-full1, #comparison-full2 {
  // 淡入
  animation: fadeIn 0.5s ease-in-out;
}

#comparison-empty {
  // 淡出
  animation: fadeOut 0.5s ease-in-out;
}

/*--------------------------------------------------------------
# Chat
--------------------------------------------------------------*/
/* 聊天容器 */
#chat-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.chat .layout-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat .input-btn {
  border: none;
  background-color: var(--primary);
  color: white !important;
  padding: 10px;
  border-radius: 50% !important;
}

.chat .input-btn:disabled {
  cursor: not-allowed;
  background-color: #ccc;
}

.chat .new-chat-btn {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  padding: 11px 15px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 20px;
  color: #a5a5a5;
  background-color: white;
}

.chat .new-chat-btn:hover {
  background-color: var(--background);
}

.chat .new-chat-btn:disabled {
  cursor: not-allowed;
  background-color: #ececec;
}

.chat-messages {
  /*height: 70vh;*/
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: white;
  padding: 10px;
}

/* 消息区域 */
#messages {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scroll-behavior: smooth; /* 可选：平滑滚动 */
  background: white;
  border-radius: 10px;
}

/* 消息气泡 */
.message {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 80%;
  animation: fadeIn 0.3s ease;
}

.assistant {
  align-self: flex-start;
}

.user {
  align-self: flex-end;
  /*flex-direction: row-reverse; */
}

/* 头像 */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ddd;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 消息内容 */
.message-content {
  padding: 15px 20px;
  border-radius: 10px;
  position: relative;
  /*min-width: 120px;*/
}

.user .message-content {
  background: rgba(237, 237, 237, 0.6);
  border-color: rgba(237, 237, 237, 0.5);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
  max-width: 100vh;
  margin: 10px;
}

.assistant .message-content {
  background: var(--background);
  border-color: var(--background);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
  max-width: 100vh;
  margin: 10px;
  /*display: flex;*/
  /*flex-direction: column;*/
}

/* Markdown样式 */
.markdown-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.6;
  font-size: 12px;
  width: 100%;
}

.markdown-body :is(h1, h2, h3) {
  margin: 1.2em 0 0.6em;
  border-bottom: 1px solid #eee;
}

.markdown-body pre {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 10px 0;
}

.markdown-body code {
  padding: 2px 4px;
  background: #f1f3f5;
  border-radius: 4px;
}

.markdown-body p {
  margin: 0.2em 0;
}

.markdown-body ol {
  margin: 0.2em 0;
}

.markdown-body code {
  white-space: break-spaces;
}

/* 加载动画 */
.loading-dots {
  /*position: absolute;*/
  /*right: -30px;*/
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
  padding-left: 20px;
  display: flex;
  gap: 4px;
}

.loading-dot {
  width: 6px;
  height: 6px;
  background: #999;
  border-radius: 50%;
  animation: bounce 1.4s infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* 输入区域 */
#input-container {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
  padding: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.textarea-wrapper {
  display: flex;
  align-items: center; /* 垂直居中 */
  height: auto;        /* 自动高度 */
  width: 100%;
  min-height: 40px;    /* 最小高度 */
  max-height: 200px;   /* 最大高度 */
  overflow-y: hidden;    /* 溢出时显示滚动条 */
}

#user-input {
  width: 100%;
  height: auto;
  padding: 4px 16px;
  border: none;
  /*border-radius: 10px;*/
  font-size: 12px;
  outline: none;
  resize: none; /* 禁用拖拽调整 */
  min-height: 40px;    /* 最小高度 */
  max-height: 150px;
  line-height: 1.6;
  white-space: pre-wrap; /* 保留换行格式 */
  overflow-y: hidden;    /* 溢出时显示滚动条 */
}

#user-input:focus {
  border: none;
  box-shadow: none;
}

#send-button {
  display: flex;
}

#cancel-button {
  display: none;
}

button {
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover { opacity: 0.9; }
button:active { opacity: 0.8; }

.btn-icon-only {
  padding: 10px;
}
.rounded-circle {
  border-radius: 50% !important;
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeInOut {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUpBox {
  0% {
    opacity: 0.4;
    -webkit-transform: translate3d(-30px, 0, -40px);
    transform: translate3d(-30px, 0, -40px)
  }

  60% {
    opacity: 1
  }
}

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.katex {
  font-size: 1.5em !important;
}

.katex-display {
  margin: 1em 0;
}

/* 上传相关样式 */
.upload-wrapper {
  position: relative;
  display: flex;
}

#image-input {
  display: none;
}

.upload-button {
  padding: 12px 24px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.upload-button:hover {
  opacity: 0.9;
}

.upload-button:active {
  opacity: 0.8;
}

.upload-preview {
  max-width: 200px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.progress-bar {
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}

.progress {
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.image-preview {
  margin: 10px;
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(1, 74, 67, 0.1);
}

.image-preview:hover {
  box-shadow: 0 0 0 3px rgba(1, 74, 67, 0.3);
}

.image-thumbnail {
  max-width: 100px;
  max-height: 100px;
  padding: .25rem;
  background-color: #fff;
  border: .0625rem solid #dee2e6;
  border-radius: .375rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
  height: auto;
  cursor: zoom-in;
}

.image-msg {
  max-width: 100px;
  max-height: 100px;
  margin: 10px;
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(1, 74, 67, 0.1);
}

.image-msg:hover {
  box-shadow: 0 0 0 3px rgba(1, 74, 67, 0.3);
}

.image-container {
  background-color: #e9ecef;
  align-items: center;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 10px;
}

#image-close-button {
  opacity: 0.6;
}

#image-close-button:hover {
  opacity: 1;
}

.responsive-table {
  width: 100%; /* 表格宽度占满父容器 */
  max-width: 100%; /* 确保不超过父容器宽度 */
  border-collapse: collapse;
  table-layout: fixed; /* 固定表格布局，防止内容撑开 */
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
  word-wrap: break-word; /* 处理长文本换行 */
}

.markdown-body hr {
  width: 100%;
  border-bottom: 1px solid rgba(50, 98, 149, 0.2);
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.3;
  background: white;
  border: 1px solid var(--primary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
  max-width: 100%; /* 确保不超过父容器宽度 */
  /*table-layout: fixed; !* 固定表格布局，防止内容撑开 *!*/
}

.markdown-body thead {
  background: linear-gradient(200deg, var(--primary) 0%, var(--secondary) 100%);
}

.markdown-body th {
  padding: 10px 10px;
  text-align: center;
  font-weight: 600;
  color: white;
  border: none;
  font-size: 12px;
  /*white-space: nowrap;*/
  align-self: center;
  word-wrap: break-word; /* 处理长文本换行 */
}

.markdown-body td {
  padding: 10px 10px;
  border-bottom: 1px solid #e8f4f8;
  /*white-space: nowrap;*/
  color: #495057;
  word-wrap: break-word; /* 处理长文本换行 */
}

.markdown-body tbody tr:nth-child(even) {
  background-color: #f8fdfe;
}

.markdown-body tbody tr {
  border-left: 3px solid transparent;
}

.markdown-body tbody tr:hover {
  background-color: var(--background);
  border-left: 3px solid var(--primary);
}

.markdown-body tbody tr:last-child td {
  border-bottom: none;
}

/* 为概率列添加特殊样式 */
.markdown-body td:nth-child(6) {
  font-weight: 600;
  text-align: center;
  color: #dc3545;
}

/*--------------------------------------------------------------
# Autocomplete
--------------------------------------------------------------*/
.autocomplete-container .autocomplete-list,
.autocomplete-container .autocomplete-list-down {
  position: absolute;
  top: 100%;
  left: 2.5%;
  right: 0;
  background: white;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0.1rem 0.1rem 0.375rem 0.375rem;
  max-height: 500px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 95%;
}

.autocomplete-container .autocomplete-list-down0 {
  position: absolute;
  left: 2.5%;
  right: 0;
  background: white;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0.1rem 0.1rem 0.375rem 0.375rem;
  max-height: 500px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 95%;
}

.autocomplete-container .autocomplete-list-up {
  position: absolute;
  bottom: 130%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ced4da;
  border-bottom: none;
  border-radius: 0.375rem 0.375rem 0.1rem 0.1rem ;
  max-height: 500px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.autocomplete-container .autocomplete-list-up0 {
  position: absolute;
  bottom: 50%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ced4da;
  border-bottom: none;
  border-radius: 0.375rem 0.375rem 0.1rem 0.1rem ;
  max-height: 500px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.autocomplete-container .autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eaeaea;
}

.autocomplete-container .autocomplete-item:hover, .autocomplete-item.active {
  background-color: var(--background);
}

.autocomplete-container .autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-container .autocomplete-item .disabled-item-text {
  display: none;
}

.autocomplete-container .autocomplete-item.disabled-item .disabled-item-text {
  color: #f47d00;
  font-size: 12px;
  font-style: italic;
  display: block;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.autocomplete-container .autocomplete-item.disabled-item {
  color: #ccc;
  cursor: not-allowed;
}

.autocomplete-container .autocomplete-item.disabled-item small {
  color: #ccc !important;
}

.autocomplete-container .autocomplete-item.disabled-item .bold-font {
  color: #ccc !important;
}

.autocomplete-container .autocomplete-item .icon {
  position: absolute;
  left: 10px;
  top: calc(30%);
}

.autocomplete-container .autocomplete-item .icon img {
  width: 20px;
  height: 27px;
}

.autocomplete-container .autocomplete-item.disabled-item .icon img {
  width: 20px;
  height: 27px;
  opacity: 0.3;
}

.autocomplete-container .highlight {
  background-color: yellow;
  font-weight: bold;
}

.autocomplete-container .search-close {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.autocomplete-container .form-control:disabled,
.autocomplete-container .form-control[readonly] {
  background-color: rgba(233, 236, 239, 0.3);
  border-radius: 15px;
}

.prediction-detail-iframe-outer,
.network-detail-iframe-outer
{
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 100%;
  height: 100%;
}

.prediction-detail-iframe-outer iframe,
.network-detail-iframe-outer iframe
{
  /* 主要样式：移除所有边框 */
  /* 确保边框宽度为0 */
  border: 0 none;
  box-shadow: none;      /* 移除可能存在的阴影效果 */
}

/* 仅表头 */
.adr-table th {
  font-size: 14px;
}

/* 仅表格内容单元格 */
.adr-table td {
  font-size: 12px;
}

.adr-table tbody tr {
  border-left: 2px solid transparent;
}

.adr-table tbody tr:hover {
  background-color: var(--background);
  border-left: 2px solid var(--primary);
}

.dropdown-menu {
  font-size: 12px;
  color: #212529;
}

.page-link {
  font-size: 12px;
  padding: 5px 8px;
}

.pagination-info
{
  font-size: 12px;
}

.page-size
{
  font-size: 12px;
}

.page-list {
  font-size: 12px;
}

.page-list .btn {
  padding: 1px 8px;
  border: 1px solid var(--third);
}

.page-list .btn:hover {
  border: 1px solid var(--third) !important;
}

.page-list .dropdown-menu {
  min-width: 50px;
}

.leaf-node-disabled {
  /*color: #ba0026 !important;*/
}

.btn-filter {
  border: 1px solid #ced4da;
  border-radius: 10px;
  color: #212529;
}

.btn-filter:focus {
  box-shadow: none;
}

.layui-alert-primary .layui-layer-btn0 {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: white;
}

.layui-alert-primary .layui-layer-btn0:hover {
  color: white;
}

.layui-alert-primary .layui-layer-close2:hover {
  opacity: unset;
  background-color: var(--primary);
}

.white-space {
  white-space: nowrap;
}

.bold-font {
  font-weight: 700;
  color: #494c4e;
}

.similarity {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary)
}

.similarity strong{
  font-size: 12px;
  font-weight: bold;
  color: #212529
}

@media (max-width: 1366px) {
  #hero {
    height: 80vh;
    padding-top: 88px;
  }

  #hero .container {
    padding-top: 160px;
    padding-bottom: 40px;
  }

  .search .search-input-container {
    width: 80vh !important;
  }

}

@media (max-width: 800px) {
  .prediction .right-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .content-section .drug-card-group {
    flex-direction: column;
  }

  .content-section .drug-card-group .drug-card {
    width: 80% !important;
  }
}
