/* Shimmer Effect */
.skeleton {
  background-color: #e2e2e2;
  background-image: linear-gradient(90deg, #e2e2e2 0px, #f5f5f5 40px, #e2e2e2 80px);
  background-size: 600px;
  background-repeat: no-repeat;
  animation: shimmer 1.2s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: -100px;
  }
  100% {
    background-position: 600px;
  }
}

/* Container */
.topics-skeleton-container {
  max-width: 560px;
  margin: auto;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

/* Title Lines */
.skeleton-title-line {
  height: 20px;
  width: 90%;
  border-radius: 6px;
  margin: 8px auto;
}

.skeleton-title-line.short {
  width: 60%;
}

/* Gradient Tab Placeholder */
.skeleton-tab-header {
  height: 32px;
  width: 100%;
  border-radius: 20px;
  margin: 20px 0;
}

/* Tab Menu Row */
.skeleton-tab-menu {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Each tab */
.skeleton-tab-item {
  height: 30px;
  width: 120px;
  border-radius: 6px;
}

.skeleton-tab-item.active {
  width: 50px;
  border-radius: 6px;
}
