.table-body {
  &__loading-row {
    height: 15px;
  }
  &__loading-cell {
    cursor: not-allowed;
    min-height: 44px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-animation 1.5s infinite linear;
  }
  &__header-text-wrapper {
    display: flex;
  }
  &__header-text-1 {
    width: 100%;
  }
  &__header-text-2 {
    width: 100%;
  }
}
td {
  padding: 16px 24px;
  align-items: center;
  border-bottom: 1px solid var(--gray-200, #eaecf0);
}
tr {
  cursor: pointer;

  &:hover {
    background: var(--gray-200, #eaecf0);
  }
}

th {
  height: 44px;
  padding: 12px 8px 12px 16px;
  border-bottom: 1px solid var(--gray-200, #eaecf0);
  background: var(--gray-50, #f9fafb);
}

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

// ========================================
// Media Queries
// ========================================
// Adjusting desktop screens
@media (min-width: 1024px) {
}
// Adjusting  for tablet screens (between small tablets and desktops)
@media (max-width: 1023px) {
}
// Adjusting for smaller screens (small tablets and mobile)
@media (max-width: 768px) {
  .table-body {
    display: flex;
    flex-direction: column;
    gap: 46px;
  }
  tr {
    display: flex;
    flex-direction: column;

    padding: 16px 32px;
    flex-direction: column;
    gap: 24px;

    border-bottom: 1px solid var(--Gray-200, #eaecf0);

    border-radius: 16px;
    border: 1px solid var(--Gray-300, #d0d5dd);
    background: var(--Base-White, #fff);

    /* Shadow/lg */
    box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
      0px 12px 16px -4px rgba(16, 24, 40, 0.08);
  }
}
// Adjusting  for smaller screens (mobile)
@media (max-width: 480px) {
  .table-body {
    display: flex;
    flex-direction: column;
    gap: 46px;

    &__header-text-wrapper {
      gap: 8px;
      overflow-wrap: break-word;
      width: 100%;
      justify-content: space-between;
    }
    &__header-text-1 {
      width: fit-content;
    }
    &__header-text-2 {
      width: 50%;
    }
  }
  tr {
    display: flex;
    flex-direction: column;

    padding: 16px 32px;
    flex-direction: column;
    gap: 24px;
    border-bottom: 1px solid var(--Gray-200, #eaecf0);

    border-radius: 16px;
    border: 1px solid var(--Gray-300, #d0d5dd);
    background: var(--Base-White, #fff);

    /* Shadow/lg */
    box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
      0px 12px 16px -4px rgba(16, 24, 40, 0.08);
  }
  td {
    max-width: 280px;
    gap: 16px;
    display: flex;
  }
}
