* {
  box-sizing: border-box;
}

.toast-top-right {
  top: 100px !important;
}

.box-circle {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1rem;
}

.logo-img {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 1.2rem;
  margin-left: 0.625rem;
  font-weight: bolder;
  font-family: 'Google Sans', sans-serif;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.logo-text:hover {
  color: #669df6;
  text-decoration: none;
  transform: scale(1.05);
}

.flex-content {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
}

.flex-sidebar {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.navBottom {
  width: 90%;
  position: absolute;
  bottom: 0;
  box-sizing: border-box;
}

.navBottom-item {
  border-top: 1px solid #363f44;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 1rem;
  color: #777;
  box-sizing: border-box;
  cursor: pointer;
}

.navBottom-item > p {
  margin: 0;
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.navBottom-item:hover {
  /* color: #6796bd; */
}

.guideCard {
  width: 100%;
  padding: 1rem 2rem 0.5rem;
  border-radius: 0.6rem;
  /* margin-left: 1rem; */
}

.card-title {
  /* font-size: 1.1rem; */
}

.btnItem {
  font-size: 0.8rem;
  color: rgb(245, 169, 29, 0.8);
  cursor: pointer;
}

.deleteItem {
  /* background-color: rgb(250, 37, 37, 0.8); */
  color: rgba(231, 43, 43, 0.8);
}

.content-wrapper {
  /* width: calc(100vw - 250px); */
  display: flex;
  align-items: flex-start;
}

.empty-state {
  width: 100%;
  height: 100%;
  display: none;
  margin-top: 1rem;
  padding: 6rem 1.5rem;
  /* background: #fff; */
  border: 1px solid #d2dff3;
  border-radius: 0.5rem;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.dark-content .empty-state {
  border: 1px solid #44484e;
}
.empty-state.show {
  display: block;
  opacity: 1;
}
.empty-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto;
  border: 2px solid #8cabdf;
  border-radius: 50%;
  color: #8cabdf;
  font-weight: bold;
  line-height: 2.3rem;
}

.empty-text {
  margin-top: 0.8rem;
  color: #777;
}

/* .guideCard p{
  color: red;
} */
/* 弹窗基础样式 */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 2rem;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: all 0.3s ease;
}

.modal.show {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

.modal-title {
  font-size: 1.25rem;
  color: #3b3b3b;
  /* 标题深灰 */
  margin-bottom: 1.5rem;
  text-align: center;
}

.warning-text {
  color: #777;
  font-size: 0.9rem;
  margin: 1.6rem 0;
}

.key-display {
  /* height: 4rem;
  line-height: 4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.4rem;
  margin: 1.6rem 0; */
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.btn-group {
  display: flex;
  gap: 1.6rem;
  margin-top: 2rem;
}

.copy-btn,
.close-btn {
  padding: 0.5rem 1rem;
  background: #8cabdf;
  color: #fff;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.close-btn {
  background: #777;
}

.btn-group button:hover {
  opacity: 0.8;
}

/* -------------明亮模式-------------- */
.sidebar-light-primary .active-item {
  background-color: #f1f5f9;
  color: #1170ff !important;
  border-radius: 0.25rem;
}

.sidebar-light-primary .nav-pills .active-item > .nav-link {
  color: #1170ff !important;
}

.sidebar-light-primary .navBottom-item {
  border-color: #f1f5f9;
}

/* .light-content{ */
/* width: 100%;
  background-color: #fff;
  min-height: 70vh;
  border-radius: 1rem; */
/* margin-top: 1rem; */
/* } */
.light-content .guideCard {
  background-color: #fff !important;
  color: #777;
}

.light-content .add-btn {
  background-color: #7e9fd8;
}

/* ---------------暗黑模式-------------- */
.sidebar-dark-primary .active-item {
  background-color: #303c47;
  color: #242b36 !important;
  border-radius: 0.25rem;
}

.add-btn {
  width: fit-content;
  padding: 0.5rem 0.7rem;
  border-radius: 0.25rem;
  color: #fff;
  /* margin-left: 1rem; */
  margin-top: 1rem;
  cursor: pointer;
}

.sidebar-dark-primary .nav-pills .active-item > .nav-link {
  color: #8ab4f8 !important;
}

.dark-content .add-btn {
  background-color: #3c5c8f;
}
.dark-content .delete-btn {
  background-color: #d84f4f;
}

.dark-content .guideCard {
  background-color: #303c47 !important;
  color: #dfe0e2;
}

.dark-content .modalPop {
  background-color: #202124 !important;
}

.dark-content #modalTitle {
  color: #fff;
}

.dark-content #keyTable {
  background-color: #46484b;
}
.dark-content #keyTable td {
  color: #dfe0e2;
}

.dark-content #keyTable th {
  background-color: #2e3336;
  color: #fff;
}

