.color-warning {
  color: hsl(0, 100%, 45%);
}

.blue {
  color: #0063e6;
}

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

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  color: #2e2e2e;
  font-family: "Roboto", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

blockquote {
  border-left: 0.3rem solid #d1d1d1;
  margin-left: 0;
  margin-right: 0;
  padding: 1rem 1.5rem;
}
blockquote *:last-child {
  margin-bottom: 0;
}

.button,
button,
input[type=button],
input[type=reset],
input[type=submit] {
  background-color: #fbde59;
  border: 0.1rem solid #fbde59;
  border-radius: 0.4rem;
  color: #242424;
  cursor: pointer;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  height: 3.8rem;
  letter-spacing: 0.1rem;
  line-height: 3.8rem;
  padding: 0 3rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.button:focus, .button:hover,
button:focus,
button:hover,
input[type=button]:focus,
input[type=button]:hover,
input[type=reset]:focus,
input[type=reset]:hover,
input[type=submit]:focus,
input[type=submit]:hover {
  background-color: #2e2e2e;
  border-color: #2e2e2e;
  color: #fff;
  outline: 0;
}
.button[disabled],
button[disabled],
input[type=button][disabled],
input[type=reset][disabled],
input[type=submit][disabled] {
  cursor: default;
  opacity: 0.5;
}
.button[disabled]:focus, .button[disabled]:hover,
button[disabled]:focus,
button[disabled]:hover,
input[type=button][disabled]:focus,
input[type=button][disabled]:hover,
input[type=reset][disabled]:focus,
input[type=reset][disabled]:hover,
input[type=submit][disabled]:focus,
input[type=submit][disabled]:hover {
  background-color: #fbde59;
  border-color: #fbde59;
  color: #242424;
}
.button.button-outline,
button.button-outline,
input[type=button].button-outline,
input[type=reset].button-outline,
input[type=submit].button-outline {
  background-color: transparent;
  color: rgb(182.6, 150.7, 4.4);
}
.button.button-outline:focus, .button.button-outline:hover,
button.button-outline:focus,
button.button-outline:hover,
input[type=button].button-outline:focus,
input[type=button].button-outline:hover,
input[type=reset].button-outline:focus,
input[type=reset].button-outline:hover,
input[type=submit].button-outline:focus,
input[type=submit].button-outline:hover {
  background-color: transparent;
  border-color: #2e2e2e;
  color: #2e2e2e;
}
.button.button-outline[disabled]:focus, .button.button-outline[disabled]:hover,
button.button-outline[disabled]:focus,
button.button-outline[disabled]:hover,
input[type=button].button-outline[disabled]:focus,
input[type=button].button-outline[disabled]:hover,
input[type=reset].button-outline[disabled]:focus,
input[type=reset].button-outline[disabled]:hover,
input[type=submit].button-outline[disabled]:focus,
input[type=submit].button-outline[disabled]:hover {
  border-color: inherit;
  color: #fbde59;
}
.button.button-clear,
button.button-clear,
input[type=button].button-clear,
input[type=reset].button-clear,
input[type=submit].button-clear {
  background-color: transparent;
  border-color: transparent;
  color: #fbde59;
}
.button.button-clear:focus, .button.button-clear:hover,
button.button-clear:focus,
button.button-clear:hover,
input[type=button].button-clear:focus,
input[type=button].button-clear:hover,
input[type=reset].button-clear:focus,
input[type=reset].button-clear:hover,
input[type=submit].button-clear:focus,
input[type=submit].button-clear:hover {
  background-color: transparent;
  border-color: transparent;
  color: #2e2e2e;
}
.button.button-clear[disabled]:focus, .button.button-clear[disabled]:hover,
button.button-clear[disabled]:focus,
button.button-clear[disabled]:hover,
input[type=button].button-clear[disabled]:focus,
input[type=button].button-clear[disabled]:hover,
input[type=reset].button-clear[disabled]:focus,
input[type=reset].button-clear[disabled]:hover,
input[type=submit].button-clear[disabled]:focus,
input[type=submit].button-clear[disabled]:hover {
  color: #fbde59;
}

input[type=color],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
input[type=week],
input:not([type]),
textarea,
select {
  -webkit-appearance: none;
  background-color: transparent;
  border: 0.1rem solid #d1d1d1;
  border-radius: 0.4rem;
  box-shadow: none;
  box-sizing: inherit;
  height: 3.8rem;
  padding: 0.6rem 1rem 0.7rem;
  width: 100%;
}
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=url]:focus,
input[type=week]:focus,
input:not([type]):focus,
textarea:focus,
select:focus {
  border-color: #004aad;
  outline: 0;
}

