/* width */
.swiper-slide::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.swiper-slide::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.swiper-slide::-webkit-scrollbar-thumb {
  background: #856429;
  border-radius: 10px;
}

/* Handle on hover */
.swiper-slide::-webkit-scrollbar-thumb:hover {
  background: #9c7531;
}


.dropdown,
.dropdown-toggle {
  position: relative;
  z-index: 3000;
}



.ds-arrow {
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  position: absolute;
  z-index: 3000;
  bottom: 5px;
  top: auto;
  cursor: pointer;
  width: 0;
  height: 0;
  border-style: solid;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

}

.ds-arrow.ds-arrow-next {
  right: 10px;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent #bb5858;
}

.ds-arrow.ds-arrow-prev {
  left: 10px;
  width: 0;
  border-width: 20px 20px 20px 0;
  border-color: transparent rgb(250, 142, 19) transparent transparent;
}

#ds-nav .ds-dot .ds-tooltip {
  position: absolute;
  top: -2px;
  color: rgba(59, 3, 119, 0.73);
  font-size: 14px;
  font-family: sans-serif, arial, helvetica, Microsoft JhengHei;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  display: block;
  opacity: 0;
  width: 0;
  cursor: pointer;
}

.blue-btn {
  position: relative;
  text-decoration: none;
  display: inline-block;
  /* important */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blue-btn,
.first-link {
  -webkit-transition: 6s;
  -moz-transition: 6s;
  -webkit-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  transition-timing-function: linear;
}

.blue-btn {
  overflow: hidden;
  width: 122px;
}

.blue-btn:hover {
  text-decoration: none;
}

.first-link {
  margin-left: 0em;
}

.blue-btn:hover .first-link {
  margin-left: -150px;
}

html,
body {
  background-color: black;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.jj_loader {
  position: relative;
  top: 45%;
  margin: -10px auto;

  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid blue;
  border-right: 16px solid green;
  border-bottom: 16px solid red;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*
@media (min-width: 1200px)
.container {
    width: 100%;
}
*/

#d3-nav-icon {
  width: 55px;
  height: 45px;
  position: fixed;
  top: 25px;
  /* left: 25px; */
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 1s ease-in-out;
  -moz-transition: 1s ease-in-out;
  -o-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
  cursor: pointer;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

.readonly {
  pointer-events: none;
}

.jc1,
.w3-amber,
.w3-hover-amber:hover {
  color: #000 !important;
  background-color: #ffc107 !important
}

.jc2,
.w3-aqua,
.w3-hover-aqua:hover {
  color: #000 !important;
  background-color: #00ffff !important
}

.jc3,
.w3-blue,
.w3-hover-blue:hover {
  color: #fff !important;
  background-color: #2196F3 !important
}

.jc4,
.w3-light-blue,
.w3-hover-light-blue:hover {
  color: #000 !important;
  background-color: #87CEEB !important
}

.jc5,
.w3-brown,
.w3-hover-brown:hover {
  color: #fff !important;
  background-color: #795548 !important
}

.jc6,
.w3-cyan,
.w3-hover-cyan:hover {
  color: #000 !important;
  background-color: #00bcd4 !important
}

.jc7,
.w3-blue-grey,
.w3-hover-blue-grey:hover,
.w3-blue-gray,
.w3-hover-blue-gray:hover {
  color: #fff !important;
  background-color: #607d8b !important
}

.jc8,
.w3-green,
.w3-hover-green:hover {
  color: #fff !important;
  background-color: #4CAF50 !important
}

.jc9,
.w3-light-green,
.w3-hover-light-green:hover {
  color: #000 !important;
  background-color: #8bc34a !important
}

.jc10,
.w3-indigo,
.w3-hover-indigo:hover {
  color: #fff !important;
  background-color: #3f51b5 !important
}

.jc11,
.w3-khaki,
.w3-hover-khaki:hover {
  color: #000 !important;
  background-color: #f0e68c !important
}

.jc12,
.w3-lime,
.w3-hover-lime:hover {
  color: #000 !important;
  background-color: #cddc39 !important
}

.jc13,
.w3-orange,
.w3-hover-orange:hover {
  color: #000 !important;
  background-color: #ff9800 !important
}

.jc14,
.w3-deep-orange,
.w3-hover-deep-orange:hover {
  color: #fff !important;
  background-color: #ff5722 !important
}

.jc15,
.w3-pink,
.w3-hover-pink:hover {
  color: #fff !important;
  background-color: #e91e63 !important
}

.jc16,
.w3-purple,
.w3-hover-purple:hover {
  color: #fff !important;
  background-color: #9c27b0 !important
}

.jc17,
.w3-deep-purple,
.w3-hover-deep-purple:hover {
  color: #fff !important;
  background-color: #673ab7 !important
}

.jc18,
.w3-red,
.w3-hover-red:hover {
  color: #fff !important;
  background-color: #f44336 !important
}

.jc19,
.w3-sand,
.w3-hover-sand:hover {
  color: #000 !important;
  background-color: #fdf5e6 !important
}

.jc20,
.w3-teal,
.w3-hover-teal:hover {
  color: #fff !important;
  background-color: #009688 !important
}

.jc21,
.w3-yellow,
.w3-hover-yellow:hover {
  color: #000 !important;
  background-color: #ffeb3b !important
}

.jc22,
.w3-white,
.w3-hover-white:hover {
  color: #000 !important;
  background-color: #fff !important
}

.jc23,
.w3-black,
.w3-hover-black:hover {
  color: #fff !important;
  background-color: #000 !important
}

.jc24,
.w3-grey,
.w3-hover-grey:hover,
.w3-gray,
.w3-hover-gray:hover {
  color: #000 !important;
  background-color: #9e9e9e !important
}

.jc25,
.w3-light-grey,
.w3-hover-light-grey:hover,
.w3-light-gray,
.w3-hover-light-gray:hover {
  color: #000 !important;
  background-color: #f1f1f1 !important
}

.jc26,
.w3-dark-grey,
.w3-hover-dark-grey:hover,
.w3-dark-gray,
.w3-hover-dark-gray:hover {
  color: #fff !important;
  background-color: #616161 !important
}

.jc27,
.w3-pale-red,
.w3-hover-pale-red:hover {
  color: #000 !important;
  background-color: #ffdddd !important
}

.jc28,
.w3-pale-green,
.w3-hover-pale-green:hover {
  color: #000 !important;
  background-color: #ddffdd !important
}

.jc29,
.w3-pale-yellow,
.w3-hover-pale-yellow:hover {
  color: #000 !important;
  background-color: #ffffcc !important
}

.jc30,
.w3-pale-blue,
.w3-hover-pale-blue:hover {
  color: #000 !important;
  background-color: #ddffff !important
}

.globalinfo {}

.ginf_content {}

.ui-datepicker-inline {
  width: 100%;
}

.tri-state-toggle {
  background: rgba(165, 170, 174, 0.25);
  box-shadow: inset 0 2px 8px 0 rgba(165, 170, 174, 0.25);
  border-radius: 24px;
  display: inline-block;
  overflow: hidden;
  display: inline-flex;
  flex-direction: row;
  transition: all 500ms ease;
}

.tri-state-toggle-button {
  border-radius: 22px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  background-color: transparent;
  border: 0px solid transparent;
  margin: 4px;
  color: #727C8F;
  cursor: pointer;

  /*    -webkit-transition: all 0.5s ease-in-out;
-moz-transition:    all 0.5s ease-in-out;
-ms-transition:     all 0.5s ease-in-out;
-o-transition:      all 0.5s ease-in-out; */
  transition: all 0.5s ease;
}

.tri-state-toggle-button.active {
  background-image: linear-gradient(-180deg, #fff 0%, #FAFAFA 81%, #F2F2F2 100%);
  border: 1px solid rgba(207, 207, 207, 0.6);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
  color: #6744B1;
  font-weight: 500;
  transition: all .5s ease-in;
}

.tri-state-toggle-button:focus {
  outline: none;
}

.blink-hard {
  animation: blinker 1s step-end infinite;
}

.blink-soft {
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

img {
  max-width: 100%;
}

table.showjudgedata,
table.judgeresult,
table.judgescore {
  margin: 10px;
  width: 100%;
  border-color: #9f2eb1;
}

table.showjudgedata {
  width: 100%;
  background-color: black;
  color: lightskyblue;
}

table.showjudgedata caption {
  background: black;
  color: lightcyan;
  text-align: center;
}

/*
table.showjudgedata tbody,
th,
tr,
td {
  border: 1px solid;
}
*/
table.showjudgedata th {
  background: dimgray;
  position: sticky;
  top: 0;
  /* Don't forget this, required for the stickiness */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

table.showjudgedata .jrgreen {
  background: green;
}

table.showjudgedata .jrred {
  background: red;
}

table.showjudgedata .jryellow {
  background-color: lightyellow;
  color: firebrick;
}

.tw-toggle {
  /* background: #95A5A6; */
  display: inline-block;
  padding: 0px 3px;
  border-radius: 20px;
  position: relative;
  border: 1px solid #95A5A6;
}

.tw-toggle label {
  text-align: center;
  font-family: sans-serif;
  display: inline-block;
  color: #95A5A6;
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
  padding: 0px 3px;
  font-size: 14px;
  /* cursor: pointer; */
}

.tw-toggle input {
  /* display: none; */
  position: absolute;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

.tw-toggle #jj-toggle-none,
#jj-toggle-false,
#jj-toggle-true,
#jj-toggle-normal {
  height: 18px;
  width: 18px;
  line-height: 18px;
  border-radius: 50%;
  background: #fff;
  display: block;
  position: absolute;
  left: 17px;
  top: 0px;
  transition: all 0.3s ease-in-out;
}

.tw-toggle input[value="false"]:checked~#jj-toggle-false {
  background: #e74c3c;
  left: 3px;
  color: #fff;
}

.tw-toggle input[value="normal"]:checked~#jj-toggle-false {
  background: rgb(143, 143, 102);
  left: 3px;
  color: #fff;
}

.tw-toggle input[value="normal"]:checked~#jj-toggle-true {
  background: yellow;
  left: 3px;
  color: #fff;
}

.tw-toggle input[value="true"]:checked~#jj-toggle-true {
  background: #27ae60;
  left: 45px;
}

.tw-toggle input[value="-1"]:checked~#jj-toggle-normal {
  background: rgb(143, 143, 102);
  left: 24px;
}

.tw-toggle input[value="none"]:checked+label,
.tw-toggle input[value="false"]:checked+label,
.tw-toggle input[value="true"]:checked+label {
  color: #fff;
}

.tw-toggle input[value="-1"]:checked+label {
  color: #fff;
}

#mode_toggle {
  padding-top: 3px;
  padding-bottom: 2px;
}