.dark-content #confirmBtn {
  background-color: #3c5c8f;
}

.dark-content .empty-state {
  /* background-color: #303c47; */
  /* border-color: #1e2124; */
  color: #dfe0e2;
}

.dark-content #keyTable tr:nth-child(even) {
  background-color: #515558;
  color: #dfe0e2;
}

.dark-content #keyTable .edit-btn {
  background-color: #3c5c8f;
}

.dark-content #keyTable tr:hover {
  background-color: #5e6366;
  /*  hover 时浅蓝灰背景 */
}

.dark-content .empty-text {
  color: #dfe0e2;
}

.dark-content .modal-title {
  color: #dfe0e2;
}

.dark-content .copy-btn {
  background-color: #3c5c8f;
}

.text-bottom {
  font-size: 0.8rem;
}

.pushmenu-box {
  position: relative;
}

.pushmenu-box .pushmenu-image {
  width: 20px;
  height: 20px;
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.is-vip-container {
  position: absolute;
}

.is-vip-container .is-vip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  width: 24px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: yellow;
  border-radius: 6px;
}

.is-vip-container .is-vip img {
  width: 26px;
  position: relative;
}

footer.main-footer,
.null-foot {
  background-color: #f4f6f9 !important;
}

footer.main-footer nav,
.null-foot nav {
  background-color: #f4f6f9 !important;
}

footer.main-footer ul,
.null-foot ul {
  background-color: transparent !important;
}

footer.main-footer ul li,
.null-foot ul li {
  background-color: transparent !important;
}

.main-sidebar {
  z-index: 999999999 !important;
}

.light-mode .btn-primary {
  color: #fff !important;
}

.elevation-4 {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 1px rgba(0, 0, 0, 0.22) !important;
}

.tool-nav-box {
  padding: 0;
}