select {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%23d1d1d1" d="M0,0l6,8l6-8"/></svg>') center right no-repeat;
  padding-right: 3rem;
}
select:focus {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%23004aad" d="M0,0l6,8l6-8"/></svg>');
}
select[multiple] {
  background: none;
  height: auto;
}

textarea {
  min-height: 6.5rem;
}

label,
legend {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

fieldset {
  border-width: 0;
  padding: 0;
}

input[type=checkbox],
input[type=radio] {
  display: inline;
}

.label-inline {
  display: inline-block;
  font-weight: normal;
  margin-left: 0.5rem;
}

.container {
  margin: 0 auto;
  max-width: 112rem;
  padding: 0 2rem;
  position: relative;
  width: 100%;
}

.row {
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 100%;
}
.row.row-no-padding {
  padding: 0;
}
.row.row-no-padding > .column {
  padding: 0;
}
.row.row-wrap {
  flex-wrap: wrap;
}
.row.row-top {
  align-items: flex-start;
}
.row.row-bottom {
  align-items: flex-end;
}
.row.row-center {
  align-items: center;
}
.row.row-stretch {
  align-items: stretch;
}
.row.row-baseline {
  align-items: baseline;
}
.row .column {
  display: block;
  flex: 1 1 auto;
  margin-left: 0;
  max-width: 100%;
  width: 100%;
}
.row .column.column-offset-10 {
  margin-left: 10%;
}
.row .column.column-offset-20 {
  margin-left: 20%;
}
.row .column.column-offset-25 {
  margin-left: 25%;
}
.row .column.column-offset-33, .row .column.column-offset-34 {
  margin-left: 33.3333%;
}
.row .column.column-offset-40 {
  margin-left: 40%;
}
.row .column.column-offset-50 {
  margin-left: 50%;
}
.row .column.column-offset-60 {
  margin-left: 60%;
}
.row .column.column-offset-66, .row .column.column-offset-67 {
  margin-left: 66.6666%;
}
.row .column.column-offset-75 {
  margin-left: 75%;
}
.row .column.column-offset-80 {
  margin-left: 80%;
}
.row .column.column-offset-90 {
  margin-left: 90%;
}
.row .column.column-10 {
  flex: 0 0 10%;
  max-width: 10%;
}
.row .column.column-20 {
  flex: 0 0 20%;
  max-width: 20%;
}
.row .column.column-25 {
  flex: 0 0 25%;
  max-width: 25%;
}
.row .column.column-33, .row .column.column-34 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}
.row .column.column-40 {
  flex: 0 0 40%;
  max-width: 40%;
}
.row .column.column-50 {
  flex: 0 0 50%;
  max-width: 50%;
}
.row .column.column-60 {
  flex: 0 0 60%;
  max-width: 60%;
}
.row .column.column-66, .row .column.column-67 {
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
}
.row .column.column-75 {
  flex: 0 0 75%;
  max-width: 75%;
}
.row .column.column-80 {
  flex: 0 0 80%;
  max-width: 80%;
}
.row .column.column-90 {
  flex: 0 0 90%;
  max-width: 90%;
}
.row .column .column-top {
  align-self: flex-start;
}
.row .column .column-bottom {
  align-self: flex-end;
}
.row .column .column-center {
  align-self: center;
}

@media (min-width: 40rem) {
  .row {
    flex-direction: row;
    margin-left: -1rem;
    width: calc(100% + 2rem);
  }
  .row .column {
    margin-bottom: inherit;
    padding: 0 1rem;
  }
}
a {
  color: #0063e6;
  text-decoration: none;
}
a:focus, a:hover {
  color: #2e2e2e;
}

dl,
ol,
ul {
  list-style: none;
  margin-top: 0;
  padding-left: 0;
}
dl dl,
dl ol,
dl ul,
ol dl,
ol ol,
ol ul,
ul dl,
ul ol,
ul ul {
  font-size: 90%;
  margin: 1.5rem 0 1.5rem 3rem;
}

ol {
  list-style: decimal inside;
}

ul {
  list-style: inside;
}

