#wrapper {
  /* display: flex; */
}

.greyed-out-text {
  color: #808080;
}

.small-text {
  font-size: small;
}

.j2e-pill {
  background-color: transparent;
  border: 4px solid var(--top-right-blur-2);
  color: black;
  padding: 4px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 16px;
  box-shadow: ;
}

.j2e-pill-primary {
  /* background-color: var(--top-right-blur-2); */
}

.j2e-drop-shadow {
  box-shadow: 12px 12px 2px 1px rgb(0 0 255 / 0.2);
}

.gradient {
  background: linear-gradient(
    45deg,
    var(--bottom-left-blur-1),
    var(--top-right-blur-2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 1.4rem;
}

.tooltip > span {
  position: absolute;
  display: inline-block;
  /* border-bottom: 1px dotted black; */
  cursor: pointer;
  /* bottom: -5px; */
}

.tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%; /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltiptext {
  -webkit-text-fill-color: white;
  margin-top: 32px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* progress::-moz-progress-bar {
  background: lightblue;
}

progress::-webkit-progress-value {
  background: red;
}

progress::-webkit-progress-bar {
  background: blue;
} */

progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
  appearance: none;

  width: 250px;
  height: 20px;
}

progress[value]::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
  /* background-image: -webkit-linear-gradient(
      -45deg,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    ),
    -webkit-linear-gradient(top, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.25)),
    -webkit-linear-gradient(left, #09c, #f44); */

  /* background-image: var(--excel-green-medium); */
  /* background-image: var(--top-right-blur-2); */
  /* background-color: var(--top-right-blur-2); */
  background-color: var(--excel-green-medium);

  border-radius: 2px;
  background-size: 35px 20px, 100% 100%, 100% 100%;
}

/*
 Cards
*/

.card-v2 {
  background: white;

  color: rgb(68, 71, 70);
  border-radius: 10px;

  padding: 16px;

  filter: drop-shadow(1px 2px 8px var(--shadow-color));
  --shadow-color: hsl(149, 88%, 26%);
  box-shadow: 0 1px 1px hsl(149, 88%, 26% / 0.075);
}

.card-v2-content {
  padding: 16px;
}

.card-v2.small {
  @media (max-width: 600px) {
    max-width: 350px;
  }

  @media (min-width: 800px) {
    min-height: 200px;
    min-width: 200px;
    border: purple;
  }

  @media (min-width: 1200px) {
    min-height: 300px;
    min-width: 300px;
    border: green;
  }

  @media (min-width: 1700px) {
    min-height: 400px;
    min-width: 400px;
    border: orange;
  }
}

.card-v2.medium {
  @media (min-width: 800px) {
    min-height: 300px;
    min-width: 300px;
  }

  @media (min-width: 1200px) {
    min-height: 400px;
    min-width: 400px;
  }

  @media (min-width: 1700px) {
    min-height: 500px;
    min-width: 500px;
  }
}

.card-v2.large {
  max-width: 100vw;
  @media (max-width: 600px) {
    /* min-height: 250px; */
    /* max-width: 200px; */
    max-height: fit-content;
    max-width: fit-content;
  }

  @media (min-width: 800px) {
    min-height: 350px;
    min-width: 350px;
  }

  @media (min-width: 1200px) {
    min-height: 450px;
    min-width: 450px;
  }

  @media (min-width: 1700px) {
    min-height: 550px;
    min-width: 550px;
    max-width: fit-content;
  }
}

.card-v2 .card-v2-title {
  padding: 16px 0px 4px 16px;
  font-weight: 600;
  font-size: 2rem;
  border-bottom: 1px solid grey;
  text-align: right;
}

.card-v2.small .card-v2-title {
  font-size: 1.2rem;
}

.card-v2.medium .card-v2-title {
  font-size: 1.5rem;
}

.card-v2.large .card-v2-title {
  font-size: 1.7rem;
}

.card-v2 .card-v2-body {
  padding: 16px;
}

.test-wrapper {
  /* height: fit-content; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 32px;
}

.center-content {
  display: flex;
  flex-direction: row;
  /* align-items: center; */
}

.link-no-decoration {
  text-decoration: none;
  color: inherit;
}

/*
 Grids
*/

.j2e-grid {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  justify-content: center;
  gap: 32px;
  padding: 32px;

  @media (min-width: 800px) {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }

  @media (min-width: 1200px) {
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto;
  }

  @media (min-width: 1700px) {
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto auto auto auto;
  }
}