.tool-nav-box h5 {
  font-size: 16px;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .lw-stc {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.control-sidebar-open.control-sidebar-push .content-wrapper,
.control-sidebar-open.control-sidebar-push .main-footer,
.control-sidebar-open.control-sidebar-push-slide .content-wrapper,
.control-sidebar-open.control-sidebar-push-slide .main-footer {
  margin-right: 384px;
  transition: margin-right 0.3s ease-in-out !important;
}

.control-sidebar-slide-open.control-sidebar-push .content-wrapper,
.control-sidebar-slide-open.control-sidebar-push .main-footer,
.control-sidebar-slide-open.control-sidebar-push-slide .content-wrapper,
.control-sidebar-slide-open.control-sidebar-push-slide .main-footer {
  transition: margin-right 0.3s ease-in-out !important;
  margin-right: 384px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 10px;
  /* 列之间的间距 */
}

.grid-span {
  grid-column: span 24;
}

.info {
  text-indent: 2em;
}

.text-right {
  text-align: right;
}

.flex-1 {
  flex: 1;
}

@media (min-width: 576px) {
  .span-sm-1 {
    grid-column: span 1;
  }

  .span-sm-2 {
    grid-column: span 2;
  }

  .span-sm-3 {
    grid-column: span 3;
  }

  .span-sm-4 {
    grid-column: span 4;
  }

  .span-sm-5 {
    grid-column: span 5;
  }

  .span-sm-6 {
    grid-column: span 6;
  }

  .span-sm-7 {
    grid-column: span 7;
  }

  .span-sm-8 {
    grid-column: span 8;
  }

  .span-sm-9 {
    grid-column: span 9;
  }

  .span-sm-10 {
    grid-column: span 10;
  }

  .span-sm-11 {
    grid-column: span 11;
  }

  .span-sm-12 {
    grid-column: span 12;
  }

  .span-sm-13 {
    grid-column: span 13;
  }

  .span-sm-14 {
    grid-column: span 14;
  }

  .span-sm-15 {
    grid-column: span 15;
  }

  .span-sm-16 {
    grid-column: span 16;
  }

  .span-sm-17 {
    grid-column: span 17;
  }

  .span-sm-18 {
    grid-column: span 18;
  }

  .span-sm-19 {
    grid-column: span 19;
  }

  .span-sm-20 {
    grid-column: span 20;
  }

  .span-sm-21 {
    grid-column: span 21;
  }

  .span-sm-22 {
    grid-column: span 22;
  }

  .span-sm-23 {
    grid-column: span 23;
  }

  .span-sm-24 {
    grid-column: span 24;
  }
}

.gap-y {
  gap: 0 20px;
}

.text-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-width: 100%;
  display: inline-block;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .span-md-1 {
    grid-column: span 1;
  }

  .span-md-2 {
    grid-column: span 2;
  }

  .span-md-3 {
    grid-column: span 3;
  }

  .span-md-4 {
    grid-column: span 4;
  }

  .span-md-5 {
    grid-column: span 5;
  }

  .span-md-6 {
    grid-column: span 6;
  }

  .span-md-7 {
    grid-column: span 7;
  }

  .span-md-8 {
    grid-column: span 8;
  }

  .span-md-9 {
    grid-column: span 9;
  }

  .span-md-10 {
    grid-column: span 10;
  }

  .span-md-11 {
    grid-column: span 11;
  }

  .span-md-12 {
    grid-column: span 12;
  }

  .span-md-13 {
    grid-column: span 13;
  }

  .span-md-14 {
    grid-column: span 14;
  }

  .span-md-15 {
    grid-column: span 15;
  }

  .span-md-16 {
    grid-column: span 16;
  }

  .span-md-17 {
    grid-column: span 17;
  }

  .span-md-18 {
    grid-column: span 18;
  }

  .span-md-19 {
    grid-column: span 19;
  }

  .span-md-20 {
    grid-column: span 20;
  }

  .span-md-21 {
    grid-column: span 21;
  }

  .span-md-22 {
    grid-column: span 22;
  }

  .span-md-23 {
    grid-column: span 23;
  }

  .span-md-24 {
    grid-column: span 24;
  }
}

@media (min-width: 1200px) {
  .span-lg-1 {
    grid-column: span 1;
  }

  .span-lg-2 {
    grid-column: span 2;
  }

  .span-lg-3 {
    grid-column: span 3;
  }

  .span-lg-4 {
    grid-column: span 4;
  }

  .span-lg-5 {
    grid-column: span 5;
  }

  .span-lg-6 {
    grid-column: span 6;
  }

  .span-lg-7 {
    grid-column: span 7;
  }

  .span-lg-8 {
    grid-column: span 8;
  }

  .span-lg-9 {
    grid-column: span 9;
  }

  .span-lg-10 {
    grid-column: span 10;
  }

  .span-lg-11 {
    grid-column: span 11;
  }

  .span-lg-12 {
    grid-column: span 12;
  }

  .span-lg-13 {
    grid-column: span 13;
  }

  .span-lg-14 {
    grid-column: span 14;
  }

  .span-lg-15 {
    grid-column: span 15;
  }

  .span-lg-16 {
    grid-column: span 16;
  }

  .span-lg-17 {
    grid-column: span 17;
  }

  .span-lg-18 {
    grid-column: span 18;
  }

  .span-lg-19 {
    grid-column: span 19;
  }

  .span-lg-20 {
    grid-column: span 20;
  }

  .span-lg-21 {
    grid-column: span 21;
  }

  .span-lg-22 {
    grid-column: span 22;
  }

  .span-lg-23 {
    grid-column: span 23;
  }

  .span-lg-24 {
    grid-column: span 24;
  }
}

.tool-sidebar {
  width: 384px;
}

.tool-sidebar::before {
  width: 384px;
}

.tool-title-header-line {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.light-mode .os-content .navbar-light {
  background-color: #fff;
}

.light-mode .main-header.navbar-light {
  background-color: #fff;
}

.home-banner {
  max-width: 550px;
  display: block;
  margin: 0 auto;
}

#key .row {
  text-align: center;
  border-top: 1px solid #f0f0f0;
  border-left: 1px solid #f0f0f0;
}

#key .row .col-6 {
  line-height: 3;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.dark-mode #key .row {
  text-align: center;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

.dark-mode #key .row .col-6 {
  line-height: 3;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  font-size: 14px;
}

#sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 50%;
  padding: 0 !important;
  line-height: 1;
}

#sidebar-close:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.control-sidebar-open.control-sidebar-push .content-wrapper,
.control-sidebar-open.control-sidebar-push .main-footer,
.control-sidebar-open.control-sidebar-push-slide .content-wrapper,
.control-sidebar-open.control-sidebar-push-slide .main-footer {
  margin-right: 384px !important;
  transition: margin 0.3s;
}

.tools-right {
  position: fixed;
  right: 8px;
  bottom: 50px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools-right .btn-outline-dark {
  border: #444 !important;
}

.op-8 {
  opacity: 0.8;
}

.btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.btn-circle > span {
  font-size: 24px;
}

.dark-mode .btn-circle {
  border-color: #fff;
  background-color: #444;
}

::-webkit-scrollbar {
  width: 8px;
  /* 垂直滚动条宽度 */
}

::-webkit-scrollbar {
  cursor: pointer;
  width: 8px !important;
  height: 8px !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background-color: rgba(199, 209, 219, 0.7) !important;
}

.dark-html-scroll ::-webkit-scrollbar-thumb {
  background-color: #202124 !important;
}

.dark-html-scroll .dark {
  --w-e-textarea-bg-color: #202123;
  --w-e-toolbar-bg-color: #202123;
  --w-e-textarea-color: #fff;
  --w-e-toolbar-color: #fff;
  --w-e-toolbar-border-color: #444;
  --w-e-toolbar-active-bg-color: #666;
}

.dark-html-scroll::-webkit-scrollbar-track,
.dark-html-scroll body::-webkit-scrollbar-track {
  background-color: #1d2125 !important;
}

.dark-html-scroll::-webkit-scrollbar-track-piece,
.dark-html-scroll body::-webkit-scrollbar-track-piece {
  background-color: #1d2125 !important;
}

.gap-1 {
  gap: 10px;
}

.dark-mode .btn-circle span {
  color: #fff;
}

.nav-avatar {
  width: 22px;
}

.lw-hide {
  display: none;
}

.dropdown-item {
  cursor: pointer;
}

.dropdown-item img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
}

.null-foot {
  height: 60px;
  color: rgba(255, 255, 255, 0);
}

.lw-tips {
  color: #999;
  font-size: 14px;
}

#result-default-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-range-box {
  gap: 10px;
}

.light-mode .card .card-header .btn-link {
  color: #333;
}

.light-mode .card .card-header .btn-link-active {
  position: relative;
  color: #007bff;
  font-size: 16px;
}

.light-mode .card .card-header .btn-link-active::after {
  content: ' ';
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  background-color: #007bff;
}

.light-mode .semi-circle-spin {
  border-top-color: #007bff;
}

.link {
  cursor: pointer !important;
  user-select: none;
}

.status-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  line-height: 1.6;
  padding: 0 10px;
  border-radius: 5px;
}

.login-tip-box {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 60px;
  background-color: #fff;
  border-radius: 12px;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-link .icon-vip {
  width: 50px;
  transform: translateY(-6px);
}

.list-group .bi-chevron-down {
  display: none;
}

.list-group .bi-chevron-up {
  display: block;
}

.list-group .collapsed .bi-chevron-down {
  display: block;
}

.list-group .collapsed .bi-chevron-up {
  display: none;
}

.text-black {
  color: #333 !important;
}

.text-deep-blue {
  color: #007bff;
}

.bg-dark-blue {
  background-color: #007bff;
}

.round {
  border-radius: 40px;
}

.bg-dark-blue {
  color: #fff !important;
}

.control-sidebar {
  top: 0px !important;
  bottom: 0 !important;
  z-index: 9999;
}

.nav-pills .nav-link {
  /* color: #838282 !important; */
}

.nav-pills .nav-link.active {
  background-color: transparent !important;
  color: #333 !important;
  box-shadow: none !important;
}

.text-indent {
  text-indent: 2em;
}

.radius {
  border-radius: 5px;
}

.nav-tabs .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.8);
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
}

