/* Follow Button */
.custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 114px;
  height: 22px;
  background: #ff9bc6;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  margin: 0px auto 22px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  outline: none;
}

.custom-button span {
  position: absolute;
  left: 0;
  right: 0;
  color: white;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.custom-button .follow-text {
  opacity: 1;
  transform: translateY(0);
}

.custom-button .following-text,
.custom-button .unfollow-text {
  opacity: 0;
}

.custom-button .following-text {
  transform: translateY(100%);
}

.custom-button .unfollow-text {
  transform: translateY(-100%);
}

.custom-button.following {
  background: linear-gradient(90deg, #ff7bac 0%, #85b5b9 100%);
}

.custom-button.following .follow-text {
  opacity: 0;
  transform: translateY(-100%);
}

.custom-button.following .following-text {
  opacity: 1;
  transform: translateY(0);
}

.custom-button.following:hover .following-text {
  opacity: 0 !important;
  transform: translateY(-100%) !important;
  visibility: hidden;
}

.custom-button.following:hover .unfollow-text {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible;
}

.custom-button.following:hover {
  background: rgb(144, 119, 60);
}

.custom-button:not(.following):hover {
  background: #c7a3c7;
  opacity: 0.9;
  border: none;
}

.custom-button .follow-text,
.custom-button .following-text,
.custom-button .unfollow-text {
  color: #ffffff !important;
}

/* Stats Container */
.stats-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: -32px 12px 32px 12px;
  width: calc(100% - 24px);
  box-sizing: border-box;
}

.stats-row {
  display: flex;
  gap: 5px;
  justify-content: center;
  width: 111%;
  padding: 0 3.5px;
}

.stats-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 14px;
  border-radius: 3px;
  font-size: 11px;
  color: white;
  margin: 2px;
  min-width: 71px;
  width: 100%;
  justify-content: center;
  height: 14px;
  line-height: 1;
  cursor: default !important;
}

.stats-button:hover {
  opacity: 0.85;
}

.stats-button span {
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.stats-button span strong {
  font-weight: 700;
}

.stats-row .stats-button,
.stats-button.glublers-btn {
  flex: 1;
  min-width: 0;
}

.following-btn {
  background: #c7a3c7;
}

.followers-btn {
  background: #ff9bc6;
}

.glublers-btn {
  background: #a3c7c7;
}
