/* Variables  */
/* Aliases  */
.sr-only {
  position: absolute;
  /* Outside the DOM flow */
  height: 1px;
  width: 1px;
  /* Nearly collapsed */
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  left: -9999px;
  text-indent: -5000px;
  clip: rect(1px, 1px, 1px, 1px);
  /* All other browsers */
}

/* Variables  */
/* Aliases  */
*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
code,
em,
img,
small,
strike,
strong,
sub,
sup,
tt,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
main,
canvas,
embed,
footer,
header,
nav,
section,
button,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

footer,
header,
nav,
section,
main {
  display: block;
}

body {
  line-height: 1.5;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

:host(:focus) {
  outline: none !important;
  border: none !important;
}

:host {
  width: fit-content;
}

:host(:focus) {
  outline: none;
  border: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  padding-left: 2px;
}
.wrapper.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.container {
  font-family: "museo-sans", arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  align-items: center;
  display: flex;
  gap: 0.5rem;
  user-select: none;
  width: fit-content;
  min-height: 1.5rem;
  border: 2px dashed transparent;
  cursor: pointer;
  --text-color: #414651;
  --bg-hover-color: rgba(1, 65, 127, 0.1019607843);
  --border-color: #01417b;
  --border-error-color: #8c0a08;
  --checkmark-color: #01417b;
  --required-color: #8c0a08;
  color: var(--text-color);
}
.container:has(input:disabled) {
  cursor: default;
}
.container.dark {
  color-scheme: dark;
  --text-color: whitesmoke;
  --bg-hover-color: rgba(1, 65, 127, 0.2509803922);
  --border-color: #78c2ff;
  --border-error-color: #ec9a98;
  --checkmark-color: #78c2ff;
  --required-color: #ec9a98;
}
.container:focus-within {
  border-radius: 4px;
  outline-offset: 2px;
  outline: 1.5px solid var(--bi-primary-50);
  box-shadow: 0 0 0 2px white;
}
.container .required {
  color: var(--required-color);
}
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.container .checkmark {
  position: relative;
  display: block;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
  border-radius: 100%;
}
.container .checkmark::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 0;
  width: 0;
  border-radius: 100%;
  background-color: var(--checkmark-color);
  transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
}
.container .checkmark.invalid {
  border-color: var(--border-error-color);
}
.container .checkmark.invalid::after {
  background-color: var(--border-error-color);
}
.container:hover input ~ .checkmark {
  background-color: var(--bg-hover-color);
}
.container input:checked ~ .checkmark:after {
  height: 12px;
  width: 12px;
}