@charset "UTF-8";
.alterState[data-state=hidden] {
  display: none;
}

.panel {
  padding: 1rem 2rem;
  border: 5px double var(--darkGrey);
  border-radius: 8px;
  background: var(--surface_1);
}
@media screen and (max-width: 767px) {
  .panel {
    padding: 1rem;
  }
}

.searchable[data-search=hidden] {
  display: none;
}

.mt-S {
  margin-top: 0.5rem;
}

.mt-M {
  margin-top: 1rem;
}

.mt-L {
  margin-top: 2rem;
}

.mt-A {
  margin-top: auto;
}

.ml-S {
  margin-left: 0.5rem;
}

.ml-M {
  margin-left: 1rem;
}

.ml-L {
  margin-left: 2rem;
}

.ml-A {
  margin-left: auto;
}

.mr-S {
  margin-right: 0.5rem;
}

.mr-M {
  margin-right: 1rem;
}

.mr-L {
  margin-right: 2rem;
}

.mr-A {
  margin-right: auto;
}

.mb-S {
  margin-bottom: 0.5rem;
}

.mb-M {
  margin-bottom: 1rem;
}

.mb-L {
  margin-bottom: 2rem;
}

.mb-A {
  margin-bottom: auto;
}

.p-M {
  padding: 1rem;
}

.p-L {
  padding: 2rem;
}

.pb-L {
  padding-bottom: 2rem;
}

.pb-XL {
  padding-bottom: 5rem;
}

.ta-C {
  text-align: center;
}

.ta-R {
  text-align: right;
}

.warning {
  color: var(--yellow);
  margin-top: 1rem;
  text-align: center;
}
.warning[data-state=hidden] {
  display: none;
}

.placeholder {
  color: var(--red);
  font-style: italic;
}
.placeholder[data-state=hidden] {
  display: none;
}

