:root {
  --background: #151515;
  --text: #fafafa;
  --card: #313131;
  --input: #525252;
  --accent: #b18c47;
  --font: 'Work Sans', sans-serif;
  --checkbox-width: 75px;
  --checkbox-height: 20px;
  --checkbox-pointer-left: 5px;
  --checkbox-pointer-width: 14px
}

body {
  background-color: var(--background);
  color: var(--text);
  padding: 10px;
  min-width: 300px;
  font-family: var(--font);
}

.flex {
  display: flex;
}

.hcenter {
  align-items: center;
}

.wcenter {
  justify-content: center;
}

.autoGap {
  gap: 10px;
}

.selected {
  background-color: var(--accent) !important;
}

input[type=checkbox] {
  position: relative;
  width: var(--checkbox-width);
  min-width: var(--checkbox-width);
  height: var(--checkbox-height);
  border-radius: 12px;
  background-color: var(--card);
  appearance: none;
  transition: background-color 0.2s ease-in-out
}

input[type=checkbox]::before {
  position: absolute;
  top: calc((var(--checkbox-height) - var(--checkbox-pointer-width)) / 2);
  left: var(--checkbox-pointer-left);
  height: var(--checkbox-pointer-width);
  width: var(--checkbox-pointer-width);
  border-radius: 50%;
  background-color: var(--text);
  content: "";
  transition: left 0.2s ease-in-out;
}

input[type=checkbox]:checked::before {
  left: calc(var(--checkbox-width) - var(--checkbox-pointer-width) - var(--checkbox-pointer-left));
}

input[type=checkbox]:checked {
  background-color: var(--accent) !important;
}

input:not([type=checkbox]),
select,
button {
  background-color: var(--card);
  font-family: var(--font);
  border-radius: 8px;
  border: 1px solid var(--text);
  padding: 10px;
  color: var(--text);
}

select,
.fullWidth,
button {
  width: 100%;
  width: -webkit-fill-available;
  width: -moz-available;
}

button {
  background-color: var(--accent);
  transition: filter 0.15s ease-in-out;
}

button:hover,
.chipItem:hover {
  filter: brightness(130%);
  cursor: pointer;
}

button:active,
.chipItem:hover {
  filter: brightness(160%);
}

label:has(input[type=checkbox]),
input[type=checkbox] {
  cursor: pointer;
}

a {
  color: var(--text);
}