/**
 * Category Children List Widget Styles
 * @package InLightStudios
 */

.ils-ccl {
  width: 100%;
}

/* List Styles */
.ils-ccl__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ils-ccl__item {
  position: relative;
  margin-bottom: 12px;
}

.ils-ccl__item:last-child {
  margin-bottom: 0;
}

.ils-ccl__item-link {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ils-ccl__item-link:hover {
  color: #dc2626;
}

/* Bullet Icon */
.ils-ccl__bullet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  width: auto;
  height: auto;
}

.ils-ccl__bullet-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.ils-ccl__bullet-icon i {
  display: block;
  font-size: inherit;
  line-height: 1;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

/* Load More Button */
.ils-ccl__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.ils-ccl__view-all:hover {
  color: #dc2626;
}

.ils-ccl__view-all--loading {
  opacity: 0.6;
  cursor: not-allowed;
}

.ils-ccl__view-all-text {
  display: inline-block;
}

.ils-ccl__view-all-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.ils-ccl__view-all:hover .ils-ccl__view-all-icon {
  transform: translateX(4px);
}

/* Animation for new items */
.ils-ccl__item--new {
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