.bootstrap-table .table-dark {
  --bs-table-bg: #1e1e1e;
  --bs-table-color: #e0e0e0;
  --bs-table-hover-bg: #2a2a2a;
  --bs-table-hover-color: #ffffff;
  color: beige;
  font-size: medium;
}

.bootstrap-table .table-dark thead {
  background-color: #2c3034;
  color: #ffffff;
  font-size: medium;
}

.bootstrap-table .table-dark tbody tr:nth-of-type(odd) {
  background-color: rgba(33, 37, 41, 0.8);
}

.bootstrap-table .table-dark tbody tr:nth-of-type(even) {
  background-color: rgba(52, 58, 64, 0.8);
}

.bootstrap-table .table-dark .fixed-table-container {
  background-color: #1e1e1e;
}

.bootstrap-table .table-dark .search input {
  background-color: #2a2a2a;
  color: #e0e0e0;
  border-color: #444;
}

.fa-lg {
  line-height: normal;
}

/* ==========================================================================
   UI refinement (full.html board UI) — bolder pass. CSS-only, additive.
   Delete this whole block to revert. Theme: dark + neon-green rgba(5,255,159).
   ========================================================================== */
:root {
  --jj-accent: rgba(5, 255, 159, 0.9);
  --jj-accent-dim: rgba(5, 255, 159, 0.55);
  --jj-accent-soft: rgba(5, 255, 159, 0.18);
}