.grid-1 {
  --columns: $columns;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5rem;
}
.grid-1.grid-center {
  place-items: center;
}
.grid-1.grid-center-y {
  align-items: center;
}
.grid-1 .alignRight {
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
  .grid-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .grid-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .grid-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.grid-2 {
  --columns: $columns;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.grid-2.grid-center {
  place-items: center;
}
.grid-2.grid-center-y {
  align-items: center;
}
.grid-2 .alignRight {
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}
.grid-2.one-two {
  grid-template-columns: 1fr 2fr;
}
.grid-2.two-one {
  grid-template-columns: 2fr 1fr;
}

.grid-3 {
  --columns: $columns;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.grid-3.grid-center {
  place-items: center;
}
.grid-3.grid-center-y {
  align-items: center;
}
.grid-3 .alignRight {
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.grid-4 {
  --columns: $columns;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.grid-4.grid-center {
  place-items: center;
}
.grid-4.grid-center-y {
  align-items: center;
}
.grid-4 .alignRight {
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .grid-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.grid-5 {
  --columns: $columns;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.grid-5.grid-center {
  place-items: center;
}
.grid-5.grid-center-y {
  align-items: center;
}
.grid-5 .alignRight {
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-gap-none {
  gap: 0rem;
}

.grid-gap-S {
  gap: 0.5rem;
}

.grid-gap-M {
  gap: 1rem;
}

.grid-gap-L {
  gap: 2rem;
}
@media screen and (max-width: 767px) {
  .grid-gap-L {
    gap: 1.5rem;
  }
}

.grid-gap-XL {
  gap: 4rem;
}
@media screen and (max-width: 767px) {
  .grid-gap-XL {
    gap: 2rem;
  }
}

.flex-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
}

@font-face {
  font-family: "Play";
  src: url("/fonts/play-regular.woff") format("woff"), url("/fonts/play-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Play";
  src: url("/fonts/play-bold.woff") format("woff"), url("/fonts/play-bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-regular.woff") format("woff"), url("/fonts/nunito-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "The Macabre";
  src: url("/fonts/themacabre.woff2") format("woff2"), url("/fonts/themacabre.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --yellow: #d5f03a;
  --green: #2cff96;
  --red: #ff4455;
  --deepRed: #832727;
  --pink: #ed32c3;
  --blue: hsl(203, 100%, 53%);
  --cyan: #2ae9d0;
  --orange: #ff9334;
  --darkGrey: #222;
  --grey: #535252;
  --lightGrey: #bbbbbb;
  --textColour: #f2f2f2;
  --surface_1: #020202;
  --surface_2: #060606;
  --surface_3: #080808;
  --surface_4: #111;
  --gold: #ae8625;
  --gold1: #f4c546;
  --gold2: #d48c1c;
  --max_width: 100%;
  --min_wrapper_width: 100%;
  --headerHeight: 50px;
  --bodyFont: "Roboto", sans-serif;
  --black-100: #454545;
  --black-200: #3b3b3b;
  --black-300: #313131;
  --black-400: #262626;
  --black-500: #1c1c1c;
  --black-600: #141414;
  --black-700: #0d0d0d;
  --black-800: #080808;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-300: #cccccc;
  --grey-400: #b3b3b3;
  --grey-500: #999999;
  --grey-600: #7f7f7f;
  --grey-700: #666666;
  --grey-800: #4d4d4d;
  --night-100: #2c3e50;
  --night-200: #243447;
  --night-300: #1e2b3f;
  --night-400: #192437;
  --night-500: #141d30;
  --night-600: #101828;
  --night-700: #0c121f;
  --night-800: #080c16;
  --blue-100: #cce4ff;
  --blue-200: #99c9ff;
  --blue-300: #66adff;
  --blue-400: #338fff;
  --blue-500: #0066ff;
  --blue-600: #0051cc;
  --blue-700: #003d99;
  --blue-800: #002966;
  --orange-100: #ffe0cc;
  --orange-200: #ffc199;
  --orange-300: #ffa366;
  --orange-400: #ff8844;
  --orange-500: #e66f2d;
  --orange-600: #cc5a1a;
  --orange-700: #b3470f;
  --orange-800: #992f00;
  --green-100: #ccf5e0;
  --green-200: #99ebc2;
  --green-300: #66e0a3;
  --green-400: #33d685;
  --green-500: #1abb6a;
  --green-600: #13994e;
  --green-700: #0c7738;
  --green-800: #065522;
  --red-100: #ffd6d6;
  --red-200: #ffaaaa;
  --red-300: #ff7f7f;
  --red-400: #ff5555;
  --red-500: #e63c3c;
  --red-600: #cc2e2e;
  --red-700: #b22222;
  --red-800: #991919;
  --cyan-100: #ccf7f0;
  --cyan-200: #99efe0;
  --cyan-300: #66e7d1;
  --cyan-400: #00ccaa;
  --cyan-500: #00b392;
  --cyan-600: #00997a;
  --cyan-700: #007f66;
  --cyan-800: #00664d;
  --yellow-100: #fff4cc;
  --yellow-200: #ffe999;
  --yellow-300: #ffdf66;
  --yellow-400: #ffd433;
  --yellow-500: #e6ba1a;
  --yellow-600: #cc9f00;
  --yellow-700: #b38600;
  --yellow-800: #996d00;
  --pink-100: #ffd6eb;
  --pink-200: #ffaad6;
  --pink-300: #ff7fc2;
  --pink-400: #ff55ad;
  --pink-500: #e63c99;
  --pink-600: #cc2e85;
  --pink-700: #b22270;
  --pink-800: #99195c;
  --violet-100: #f0d6ff;
  --violet-200: #d3b3ff;
  --violet-300: #c299ff;
  --violet-400: #b266ff;
  --violet-500: #994de6;
  --violet-600: #803acc;
  --violet-700: #662ab3;
  --violet-800: #4d1a99;
  --deep-blue-800: #02131f;
  --deep-blue-700: #03111e;
  --deep-blue-600: #254789;
  --deep-blue-500: #3562af;
  --deep-blue-400: #3f6dc1;
  --deep-blue-300: #4482cf;
  --deep-blue-200: #47b5df;
  --deep-blue-100: #50d1ea;
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
  :root {
    --min_wrapper_width: 800px;
    --max_width: 100%;
  }
}
@media screen and (min-width: 1024px) {
  :root {
    --min_wrapper_width: 1000px;
    --max_width: 1000px;
  }
}

::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
  cursor: pointer;
}

::-webkit-scrollbar-track {
  background: var(--surface_3);
}

::-webkit-scrollbar-thumb {
  background: var(--grey);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold1);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding: var(--headerHeight);
}

body {
  background: var(--surface_3);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  color: var(--textColour);
  overflow-x: hidden;
  font-family: var(--bodyFont);
  letter-spacing: 0.05em;
}

main {
  width: var(--min_wrapper_width);
  max-width: var(--max_width);
  padding: 2rem;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  main {
    padding: 1rem;
  }
}

li {
  list-style: none;
}

a {
  color: var(--silver);
  text-decoration: none;
}
a:hover, a:focus, a:focus-visible {
  color: var(--gold1);
}
a.active {
  color: var(--gold1);
}

.redirect {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--lightGrey);
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.25rem;
}

section + section {
  margin-top: 1rem;
}

p {
  font-size: 0.9rem;
}

p + p {
  margin-top: 0.25rem;
}

p.info, span.info {
  font-style: italic;
  color: var(--lightGrey);
  font-size: 0.85rem;
  text-align: center;
}

button, .button {
  display: inline-block;
  padding: 0.3rem 1rem;
  background-color: var(--surface_1);
  border: 1px solid var(--grey);
  color: var(--lightGrey);
  min-width: 120px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}
button.small, .button.small {
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
}
button:hover, button:focus, button:focus-visible, .button:hover, .button:focus, .button:focus-visible {
  color: var(--gold1);
  border-color: var(--gold1);
}
button.delete, .button.delete {
  color: var(--red);
}
button.delete:hover, button.delete:focus, button.delete:focus-visible, .button.delete:hover, .button.delete:focus, .button.delete:focus-visible {
  border-color: var(--red);
}
@media screen and (max-width: 767px) {
  button, .button {
    min-width: max-content;
  }
}
button:disabled, .button:disabled {
  cursor: not-allowed;
  color: var(--grey);
  border-color: var(--grey);
}
button[data-state=hidden], .button[data-state=hidden] {
  display: none;
}

.buttons a {
  display: inline-block;
  padding: 0.3rem 1rem;
  background-color: var(--surface_1);
  border: 1px solid var(--grey);
  color: var(--lightGrey);
  min-width: 120px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.8rem;
  margin: 0.15rem;
}
.buttons a.small {
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
}
.buttons a:hover, .buttons a:focus, .buttons a:focus-visible {
  color: var(--gold1);
  border-color: var(--gold1);
}
.buttons a.delete {
  color: var(--red);
}
.buttons a.delete:hover, .buttons a.delete:focus, .buttons a.delete:focus-visible {
  border-color: var(--red);
}
@media screen and (max-width: 767px) {
  .buttons a {
    min-width: max-content;
  }
}
.buttons a:disabled {
  cursor: not-allowed;
  color: var(--grey);
  border-color: var(--grey);
}

.noButton {
  border: none;
}

.card {
  display: grid;
  grid-template-rows: 1.5rem auto 2rem;
  gap: 1rem;
  border: 1px solid var(--grey);
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--surface_1);
}
.card h2, .card h3 {
  color: var(--gold1);
  border-bottom: 1px solid var(--grey);
}
.card h3 {
  font-size: 1rem;
  color: var(--gold2);
}
.card .details {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card .details.scroll {
  max-height: 150px;
  overflow-y: auto;
}
.card .details.small {
  font-size: 0.8rem;
}
.card .details > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0 0.5rem;
  align-items: center;
  font-size: 0.85rem;
}
.card .details > div > p:nth-of-type(2) {
  text-align: right;
  margin: 0;
}
.card .details > div .buttons a, .card .details > div .buttons button {
  font-size: 0.75rem;
}
.card .details.even-columns > div {
  grid-template-columns: 1fr 1fr;
}
.card .details ul.right li {
  text-align: right;
  font-size: 0.9rem;
}
.card .details a {
  color: var(--gold2);
}
.card .details a:hover, .card .details a:focus, .card .details a:focus-visible {
  color: var(--gold1);
}
.card .buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: 100%;
}
.card p {
  max-width: 20ch;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .card {
    grid-template-rows: repeat(3, auto);
  }
}

.infoCard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey);
  padding: 1rem 1rem 1.25rem;
  border-radius: 8px;
  background-color: var(--surface_1);
  gap: 1rem;
}
.infoCard h2, .infoCard h3 {
  font-size: 1.25rem;
  color: var(--gold1);
  border-bottom: 1px solid var(--grey);
}
.infoCard h3 {
  font-size: 1rem;
  color: var(--gold2);
}
.infoCard .searchbarHeader {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--grey);
  align-items: end;
  padding-bottom: 1rem;
}
.infoCard .searchbarHeader h2 {
  border-bottom: none;
}
.infoCard .buttons a, .infoCard .buttons button {
  min-width: unset;
}

.bg {
  background: var(--black-600);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--grey-800);
}
.bg:nth-of-type(2n) {
  background: var(--black-500);
}

.hr {
  width: 100%;
  margin: 3rem auto;
  position: relative;
  display: inline-block;
}
.hr.small {
  margin: 1rem auto;
}
.hr::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey), transparent);
}