.button,
button,
dd,
dt,
li {
  margin-bottom: 1rem;
}

fieldset,
input,
select,
textarea {
  margin-bottom: 1.5rem;
}

blockquote,
dl,
figure,
form,
ol,
p,
pre,
table,
ul {
  margin-bottom: 2.5rem;
}

table {
  border-spacing: 0;
  display: block;
  overflow-x: auto;
  text-align: left;
  width: 100%;
}

td,
th {
  border-bottom: 0.1rem solid #e1e1e1;
  padding: 1.2rem 1.5rem;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
td:last-child,
th:last-child {
  padding-right: 0;
}

@media (min-width: 40rem) {
  table {
    display: table;
    overflow-x: initial;
  }
}
b,
strong {
  font-weight: bold;
}

p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.1rem;
  margin-bottom: 2rem;
  margin-top: 0;
}

h1 {
  font-size: 5.4rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.25;
}

h3 {
  font-size: 2.4rem;
  line-height: 1.3;
}

h4 {
  font-size: 2.2rem;
  letter-spacing: -0.08rem;
  line-height: 1.35;
}

h5 {
  font-size: 1.8rem;
  letter-spacing: -0.05rem;
  line-height: 1.5;
}

h6 {
  font-size: 1.6rem;
  letter-spacing: 0;
  line-height: 1.4;
}

img {
  max-width: 100%;
}