input:-webkit-autofill {
  background-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-text-fill-color: #333 !important;
}

.dark-mode .border {
  border-color: #444 !important;
}

.dark-mode .text-blue {
  color: #777 !important;
}

.dark-mode footer.main-footer,
.dark-mode .null-foot,
.dark-mode .os-content,
.dark-mode .sidebar,
.dark-mode .os-padding,
.dark-mode .main-sidebar {
  background-color: #202124 !important;
}

.dark-mode footer.main-footer nav,
.dark-mode .null-foot nav,
.dark-mode .os-content nav,
.dark-mode .sidebar nav,
.dark-mode .os-padding nav,
.dark-mode .main-sidebar nav {
  background-color: transparent !important;
}

.dark-mode .os-content,
.dark-mode .os-padding,
.dark-mode .os-resize-observer-host,
.dark-mode .sidebar,
.dark-mode .os-padding,
.dark-mode .main-sidebar {
  background-color: #202123 !important;
  border-color: #202123 !important;
}

.dark-mode .os-content ul,
.dark-mode .os-padding ul,
.dark-mode .os-resize-observer-host ul,
.dark-mode .sidebar ul,
.dark-mode .os-padding ul,
.dark-mode .main-sidebar ul {
  background-color: #202123 !important;
}

.dark-mode .login-tip-box {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  display: none !important;
}

.dark-mode .card .card {
  background-color: rgba(0, 0, 0, 0.4);
}

.dark-mode .text-deep-blue {
  color: #3f6791;
}

.dark-mode .bg-dark-blue {
  background-color: #3f6791 !important;
  color: #fff !important;
}

.dark-mode .text-black {
  color: #fff !important;
}

.dark-mode .bs-popover-left .arrow::after {
  border-left-color: #1e2124;
}

.dark-mode .bs-popover-bottom .arrow::after {
  border-bottom-color: #1e2124;
}

.dark-mode .popover {
  background-color: #1e2124;
}

.dark-mode .popover .popover-body {
  background-color: transparent;
  color: #fff;
}

.dark-mode .list-group .border-top {
  border-color: #555 !important;
}

.dark-mode .list-group .list-item-question {
  color: #fff;
}

.dark-mode .btn-link {
  color: #3f6791;
}

.dark-mode .nav-tabs .nav-link {
  background-color: transparent;
  color: #ccc;
}

.dark-mode .nav-tabs .nav-link.active {
  background-color: #202123;
}

.dark-mode .nav-tabs .nav-link:hover {
  color: #ccc;
  background-color: rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.dark-mode .list-group-item {
  border-color: #666 !important;
}

.dark-mode .nav-pills .nav-link {
  color: #999;
}

.dark-mode .nav-pills .nav-link.active {
  background-color: transparent !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.dark-mode .list-group-item-action {
  color: #fff;
}

.dark-mode .list-group-item-action:active {
  opacity: 0.8;
}

.dark-mode .card .card-header .btn-link {
  color: #fff;
}

.dark-mode .card .card-header .btn-link-active {
  color: #3f6791;
  position: relative;
}

.dark-mode .card .card-header .btn-link-active::after {
  content: ' ';
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  background-color: #3f6791;
}

.dark-mode input:-webkit-autofill {
  background-color: #202123 !important;
  -webkit-box-shadow: 0 0 0px 1000px #202123 inset !important;
  -webkit-text-fill-color: #fff !important;
}

.dark-mode .semi-circle-spin {
  border-top-color: #3f6791;
}

.tool-header-tab {
  height: 56px;
  padding-top: 3px;
}

.tool-header-tab #tool-pills-active {
  content: ' ';
  display: inline-block;
  position: absolute;
  width: 54px;
  bottom: -4px;
  height: 4px;
  display: none;
  transition: left 0.3s ease;
  background-color: #3498db;
}

.tool-header-tab .tools-tab {
  font-size: 22px !important;
}

.tool-header-tab .tools-tab span {
  font-size: 22px !important;
}

.dark-mode .tool-header-tab #tool-pills-active {
  background-color: #3f6791;
}

.custom-file-input:lang(zh) ~ .custom-file-label::after {
  content: '浏览';
}

.custom-file-label::after {
  content: '浏览';
}

.creating-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main-container {
  position: relative;
}

.relative {
  position: relative;
}

