@import 'token-list/index';

.import-token {
  $self: &;

  &__custom-token-form {
    padding: 8px 16px 16px;

    input[type='number']::-webkit-inner-spin-button {
      -webkit-appearance: none;
      display: none;
    }

    input[type='number']:hover::-webkit-inner-spin-button {
      -webkit-appearance: none;
      display: none;
    }
    & #{$self}__decimal-warning {
      margin-top: 5px;
    }
  }

  &__search-token {
    padding: 16px 16px 16px 16px;
  }

  &__token-list {
    margin-top: 16px;
  }

  &__custom-symbol {
    &__label-wrapper {
      display: flex;
      flex-flow: row nowrap;
    }

    &__label {
      flex: 0 0 auto;
    }

    &__edit {
      flex: 1 1 auto;
      text-align: right;
      color: var(--color-primary-default);
      padding-right: 4px;
      cursor: pointer;
    }
  }

  &__link {
    @include H7;

    display: inline;
    color: var(--color-primary-default);
    padding-left: 0;
  }

  &__token-detection-announcement {
    margin-bottom: 16px;
    margin-top: 0;
  }

  &__close {
    color: var(--color-icon-default);
    background: none;
    flex: 0;
    align-self: flex-start;
    padding-right: 0;
  }

  &__nft-address-error-link {
    color: var(--color-primary-default);
    cursor: pointer;

    &:hover {
      color: var(--color-primary-default);
    }
  }
}