.button.button-red {
  background-color: hsl(0, 100%, 45%);
  border-color: hsl(0, 100%, 45%);
  color: #fff;
}
.button.button-red:focus, .button.button-red:hover {
  background-color: hsl(0, 100%, 60%);
  border-color: hsl(0, 100%, 60%);
  color: #fff;
}
.button.button-red[disabled]:focus, .button.button-red[disabled]:hover {
  background-color: hsl(0, 100%, 45%);
  border-color: hsl(0, 100%, 45%);
}
.button.button-red.button-outline {
  background-color: transparent;
  color: hsl(0, 100%, 30%);
}
.button.button-red.button-outline:focus, .button.button-red.button-outline:hover {
  background-color: hsl(0, 100%, 45%);
  border-color: hsl(0, 100%, 30%);
  color: #fff;
}
.button.button-red.button-outline[disabled]:focus, .button.button-red.button-outline[disabled]:hover {
  background-color: transparent;
  border-color: hsl(0, 100%, 30%);
  color: hsl(0, 100%, 30%);
}
.button.button-green {
  background-color: #00bf63;
  border-color: rgb(0, 114.5, 59.3481675393);
  color: #fff;
}
.button.button-green:focus, .button.button-green:hover {
  background-color: rgb(0, 140, 72.5654450262);
  border-color: rgb(0, 63.5, 32.9136125654);
  color: #fff;
}
.button.button-green[disabled]:focus, .button.button-green[disabled]:hover {
  background-color: #00bf63;
  border-color: rgb(0, 114.5, 59.3481675393);
}
.button.button-green.button-outline {
  background-color: transparent;
  color: rgb(0, 114.5, 59.3481675393);
}
.button.button-green.button-outline:focus, .button.button-green.button-outline:hover {
  background-color: #00bf63;
  border-color: rgb(0, 114.5, 59.3481675393);
  color: #fff;
}
.button.button-green.button-outline[disabled]:focus, .button.button-green.button-outline[disabled]:hover {
  background-color: transparent;
  border-color: rgb(0, 114.5, 59.3481675393);
  color: rgb(0, 114.5, 59.3481675393);
}
.button.button-blue {
  background-color: #004aad;
  border-color: rgb(0, 41.2774566474, 96.5);
  color: #fff;
}
.button.button-blue:focus, .button.button-blue:hover {
  background-color: rgb(0, 52.1849710983, 122);
  border-color: rgb(0, 19.4624277457, 45.5);
  color: #fff;
}
.button.button-blue[disabled]:focus, .button.button-blue[disabled]:hover {
  background-color: #004aad;
  border-color: rgb(0, 41.2774566474, 96.5);
}
.button.button-blue.button-outline {
  background-color: transparent;
  color: rgb(0, 41.2774566474, 96.5);
}
.button.button-blue.button-outline:focus, .button.button-blue.button-outline:hover {
  background-color: #004aad;
  border-color: rgb(0, 41.2774566474, 96.5);
  color: #fff;
}
.button.button-blue.button-outline[disabled]:focus, .button.button-blue.button-outline[disabled]:hover {
  background-color: transparent;
  border-color: rgb(0, 41.2774566474, 96.5);
  color: rgb(0, 41.2774566474, 96.5);
}
.button.button-cyan {
  background-color: #5ce1e6;
  border-color: rgb(32.6462765957, 206.3244680851, 212.8537234043);
  color: #fff;
}
.button.button-cyan:focus, .button.button-cyan:hover {
  background-color: rgb(47.7819148936, 216.8617021277, 223.2180851064);
  border-color: rgb(25.8643617021, 163.4627659574, 168.6356382979);
  color: #fff;
}
.button.button-cyan[disabled]:focus, .button.button-cyan[disabled]:hover {
  background-color: #5ce1e6;
  border-color: rgb(32.6462765957, 206.3244680851, 212.8537234043);
}
.button.button-cyan.button-outline {
  background-color: transparent;
  color: rgb(32.6462765957, 206.3244680851, 212.8537234043);
}
.button.button-cyan.button-outline:focus, .button.button-cyan.button-outline:hover {
  background-color: #5ce1e6;
  border-color: rgb(32.6462765957, 206.3244680851, 212.8537234043);
  color: #fff;
}
.button.button-cyan.button-outline[disabled]:focus, .button.button-cyan.button-outline[disabled]:hover {
  background-color: transparent;
  border-color: rgb(32.6462765957, 206.3244680851, 212.8537234043);
  color: rgb(32.6462765957, 206.3244680851, 212.8537234043);
}
.button.button-magenta {
  background-color: #ff66c4;
  border-color: rgb(255, 25.5, 166.5);
  color: #fff;
}
.button.button-magenta:focus, .button.button-magenta:hover {
  background-color: rgb(255, 51, 176.3333333333);
  border-color: rgb(229.5, 0, 141);
  color: #fff;
}
.button.button-magenta[disabled]:focus, .button.button-magenta[disabled]:hover {
  background-color: #ff66c4;
  border-color: rgb(255, 25.5, 166.5);
}
.button.button-magenta.button-outline {
  background-color: transparent;
  color: rgb(255, 25.5, 166.5);
}
.button.button-magenta.button-outline:focus, .button.button-magenta.button-outline:hover {
  background-color: #ff66c4;
  border-color: rgb(255, 25.5, 166.5);
  color: #fff;
}
.button.button-magenta.button-outline[disabled]:focus, .button.button-magenta.button-outline[disabled]:hover {
  background-color: transparent;
  border-color: rgb(255, 25.5, 166.5);
  color: rgb(255, 25.5, 166.5);
}
.button.button-yellow {
  background-color: #ffde59;
  border-color: rgb(255, 206.7921686747, 12.5);
  color: #fff;
}
.button.button-yellow:focus, .button.button-yellow:hover {
  background-color: rgb(255, 211.8614457831, 38);
  border-color: rgb(216.5, 173.4608433735, 0);
  color: #fff;
}
.button.button-yellow[disabled]:focus, .button.button-yellow[disabled]:hover {
  background-color: #ffde59;
  border-color: rgb(255, 206.7921686747, 12.5);
}
.button.button-yellow.button-outline {
  background-color: transparent;
  color: rgb(191, 153.0301204819, 0);
}
.button.button-yellow.button-outline:focus, .button.button-yellow.button-outline:hover {
  background-color: #ffde59;
  border-color: rgb(255, 206.7921686747, 12.5);
  color: #fff;
}
.button.button-yellow.button-outline[disabled]:focus, .button.button-yellow.button-outline[disabled]:hover {
  background-color: transparent;
  border-color: rgb(255, 206.7921686747, 12.5);
  color: rgb(255, 206.7921686747, 12.5);
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  align-items: center;
}
@media (min-width: 1280px) {
  .stats-container {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
}

.stats-card {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25) !important;
  padding: 3rem;
  border-radius: 5px;
  width: fit-content;
  max-width: 100%;
}
@media (max-width: 500px) {
  .stats-card {
    padding: 1.5rem;
    max-width: calc(100vw - 2rem);
    width: calc(100vw - 3rem);
  }
}
@media (min-width: 501px) and (max-width: 1279px) {
  .stats-card {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 1280px) {
  .stats-card {
    flex: 1;
    max-width: none;
    width: auto;
    display: flex;
    flex-direction: column;
  }
}
.stats-card h1, .stats-card h2, .stats-card h3 {
  margin-top: 0;
  word-wrap: break-word;
  hyphens: auto;
  width: auto;
}
@media (max-width: 500px) {
  .stats-card h1, .stats-card h2, .stats-card h3 {
    font-size: 2rem;
  }
}
.stats-card div {
  margin: 0.3rem 0;
}

.stats-table {
  width: auto;
  min-width: 0;
}
@media (min-width: 501px) {
  .stats-table {
    margin: 0 auto;
  }
}
@media (max-width: 500px) {
  .stats-table {
    font-size: 1.4rem;
  }
  .stats-table th, .stats-table td {
    padding: 0.5rem 0.25rem;
  }
}

.chart-container {
  position: relative;
  min-height: 400px;
  width: 100%;
  max-width: 100%;
  min-width: 450px;
}
@media (max-width: 500px) {
  .chart-container {
    min-height: 300px;
    width: 100%;
    max-width: 100%;
    min-width: none;
  }
}

.chart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 450px;
}
@media (max-width: 500px) {
  .chart-loading {
    font-size: 1.4rem;
    min-width: none;
  }
}

