.tokenList {
  display: flex;
  flex-flow: column nowrap;
  gap: 0.25rem;
  padding: 0.5rem;
  margin: 0;
}
.tokenList .token {
  height: 3.5rem;
  background-color: rgb(from #fff r g b/5%);
  border-radius: 0.5rem;
  display: flex;
  flex-flow: row nowrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  overflow: hidden;
  outline: 2px solid transparent;
  outline-offset: 0.125rem;
  transition: color 50ms linear, background-color 50ms linear, outline-color 50ms linear;
}
.tokenList .token .nameAndIcon {
  display: flex;
  flex-flow: row nowrap;
  gap: 0.75rem;
  align-items: center;
  overflow: hidden;
  flex-grow: 1;
  flex-shrink: 0;
  height: 100%;
  justify-content: center;
}
.tokenList .token .nameAndIcon .icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgb(from #fff r g b/30%);
  flex-shrink: 0;
}
.tokenList .token .nameAndIcon .nameAndMint {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 0.25rem;
  overflow: hidden;
  flex: 1 1 0;
  margin-top: 0.5rem;
  text-overflow: ellipsis;
  height: 100%;
  justify-content: center;
}
.tokenList .token .nameAndIcon .nameAndMint .name {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  font-style: normal;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  color: rgb(from #fff r g b/90%);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: clip;
  min-width: 100%;
  width: 0;
}
.tokenList .token .amountAndActions {
  overflow: hidden;
}
.tokenList .token .amountAndActions .amountAndDetails {
  display: flex;
  flex-flow: column nowrap;
  gap: 0.5rem;
  overflow: hidden;
  text-align: right;
  height: 100%;
  justify-content: center;
}
.tokenList .token .amountAndActions .amountAndDetails .amount {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  font-style: normal;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  color: rgb(from #fff r g b/90%);
  overflow-x: clip;
  text-overflow: ellipsis;
}
.tokenList .token .amountAndActions .amountAndDetails .notional {
  font-size: 0.75rem;
  font-weight: 400;
  margin: 0;
  font-style: normal;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  color: rgb(from #fff r g b/65%);
  opacity: 0.65;
  overflow-x: clip;
  text-overflow: ellipsis;
}
.tokenList .token .mint[data-is-native] {
  font-size: 0.75rem;
  font-weight: 400;
  margin: 0;
  font-style: normal;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  background-color: rgb(from #fff r g b/5%);
  height: 1.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  color: rgb(from #fff r g b/65%);
  display: grid;
  place-content: center;
  border-radius: 0.25rem;
}
.tokenList .token[data-is-loading] .nameAndIcon .icon,
.tokenList .token[data-is-loading] .nameAndIcon .nameAndMint .name,
.tokenList .token[data-is-loading] .nameAndIcon .nameAndMint .mint,
.tokenList .token[data-is-loading] .amountAndDetails .amount,
.tokenList .token[data-is-loading] .amountAndDetails .notional {
  display: inline-block;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
.tokenList .token[data-is-loading] .nameAndIcon .nameAndMint .name,
.tokenList .token[data-is-loading] .nameAndIcon .nameAndMint .mint,
.tokenList .token[data-is-loading] .amountAndDetails .amount,
.tokenList .token[data-is-loading] .amountAndDetails .notional {
  background: rgb(from #fff r g b/10%);
  height: 0.8em;
  border-radius: 0.375rem;
}
.tokenList .token[data-is-loading] .nameAndMint {
  margin-top: 0;
}
.tokenList .token[data-is-loading] .amountAndDetails {
  align-items: flex-end;
}
.tokenList .token[data-is-loading] .nameAndIcon .icon {
  background: rgb(from #fff r g b/10%);
}
.tokenList .token[data-is-loading] .nameAndIcon .nameAndMint .name {
  width: 4rem;
}
.tokenList .token[data-is-loading] .nameAndIcon .nameAndMint .mint {
  width: 6rem;
}
.tokenList .token[data-is-loading] .amountAndActions .amount {
  width: 7.5rem;
}
.tokenList .token[data-is-loading] .amountAndActions .notional {
  width: 4rem;
}
.tokenList .token[data-focus-visible] {
  outline-color: #66ceff;
}
.tokenList .token[data-is-button] {
  border: none;
  cursor: pointer;
}
.tokenList .token[data-is-button][data-hovered] {
  background-color: #404144;
}
.tokenList .token[data-is-button][data-pressed] {
  background-color: #3a3a3b;
}
.tokenList .token:not([data-is-button], [data-is-loading]) .amountAndActions {
  position: relative;
  transform: translateX(calc(3.75rem + 1px));
  transition: transform 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-flow: row nowrap;
  gap: 0.75rem;
  align-items: center;
  height: 100%;
  margin: 0;
  margin-right: -1rem;
}
.tokenList .token:not([data-is-button], [data-is-loading]) .amountAndActions .actions {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  padding-left: 0.75rem;
  padding-right: 1.5rem;
  border-left: 1px solid #3e3e47;
  background: rgb(from #1f1f24 r g b/60%);
  height: 100%;
}
.tokenList .token:not([data-is-button], [data-is-loading]) .amountAndActions[data-is-native] {
  transform: translateX(calc(6rem + 1px));
}
.tokenList .token:not([data-is-button], [data-is-loading]) .amountAndActions[data-is-native] .unwrapButton {
  width: 4rem;
}
.tokenList .token:not([data-is-button], [data-is-loading]):hover .amountAndActions, .tokenList .token:not([data-is-button], [data-is-loading])[data-focus-visible] .amountAndActions, .tokenList .token:not([data-is-button], [data-is-loading]):has(button[data-focus-visible]) .amountAndActions {
  transform: translateX(0.5rem);
}

.tokenListEmpty {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.75rem;
  flex-grow: 1;
}
.tokenListEmpty .emptyIcon,
.tokenListEmpty .message {
  color: #fff;
  opacity: 0.5;
}
.tokenListEmpty .emptyIcon {
  font-size: 2rem;
}
.tokenListEmpty .message {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  font-style: normal;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.tokenListEmpty .hints {
  font-size: 0.75rem;
  font-weight: 400;
  margin: 0;
  font-style: normal;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  color: #fff;
}

.tokenListError {
  flex-grow: 1;
}
