html {
  box-sizing: border-box;
  color: #192434;
  scroll-behavior: smooth;
  font-family: "Manrope", system-ui, sans-serif;
  overflow-wrap: break-word;
  text-rendering: optimizeSpeed;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page {
  margin: 0;
  padding: 0;
  min-width: 320px;
  min-height: 100vh;
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
}

.link:hover {
  color: #0057FF;
}

.link:hover svg path {
  fill: #0057FF;
}

aside nav .is-active-link::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 11px;
  width: 5px;
  height: 12px;
  background-color: #192434;
  border-radius: 5px;
}

.marker {
  position: relative;
}

.marker::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 11px;
  width: 5px;
  height: 12px;
  background-color: #192434 !important;
  border-radius: 5px;
}

aside nav .is-active-link {
  background: #F8FAFD;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}

aside nav a.toc-link { 
  border-radius: 5px;
  color: #192434;
  display: block;
  padding: 8px 8px 8px 25px;
}

.toc-link::before {
  background: transparent;
}
 
.custom-radio-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio-label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
}

.custom-radio-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  border: 2px solid #0057FF;
  box-sizing: border-box;
  transform: translateY(-50%);
}

.custom-radio-label::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background-color: #0057FF;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.custom-radio-input:checked + .custom-radio-label::after {
  opacity: 1;
}

.custom-radio-input:focus-visible + .custom-radio-label::before {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
}

.active {
  background: #0057FF !important;
  color: #FFF !important;
  border: 1px solid transparent !important
}

.active:hover {
  opacity: 1;
}

.custom-checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid #636F82;
  background-color: #fff;
  display: inline-block;
  position: relative;
  margin: 0 10px -3px 0;
  cursor: pointer;
}

.custom-checkbox:focus-visible {
  outline: 2px solid #1695D2;
  outline-offset: 2px;
}

.custom-checkbox::after {
  content: "";
  position: absolute;
  inset: 2px 4px 3px 5px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(45deg);
}

.custom-checkbox:checked::after {
  border-right-color: #1695D2;
  border-bottom-color: #1695D2;
}