.btn,
.c-pointer,
.head i,
#f_header i,
i.btn,
a.btn {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease,
    box-shadow .18s ease, opacity .15s ease, transform .12s ease;
}

.c-pointer {
  cursor: pointer;
}

/* clickable-icon hover: accent + a small pop (scale scoped to icons only) */
.head i:hover,
.c-pointer:hover {
  color: var(--jj-accent);
  opacity: 1;
}

.head i:hover,
i.c-pointer:hover,
.c-pointer.fa:hover {
  transform: scale(1.12);
}

/* spacing */
.head i {
  margin-right: 6px;
}

#f_header i {
  margin: 0 2px;
}

/* buttons: rounding (Bootstrap btn-group rules keep inner corners flat) + tactile hover */
.btn {
  border-radius: 6px;
}

.btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
  transform: translateY(-1px);
}

.btn:active {
  filter: brightness(.95);
  transform: translateY(0);
  box-shadow: none;
}

/* keyboard focus ring */
.btn:focus-visible,
a:focus-visible,
.c-pointer:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--jj-accent-dim);
  outline-offset: 2px;
}

/* section header: subtle accent separator under each panel heading bar */
.card-header {
  border-bottom: 1px solid #444;
  background-color: #2c2c2c;
}

/* text selection */
::selection {
  background: var(--jj-accent-soft);
}