.chart-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: #ff3131;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  min-width: 450px;
}
@media (max-width: 500px) {
  .chart-error {
    font-size: 1.4rem;
    padding: 1rem;
    text-align: center;
    min-width: none;
  }
}

.chart-loading,
.chart-error {
  height: 400px;
  min-width: 450px;
}
@media (max-width: 500px) {
  .chart-loading,
  .chart-error {
    height: 300px;
    min-width: none;
  }
}

.chart-canvas {
  width: 100%;
  height: 400px;
  transition: opacity 0.3s ease;
  min-width: 450px;
}
@media (max-width: 500px) {
  .chart-canvas {
    min-width: none;
    height: 300px;
  }
}

.chart-hidden {
  display: none !important;
}

.chart-loading-state {
  opacity: 0.5;
}

.form-control {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
  margin-bottom: 0.5rem;
}
.form-control--disabled {
  color: #d1d1d1;
  cursor: not-allowed;
}
.form-control input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: #2e2e2e;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}
.form-control input[type=checkbox]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #0063e6;
  background-color: CanvasText;
}
.form-control input[type=checkbox]:checked::before {
  transform: scale(1);
}
.form-control input[type=checkbox]:focus {
  outline: max(2px, 0.15em) solid #0063e6;
  outline-offset: max(2px, 0.15em);
}
.form-control input[type=checkbox]:disabled {
  color: #d1d1d1;
  cursor: not-allowed;
}
.form-control input[type=checkbox]:disabled::before {
  box-shadow: inset 1em 1em #d1d1d1;
}

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
}
.modal-overlay.show {
  display: flex;
}

.modal-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
}

.modal-content {
  padding: 3rem;
  text-align: center;
}

.modal-scrollable {
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}
.modal-header.warning {
  color: #856404;
}
.modal-header.success {
  color: #155724;
}
.modal-header.error {
  color: #721c24;
}
.modal-header h3 {
  margin-bottom: 1.5rem;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-form .field {
  margin-bottom: 1.5rem;
}
.modal-form .field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.modal-form .field input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1.6rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}
.modal-buttons .button {
  flex: 1;
}

.modal-spinner {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.modal-spinner.hidden {
  display: none;
}

.modal-loader {
  width: 48px;
  height: 48px;
  border: 5px solid #f4f5f6;
  border-bottom-color: #2563eb;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.modal-message {
  font-size: 1.8rem;
  font-weight: 500;
  color: #606c76;
  margin: 0;
}
.modal-message.success {
  color: #155724;
}
.modal-message.warning {
  color: #856404;
}
.modal-message.error {
  color: #721c24;
}

.modal-header-success {
  background: linear-gradient(135deg, #f0b428, rgb(214.0652173913, 154.3260869565, 14.9347826087));
  color: white;
  padding: 2rem;
  border-radius: 8px 8px 0 0;
  margin: -3rem -3rem 0;
}

.modal-header-success h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.modal-body strong {
  color: #b47e00;
}

/* Form Overlay for Team Members */
.form-disabled {
  position: relative;
}

.form-disabled::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
  border-radius: 8px;
}

/* Responsive button arrangement */
@media (min-width: 480px) {
  .modal-buttons--stacked {
    flex-direction: row;
  }
  .modal-buttons--stacked .button {
    flex: 1;
  }
}
@media (max-width: 479px) {
  .modal-buttons--stacked {
    flex-direction: column;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  padding: 3rem;
  text-align: center;
}

.team-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  align-items: center;
  justify-content: center;
}
.team-modal.show {
  display: flex;
}

.team-modal-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  padding: 3rem;
  max-height: 80vh;
  overflow-y: auto;
}

