/* 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;
}

.validation-message {
  font-size: 1rem;
  color: #8c0a08;
  line-height: 1.5;
  font-family: "museo-sans", arial, sans-serif;
  width: 100%;
  height: 1.5rem;
  margin-top: 12px;
  margin-bottom: 12px;
  display: block;
}
.validation-message.dark {
  color: #ec9a98;
}
.validation-message.noMargin {
  margin: 0;
}

:host {
  width: fit-content;
}

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

.wrapper {
  font-size: 1rem;
  line-height: 1.5;
  font-family: "museo-sans", arial, sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}
.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: var(--bi-neutral-90);
  --bg-color: var(--bi-primary-50);
  --bg-hover-color: #26333f1a;
  --border-color: var(--bi-neutral-50);
  --border-hover-color: #00305c;
  --border-error-color: #8c0a08;
  --checkmark-color: white;
  --checkmark-stroke-color: white;
  --required-color: #8c0a08;
  color: var(--text-color);
}
.container:has(input:disabled) {
  cursor: default;
}
.container.dark {
  color-scheme: dark;
  --text-color: var(--bi-basic-white);
  --bg-hover-color: #ffffff1a;
  --border-color: var(--bi-neutral-40);
  --border-hover-color: #e6f2fa;
  --border-error-color: #ec9a98;
  --required-color: #ec9a98;
}
.container .required {
  color: var(--required-color);
}
.container input {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  margin: 0px;
  width: 16px;
  height: 16px;
}
.container input ~ div > svg {
  border: 2px solid var(--border-color);
  border-radius: var(--bi-scale-0-50x);
}
.container input ~ div > svg path {
  fill: transparent;
  stroke: transparent;
}
.container .checkmark-container {
  height: var(--bi-scale-9x);
  width: var(--bi-scale-9x);
  min-width: var(--bi-scale-9x);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--bi-scale-0-25x);
}
.container:hover input ~ .checkmark-container {
  background-color: var(--bg-hover-color);
}
.container input:checked ~ div > svg {
  background-color: var(--bg-color);
  border-color: var(--bg-color);
}
.container input:checked ~ div > svg path {
  fill: var(--checkmark-stroke-color);
  stroke: var(--checkmark-stroke-color);
}
.container input:indeterminate ~ div > svg {
  background-color: var(--bg-color);
  border-color: var(--bg-color);
}
.container input:indeterminate ~ div > svg path {
  fill: var(--checkmark-stroke-color);
  stroke: var(--checkmark-stroke-color);
}

:host(:focus):host(:not(:active)) svg {
  box-shadow: 0 0 0 2px var(--checkmark-color), 0 0 0 4px var(--bg-color), 0 0 0 6px var(--checkmark-color);
}