/* modern thin scrollbars for the scroll panels */
.card-body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.card-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .05);
  border-radius: 8px;
}

.card-body::-webkit-scrollbar-thumb {
  background: rgba(5, 255, 159, .35);
  border-radius: 8px;
}

.card-body::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 255, 159, .55);
}

/* ===================== end UI refinement ===================== */
/* ==========================================================================
   Light theme — toggled by #sw_theme (.theme-light on <html>). Derived from the
   dark rules in board.css/kk.css/sidemenu.css/jj.css so coverage is balanced.
   Remove this block + the toggle markup/script in the HTML to revert.
   ========================================================================== */
html.theme-light,
html.theme-light body {
  background-color: #d4dbe3 !important;
  color: #1f2937 !important;
}

.theme-light .f_alive {
  color: rgba(11, 143, 94, .9) !important;
}

.theme-light .f_alert {
  color: rgba(200, 0, 0, .75) !important;
}

.theme-light .f_neutral {
  color: rgba(31, 41, 55, .55) !important;
}

.theme-light #go_home,
.theme-light #go_score,
.theme-light #go_user,
.theme-light #sw_theme,
.theme-light #sw_notify,
.theme-light #sw_tnotify,
.theme-light #sw_speech,
.theme-light #filebrowser {
  color: rgba(11, 143, 94, .9) !important;
}

.theme-light #rtcstate {
  color: rgba(31, 41, 55, .5);
}

.theme-light #diceBot {
  color: rgba(124, 58, 173, .9) !important;
}

.theme-light body a {
  color: #c2410c !important;
}

.theme-light input,
.theme-light textarea,
.theme-light select,
.theme-light .form-control {
  background-color: #e7ebf0 !important;
  color: #1f2937 !important;
  border-color: #cdd5df !important;
}

.theme-light .card-header {
  border-bottom-color: rgba(11, 143, 94, .25) !important;
}

.theme-light body a:hover {
  color: #0070ff !important;
}

.theme-light .card-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .05);
}

.theme-light .card-body::-webkit-scrollbar-thumb {
  background: rgba(11, 143, 94, .4);
}

.theme-light ::selection {
  background: rgba(11, 143, 94, .18);
}

.theme-light .button-active .button-bg {
  background-color: #dde3ea !important;
}