.subscription-warning {
  text-align: center;
}
.subscription-warning h3 {
  color: #856404;
  margin-bottom: 1.5rem;
}
.subscription-warning p {
  color: #6c757d;
  margin-bottom: 1rem;
}

.team-form h3 {
  margin-bottom: 2rem;
  text-align: center;
}
.team-form .field {
  margin-bottom: 1.5rem;
}
.team-form .field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.team-form .field input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1.6rem;
}

.payment-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
}
.payment-modal.show {
  display: flex;
}
.payment-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-modal-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  padding: 4rem 3rem;
  text-align: center;
  min-width: 300px;
  max-width: 90vw;
}

.payment-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.payment-spinner {
  display: flex;
  justify-content: center;
}
.payment-spinner.hidden {
  display: none;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #f4f5f6;
  border-bottom-color: #2563eb;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.payment-modal-message {
  font-size: 1.8rem;
  font-weight: 500;
  color: #606c76;
  margin: 0;
}
.payment-modal-message.success {
  color: #155724;
}
.payment-modal-message.error {
  color: #721c24;
}

.contest-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contest-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 1.2rem;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.contest-card__header {
  margin-bottom: 1rem;
  margin-top: 0;
}

.contest-card__dates {
  display: flex;
  gap: 3rem;
  margin-bottom: 1rem;
}
@media (max-width: 500px) {
  .contest-card__dates {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.contest-card__field strong {
  margin-right: 0.25rem;
}

.contest-status-badge {
  display: inline-block;
  padding: 0.2rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
}
.contest-status-badge--upcoming {
  background-color: #004aad;
}
.contest-status-badge--active {
  background-color: #00bf63;
}
.contest-status-badge--completed {
  background-color: #666;
}

.contest-countdown {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: #f3f3f3;
  border-radius: 0.8rem;
  color: #333;
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
}

.contest-active-banner {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: rgb(191, 255, 224.1727748691);
  border-radius: 0.8rem;
  color: rgb(0, 89, 46.1308900524);
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
}

.contest-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contest-nav {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  justify-content: center;
}
.contest-nav a {
  color: #718096;
  font-size: 1.5rem;
  font-weight: 400;
  text-decoration: none;
}
.contest-nav a:hover {
  color: #4a5568;
}

.contest-new-guidelines {
  margin-block: 3rem;
  padding: 2.5rem;
  background-color: #f3f3f3;
  border-radius: 1.2rem;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}
.contest-new-guidelines h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.contest-new-guidelines ul {
  margin: 0;
  padding-left: 1.5rem;
}

.contest-edit-guidelines {
  margin-top: 3rem;
  padding: 2.5rem;
  background-color: #f3f3f3;
  border-radius: 1.2rem;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}
.contest-edit-guidelines h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.contest-edit-guidelines ul {
  margin: 0;
  padding-left: 1.5rem;
}

.leaderboard-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.leaderboard-title {
  color: #004aad;
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  white-space: nowrap;
}

.leaderboard-period-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, rgb(0, 56.5479768786, 132.2), rgb(20, 120.5202312139, 255));
  color: #fff;
  padding: 1.4rem 2rem;
  border-radius: 1.2rem;
  margin-bottom: 3rem;
  font-size: 1.4rem;
}
@media (max-width: 600px) {
  .leaderboard-period-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

.leaderboard-period-bar__dates strong {
  font-weight: 700;
}

.leaderboard-period-bar__status {
  display: inline-block;
  padding: 0.4rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
}
.leaderboard-period-bar__status--upcoming {
  background-color: #fff;
  color: #000;
}
.leaderboard-period-bar__status--active {
  background-color: #ffde59;
  color: #000;
}
.leaderboard-period-bar__status--completed {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.leaderboard-cards {
  display: flex;
  gap: 2.4rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .leaderboard-cards {
    flex-direction: column;
  }
}

.leaderboard-card {
  flex: 1;
  background: #fff;
  border: none;
  border-radius: 2.4rem;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  padding: 2.5rem 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.leaderboard-card__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: #004aad;
  margin-top: 0;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.leaderboard-card__icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.leaderboard-card__icon svg {
  display: block;
}

.leaderboard-card__table-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.2fr 1fr 1.2fr;
  padding: 0 0.5rem 0.8rem;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
  gap: 0.5rem;
}
.leaderboard-card__table-header span {
  color: #718096;
  font-size: 1.3rem;
  font-weight: 600;
}

.leaderboard-card--empty .leaderboard-card__table-header {
  display: flex;
  justify-content: space-between;
  border-bottom: none;
}

.leaderboard-card__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 28rem;
  background-color: #f3f3f3;
  border-radius: 1.2rem;
  text-align: center;
}
.leaderboard-card__empty p {
  color: #718096;
  font-size: 1.4rem;
  margin: 0;
}

.leaderboard-card__empty-icon {
  margin-bottom: 1.2rem;
  line-height: 1;
  opacity: 0.2;
}
.leaderboard-card__empty-icon img,
.leaderboard-card__empty-icon svg {
  display: block;
}

.teams-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.teams-page__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8rem;
  margin-bottom: 2rem;
  padding: 0 2.5rem;
}
@media (max-width: 500px) {
  .teams-page__header {
    padding: 0 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
}

.teams-page__title {
  margin: 0;
}

.teams-page__header-actions {
  display: flex;
  gap: 2rem;
}

.teams-page__link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: #004aad;
  cursor: pointer;
  text-decoration: none;
  text-underline-offset: 0.3rem;
  height: auto;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.teams-page__link:hover, .teams-page__link:focus {
  background: none;
  color: rgb(0, 41.2774566474, 96.5);
  text-decoration: underline;
  opacity: 1;
}

.team-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 1.2rem;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
@media (max-width: 500px) {
  .team-card {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

.team-card__name {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
}

.team-card__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.team-card__actions .button {
  margin-bottom: 0;
}
@media (max-width: 500px) {
  .team-card__actions {
    width: 100%;
    flex-direction: column;
  }
}

.team-card__empty {
  background: #fff;
  padding: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.team-card__empty p {
  margin-bottom: 0;
  color: #666;
}

.bebas {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

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

.app-image__container {
  /*display: flex;*/
  padding: 1rem;
  margin-block: 1rem;
  border: 1px solid gray;
  border-radius: 4px;
}

.images-container {
  display: flex;
  gap: 20px;
}

.canvas-container {
  position: relative;
  height: 600px;
  width: 480px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: opacity 50ms ease-out;
}
.canvas-container.loading {
  opacity: 0.4;
}
.canvas-container.loading .loading-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 14px;
  z-index: 1;
  opacity: 1;
  transition: opacity 50ms ease-out;
}
.canvas-container.loaded {
  opacity: 1;
}
.canvas-container:not(.loading) .loading-placeholder {
  opacity: 0;
  pointer-events: none;
  transition: opacity 50ms ease-out;
}
.canvas-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* This maintains aspect ratio and centers the image */
  transition: opacity 50ms ease-out;
}

.channel-buttons .row {
  margin-bottom: 1rem;
}
.channel-buttons .row:last-child {
  margin-bottom: 0;
}
.channel-buttons .button-full-width {
  width: 100%;
  margin: 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #004aad;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.navbar-box-shadow {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25) !important;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  list-style: none;
  /* Override Milligram's default link hover behavior */
}
.nav-menu > li > a:hover,
.nav-menu > li > a:focus {
  color: white !important;
}

.nav-item {
  align-self: center;
  margin: 0;
}

.nav-link {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.6rem;
  color: white;
  padding: 5px 10px; /* Add padding to increase hover area */
  border-radius: 4px;
  display: inline-block; /* Ensure the padding is applied properly */
  transition: background-color 0.2s;
}
.nav-link:focus, .nav-link:hover {
  background-color: #3d3d3d;
  color: white !important; /* Force the text color to stay the same on hover */
  opacity: 1; /* Prevent opacity changes that might lighten text */
}

.alert, .notice {
  padding: 1rem;
  margin-bottom: 3rem;
  border-radius: 4px;
  border: 2px solid;
  font-weight: 600;
  text-align: center;
}

.notice {
  background-color: rgb(224, 255, 240);
  border-color: rgb(0, 74, 38);
  color: rgb(0, 74, 38);
  text-wrap: pretty;
}

.alert {
  background-color: #fff;
  border-color: hsl(0, 100%, 45%);
  color: hsl(0, 100%, 45%);
  text-wrap: pretty;
}

.alert-colors {
  background-color: #fff;
  border-color: hsl(0, 100%, 45%);
  color: hsl(0, 100%, 45%);
}

.devise-errors {
  border: 1px solid hsl(0, 100%, 45%);
  border-radius: 5px;
  padding: 1rem;
  background-color: #fff;
  border-color: hsl(0, 100%, 45%);
  color: hsl(0, 100%, 45%);
}

.wide-screen-only {
  display: block;
}
@media (max-width: 999px) {
  .wide-screen-only {
    display: none;
  }
}

.narrow-screen-only {
  display: none;
}
@media (max-width: 999px) {
  .narrow-screen-only {
    display: block;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}
@media (max-width: 600px) {
  .hide-small {
    display: none;
  }
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
}
.table-responsive table {
  width: auto !important;
  min-width: fit-content;
  margin: 0;
}
@media (max-width: 768px) {
  .table-responsive table {
    display: table !important;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  td,
  th {
    padding: 1rem 0.8rem !important;
    white-space: nowrap;
  }
  td:first-child,
  th:first-child {
    padding-left: 0.8rem !important;
  }
  td:last-child,
  th:last-child {
    padding-right: 0.8rem !important;
  }
  .table-responsive a {
    font-size: 1.4rem;
  }
}
@media (max-width: 600px) {
  td,
  th {
    padding: 0.8rem 0.6rem !important;
    font-size: 1.4rem;
  }
  td:first-child,
  th:first-child {
    padding-left: 0.6rem !important;
  }
  td:last-child,
  th:last-child {
    padding-right: 0.6rem !important;
  }
}
.guess-result {
  color: white;
  background-color: #242424;
  display: inline-block;
  width: 42rem;
  padding: 0.75rem 4rem;
  border-radius: 0.4rem;
}

.how-to-page p,
.how-to-page ul {
  margin-bottom: 1rem;
}
.how-to-page section + section {
  margin-top: 4rem;
}
.how-to-page .how-to-heading {
  font-weight: 700;
  font-size: 1.8rem;
  margin-top: 1.5rem;
}

.logo-container {
  /* display: flex; */
  /* align-items: center; */
  padding: 2rem;
  line-height: 1;
}

.logo {
  max-width: 15rem;
  height: 3rem;
}

[data-controller=image-manipulator]:focus,
[data-controller=image-identifier]:focus {
  outline: none;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 5px;
  padding-top: 8px; /* Add padding to create a larger hover target */
  padding-bottom: 8px;
}

/* Add invisible gap to help with mouse movement */
.dropdown:before {
  content: "";
  position: absolute;
  height: 15px; /* Gap height between toggle and content */
  width: 100%;
  bottom: -10px;
  left: 0;
}

.dropdown-content a {
  color: #242424;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #242424 !important; /* Force the text color to stay the same on hover */
  opacity: 1; /* Prevent opacity changes that might lighten text */
}

/* Using opacity and transition for smoother dropdown experience */
.dropdown .dropdown-content {
  opacity: 0;
  visibility: hidden;
  display: block;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
}

.dropdown:hover .dropdown-content,
.dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 8px; /* Increase padding to make it easier to hover */
  margin: -8px; /* Negative margin to maintain visual position */
}

.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border-top: 5px solid white;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.logo-type {
  font-size: 5.4rem;
  color: white;
}

.logo-subtitle {
  font-size: 2.4rem;
  color: white !important;
}

.logo-magenta {
  color: #fc66c4;
}

.logo-red {
  color: #fc2f31;
}

.logo-yellow {
  color: #fbde59;
}

.logo-green {
  color: #17bf63;
}

.logo-blue {
  color: #184aad;
}

.tooltip-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #184aad;
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: help;
  user-select: none;
  transition: background-color 0.2s;
}
.tooltip-icon:hover {
  background-color: #184aad;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 14px;
  z-index: 1000;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}
.tooltip-text::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #333;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container.active .tooltip-text {
  visibility: visible;
  opacity: 1;
}
