/* Rewards table: keep claim and LP controls visible without horizontal scroll. */
.rewards-table-wrap {
  overflow-x: auto;
}

.rewards-table {
  width: 100%;
  table-layout: auto;
}

.rewards-mobile-balance {
  display: none;
}

.rewards-claim-button {
  width: auto;
}

.rewards-token-col,
.rewards-pending-col,
.rewards-action-col {
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .rewards-table-wrap {
    overflow-x: hidden;
  }

  .rewards-table {
    table-layout: fixed;
  }

  .rewards-balance-col,
  .rewards-value-col {
    display: none;
  }

  .rewards-token-col {
    width: 50%;
    padding-left: 0.625rem;
    padding-right: 0.375rem;
  }

  .rewards-pending-col {
    width: 22%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    overflow-wrap: anywhere;
  }

  .rewards-action-col {
    width: 28%;
    padding-left: 0.375rem;
    padding-right: 0.625rem;
    overflow-wrap: anywhere;
  }

  .rewards-mobile-balance {
    display: block;
  }

  .rewards-claim-button {
    width: 100%;
  }
}
