
.icon {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  vertical-align: middle;
  margin: 5px;
}

.gradient-border {
  --borderWidth: 3px;
/*  background: #1D1F20; */
  position: relative;
  border-radius: var(--borderWidth);
}
.gradient-border:after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  border-radius: calc(2 * var(--borderWidth));
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
}


@keyframes animatedgradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


details {
  position: relative; /* Allows absolute positioning of the sticker */
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
}

/* Sticker base style */
details.fave::before,
details.free::before {
  content: attr(data-label); /* Use data-label attribute for label text */
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #ff4081;
  color: white;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
}

/* Class-specific styles for labels */
details.free::before {
  content: "FREE";
  background-color: #ff9800;
}

details.fave::before {
  content: "Favorite";
  background-color: #4caf50;
}



