/* Skeleton Base & Animation */
.c-skeleton {
  background: linear-gradient(
    90deg,
    rgba(34, 52, 90, 0.2) 25%,
    rgba(38, 69, 126, 0.4) 50%,
    rgba(34, 52, 90, 0.2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 0.25rem;

  &.--gold {
    background: linear-gradient(
      90deg,
      rgba(224, 178, 74, 0.1) 25%,
      rgba(224, 178, 74, 0.3) 50%,
      rgba(224, 178, 74, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
  }

  &.--dark {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
  }

  &.__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  &.__item-actividad {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem;
    border-bottom: 1px solid rgba(5, 10, 31, 0.2);
    gap: 1.25rem;
    width: 100%;

    @media (min-width: 768px) {
      flex-direction: row;
      gap: 3.5rem;
    }

    @media (min-width: 1024px) {
      gap: 5rem;
    }
  }

  &.__col-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;

    @media (min-width: 768px) {
      width: 6rem;
    }

    @media (min-width: 1024px) {
      width: 3rem;
    }
  }

  &.__col-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    flex-grow: 1;
  }

  &.__col-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    @media (min-width: 768px) {
      width: 50%;
    }
  }
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Empty State */
.c-empty-state {
  width: 100%;
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;

  @media (min-width: 640px) {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  &.--dark {
    background-color: rgba(13, 22, 48, 0.4);
    border-radius: 0.5rem;
  }

  &.__icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
    transition: transform 0.3s ease;

    &:hover {
      transform: scale(1.05);
    }

    &.--light {
      background-color: rgba(224, 178, 74, 0.1);
      color: var(--color-gold-700);
      border-color: rgba(224, 178, 74, 0.3);
    }

    &.--dark {
      background-color: rgba(224, 178, 74, 0.15);
      color: var(--color-gold-500);
      border-color: rgba(224, 178, 74, 0.4);
    }

    svg {
      width: 2rem;
      height: 2rem;
    }
  }

  &.__title {
    font-family: var(--font-heading-2);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;

    @media (min-width: 640px) {
      font-size: 1.875rem;
    }

    &.--light {
      color: var(--color-navy-950);
    }

    &.--dark {
      color: var(--color-sand-100);
    }
  }

  &.__description {
    font-family: var(--font-body);
    font-size: 1rem;
    max-width: 28rem;
    margin-bottom: 2rem;
    line-height: 1.625;

    @media (min-width: 640px) {
      font-size: 1.125rem;
    }

    &.--light {
      color: rgba(34, 52, 90, 0.8);
    }

    &.--dark {
      color: rgba(195, 198, 211, 0.8);
    }
  }
}
