@font-face {
  font-family: "Epilogue";
  src: url("../webfonts/epilogue.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

b.errorlist {
  color: rgb(220 38 38);
}

.img-amber-500 {
  filter: invert(77%) sepia(94%) saturate(3684%) hue-rotate(326deg)
    brightness(100%) contrast(88%);
}

.img-red-500 {
  filter: invert(46%) sepia(73%) saturate(6607%) hue-rotate(339deg)
    brightness(94%) contrast(111%);
}

.img-green-500 {
  filter: invert(57%) sepia(77%) saturate(2132%) hue-rotate(101deg)
    brightness(94%) contrast(102%);
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

.input-disabled,
.input:disabled,
.input[disabled] {
  color: black !important;
}

.disabled .ts-control {
  color: black !important;
  font-weight: 600;
}

.select-disabled,
.select:disabled,
.select[disabled] {
  color: black !important;
}

.toggle:disabled {
  background-color: #4a00ff;
}

.ts-wrapper.multi.disabled .ts-control > div,
.ts-wrapper.multi.disabled .ts-control > div.active {
  color: black !important;
  font-weight: 600;
}

.menu li.active,
.menu li summary.active {
  font-weight: bold;
  background: linear-gradient(to bottom, #4c49ed, #0a06f4);
  color: #fff;
}

.menu li > *:not(ul):not(.menu-title):not(details):active,
.menu li > *:not(ul):not(.menu-title):not(details).active,
.menu li > details > summary:active,
.menu li > details > summary.active {
  background: linear-gradient(to bottom, #4c49ed, #0a06f4);
  border-radius: 6px;
}

.menu li:active img,
.menu li.active img,
.menu li > details > summary:active img,
.menu li > details > summary.active img {
  filter: brightness(1000%);
}

.menu li img,
.menu li summary img {
  filter: invert(45%) sepia(25%) saturate(2154%) hue-rotate(197deg)
    brightness(94%) contrast(90%);
}

@media screen and (min-width: 1025px) {
  .drawer:not(:has(.drawer-toggle:checked)) .logo-with-text {
    display: block;
  }

  .drawer:has(.drawer-toggle:checked) .logo-with-text {
    display: none;
  }

  .drawer:not(:has(.drawer-toggle:checked)) .logo-only {
    display: none;
  }

  .drawer:has(.drawer-toggle:checked) .logo-only {
    display: block;
  }

  .drawer:not(:has(.drawer-toggle:checked)) aside {
    width: 18rem;
  }

  .drawer:has(.drawer-toggle:checked) aside {
    width: 6rem;
  }

  .drawer:has(.drawer-toggle:checked) aside .menu-text,
  .drawer:has(.drawer-toggle:checked) aside .menu-text-dropdown,
  .drawer:has(.drawer-toggle:checked) aside summary:after {
    display: none;
  }

  .drawer:has(.drawer-toggle:checked) .menu {
    align-items: center;
  }
}

.custom-legend-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  gap: 4px;
}

.custom-legend-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Start Comment */
.list-comment ol,
.list-comment ul {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.list-comment li::before {
  content: none;
}

.list-comment li[data-list="ordered"]{
  list-style-type: decimal;
}

.list-comment li[data-list="bullet"]{
  list-style-type: disc;
}

.list-comment h1 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.list-comment h2 {
  font-size: 1.75em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.list-comment h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.list-comment a {
  background-color: transparant;
  color: #1D13F3;
  text-decoration: underline;
  font-weight: 600;
}

.list-comment a:hover {
  color: #1D13F3;
  text-decoration: underline;
}
/* End Comment */