.scrollable {
  max-height: 35vh;
  overflow-y: auto;
}
.scrollable.large {
  max-height: 70vh;
}

.headerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.headerRow h1 {
  margin: 0;
}
.headerRow a, .headerRow button {
  display: inline-block;
  padding: 0.3rem 1rem;
  background-color: var(--surface_1);
  border: 1px solid var(--grey);
  color: var(--lightGrey);
  min-width: 120px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
}
.headerRow a.small, .headerRow button.small {
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
}
.headerRow a:hover, .headerRow a:focus, .headerRow a:focus-visible, .headerRow button:hover, .headerRow button:focus, .headerRow button:focus-visible {
  color: var(--gold1);
  border-color: var(--gold1);
}
.headerRow a.delete, .headerRow button.delete {
  color: var(--red);
}
.headerRow a.delete:hover, .headerRow a.delete:focus, .headerRow a.delete:focus-visible, .headerRow button.delete:hover, .headerRow button.delete:focus, .headerRow button.delete:focus-visible {
  border-color: var(--red);
}
@media screen and (max-width: 767px) {
  .headerRow a, .headerRow button {
    min-width: max-content;
  }
}
.headerRow a:disabled, .headerRow button:disabled {
  cursor: not-allowed;
  color: var(--grey);
  border-color: var(--grey);
}

