.has-tooltip .tooltip {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.75em;
  border-radius: 0.5em;
}

.has-tooltip .tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
  transform: rotate(180deg);
}

.has-tooltip:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(50px);
}

.has-tooltip.relative .tooltip {
  top: -2em;
}

[type=text]:focus,
[type=email]:focus,
[type=url]:focus,
[type=password]:focus,
[type=number]:focus,
[type=date]:focus,
[type=datetime-local]:focus,
[type=month]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=time]:focus,
[type=week]:focus,
[multiple]:focus,
textarea:focus,
select:focus {
  --tw-ring-color: #233d4d;
  border-color: #233d4d;
}

input:checked ~ .dot {
  transform: translateX(100%);
}

input:checked ~ .dot-bg {
  background-color: #b1cc74;
}

.reset * {
  all: revert;
}

.page h1,
.page h2,
.page h3,
.page h4,
.page h5,
.page h6,
.page ul,
.page ol,
.page li {
  all: revert;
}

.ql-toolbar {
  border-radius: 0.375rem 0.375rem 0 0;
}

.ql-container {
  border-radius: 0 0 0.375rem 0.375rem;
}

.striped-img-preview {
  color: white;
  background: repeating-linear-gradient(45deg, #ffffff, #ffffff 5px, #eeeeee 5px, #eeeeee 10px);
}

.toggle-path {
  transition: all 0.3s ease-in-out;
}

.toggle-circle {
  top: 0.2rem;
  left: 0.25rem;
  transition: all 0.3s ease-in-out;
}

input:checked ~ .toggle-circle {
  transform: translateX(100%);
}

input:checked ~ .toggle-path {
  background-color: #233d4d;
}

html :not(h1, h2, h3, h4, h5, h6) {
  font-family: var(--body-font);
}

html h1,
html h2,
html h3,
html h4,
html h5,
html h6 {
  font-family: var(--head-font) !important;
}

html h1 > *,
html h2 > *,
html h3 > *,
html h4 > *,
html h5 > *,
html h6 > * {
  font-family: var(--head-font) !important;
}

.message-content {
  overflow-wrap: break-word;
}

.min-w-4xl {
  min-width: 56rem;
}