.theme-light

/* Global Styles */
.text-vertical-center {
  color: #1f2937 !important;
}

.theme-light .btn-dark {
  background-color: #e7ebf0 !important;
}

.theme-light .btn-dark:hover,
.theme-light .btn-dark:focus,
.theme-light .btn-dark:active {
  background-color: #e7ebf0 !important;
}

.theme-light h2.white,
.theme-light h3.white,
.theme-light h4.white {
  color: #1f2937 !important;
}

.theme-light h3.blue {
  color: #1f2937 !important;
}

.theme-light blockquote.education {
  color: #1f2937 !important;
}

.theme-light blockquote.educationtaiwan {
  color: #1f2937 !important;
}

.theme-light h2.cwhite {
  color: #1f2937 !important;
}

.theme-light .slide5,
.theme-light .slide6,
.theme-light .slide7 {
  background-color: #dde3ea !important;
}

.theme-light .slide51 {
  background-color: #dde3ea !important;
}

.theme-light .front {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light .back {
  background-color: #dde3ea !important;
}

.theme-light

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/
.hamburger.is-closed .hamb-top,
.theme-light .hamburger.is-closed .hamb-middle,
.theme-light .hamburger.is-closed .hamb-bottom,
.theme-light .hamburger.is-open .hamb-top,
.theme-light .hamburger.is-open .hamb-middle,
.theme-light .hamburger.is-open .hamb-bottom,
.theme-light .hamburger.is-open .hamb-middle.hamburger.is-open .hamb-bottom {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li:first-child a {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li:nth-child(2):before {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li:nth-child(3):before {
  background-color: #dde3ea !important;
}

.theme-light

/*-------------------------------*/
/*          Dark Overlay         */
/*-------------------------------*/
.overlay {
  background-color: #e7ebf0 !important;
}

.theme-light div.growlUI h1,
.theme-light div.growlUI h2 {
  color: #1f2937 !important;
}

.theme-light #menu li.active {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light #rtcstate {
  color: #1f2937;
}

.theme-light #ttyd_loading {
  background-color: #e7ebf0 !important;
}

.theme-light .fix-sticky table thead.thead-dark {
  background-color: #dde3ea !important;
}

.theme-light #questions,
.theme-light #f_answers,
.theme-light #users_wa .card {
  background-color: #e7ebf0 !important;
}

.theme-light #questions .card-header .row {
  background-color: #dde3ea !important;
}

.theme-light #questions .card-body {
  background-color: #dde3ea !important;
}

.theme-light #questions .card-body .row {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light #questions span.head {
  color: #566070 !important;
}

.theme-light #questions .row_head>div {
  background-color: #dde3ea !important;
}

.theme-light #questions .ui-progressbar {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light #questions ::-webkit-scrollbar {
  background-color: #e7ebf0 !important;
}

.theme-light #questions ::-webkit-scrollbar-button {
  background-color: #dde3ea !important;
}

.theme-light #questions ::-webkit-scrollbar-track {
  background-color: #e7ebf0 !important;
}

.theme-light #questions ::-webkit-scrollbar-corner {
  background-color: #dde3ea !important;
}

.theme-light #questions ::-webkit-resizer {
  background-color: #dde3ea !important;
}

.theme-light */ #questions .ui-widget-header {
  background-color: #dde3ea !important;
}

.theme-light #f_answers .card {
  background-color: #e7ebf0 !important;
}

.theme-light #f_answers div#ans_panel {
  background-color: #e7ebf0 !important;
}

.theme-light #f_answers div#txt_area,
.theme-light div#ttyd_area {
  background-color: #e7ebf0 !important;
}

.theme-light #f_answers .card>.card-header,
.theme-light #ed_footer {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light

/* Dropdown Button */
.kkdropbtn {
  color: #1f2937 !important;
}

.theme-light .jj-lblue {
  background-color: #dde3ea !important;
}

.theme-light .jj-lgreen {
  background-color: #dde3ea !important;
}