.underlined {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--grey);
}

#primaryHeader, #subHeader {
  background: var(--surface_1);
  border-bottom: 1px solid var(--grey);
  padding: 0.5rem 2rem;
  min-height: var(--headerHeight);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 90;
}
#primaryHeader img, #subHeader img {
  width: 50px;
}

.userDetails p {
  font-size: 0.8rem;
}

#primaryHeader nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}
#primaryHeader nav ul {
  display: flex;
  gap: 0.75rem;
}
#primaryHeader nav ul li {
  display: flex;
  align-items: center;
}
#primaryHeader nav ul li[data-state=active] a {
  color: var(--gold1);
}
#primaryHeader nav ul a {
  padding: 0.5rem;
  font-size: 0.9rem;
  display: block;
}
#primaryHeader nav ul button {
  min-width: max-content;
  color: var(--silver);
  font-size: 0.9rem;
}
#primaryHeader nav ul button:hover, #primaryHeader nav ul button:focus, #primaryHeader nav ul button:focus-visible {
  color: var(--gold1);
}
@media screen and (max-width: 767px) {
  #primaryHeader {
    position: fixed;
    z-index: 98;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5rem 1rem;
    transform: translateX(100%);
    transition: transform 0.5s;
  }
  #primaryHeader[data-location=onscreen] {
    transform: translateX(0);
  }
  #primaryHeader .userDetails {
    display: none;
  }
  #primaryHeader nav {
    margin: 1rem 0 0;
  }
  #primaryHeader nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

#subHeader {
  display: none;
  padding-inline: 1rem;
}
@media screen and (max-width: 767px) {
  #subHeader {
    display: flex;
    z-index: 99;
  }
}

.navButton {
  --dim: calc(var(--headerHeight) * 0.75);
  --move: calc(var(--dim) / 6.5);
  width: var(--dim);
  height: var(--dim);
  border: 1px solid var(--grey);
  border-radius: 8px;
  position: relative;
  margin-left: auto;
}

.navButton span {
  width: 80%;
  height: 1px;
  background: var(--lightGrey);
  position: absolute;
  top: 33%;
  left: 10%;
  transition: transform 0.3s;
  transform: rotate(0);
}

.navButton span:nth-of-type(2) {
  top: 66%;
}

.navButton[data-state=open] span:nth-of-type(1) {
  transform: translateY(var(--move)) rotate(45deg);
}

.navButton[data-state=open] span:nth-of-type(2) {
  transform: translateY(calc(var(--move) * -1)) rotate(-45deg);
}

#primaryFooter {
  background: var(--surface_1);
  border-top: 1px solid var(--grey);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#primaryFooter nav {
  margin-top: 1rem;
}
#primaryFooter nav ul {
  margin: 0;
}

.mainErrorWrapper {
  margin: 0 1rem 1rem;
  font-style: italic;
  border: 2px dashed var(--yellow);
  background: var(--surface_2);
  border-radius: 8px;
  padding: 1rem;
}
.mainErrorWrapper h3 {
  margin-bottom: 1rem;
}

.error {
  margin: 1rem;
  border: 1px dashed var(--lightGrey);
  padding: 1rem;
  border-radius: 8px;
  color: var(--red);
}

button, .button {
  display: inline-block;
  padding: 0.3rem 1rem;
  background-color: var(--surface_1);
  border: 1px solid var(--grey);
  color: var(--lightGrey);
  min-width: 120px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}
button.small, .button.small {
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
}
button:hover, button:focus, button:focus-visible, .button:hover, .button:focus, .button:focus-visible {
  color: var(--gold1);
  border-color: var(--gold1);
}
button.delete, .button.delete {
  color: var(--red);
}
button.delete:hover, button.delete:focus, button.delete:focus-visible, .button.delete:hover, .button.delete:focus, .button.delete:focus-visible {
  border-color: var(--red);
}
@media screen and (max-width: 767px) {
  button, .button {
    min-width: max-content;
  }
}
button:disabled, .button:disabled {
  cursor: not-allowed;
  color: var(--grey);
  border-color: var(--grey);
}
button[data-state=hidden], .button[data-state=hidden] {
  display: none;
}