/* 圆环旋转动画 */
.semi-circle-spin {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(52, 152, 219, 0.2);
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

hr {
  width: 100%;
  height: 1px;
  border-width: 0;
  color: gray;
  background-color: gray !important;
}

section.content {
  box-sizing: border-box;
  margin-left: 56px !important;
  margin-right: 56px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transition: margin 0.3s ease;
  width: 100%;
}

section.show {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
  transition: margin 0.3s ease;
}

@media (max-width: 768px) {
  section.content {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
}

.input-side {
  width: 4px;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  position: absolute;
  left: calc(0% + 5px);
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.input-side:nth-of-type(2) {
  left: calc(20% + 3px) !important;
  display: block;
}

.input-side:nth-of-type(3) {
  left: 40% !important;
  display: block;
}

.input-side:nth-of-type(4) {
  left: calc(60% - 4px) !important;
  display: block;
}

.input-side:nth-of-type(5) {
  left: calc(80% - 8px) !important;
  display: block;
}

.input-side:nth-of-type(6) {
  left: 100% !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 提示文本样式 */
.tips {
  margin-top: 10px;
  font-size: 16px;
}

.light-mode .light-footer {
  background-color: #f8f9fa;
}

.light-mode .list-group {
  background-color: #f8f9fa;
}

.light-mode .list-group .list-group-item {
  background-color: #f8f9fa;
}

.main-footer .footer,
.index-footer .footer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 20px;
}

.main-footer .footer-item,
.index-footer .footer-item {
  height: 30px;
  line-height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

.main-footer .footer-title,
.index-footer .footer-title {
  height: 50px;
  line-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .main-footer .footer,
  .index-footer .footer {
    grid-template-columns: repeat(1, 1fr);
  }

  .main-footer .footer .footer-columns,
  .index-footer .footer .footer-columns {
    display: flex;
    flex-wrap: wrap;
  }

  .main-footer .footer .footer-title,
  .index-footer .footer .footer-title {
    display: block;
  }

  .main-footer .footer .footer-item,
  .index-footer .footer .footer-item {
    display: inline-block;
  }
}

textarea {
  border: none !important;
}

textarea::before,
textarea::after {
  border: none !important;
}

/* 下拉选择器公共样式 */
.navbar-nav .dropdown-menu {
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(140, 171, 223, 0.2);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: block;
  visibility: hidden;
}

.navbar-nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
}

.navbar-nav .dropdown-item {
  padding: 10px 15px;
  transition: all 0.2s ease;
  /* color: #333; */
}

.navbar-nav .dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--primary);
  padding-left: 20px;
}

.navbar-nav .dropdown-item.active {
  /* background-color: var(--primary); */
  /* color: white; */
}

.navbar-nav .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.navbar-nav .show.dropdown-toggle::after {
  transform: rotate(180deg);
}

.qr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  /* background-color: #fff; */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000000000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qr-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.qr-modal-content {
  background-color: white;
  border-radius: 10px;
  width: 30rem;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.qr-modal-overlay.active .qr-modal-content {
  transform: translateY(0);
}

.qr-modal-header {
  background-color: var(--primary-color);
  /* color: white; */
  padding: 2rem;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qr-modal-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.qr-close-icon {
  background: none;
  border: none;
  color: #333;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.qr-modal-body {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-modal-footer {
  padding: 5px 20px;
  /* background-color: var(--light-color); */
  border-radius: 0 0 10px 10px;
  text-align: right;
}
.qr-callcloseBtn {
  background-color: #8cabdf;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 30px auto;
  /* display: block; */
  /* float: right; */
}

.qr-callcloseBtn:hover {
  background-color: #7a9bcf;
}
.sidebar-dark-primary .qr-callcloseBtn {
  background-color: #3c5c8f;
}
.sidebar-dark-primary .qr-modal-title,
.sidebar-dark-primary .qr-close-icon {
  color: #fff;
}
.sidebar-dark-primary .qr-modal-content {
  background-color: #2e3336;
}
/* 清除自动填充的背景色 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--primary-text) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* 对于暗黑模式的支持 */
.dark-mode input:-webkit-autofill,
.dark-mode input:-webkit-autofill:hover,
.dark-mode input:-webkit-autofill:focus,
.dark-mode input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--primary-text) !important;
}