.theme-light */ .gpt-ques {
  background-color: #dde3ea !important;
}

.theme-light .black-bean pre code,
.theme-light .black-bean pre {
  background-color: #e7ebf0 !important;
}

.theme-light .r-nav li a {
  color: #566070 !important;
}

.theme-light .buttonx {
  background-color: #dde3ea !important;
}

.theme-light
/*--------------------
  Chat
  --------------------*/


.message-box input[type="range"] {
  background-color: #dde3ea !important;
}

.theme-light .message-box input[type="range"]::-webkit-slider-thumb {
  background-color: #dde3ea !important;
}

.theme-light

/*--------------------
  Chat Title
  --------------------*/
.chat-title {
  background-color: #e7ebf0 !important;
  color: #1f2937 !important;
}

.theme-light .chat-title h2 {
  color: #1f2937 !important;
}

.theme-light

/*--------------------
  Messages
  --------------------*/
.messages {
  color: #1f2937 !important;
}

.theme-light .messages .message {
  background-color: #e7ebf0 !important;
  color: #1f2937 !important;
}

.theme-light .messages .message .timestamp {
  color: #1f2937 !important;
}

.theme-light .messages .message.message-personal {
  background-color: #dde3ea !important;
}

.theme-light

/*--------------------
  Message Box
  --------------------*/
.message-box {
  background-color: #e7ebf0 !important;
}

.theme-light .message-box .message-input {
  color: #1f2937 !important;
}

.theme-light .message-box .message-submit {
  color: #1f2937 !important;
}

.theme-light .message-box .message-submit:hover {
  background-color: #dde3ea !important;
}

.theme-light .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #e7ebf0 !important;
}

.theme-light video::cue {
  color: #1f2937 !important;
}

.theme-light video::cue(c) {
  color: #1f2937 !important;
}

.theme-light */ .jjswal2-popup {
  background-color: #e7ebf0 !important;
}

.theme-light

/* Dark theme 样式 */
body.care-settings-style {
  background-color: #e7ebf0 !important;
  color: #1f2937 !important;
}

.theme-light

/* 自訂樣式，讓面板和表格也符合暗色主題 */
.card {
  background-color: #dde3ea !important;
}

.theme-light .card-header {
  background-color: #dde3ea !important;
}

.theme-light .card-title {
  color: #1f2937 !important;
}

.theme-light .card-body {
  background-color: #dde3ea !important;
}

.theme-light

/* 表格樣式 */
.settings-table {
  background-color: #dde3ea !important;
}

.theme-light .settings-table th,
.theme-light .settings-table td {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light

/* JSON 編輯器樣式 */
.json-editor {
  background-color: #dde3ea !important;
}

.theme-light .editable-name input {
  color: #1f2937 !important;
}

.theme-light .jj-webui-content pre {
  background-color: #e7ebf0 !important;
  color: #1f2937 !important;
}

.theme-light #sidebar-wrapper {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li:before {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li:nth-child(4):before {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li:nth-child(5):before {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li:nth-child(6):before {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li a {
  color: #1f2937 !important;
}

.theme-light .sidebar-nav .dropdown-menu {
  background-color: #dde3ea !important;
}

.theme-light .sidebar-nav li a:hover,
.theme-light .sidebar-nav li a:active,
.theme-light .sidebar-nav li a:focus,
.theme-light .sidebar-nav li.open a:hover,
.theme-light .sidebar-nav li.open a:active,
.theme-light .sidebar-nav li.open a:focus {
  color: #1f2937 !important;
}

.theme-light .hamburger.is-closed:before {
  color: #1f2937 !important;
}

.theme-light .hamburger.is-open:before {
  color: #1f2937 !important;
}

.theme-light body a:hover {
  color: #1f2937 !important;
}

.theme-light html,
.theme-light body {
  background-color: #d4dbe3 !important;
}

.theme-light .jc3,
.theme-light .w3-blue,
.theme-light .w3-hover-blue:hover {
  color: #1f2937 !important;
}

