.oms-shared-return-task-list-item {
  @apply w-full;
}

.oms-shared-return-task-list-item__review {
  @apply grid grid-cols-[1fr,1fr] desktop:grid-cols-[1fr,1fr,minmax(20rem,auto)] gap-x-6 desktop:gap-y-6 py-6 text-isa-secondary-900 items-center border-b border-solid border-isa-neutral-300 last:pb-0 last:border-none;

  &:has(.task-unknown-actions):has(.tolino-print-cta) {
    .tolino-print-cta {
      @apply desktop:justify-self-start;
    }
  }

  @media screen and (max-width: 1024px) {
    grid-template-areas:
      "product infos"
      "unknown-comment actions";

    .tolino-print-cta,
    .task-unknown-actions {
      @apply mt-6 desktop:mt-0;
      grid-area: actions;
    }

    &:has(.task-unknown-actions):has(.tolino-print-cta) {
      .tolino-print-cta {
        @apply mt-0 self-start;
        grid-area: print;
      }

      grid-template-areas:
        "product print"
        "unknown-comment actions";
    }

    .product-info {
      grid-area: product;
    }

    .task-item-infos {
      grid-area: infos;
    }

    .processing-comment-unknown {
      @apply mt-6 desktop:mt-0;
      grid-area: unknown-comment;
    }
  }
}

.oms-shared-return-task-list-item__main {
  @apply bg-white rounded-2xl p-6 flex flex-col gap-6 w-[24.25rem];

  .tolino-print-cta {
    @apply self-end;
  }
}

.task-item-infos {
  @apply h-full p-4 flex flex-col gap-4 rounded-lg bg-isa-secondary-100;
}

.tolino-print-cta {
  @apply w-fit self-end justify-self-end desktop:self-start;
}

.task-unknown-actions {
  @apply flex flex-row gap-3 h-full py-2 items-center justify-self-end;
}

.processing-comment {
  @apply isa-text-body-2-bold;
}

.processing-comment-unknown {
  @apply isa-text-body-1-regular;
}