.buttons a {
  display: inline-block;
  padding: 0.3rem 1rem;
  background-color: var(--surface_1);
  border: 1px solid var(--grey);
  color: var(--lightGrey);
  min-width: 120px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.8rem;
  margin: 0.15rem;
}
.buttons a.small {
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
}
.buttons a:hover, .buttons a:focus, .buttons a:focus-visible {
  color: var(--gold1);
  border-color: var(--gold1);
}
.buttons a.delete {
  color: var(--red);
}
.buttons a.delete:hover, .buttons a.delete:focus, .buttons a.delete:focus-visible {
  border-color: var(--red);
}
@media screen and (max-width: 767px) {
  .buttons a {
    min-width: max-content;
  }
}
.buttons a:disabled {
  cursor: not-allowed;
  color: var(--grey);
  border-color: var(--grey);
}

.noButton {
  border: none;
}

form {
  padding: 1rem 2rem;
  border: 5px double var(--darkGrey);
  border-radius: 8px;
  background: var(--surface_1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-width: 767px) {
  form {
    padding: 1rem;
  }
}
form .formField {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  width: 80%;
  gap: 1rem;
}
form .formField + .formField {
  margin-top: 1rem;
}
form button[type=submit] {
  margin-top: 2rem;
}
form label {
  font-size: 0.95rem;
}
form .secondaryLink {
  font-size: 0.8rem;
  margin-top: 1rem;
  color: var(--lightGrey);
}
form .secondaryLink:hover, form .secondaryLink:focus, form .secondaryLink:focus-visible {
  color: var(--gold1);
}
form .formSection {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem auto 2rem;
}
form .formSection h2 {
  width: 100%;
  font-size: 1.25rem;
  color: var(--gold1);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--grey);
}
form .info {
  color: var(--green);
  margin: 1rem;
  font-style: italic;
}
form .infoMuted {
  color: var(--lightGrey);
  font-size: 0.85rem;
  font-style: italic;
}
form.stripped {
  width: max-content;
  border: none;
  padding: 0;
  justify-content: center;
}
form.stripped button[type=submit] {
  margin: 0;
}
@media screen and (max-width: 767px) {
  form .formField {
    width: 95%;
  }
}

input, select {
  background-color: var(--surface_1);
  border: 1px solid var(--grey);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--textColour);
  caret-color: var(--textColour);
}
input.small, select.small {
  width: 100px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: 0 0 0 50px var(--surface_2) inset !important;
  -webkit-text-fill-color: var(--textColour) !important;
}