.theme-light .jc5,
.theme-light .w3-brown,
.theme-light .w3-hover-brown:hover {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light .jc7,
.theme-light .w3-blue-grey,
.theme-light .w3-hover-blue-grey:hover,
.theme-light .w3-blue-gray,
.theme-light .w3-hover-blue-gray:hover {
  color: #1f2937 !important;
}

.theme-light .jc8,
.theme-light .w3-green,
.theme-light .w3-hover-green:hover {
  color: #1f2937 !important;
}

.theme-light .jc10,
.theme-light .w3-indigo,
.theme-light .w3-hover-indigo:hover {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light .jc14,
.theme-light .w3-deep-orange,
.theme-light .w3-hover-deep-orange:hover {
  color: #1f2937 !important;
}

.theme-light .jc15,
.theme-light .w3-pink,
.theme-light .w3-hover-pink:hover {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light .jc16,
.theme-light .w3-purple,
.theme-light .w3-hover-purple:hover {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light .jc17,
.theme-light .w3-deep-purple,
.theme-light .w3-hover-deep-purple:hover {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light .jc18,
.theme-light .w3-red,
.theme-light .w3-hover-red:hover {
  color: #1f2937 !important;
}

.theme-light .jc20,
.theme-light .w3-teal,
.theme-light .w3-hover-teal:hover {
  color: #1f2937 !important;
}

.theme-light .jc23,
.theme-light .w3-black,
.theme-light .w3-hover-black:hover {
  background-color: #e7ebf0 !important;
  color: #1f2937 !important;
}

.theme-light .jc26,
.theme-light .w3-dark-grey,
.theme-light .w3-hover-dark-grey:hover,
.theme-light .w3-dark-gray,
.theme-light .w3-hover-dark-gray:hover {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light table.showjudgedata {
  background-color: #e7ebf0 !important;
}

.theme-light table.showjudgedata caption {
  background-color: #e7ebf0 !important;
}

.theme-light .tw-toggle label {
  color: #566070 !important;
}

.theme-light .tw-toggle input[value="false"]:checked~#jj-toggle-false {
  color: #1f2937 !important;
}

.theme-light .tw-toggle input[value="normal"]:checked~#jj-toggle-false {
  color: #1f2937 !important;
}

.theme-light .tw-toggle input[value="normal"]:checked~#jj-toggle-true {
  color: #1f2937 !important;
}

.theme-light .tw-toggle input[value="none"]:checked+label,
.theme-light .tw-toggle input[value="false"]:checked+label,
.theme-light .tw-toggle input[value="true"]:checked+label {
  color: #1f2937 !important;
}

.theme-light .tw-toggle input[value="-1"]:checked+label {
  color: #1f2937 !important;
}

.theme-light .bootstrap-table .table-dark thead {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}

.theme-light .bootstrap-table .table-dark tbody tr:nth-of-type(odd) {
  background-color: #dde3ea !important;
}

.theme-light .bootstrap-table .table-dark tbody tr:nth-of-type(even) {
  background-color: #dde3ea !important;
}

.theme-light .bootstrap-table .table-dark .fixed-table-container {
  background-color: #dde3ea !important;
}

.theme-light .bootstrap-table .table-dark .search input {
  background-color: #dde3ea !important;
  color: #1f2937 !important;
}


/* Corresponding Light Theme Color Configuration */

.theme-light .unit_classify_0 {
  color: #b58900;
  /* Dark amber/yellow (Replaced lightyellow) */
}

.theme-light .unit_classify_1 {
  color: #0066cc;
  /* Deep sky blue (Replaced lightskyblue) */
}

.theme-light .unit_classify_2 {
  color: #c2185b;
  /* Deep rose pink (Replaced lightpink) */
}

.theme-light .unit_classify_3 {
  color: #1b5e20;
  /* Forest green (Replaced lightgreen) */
}

.theme-light .unit_classify_4 {
  color: #d84315;
  /* Deep burnt salmon/orange (Replaced lightsalmon) */
}

.theme-light .unit_classify_5 {
  color: #0d47a1;
  /* Deep navy blue (Replaced lightblue) */
}

.theme-light .unit_classify_6 {
  color: #c62828;
  /* Deep coral red (Replaced lightcoral) */
}

.theme-light .unit_classify_7 {
  color: #004d40;
  /* Deep teal/sea green (Replaced lightseagreen) */
}

.theme-light .unit_classify_8 {
  color: #9a7d0a;
  /* Dark golden yellow (Replaced lightgoldenrodyellow) */
}

.theme-light .unit_classify_9 {
  color: #6e4d13;
  /* Extra dark goldenrod (Darkened for extra contrast) */
}

.theme-light .unit_classify_10 {
  color: #ad1457;
  /* Dark hot pink (Replaced hotpink) */
}

.theme-light .unit_classify_11 {
  color: #43a047;
  /* Mid-tone leaf green (Darkened chartreuse) */
}

.theme-light .unit_classify_12 {
  color: #007a87;
  /* Deep ocean cyan (Replaced aqua) */
}

.theme-light .unit_classify_13 {
  color: #795548;
  /* Deep brown/wood (Darkened burlywood) */
}

.theme-light .unit_classify_14 {
  color: #00796b;
  /* Dark aquamarine/teal (Replaced aquamarine) */
}

.theme-light .unit_classify_15 {
  color: #4a148c;
  /* Deep royal purple (Darkened blueviolet) */
}

.theme-light .theme-light .unit_classify_16 {
  color: #c62828;
  /* Deep coral red (Replaced lightcoral) */
}

.theme-light .unit_classify_17 {
  color: #5d4037;
  /* Dark chocolate brown (Darkened chocolate) */
}

.theme-light .unit_classify_18 {
  color: #e65100;
  /* Dark intense coral/orange (Replaced coral) */
}

.theme-light .unit_classify_19 {
  color: #1a237e;
  /* Dark indigo blue (Darkened cornflowerblue) */
}

.theme-light .unit_classify_20 {
  color: #8d6e63;
  /* Muted taupe/clay (Replaced cornsilk) */
}

.theme-light .unit_classify_21 {
  color: #880e4f;
  /* Deep maroon/crimson (Darkened crimson) */
}

.theme-light .unit_classify_22 {
  color: #006064;
  /* Deep cyber cyan (Darkened cyan) */
}

.theme-light .unit_classify_23 {
  color: #00363a;
  /* Deepest midnight cyan (Darkened darkcyan) */
}

.theme-light .unit_classify_24 {
  color: #558b2f;
  /* Olive greenyellow (Darkened greenyellow) */
}

.theme-light .unit_classify_25 {
  color: #000080;
  /* Navy blue (Kept darkblue) */
}

.theme-light .unit_classify_26 {
  color: #004d40;
  /* Midnight green (Kept darkgreen) */
}

.theme-light .unit_classify_27 {
  color: #bf360c;
  /* Deep rust orange (Darkened darkorange) */
}

.theme-light .unit_classify_28 {
  color: #4a148c;
  /* Deep orchid purple (Darkened darkorchid) */
}

.theme-light .unit_classify_29 {
  color: #2e7d32;
  /* Deep sage green (Darkened darkseagreen) */
}

/* ===================== end Light theme ===================== */

.tcinfo-editor {
  color: black;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.tcinfo-switch {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.tcinfo-editor .form-group {
  padding-top: 3px;
  padding-bottom: 3px;
}

.tcinfo-editor .form-group label .form-select-label{
  padding: 2px;
  font-weight: bold;
  margin: 2px;
}
.class-factor .form-inline {
  display: inline-flex;
  flex-direction: row;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 100%);
    width: 32em;
    max-width: 100%;
    padding: 0 0 1.25em;
    border: none;
    border-radius: 5px;
    background: #11323fd6;
    color: rgb(84.15, 84.15, 84.15);
    font-family: inherit;
    font-size: 1rem;
}

.ace_print-margin {
    width: 0px !important; 
}    