/* Progress Gender */
.progress-lg {
  height: 42px;
  border-radius: 6px;
}

/* Warna custom */
.bg-male {
  background-color: #002c55 !important;
}

.bg-female {
  background-color: #3db166 !important;
}

/* Teks di dalam bar */
.gender-progress .progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Ukuran teks proporsional */
.gender-progress .progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}



/* ukuran svg */
svg {
  max-width: 100%;
  height: auto;
}

/* Skeleton — Graphic Bar */
@keyframes shimmer {
  100% {
    transform: translateY(100%);
  }
}

.skeleton-wrapper-outer {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 0 10px;
  opacity: 0.75;
}

.skeleton-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 240px;
  width: 30px;
}

.skeleton-y-line {
  height: 8px;
  width: 100%;
  background-color: #f1f3f5;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.skeleton-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skeleton-chart-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 4px;
  height: 240px;
  width: 100%;
  box-sizing: border-box;
  border-left: 2px solid #f1f3f5;
  border-bottom: 2px solid #f1f3f5;
  padding-bottom: 1px;
}

.skeleton-bar {
  position: relative;
  overflow: hidden;
  background-color: #f1f3f5;
  border-radius: 4px 4px 0 0;
  width: 15px;
}

.skeleton-bar::after,
.skeleton-y-line::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateY(-100%);
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.5) 20%,
      rgba(255, 255, 255, 0.8) 60%,
      rgba(255, 255, 255, 0));
  animation: shimmer 3s infinite ease-in-out;
  content: '';
}

.xaxis-label-link {
  cursor: pointer;
}

/* Fade In Animation */
.fade-in-chart {
  transition: opacity 0.8s ease-in-out;
}

.fade-in-active {
  opacity: 1 !important;
}