.playingCard {
  --width: 80px;
  --height: calc(var(--width) * 1.4);
  --colour: #a4a4a4;
  width: var(--width);
  height: var(--height);
  border: 1px solid var(--grey);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  place-items: center;
  padding: 0.5rem 0.25rem;
  background: linear-gradient(135deg, #000 20%, #1a1a1a 50%, #000);
}
.playingCard[data-state=hidden] {
  display: none;
}
.playingCard[data-suit=spades] {
  --colour: #4375FF;
}
.playingCard[data-suit=hearts] {
  --colour: #FD0046;
}
.playingCard[data-suit=clubs] {
  --colour: #AE6BFF;
}
.playingCard[data-suit=diamonds] {
  --colour: #FC6507;
}
.playingCard[data-state=faded] {
  filter: opacity(0.5);
}
.playingCard .suit {
  grid-column: 2/3;
  grid-row: 3/4;
}
.playingCard .rank {
  font-weight: bold;
  color: var(--colour);
  font-size: 1.05rem;
}
.playingCard .rank:nth-of-type(2) {
  grid-column: 3/4;
  grid-row: 5/6;
  rotate: 180deg;
}

.logs {
  display: flex;
  flex-direction: column;
}
.logs .log {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 3fr;
  gap: 0.5rem;
  border: 1px solid var(--grey);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.logs .log[data-search=hidden] {
  display: none;
}
.logs .log + .log {
  margin-top: 0.5rem;
}
.logs .log p {
  margin: 0;
}
@media screen and (max-width: 767px) {
  .logs .log {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 2fr;
  }
}

.cashierControls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 0.25rem;
}
.cashierControls input {
  width: 100%;
  grid-column: 1/4;
}

.ledgerSection {
  container-type: inline-size;
  container-name: ledger;
  max-width: 750px;
  margin-inline: auto;
  border: 1px solid var(--darkGrey);
  border-radius: 8px;
}
.ledgerSection h2 {
  margin-bottom: 1rem;
  color: var(--gold1);
  width: 100%;
  border-bottom: 1px solid var(--grey);
}
.ledgerSection p, .ledgerSection span {
  margin: 0;
}
.ledgerSection p[data-state=success], .ledgerSection span[data-state=success] {
  color: var(--green);
}
.ledgerSection p[data-state=pending], .ledgerSection span[data-state=pending] {
  color: var(--cyan);
}
.ledgerSection p[data-state=failure], .ledgerSection span[data-state=failure] {
  color: var(--red);
}
.ledgerSection .username {
  font-weight: bold;
}
.ledgerSection .scrollable {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.ledgerSection .ledgerPlayer, .ledgerSection .ledgerTransaction {
  border: 1px solid var(--grey);
  border-radius: 4px;
  padding: 0.5rem;
}
.ledgerSection .balanceText {
  font-size: 0.8rem;
  color: var(--lightGrey);
}
.ledgerSection .ledgerPlayer {
  display: grid;
  grid-template-columns: 50px 1fr 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 2rem;
}
.ledgerSection .ledgerPlayer[data-search=hidden] {
  display: none;
}
.ledgerSection .ledgerPlayer p {
  pointer-events: none;
}
.ledgerSection .ledgerPlayer .playerBalance {
  text-align: right;
}
.ledgerSection .ledgerPlayer .inPlayBalance {
  font-size: 0.6rem;
}
.ledgerSection .ledgerTransaction {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.25rem;
  padding: 1rem 0.5rem;
  place-items: center;
}
.ledgerSection .ledgerTransaction[data-search=hidden] {
  display: none;
}
.ledgerSection .ledgerTransaction p {
  text-align: center;
}
.ledgerSection .ledgerTransaction .metadata {
  font-size: 0.6rem;
}
.ledgerSection .ledgerTransaction .status {
  grid-column: 1/2;
  grid-row: 2/3;
  font-size: 0.7rem;
}
.ledgerSection .ledgerTransaction .requestedBy {
  grid-column: 2/3;
  grid-row: 2/3;
}
.ledgerSection .ledgerTransaction .date {
  grid-column: 3/4;
  grid-row: 2/3;
}
.ledgerSection .ledgerTransaction .imageDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ledgerSection .ledgerTransaction .imageDiv img {
  max-width: 30px;
  margin: 0.25rem 0 0.5rem;
}
.ledgerSection .ledgerTransaction .status {
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  margin-top: 0.5rem;
}
.ledgerSection .ledgerTransaction .metadata {
  font-style: italic;
  font-size: 0.7rem;
  color: var(--lightGrey);
}
@container ledger (max-width: 767px) {
  .ledgerSection .ledgerPlayer {
    grid-template-columns: 40px 1fr 1fr;
    padding: 0.25rem;
  }
  .ledgerSection .ledgerPlayer p {
    font-size: 0.8rem;
  }
  .ledgerSection .ledgerTransaction {
    width: 100%;
  }
  .ledgerSection .ledgerTransaction p {
    font-size: 0.8rem;
  }
  .ledgerSection .scrollable {
    padding: 0.15rem;
    gap: 0.15rem;
  }
}

.searchBar {
  container-type: inline-size;
  container-name: searchbar;
  align-items: center;
  margin-left: auto;
  max-width: 500px;
  width: 100%;
  position: relative;
}
.searchBar input {
  width: 100%;
}
.searchBar button {
  --size: 22px;
  position: absolute;
  top: 50%;
  right: 0;
  min-width: unset;
  transform: translate(-40%, -50%);
  font-size: 0.8rem;
  padding: 0.25rem;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
}

.checkbox {
  --_height: 20px;
  --_width: calc(var(--_height) * 2);
  --_br: 10px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
}
.checkbox label {
  cursor: pointer;
  display: block;
  height: var(--_height);
  width: var(--_width);
  background: var(--grey);
  position: relative;
  border-radius: var(--_br);
}
.checkbox label::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--_height);
  height: var(--_height);
  border-radius: 50%;
  background-color: var(--lightGrey);
  transition: transform 0.25s;
}
.checkbox input {
  height: 0;
  width: 0;
  pointer-events: none;
}
.checkbox input:checked + label {
  background: var(--grey);
}
.checkbox input:checked + label::after {
  transform: translateX(calc(var(--_width) - var(--_height)));
  background-color: var(--gold2);
}
.checkbox input:disabled:checked + label {
  background: var(--grey);
}
.checkbox input:disabled:checked + label::after {
  transform: translateX(calc(var(--_width) - var(--_height)));
  background-color: var(--grey);
}

