/* From Uiverse.io by Priyanshu02020 */ 
#heart {
  display: none;
}

.like-button {
  position: relative;
  cursor: pointer;
  display: flex;
  height: 48px;
  width: fit-content;
  min-width: 0;
  border-radius: 16px;
  border: none;
  background-color: #1d1d1d;
  overflow: hidden;
  box-shadow:
    inset -2px -2px 5px rgba(255, 255, 255, 0.2),
    inset 2px 2px 5px rgba(0, 0, 0, 0.1),
    4px 4px 10px rgba(0, 0, 0, 0.4),
    -2px -2px 8px rgba(255, 255, 255, 0.1);
  gap: 12px;
}

.like {
  height: 100%;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-evenly;
  gap: 8px;
}

.like-icon {
  fill: #505050;
  height: 28px;
  width: 28px;
  margin-left: 8px;
}

.like-text {
  color: #fcfcfc;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.like-count-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.like-count {
  display: flex;
  align-items: center;
  color: #717070;
  font-size: 16px;
  transition: all 0.5s ease-out;
  padding-right: 12px;
}

.like-count.two {
  display: none;
}

.on:checked ~ .like .like-icon {
  fill: #fc4e4e;
  animation: enlarge 0.2s ease-out 1;
  transition: all 0.2s ease-out;
}

.on:checked ~ .like-count.two {
  transform: translateX(0);
  color: #fcfcfc;
}

.on:checked ~ .like-count.one {
  transform: translateY(-40px);
}

@keyframes enlarge {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1.2);
  }
}

.yeb-like-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 32px 0 0 0;
  font-size: 1.2em;
}
.yeb-like-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}
.yeb-like-count {
  font-weight: bold;
  color: #e74c3c;
  font-size: 1.5em;
}
.yeb-like-checkbox {
  display: none;
}
.yeb-like-icon {
  width: 32px;
  height: 32px;
  fill: #e74c3c;
  transition: fill 0.2s;
}
.yeb-like-checkbox:checked + .yeb-like-icon {
  fill: #ff9800;
}
.like-divider {
  width: 1px;
  height: 24px;
  background: #eee;
  margin: 0 8px;
  display: inline-block;
} 