/**
 *   Fonts
 **************************************************************************************/

/* Inter 18pt */
@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-ThinItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-ExtraLightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 200;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-LightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-SemiBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-BoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-ExtraBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 800;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("./fonts/inter/Inter_18pt-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
}

/* Inter 24pt */
@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-ThinItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-ExtraLightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 200;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-LightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-SemiBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-BoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-ExtraBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 800;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Inter 24pt";
  src: url("./fonts/inter/Inter_24pt-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
}

/* Inter 28pt */
@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-ThinItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-ExtraLightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 200;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-LightItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-SemiBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-BoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-ExtraBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 800;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Inter 28pt";
  src: url("./fonts/inter/Inter_28pt-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
}

/**
 *   Browser Reset
 **************************************************************************************/

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

a {
  text-decoration: none;
}

small {
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--colorGreyDark);
}

button,
input,
textarea,
select {
  font: inherit;
  border: 0;
  background: none;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--colorPrimary);
}

button,
input[type="submit"] {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

table th {
  text-align: left;
}

:root {
  --colorGreenOlive: #777b14;
  --colorGreenOliveDark: #4f520c;
  --colorGreyLight: #f5f5f5;
  --colorGrey: #eaeaea;
  --colorGreyDark: #666;
  --colorBlack: #000;
  --colorWhite: #fff;
  --colorPrimary: #afb514;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.75rem;
}

body {
  margin: 0;
  font-family: "Inter 18pt", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: var(--colorBlack);
}

/**
 *   Utilities
 **************************************************************************************/

.mt-3 {
  margin-top: var(--space-3);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.is-hidden {
  display: none;
}

.d-block {
  display: block;
}

.w-1\/2 {
  width: 50%;
}

.center {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/**
 *   Typography
 **************************************************************************************/

.headline--3 {
  font-size: 2.1875rem;
  line-height: 2.8125rem;
  margin-bottom: 1.25rem;
}

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

/**
 *   Buttons
 **************************************************************************************/

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
  transition:
    color 0.25s ease-in-out,
    background-color 0.25s ease-in-out;
  border-radius: 9999px;
  user-select: none;
}

.button--icon {
  padding: 0.875rem;
}

.button[disabled],
.button--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button--small {
  font-size: 0.9375rem;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
}

.button--primary {
  color: var(--colorWhite);
  background: var(--colorGreenOlive);
}

.button--primary:hover:not([disabled]):not(.button--disabled) {
  background: var(--colorGreenOliveDark);
}

.button--grey {
  background: var(--colorWhite);
  color: var(--colorGreyDark);
  border: 1px solid var(--colorGreyDark);
}

.button--grey:hover:not([disabled]):not(.button--disabled) {
  background: var(--colorGreyDark);
  color: var(--colorWhite);
}

.download-button {
  padding: 0;
}

.download-button img {
  display: block;
}

/**
 *   Forms
 **************************************************************************************/

.formfield {
  margin-bottom: 1.0625rem;
}

.label {
  font-size: 0.9375rem;
  line-height: 1.0625rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.textfield {
  width: 100%;
  padding: 1rem;
  background-color: var(--colorGreyLight);
  color: var(--colorBlack);
  font-size: 0.9375rem;
  line-height: 1.1875rem;
  border-radius: 0.25rem;
  display: block;
  font-family: InterSemiBold, Arial, sans-serif;
  border: 1px solid var(--colorGreyDark);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.0625rem;
}

.checkbox input {
  display: none;
}

.checkbox__indicator {
  position: relative;
  height: 1.375rem;
  width: 1.375rem;
  background: var(--colorGrey);
  border-radius: 3px;
  display: inline-block;
}

.checkbox input:checked ~ .checkbox__indicator {
  border: 1px solid var(--colorGreenOlive);
}

.checkbox__indicator:after {
  content: "";
  position: absolute;
  display: none;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  width: 0.875rem;
  height: 0.875rem;
  background: var(--colorGreenOlive);
}

.checkbox input:checked ~ .checkbox__indicator:after {
  display: block;
}

/**
 *   Flex
 **************************************************************************************/

.flex {
  display: flex;
}

.flex--justify-center {
  justify-content: center;
}

.flex--justify-end {
  justify-content: flex-end;
}

.flex--items-center {
  align-items: center;
}

.flex--gap-1 {
  gap: 1rem;
}

/**
 *   App
 **************************************************************************************/

.app {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
}

.app__head {
  grid-row: 1;
}

.app__body {
  grid-row: 2;
  overflow-y: auto;
}

.app__foot {
  grid-row: 3;
}

/**
 *   Modal
 **************************************************************************************/

.modal {
  position: fixed;
  border-radius: 0.6875rem;
  background-color: var(--colorWhite);
  width: 80%;
  height: 90%;
  overflow: visible;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3000;
  border: 0;
  margin: 0;
  padding: 0;
}

::backdrop {
  background: var(--colorWhite);
  /*
    background: var(--colorBlack);
    opacity: .5;
    */
}

.modal__content {
  overflow: auto;
  width: 100%;
  height: 100%;
}

.modal__closer {
  display: block;
  text-align: center;
  position: absolute;
  font-size: 1.5625rem;
  margin-right: -0.625rem;
  padding: 0;
  width: 2.1875rem;
  height: 2.1875rem;
  line-height: 2.1875rem;
  top: 0;
  left: calc(100% + 10px);
  border-radius: 50%;
  background-color: var(--colorPrimary);
  cursor: pointer;
  transition:
    color 0.25s ease-in-out,
    background-color 0.25s ease-in-out;
}

.modal__closer:hover {
  background: var(--colorGreenOlive);
}

/**
 *   Results
 **************************************************************************************/

.login {
  padding: 4.375rem 7.5rem 1.875rem;
}

/**
 *   Results
 **************************************************************************************/

.table {
  height: 22.5rem;
  overflow: auto;
  font-size: 0.9375rem;
}

.table td,
.table th {
  padding: 0.9375rem;
}

.table__inner {
  width: 100%;
}

.table tr:nth-child(2n + 1) {
  background: var(--colorGreyLight);
}

.table__actions {
  text-align: right;
}

/**
 *   Tooltip
 **************************************************************************************/

.tippy-box {
  background: var(--colorGrey);
  color: var(--colorBlack);
}

.tippy-arrow {
  color: var(--colorGrey);
}