form .checkboxField {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
form .checkboxField p {
  margin-right: 1rem;
}
form .checkboxField[data-position=reverse] {
  justify-content: flex-end;
}
form .checkboxField[data-position=reverse] label {
  text-align: right;
  margin: 0 0 0 1rem;
}

.dialog {
  --br: 4px;
  background: var(--surface_1);
  border-radius: var(--br);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  z-index: 90;
  width: 550px;
  max-width: 96%;
  max-height: 96%;
  overflow-y: auto;
}
.dialog[data-state=hidden] {
  display: none;
}
.dialog[data-size=large] {
  width: 650px;
}
.dialog .titleBar {
  border: 1px solid var(--grey);
  border-radius: var(--br) var(--br) 0 0;
  padding: 1.5rem 1rem;
}
.dialog .titleBar p {
  font-size: 1.15rem;
  color: var(--gold1);
  text-align: center;
  font-weight: bold;
}
.dialog .information {
  border: 1px solid var(--grey);
  padding: 2rem 1rem;
}
.dialog .information p {
  margin: 0;
}
.dialog .information div + div {
  margin-top: 0.25rem;
}
.dialog .information .subTitle {
  font-size: 1.05rem;
  margin: 1rem 0 0.25rem 0;
  color: var(--gold2);
  font-weight: bold;
}
.dialog .information .list {
  margin: 0.5rem;
}
.dialog .information .powerRanking {
  justify-content: center;
  margin-bottom: 0.5rem;
}
.dialog .information .powerRanking img {
  max-width: 15px;
}
.dialog .buttons {
  display: flex;
  border: 1px solid var(--grey);
}
.dialog .buttons button, .dialog .buttons .button {
  border-radius: 0px;
  flex: 1;
  margin: 0;
  background: var(--surface_1);
  border-color: var(--darkGrey);
  padding: 1rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.9333333333);
  z-index: 89;
}
.overlay[data-state=hidden] {
  display: none;
}

#loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  --dim: 3rem;
}
#loader[data-state=hidden] {
  display: none;
}
#loader #spinners {
  display: flex;
  margin-bottom: 2rem;
}
#loader #spinners div {
  border-radius: 50%;
  width: var(--dim);
  height: var(--dim);
  border-top: calc(var(--dim) / 20) solid #44e5ff;
  animation: loader 2.5s linear 0s infinite forwards;
  position: relative;
  margin: 0 2rem;
}
#loader #spinners div::before {
  content: "";
  position: absolute;
  top: 25%;
  right: -10%;
  background: #44e5ff;
  width: calc(var(--dim) / 5);
  height: calc(var(--dim) / 5);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0px 0px 8px 8px rgba(68, 229, 255, 0.6), 0px 0px 12px 3px rgba(68, 229, 255, 0.4666666667), 0px 0px 15px 1px rgba(68, 229, 255, 0.2666666667);
}
#loader #spinners div:nth-of-type(2) {
  animation-name: loader2;
  border-left: calc(var(--dim) / 20) solid #ff44e8;
  border-top: none;
}
#loader #spinners div:nth-of-type(2)::before {
  top: 90%;
  right: 50%;
  background: #ff44e8;
  box-shadow: 0px 0px 8px 8px rgba(255, 68, 232, 0.6), 0px 0px 12px 3px rgba(255, 68, 232, 0.4666666667), 0px 0px 15px 1px rgba(255, 68, 232, 0.2666666667);
}
#loader #spinners div:nth-of-type(3) {
  animation-name: loader;
  border-top-color: #f3ff44;
}
#loader #spinners div:nth-of-type(3)::before {
  top: 25%;
  right: -10%;
  background: #f3ff44;
  box-shadow: 0px 0px 8px 8px rgba(243, 255, 68, 0.6), 0px 0px 12px 3px rgba(243, 255, 68, 0.4666666667), 0px 0px 15px 1px rgba(243, 255, 68, 0.2666666667);
}
#loader p {
  text-align: center;
  max-width: 90%;
}
#loader #mainText {
  font-size: 1.25rem;
  color: var(--text_colour);
  margin-bottom: 1rem;
}
#loader button {
  margin-top: 2rem;
}
#loader button[data-state=hidden] {
  display: none;
}
#loader .warning[data-state=hidden] {
  display: none;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes loader2 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.spinner {
  --_size: 3rem;
  display: grid;
  place-items: center;
}

.spinner .spinner_container {
  height: var(--_size);
  width: var(--_size);
  position: relative;
  animation: spin 5s linear infinite;
  transform-origin: 50% 50%;
}

.spinner .spine {
  display: block;
  height: var(--_size);
  width: 2px;
  background: linear-gradient(0deg, var(--cyan), var(--orange));
  position: absolute;
  border-radius: 4px;
  top: 0%;
  left: 50%;
  transform-origin: 50% 50%;
  animation: flex 5s ease-in-out infinite;
}

.spinner .spine:nth-of-type(2) {
  rotate: 45deg;
  background: linear-gradient(0deg, var(--pink), var(--red));
  animation-delay: 1s;
}

.spinner .spine:nth-of-type(3) {
  rotate: 90deg;
  background: linear-gradient(0deg, var(--blue), var(--green));
  animation-delay: 2s;
}

.spinner .spine:nth-of-type(4) {
  rotate: -45deg;
  background: linear-gradient(0deg, var(--gold), var(--silver));
  animation-delay: 3s;
}

@keyframes spin {
  100% {
    transform: rotate(-360deg);
  }
}
.toast {
  --bottom: 5vh;
  position: absolute;
  bottom: var(--bottom);
  right: 0;
  height: 4lh;
  min-width: 200px;
  width: fit-content;
  max-width: 600px;
  background-color: var(--surface_1);
  border: 1px solid var(--grey-600);
  border-right: none;
  border-radius: 8px 0 0 8px;
  z-index: 99;
  padding: 0.5rem 2rem 0.5rem 0.5rem;
  transform: translateX(100%);
  transition: transform 0.3s;
}
@media screen and (max-width: 767px) {
  .toast {
    max-width: 80vw;
  }
}
.toast[data-state=onscreen] {
  transform: translate(0);
}
.toast p {
  font-size: 0.85rem;
}
.toast .type {
  font-weight: bold;
  width: 80%;
  position: relative;
  margin-bottom: 0.75rem;
}
.toast .type[data-state=error] {
  color: var(--red-400);
}
.toast .type[data-state=success] {
  color: var(--green-400);
}
.toast .type::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--grey-800);
  bottom: -2px;
  left: 0;
}
.toast .closeButton {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0rem;
  right: 0rem;
  width: 25px;
  height: 25px;
  border-radius: 0 8px 0 50%;
  border: 1px solid var(--grey-800);
  background-color: var(--surface_2);
  z-index: 2;
  cursor: pointer;
  margin: 0;
}

.draggableList {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  width: 100%;
  gap: 10px 0;
}
.draggableList .draggableItem {
  width: 100%;
  background: var(--surface_4);
  color: var(--textColour);
  padding: 15px;
  border-radius: 5px;
  border: 1px solid var(--grey);
  display: flex;
  align-items: center;
  position: relative;
}
.draggableList .draggableItem.is-idle .handle {
  cursor: grab;
}
.draggableList .draggableItem.is-draggable {
  z-index: 10;
  cursor: grabbing;
}
.draggableList .draggableItem.is-draggable .handle {
  cursor: grabbing;
}
.draggableList .handle {
  position: absolute;
  right: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.draggableList .handle::after {
  content: "⠿";
  font-size: 1.5rem;
  color: var(--lightGrey);
}

.pikadayTarget {
  cursor: pointer;
}

.pika-single.pikaday-dark {
  background: var(--surface_2);
  color: var(--textColour);
}
.pika-single.pikaday-dark .pika-prev, .pika-single.pikaday-dark .pika-next {
  filter: invert(1);
  margin: 0;
}
.pika-single.pikaday-dark .pika-label {
  background: var(--surface_3);
}
.pika-single.pikaday-dark button {
  min-width: unset;
}
.pika-single.pikaday-dark .pika-button {
  background: var(--surface_3);
  color: var(--lightGrey);
}
.pika-single.pikaday-dark .pika-button:hover, .pika-single.pikaday-dark .pika-button:focus, .pika-single.pikaday-dark .pika-button:focus-visible {
  background: var(--surface_3);
  color: var(--pink);
}
.pika-single.pikaday-dark .is-selected {
  z-index: 10;
}
.pika-single.pikaday-dark .is-selected button {
  color: var(--pink);
  box-shadow: 0px 0px 5px 0px var(--pink);
}

.switchSection {
  display: grid;
  place-items: center;
}

.switchRow input {
  display: none;
}
.switchRow label {
  --size: 16px;
  --offset: 0.65;
  width: var(--size);
  height: var(--size);
  display: block;
  background-color: var(--grey);
  border-radius: 50%;
  position: relative;
}
.switchRow label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--size) * var(--offset));
  height: calc(var(--size) * var(--offset));
  background: radial-gradient(circle, var(--green) 0%, var(--cyan) 50%, var(--green) 100%);
  border-radius: inherit;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s;
}
.switchRow label[data-state=on]::after {
  transform: translate(-50%, -50%) scale(1);
}/*# sourceMappingURL=main.css.map */